Ubuntu

AttributeError: 'module' object has no attribute EventLoopActivator

Reported by eldad on 2012-05-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipython (Ubuntu)
Undecided
Unassigned

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:
https://bugs.launchpad.net/ubuntu/+source/mayavi2/+bug/998718

------------------------------------------------------------------------------------------

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
eldada@vicpc18:~$

$ apt-cache policy python-wxgtk2.8
python-wxgtk2.8:
  Installed: 2.8.12.1-6ubuntu2
  Candidate: 2.8.12.1-6ubuntu2
  Version table:
 *** 2.8.12.1-6ubuntu2 0
        500 http://mirror.isoc.org.il/pub/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/statu

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-wxgtk2.8 2.8.12.1-6ubuntu2
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)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
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

try:
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:
https://github.com/ipython/ipython/issues/1885

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