[Bug 1027534] Re: pyuic4 crashed with ImportError in __main__: No module named PyQt4.uic.pyuic
Scott Kitterman
ubuntu at kitterman.com
Thu Jan 24 16:03:24 UTC 2013
You may have a problem with a similar symptom, but it's a different bug.
In quantal, dh_python3 had some new shebang rewriting features that
caused pyuic to have a /usr/bin/python3 shebang, which was the source of
this bug. I just verified that in precise, the shebang is
#!/usr/bin/env python.
/usr/bin/env python should resolve to python2.7. You might check that.
If it doesn't, then you have a local configuration issue. If not, you
need to file a new bug as there's no way you have the same issue in
precise as was fixed for this bug.
** Tags removed: precise
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/1027534
Title:
pyuic4 crashed with ImportError in __main__: No module named
PyQt4.uic.pyuic
Status in “python-qt4” package in Ubuntu:
Fix Released
Bug description:
Crash after startup
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: pyqt4-dev-tools 4.9.3-3
ProcVersionSignature: Ubuntu 3.5.0-5.5-generic 3.5.0-rc7
Uname: Linux 3.5.0-5-generic x86_64
ApportVersion: 2.4-0ubuntu4
Architecture: amd64
CrashCounter: 1
Date: Sat Jul 21 18:25:18 2012
ExecutablePath: /usr/bin/pyuic4
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120720.1)
InterpreterPath: /usr/bin/python3.2mu
ProcCmdline: /usr/bin/python3 /usr/bin/pyuic4 --version
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt:en
PythonArgs: ['/usr/bin/pyuic4', '--version']
SourcePackage: python-qt4
Title: pyuic4 crashed with ImportError in __main__: No module named PyQt4.uic.pyuic
Traceback:
Traceback (most recent call last):
File "/usr/bin/pyuic4", line 3, in <module>
import PyQt4.uic.pyuic
ImportError: No module named PyQt4.uic.pyuic
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/1027534/+subscriptions
More information about the foundations-bugs
mailing list