SPE refuses.

Discussion in 'Python' started by egbert, Nov 29, 2006.

  1. egbert

    egbert Guest

    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
    ========================================================================
     
    egbert, Nov 29, 2006
    #1
    1. Advertising

  2. 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 <> wrote:
    > 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
    > ========================================================================
     
    SPE - Stani's Python Editor, Nov 29, 2006
    #2
    1. Advertising

  3. egbert

    egbert Guest

    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
    ========================================================================
     
    egbert, Nov 29, 2006
    #3
  4. Do you have python-wxversion installed?

    $sudo apt-get install python-wxversion

    Stani

    On 29 nov, 23:21, egbert <> wrote:
    > 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
    > ========================================================================
     
    SPE - Stani's Python Editor, Nov 29, 2006
    #4
  5. egbert

    egbert Guest

    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
    ========================================================================
     
    egbert, Nov 30, 2006
    #5
  6. On 30 nov, 10:50, egbert <> 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
     
    SPE - Stani's Python Editor, Nov 30, 2006
    #6
  7. egbert

    Thomas Ploch Guest

    SPE - Stani's Python Editor schrieb:
    > On 30 nov, 10:50, egbert <> 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
     
    Thomas Ploch, Nov 30, 2006
    #7
  8. 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/SPE-0.8.3.c-wx2.6.1.0-no_setup.zip

    Stani

    On 30 nov, 12:23, Thomas Ploch <> wrote:
    > SPE - Stani's Python Editor schrieb:
    >
    > > On 30 nov, 10:50, egbert <> 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!

    >
    > > 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
     
    SPE - Stani's Python Editor, Nov 30, 2006
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anatoly
    Replies:
    1
    Views:
    404
    dave wanta
    Jun 29, 2003
  2. Rea
    Replies:
    2
    Views:
    1,607
  3. Randy Armknecht
    Replies:
    3
    Views:
    4,980
    Randy
    Sep 15, 2004
  4. Oddball
    Replies:
    0
    Views:
    1,380
    Oddball
    Aug 2, 2005
  5. Hozkar
    Replies:
    0
    Views:
    363
    Hozkar
    May 4, 2005
Loading...

Share This Page