AttributeError: 'module' object has no attribute EventLoopActivator

Bug #998716 reported by eldad on 2012-05-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipython (Ubuntu)

Bug Description

I upgraded from ubuntu 11.10 to 12.04.
Then found out that due to ipython upgrade the command:

    ipython -wthread

should be replaced by:

    ipython --gui=wx

upon launching it (with or without --pylab) I would get a series of output errors which included a repeating one:

    AttributeError: 'module' object has no attribute EventLoopActivator

where the lines indicated that the 'module' is wx

After I could not find the bug on the web, I purged all packages found (under synaptic) searching for "python wx".
After this I reinstalled mayavi2 and this resolved this error output.

I filed another bug, where I explained how to use mlab (from mayavi), as I found this different from what I was used to in the previous ubuntu versions:


$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

$ apt-cache policy python-wxgtk2.8
  Version table:
 *** 0
        500 precise/universe amd64 Packages
        100 /var/lib/dpkg/statu

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-wxgtk2.8
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 13 13:11:36 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
 PATH=(custom, user)
SourcePackage: wxwidgets2.8
UpgradeStatus: Upgraded to precise on 2012-04-29 (13 days ago)

eldad (eldad-a) wrote :
eldad (eldad-a) on 2012-05-13
description: updated
description: updated
Julian Taylor (jtaylor) wrote :

this is likely due to wx2.6 being present on the system, that tends to mess things up

sudo apt-get remove --purge python-wxgtk2.6 libwxgtk2.6-0
sudo apt-get install python-wxversion --reinstall

Julian Taylor (jtaylor) wrote :

I opened a bug to handle that more gracefully:

Julian Taylor (jtaylor) on 2012-06-09
no longer affects: wxwidgets2.8 (Ubuntu)
Julian Taylor (jtaylor) wrote :

this is fixed in 0.13

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

Other bug subscribers