kiki crashed with ImportError in <module>()

Bug #336508 reported by picobird
10
Affects Status Importance Assigned to Milestone
kiki (Ubuntu)
Fix Released
Undecided
Stani

Bug Description

Binary package hint: kiki

python-wxgtk2.6 conflict with python-wxgtk2.8

ProblemType: Crash
Architecture: i386
DistroRelease: /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated import sets Ubuntu 9.04
ExecutablePath: /usr/bin/kiki
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: kiki 0.5.6-3.1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/kiki
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/kiki']
SourcePackage: kiki
Title: kiki crashed with ImportError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/kiki", line 3, in <module>
     import kiki
 ImportError: No module named kiki
Uname: Linux 2.6.28-8-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
picobird (picobird) wrote :
Revision history for this message
Durand D'souza (durand1) wrote :

I get the same problem. Another problem is that kiki tries to install the python-wxgtk2.6 dependency which it doesn't actually need as python-wxgtk2.8 will do. It also doesn't need to *be* a dependency for spe. If I remove kiki because python-wxgtk2.6 keeps crashing on install, spe is also removed even though I still want it.

Revision history for this message
markb (mark-blakeney) wrote :

This is probably not the appropriate place to report this but it seems to be related. I have noticed a number of wxpython apps have started crashing since I installed spe on my ubuntu jaunty box. I have traced the problem to the fact that, even though I have wxpython2.8 installed, when I installed spe it installed kiki which installed wxpython2.6 and that seems to have become the default wxpython version. So any wx2.8 specific app dies now. If I uninstall kiki (which removes wx2.6), then everything returns to ok. There's probably 2 bugs here - kiki requiring an old wx version and the fact it gets installed as the default?

Revision history for this message
picobird (picobird) wrote :

try this one, i have made a deb !it will not depend wxpython-2.6

just change the rules and control of kiki source package,and regenerate the kiki.wxg by the python-wxGlade.

Revision history for this message
Stani (stani) wrote :

This has been fixed in the wxpython packages. To demonstrate:
$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kiki
>>> kiki.__file__
'/usr/lib/python2.6/dist-packages/kiki/__init__.pyc'

Some comments here are about other bugs:

@Durand
I posted a fix for the dependency of kiki on python-wxgtk2.6
https://bugs.launchpad.net/ubuntu/+source/kiki/+bug/370839

@markb
Even with python-wxgtk2.6 installed, spe should work. So I proposed a fix here:
https://bugs.launchpad.net/ubuntu/+source/spe/+bug/377044

Mark, in case you encounter other wxpython applications with the same problem (conflict with python-wxgtk2.6), file seperate bug reports and subscribe me. I'll propose a patch for it.

@picobird:
"regenerate the kiki.wxg by the python-wxGlade" or change only two lines like in my patch

Changed in kiki (Ubuntu):
assignee: nobody → stani (stani)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.