Xpra: Ticket #782: Trying to build windows client (r8413) throws traceback

Trying to build a windows client from trunk (r8413) I am getting the following py2exe error and traceback:

Full version    0.15.0-r8413
…
****** build python pyd files inplace
C:\Python27\python.exe —00 setup.py build_ext —inlace > build-xpra.log
****** setting pygtk and pygst environment variables
C:\Python27\python.exe —00 setup.py py2exe  > py2exe-xpra.log
Traceback (most recent call last):
  File “setup.py”, line 1250, in <module>
    build_xpra_conf(dist)
  File “setup.py”, line 754, in build_xpra_conf
    ‘env’           : “\n”.join(“env = %s=%s” % (k,v) for k,v in env_strs.items()),
AttributeError: ‘list’ object has no attribute ‘items;
“py2exe error, see py2exe-xpra.log”

Have I broken my environment already?



Thu, 08 Jan 2015 01:26:42 GMT - Antoine Martin: owner, status changed

Nope it's my mistaske... The code has [] just above the line it crashes on, replace it with {} instead and it should work.

Will fix as soon as I get back.


Thu, 08 Jan 2015 01:29:34 GMT - Antoine Martin:

Or you can ask sbennett or smo to commit the fix for you.


Thu, 08 Jan 2015 06:15:01 GMT - Antoine Martin: status changed; resolution set

Fixed in r8414 - closing, feel free to re-open if I've borken anything.


Sat, 23 Jan 2021 05:05:48 GMT - migration script:

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