Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1051

Packaging does not work anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.9
    • Fix Version/s: 3.0
    • Component/s: Packaging / Build
    • Tags:
    • Story Points:
      2

      Description

      Since the installation of the typing requirement, the packaging process is broken:

      00:00:22.409 Traceback (most recent call last):
      00:00:22.409   File "setup.py", line 549, in <module>
      00:00:22.409     sys.exit(main())
      00:00:22.409   File "setup.py", line 545, in main
      00:00:22.409     NuxeoDriveSetup(attribs)
      00:00:22.409   File "setup.py", line 536, in __init__
      00:00:22.409     **freeze_options
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/sources/nx_cx_Freeze/__init__.py", line 173, in setup
      00:00:22.409     cx_setup(**attrs)
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/cx_Freeze-4.3.3-py2.7-linux-x86_64.egg/cx_Freeze/dist.py", line 362, in setup
      00:00:22.409     distutils.core.setup(**attrs)
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/distutils/core.py", line 151, in setup
      00:00:22.409     dist.run_commands()
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 953, in run_commands
      00:00:22.409     self.run_command(cmd)
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
      00:00:22.409     cmd_obj.run()
      00:00:22.409   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/esky/bdist_esky/__init__.py", line 312, in run
      00:00:22.667     self._run()
      00:00:22.667   File "/opt/jenkins/workspace/Drive/Drive-packages/sources/nx_esky/__init__.py", line 61, in _run
      00:00:22.667     self._run_freeze_scripts()
      00:00:22.667   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/esky/bdist_esky/__init__.py", line 345, in _run_freeze_scripts
      00:00:22.667     self.freezer_module.freeze(self)
      00:00:22.667   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/esky/bdist_esky/f_cxfreeze.py", line 71, in freeze
      00:00:22.667     f.Freeze()
      00:00:22.667   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/cx_Freeze-4.3.3-py2.7-linux-x86_64.egg/cx_Freeze/freezer.py", line 610, in Freeze
      00:00:22.667     self.compress, self.copyDependentFiles)
      00:00:22.667   File "/opt/jenkins/workspace/Drive/Drive-packages/deploy-dir/.pyenv/versions/2.7.14/lib/python2.7/site-packages/cx_Freeze-4.3.3-py2.7-linux-x86_64.egg/cx_Freeze/freezer.py", line 586, in _WriteModules
      00:00:22.667     path = os.pathsep.join([origPath] + module.parent.path)
      00:00:22.667 TypeError: can only concatenate list (not "NoneType") to list
      

      Will be resolved when upgrading to Python 3. For now, remove that dependency.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m