By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,418 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

SPE refuses.

P: n/a
According to apt-show-versions I have installed:
python-wxgtk2.6 2.6.3.2.1.5
spe 0.8.2a+repack-1

However when I start SPE I get the message
You need to install at least wxPython v2.5.4.1 to run SPE

How do I tell SPE that I have the right wxPython ?
e.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Nov 29 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
If wxPython is rightly installed, which means that "import wx" works
fine and "wx.VERSION" gives the right version, you can ignore the
wxPython warning.

Please cd do your site-packages directory and do "python SPE.py
--debug" and see the error message.

Stani

On 29 nov, 19:51, egbert <egbert.bouw...@hccnet.nlwrote:
According to apt-show-versions I have installed:
python-wxgtk2.6 2.6.3.2.1.5
spe 0.8.2a+repack-1

However when I start SPE I get the message
You need to install at least wxPython v2.5.4.1 to run SPE

How do I tell SPE that I have the right wxPython ?
e.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Nov 29 '06 #2

P: n/a
On Wed, Nov 29, 2006 at 11:31:27AM -0800, SPE - Stani's Python Editor wrote:
If wxPython is rightly installed, which means that "import wx" works
fine and "wx.VERSION" gives the right version, you can ignore the
wxPython warning.
In a Python shell the commands 'import wx' and 'wx.VERSION' give:
(2,6,3,2,'')
Please cd do your site-packages directory and do "python SPE.py
--debug" and see the error message.
In gnome-terminal /usr/lib/python2.4/site-packages/_spe
the command: 'python SPE.py --debug' produces the same error:
You need to install at least wxPython v2.5.4.1 to run SPE.
Get it from http://www.python.org

Well, I got it from the debian repositories.

e.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Nov 29 '06 #3

P: n/a
Do you have python-wxversion installed?

$sudo apt-get install python-wxversion

Stani

On 29 nov, 23:21, egbert <egbert.bouw...@hccnet.nlwrote:
On Wed, Nov 29, 2006 at 11:31:27AM -0800, SPE - Stani's Python Editor wrote:If wxPython is rightly installed, which means that "import wx" works
fine and "wx.VERSION" gives the right version, you can ignore the
wxPython warning.In a Python shell the commands 'import wx' and 'wx.VERSION' give:
(2,6,3,2,'')
Please cd do your site-packages directory and do "python SPE.py
--debug" and see the error message.In gnome-terminal /usr/lib/python2.4/site-packages/_spe
the command: 'python SPE.py --debug' produces the same error:
You need to install at least wxPython v2.5.4.1 to run SPE.
Get it fromhttp://www.python.org

Well, I got it from the debian repositories.

e.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Nov 29 '06 #4

P: n/a
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-wxversion
That helped. But why isn't it included in the wxPython download ?
Anyway, the first screen looks great. I will explore spe.
Thanks.
e.
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
================================================== ======================
Nov 30 '06 #5

P: n/a
On 30 nov, 10:50, egbert <egbert.bouw...@hccnet.nlwrote:
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

Nov 30 '06 #6

P: n/a
SPE - Stani's Python Editor schrieb:
On 30 nov, 10:50, egbert <egbert.bouw...@hccnet.nlwrote:
>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

Nov 30 '06 #7

P: n/a
which version of SPE are you using? You'll need SPE 0.8.3.c for
wxPython 2.7 I've fixed this bug already in the latest version.

http://prdownload.berlios.de/python/...0-no_setup.zip

Stani

On 30 nov, 12:23, Thomas Ploch <Thomas.Pl...@gmx.netwrote:
SPE - Stani's Python Editor schrieb:
On 30 nov, 10:50, egbert <egbert.bouw...@hccnet.nlwrote:
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!
Staniell, 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
Nov 30 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.