[Bug 997569] [NEW] Cannot pycompile python-qt4

John Veness 997569 at bugs.launchpad.net
Thu May 10 10:39:11 UTC 2012


Public bug reported:

I have a problem with package python-qt4 in Ubuntu 12.04 (package
version 4.9.1-2ubuntu1). It's postinst script is failing, with:

Sorry: TypeError: ('compile() expected string without null bytes',)

If I manually type in the command in the postinst script, adding -v for
verbose, namely:

pycompile -p python-qt4 -v

I get the output:

D: pycompile:215: argv: ['/usr/bin/pycompile', '-p', 'python-qt4', '-v']
D: pycompile:216: options: {'force': False, 'verbose': True, 'package': 'python-qt4', 'regexpr': None, 'vrange': None, 'optimize': False}
D: pycompile:217: args: []
Sorry: TypeError: ('compile() expected string without null bytes',)

(so not much more informative).

Any ideas? This happened during an Ubuntu 11.10 to 12.04 upgrade.

** Affects: python-qt4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/997569

Title:
  Cannot pycompile python-qt4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/997569/+subscriptions




More information about the kubuntu-bugs mailing list