[spe] Can't get spe to work :-(

André Roberge andre.roberge at gmail.com
Thu Jul 21 22:40:49 CEST 2005


About 10 months ago, I discovered SPE.  The more I used it,
the more I loved it.  I even made a small donation (the
only open source program I ever contributed to financially).

About three months ago, I upgraded wxPython (from 2.3.5 I believe)
to 2.4, spe stopped working, and I had to use something else.
(I currently use Komodo.)

With the recent announcements, I gave it a try again.

After making a few mistakes (like simply removing the _spe and sm
directories rather than doing an "uninstall" from the control panel),
I finally got spe to start.

I use:
Python 2.4.1
wxPython 2.6.1.0 unicode
spe 0.7.4.e  (title bar says 0.7.4.a)
on Windows XP

(The new version is not "installed" anymore...)

When I try to open a python file, nothing seems to happen, and here is 
what I get as an error message:

Traceback (most recent call last):
   File "C:\Python24\Lib\site-packages\_spe\Menu.py", line 208, in 
menu_open_files
     self.parentPanel.open(event)
   File "C:\Python24\Lib\site-packages\_spe\Parent.py", line 227, in open
     child.frame.onFrameClose()
   File "C:\Python24\lib\site-packages\sm\wxp\smdi.py", line 672, in 
onFrameClose
     self.dead = Framework.onFrameClose(self,destroy=0)
   File "C:\Python24\lib\site-packages\sm\wxp\smdi.py", line 319, in 
onFrameClose
     self.dead = self.panel.onClose()
   File "C:\Python24\Lib\site-packages\_spe\Child.py", line 397, in onClose
     if len(self.app.children)==1:self.parentPanel.menuBar.enable(0)
AttributeError: 'Panel' object has no attribute 'menuBar'

============
If I try to simply save the unnamed file under "test.py",
I get the following message
============
Traceback (most recent call last):
   File "C:\Python24\Lib\site-packages\_spe\Menu.py", line 212, in menu_save
     self.app.childActive.save()
   File "C:\Python24\Lib\site-packages\_spe\Child.py", line 220, in save
     self.saveAs()
   File "C:\Python24\Lib\site-packages\_spe\Child.py", line 258, in saveAs
     self.save(paths[0])
   File "C:\Python24\Lib\site-packages\_spe\Child.py", line 249, in save
     self.fileTime=os.path.getmtime(self.fileName)
   File "C:\Python24\lib\ntpath.py", line 233, in getmtime
     return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: u'C:\\experiment\\test.py'

[when that happens, spe won't quit anymore :-(]

What puzzles me is that, somehow, spe remembers the directory in which
the last file was open (even after I removed the .spe directory in my
"document and settings" path).

Any suggestion?

André




More information about the Spe-user mailing list