SPE refuses.

Thomas Ploch Thomas.Ploch at gmx.net
Thu Nov 30 06:23:20 EST 2006


SPE - Stani's Python Editor schrieb:
> On 30 nov, 10:50, egbert <egbert.bouw... at hccnet.nl> wrote:
>> On Wed, Nov 29, 2006 at 03:15:45PM -0800, SPE - Stani's Python Editor wrote:> Do you have python-wxversion installed?
>>
>>> $sudo apt-get install python-wxversionThat helped. But why isn't it included in the wxPython download ?
> I was surprised as well. I filed a bug report at debian MOTU that spe
> depends as well on python-wxversion, so that it is automatically
> installed together with spe in the future.
> 
>> Anyway, the first screen looks great. I will explore spe.
>> Thanks.
> You're welcome!
> 
> Stani
> 

ell, when reading these posts about SPE, I wanted to try it as well. I
am running the newest version of wxpython with python2.4. I installed
it, all went fine with the setup.py script.

When I tried to open the program, a window appears for about a second,
displaying a traceback.

So I ran the SPE.py debug tool as you have recommended earlier.

here's the output:

Spe is running in debugging mode with this configuration:
- platform  : darwin
- python    : 2.4.4
- wxPython  : 2.7.1.3.
- interface : <default>
- encoding  : mac-roman

Launching application...
Create: Framework: menu.
Create: Framework: toolbar.
Create: Framework: statusbar.
Traceback (most recent call last):
  File "SPE.py", line 209, in ?
    style           = style)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 1278, in __init__
    wx.App.__init__(self,redirect=not debug)
  File
"//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/_core.py",
line 7480, in __init__
    self._BootstrapApp()
  File
"//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/_core.py",
line 7080, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 1297, in OnInit
    style   = self.style,
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 801, in __init__
    Parent.__init__(self,app=app,page=page,**options)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 595, in __init__
    parentFrame     = self,
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 325, in __init__
    self.__statusBar__()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py",
line 417, in __statusBar__
    self.statusBar = self.app.StatusBar(parent=self,id=wx.ID_ANY)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py",
line 727, in __init__
    self.throbber   = Throbber(self,'throbber_still.gif')
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py",
line 733, in __init__
    GIFAnimationCtrl.__init__(self,statusBar,-1,info.imageFile(fileName))
  File
"//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/animate.py",
line 242, in __init__
    self.LoadFile(filename)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py",
line 746, in LoadFile
    if fileName != self._fileName and not self._running:
AttributeError: 'Throbber' object has no attribute '_fileName'


Thanks for any help.
Thomas




More information about the Python-list mailing list