SPE fails to run any scripts after upgrade to jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spe (Debian) |
Fix Released
|
Unknown
|
|||
spe (Ubuntu) |
Fix Released
|
Undecided
|
Morten Kjeldgaard | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
SRU request (can be started after patch is released for Karmic):
1) When both python-wxgtk2.6 and python-wxgtk2.8 are installed, Jaunty uses python-wxgtk2.6 by default, while Intrepid used python-wxgtk2.8 by default. The current version of spe (0.8.4.h-1) only works properly with python-wxgtk2.8 SPE will start, but will fail to run any script. This is a severe regression as it makes SPE partly unusable since Jaunty.
2) Therefore I (stani) propose a fix, which changes two lines:
- _spe/SPE.py: it forces spe to select python-wxgtk2.6
- debian/control: it changes the dependency to python-wxgtk2.8 only, instead of python-wxgtk2.6 or python-wxgtk2.8
This fix has been already prepared for the current development branch (karmic). Version prepared is 0.8.4.h-1ubuntu1 and the debdiff used can be found at this link:
http://
3) A debdiff (0.8.4.
http://
4) TEST CASE: to reproduce the bug, just follow this small steps:
4.a install spe: sudo apt-get install spe
4.b type "hello world" as a new script and save the script
4.c run the script (Ctrl+R)
4.d the execution of the script will be blocked, the statusbar will display "running script" for ever and "hello world" won't get printed
Original bug report:
Binary package hint: spe
distro: (X)ubuntu 9.04 jaunty jackalope upgraded from hardy heron
spe loads just fine, as far as i can tell pychecker works, all editing features seem to work, just spe won't run any scripts. I've even written a short "print 'hello world'" script and nothing. i get the bar saying that it's running the script but no output and sign that the script has finished.
the only error that it puts out is:
Exception TypeError: "'NoneType' object is not callable" in <wx.lib.
which has been there since hardy heron.
Changed in spe (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in spe (Ubuntu Jaunty): | |
status: | New → Confirmed |
Changed in spe (Ubuntu): | |
assignee: | nobody → Morten Kjeldgaard (mok0) |
Changed in spe (Ubuntu Jaunty): | |
status: | Confirmed → New |
Changed in spe (Debian): | |
status: | New → Fix Released |
I am experiencing the same issue, I ran this command (ben@UbuntuHome :/usr/share/ spe/_spe$ python SPE.py --debug > /home/ben/debug.txt 2>&1) and noticed the following error message repeated in the debug.txt file... see attached.
Traceback (most recent call last): spe/_spe/ tabs/Output. py", line 121, in OnIdle m.CanRead( ):
File "/usr/share/
if self.inputstrea
AttributeError: 'Panel' object has no attribute 'inputstream'
As a work around you can run scripts in the debugger.