Welcome Guest [Log In] [Register]
Add Reply
How to fix SPE; It is broken
Topic Started: Jan 23 2008, 06:11 PM (383 Views)
techwizrd
Member Avatar
Magister ex Machina
[ *  *  * ]
SPE is a very nice, simple, but powerful Python IDE and is the choice of many professionals and hobbyists alike. Recently, Ubuntu/Debian users have been running into a little problem. SPE 0.8.2.a automatically selects version 2.8 of wxPython instead of version 2.6 and as a result fails. SPE does not support wxPython 2.8 yet and this is a significant problem because Blender3d uses it. I found a simple fix for it. Until the Debian packagers un-orphan the spe package, just follow my simple instructions.

1. Press Alt+F2. This starts the Run Application program. It should look like this:
Posted Image

2. Copy 'gksudo gedit /usr/share/pycentral/spe/site-packages/_spe/SPE.py' (without the quotes of course)

3. Paste it in the Run Application program like this:
Posted Image

4. Click the Run button.

5. A new Text Editor window should open like this (click the thumb to view full size):
Posted Image

6. Find 'wxversion.ensureMinimal(WX_VERSION)' and highlight it like this (click the thumb to view full size):
Posted Image

7. Copy and Paste 'wxversion.select(['2.5.4','2.5.5','2.6'])' in its place like this (click the thumb to view full size):
Posted Image

8. Save the file and close Text Editor.

9. open up a terminal and copy and paste (Shift+Insert) 'spe --debug'. Press Enter. The resulting SPE windows should be closed. Then just open SPE normally from your menu.
My DeviantArt user page Please comment and add me to your favorites!
Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Tutorials · Next Topic »
Add Reply