xpra icon
Bug tracker and wiki

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

Opened 17 months ago

Closed 16 months ago

Last modified 16 months ago

#2994 closed defect (upstream)

cx_Freeze 6.5 is broken: No module named 'xpra__main__'

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 4.1
Component: packaging Version: 3.0.x
Keywords: Cc:


C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/common.py:124: UserWarning: camelCase values is obsolete and will be removed in the next major version -> use the new name 'target_name'
Traceback (most recent call last):
  File "./setup.py", line 2346, in <module>
  File "./setup.py", line 2342, in main
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/dist.py", line 392, in setup
  File "C:/msys64/mingw64/lib/python3.8/distutils/core.py", line 148, in setup
  File "C:/msys64/mingw64/lib/python3.8/distutils/dist.py", line 966, in run_commands
  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 347, 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 260, in run
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 754, in Freeze
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 227, in _FreezeExecutable
    finder.IncludeFile(exe.main_script, exe.main_module_name)
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/finder.py", line 618, in IncludeFile
    module = self._load_module(name, path, deferred_imports)
  File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/finder.py", line 371, in _load_module
    raise ImportError(f"No module named {name!r}", name=name)
ImportError: No module named 'xpra__main__'

Change History (4)

comment:1 Changed 17 months ago by Antoine Martin

Priority: criticalminor
Status: newassigned

Downgrading to 6.4 fixes things.

comment:2 Changed 16 months ago by Antoine Martin

6.4 has other problems: #2997, 6.1 seems to work OK.

comment:3 Changed 16 months ago by Antoine Martin

Resolution: upstream
Status: assignedclosed

Let's close this for now.

I'll remove the package block once a new version comes out with those bugs fixed..

comment:4 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.