I don't have any problem now with python2.6 but python3 does not install
correctly.

Linking and byte-compiling packages for runtime python3.0...
  File "/usr/bin/py_compilefiles", line 27
    print "file does not exist:", fullname
                               ^
SyntaxError: invalid syntax
pycentral: pycentral rtinstall: package python-bittorrent: error byte-compiling 
files (31)
pycentral rtinstall: package python-bittorrent: error byte-compiling files (31)


I looked at /usr/bin/pycentral and it effectively uses py_compilefiles for all 
python versions instead of py3_compilefiles for python 3. But after altering 
pycentral accordingly, the python3.0-minimal-postinst tries to compile all 
python modules in python 3, and there are NOT compatible with python 3 yet.

The problem seems more general: this package's philosophy is 'just
another version of python'  while python3 is not backward compatible...

** Attachment added: "pycentral: use py3_compilefiles for python3"
   http://launchpadlibrarian.net/25485212/patchpycentral

-- 
package python2.6-minimal 2.6.1-1ubuntu8 failed to install/upgrade: 
https://bugs.launchpad.net/bugs/354228
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to