Martin
2018-02-19 16:34:05 UTC
Package: python-x2go
Version: 0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1
"apt-get install python-x2go" fails with
Setting up python-x2go (0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1) ...
File "/usr/lib/python2.7/dist-packages/x2go/tests/test_printing.py", line 46
print(_printing, file=tf)
^
SyntaxError: invalid syntax
dpkg: error processing package python-x2go (--configure):
installed python-x2go package post-installation script subprocess returned error exit status 101
Errors were encountered while processing:
python-x2go
E: Sub-process /usr/bin/dpkg returned an error code (1)
The bug was introduced by commit 327fa5e5f09d7fabb4d0052de1b2876c852797e1 (Port to Python3).
The attached patch restores compatibility with Python 2.6+.
Regards
Martin
Version: 0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1
"apt-get install python-x2go" fails with
Setting up python-x2go (0.5.99.0-0x2go1~git20180112.1367+9999.heuler.1) ...
File "/usr/lib/python2.7/dist-packages/x2go/tests/test_printing.py", line 46
print(_printing, file=tf)
^
SyntaxError: invalid syntax
dpkg: error processing package python-x2go (--configure):
installed python-x2go package post-installation script subprocess returned error exit status 101
Errors were encountered while processing:
python-x2go
E: Sub-process /usr/bin/dpkg returned an error code (1)
The bug was introduced by commit 327fa5e5f09d7fabb4d0052de1b2876c852797e1 (Port to Python3).
The attached patch restores compatibility with Python 2.6+.
Regards
Martin