xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 2 years ago

Closed 2 years ago

Last modified 17 months ago

#2846 closed defect (upstream)

cx_Freeze update broke packaging, again

Reported by: totaamwin32 Owned by: Antoine Martin
Priority: blocker Milestone: 4.1
Component: android Version: 3.0.x
Keywords: Cc:


Pretty much every time, something breaks.
We can't just pin a version, because python version upgrades would then break..

ERROR: build failed, see win32/cx_freeze-install.log:
  File "C:/msys64/mingw64/lib/python3.8/distutils/dist.py", line 985, in run_command
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/dist.py", line 299, in run
  File "C:/msys64/mingw64/lib/python3.8/distutils/cmd.py", line 313, in run_command
  File "C:/msys64/mingw64/lib/python3.8/distutils/dist.py", line 985, in run_command
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/dist.py", line 217, in run
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 645, in Freeze
    self._WriteModules(fileName, self.finder)
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 536, in _WriteModules
    sourcePackageDir = os.path.dirname(module.file)
  File "C:/msys64/mingw64/lib/python3.8/ntpath.py", line 238, in dirname
    return split(p)[0]
  File "C:/msys64/mingw64/lib/python3.8/ntpath.py", line 200, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Change History (3)

comment:1 Changed 2 years ago by Antoine Martin

Status: newassigned

Looks like fix matplotlib and numpy hooks

We've had many problems with cx_Freeze in the past, ie: #1857

Last edited 17 months ago by Antoine Martin (previous) (diff)

comment:2 Changed 2 years ago by totaamwin32

Resolution: upstream
Status: assignedclosed

Temporary fix until they release a fixed version:

curl https://github.com/marcelotduarte/cx_Freeze/commit/f1423d5acc4c375c3bbad767b1bd6f9eb7b8483c.patch | patch -p2 -d /mingw64/lib/python3.8/site-packages/cx_Freeze

comment:3 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2846

Note: See TracTickets for help on using tickets.