Python-spe-users Digest, Vol 5, Issue 8
[email protected] Thu, 23 Nov 2006 01:45:28 +0100
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
Send Python-spe-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.berlios.de/mailman/listinfo/python-spe-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-spe-users digest..." _______________________________________________ http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html http://pythonide.stani.be/blog/sm_donate _______________________________________________ Today's Topics: 1. Re: An error on FC6 with wxPy2.7 (Jia Lu) ---------------------------------------------------------------------- Message: 1 Date: Thu, 23 Nov 2006 09:44:31 +0900 From: "Jia Lu" <[email protected]> Subject: Re: [spe-users] An error on FC6 with wxPy2.7 To: "Mailing list for spe users" <[email protected]> Message-ID: <9a1e512f0611221644g484a4c8cic2c859b7ff0d94c4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Content-Type: text/plain; charset="utf-8" Hello Stani Thanks a lot. Now My SPE is working :) If possible, Can you tell me the reason why my smdi.py cannot work? I will use SPE with my python dev for now on :) Best wishes 2006/11/23, SPE Stani's Python Editor <[email protected]>: > > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > > > You'll need to replace _spe/sm/wxp/smdi.py with the attached file. I > am working on a new version. > > Stani > > On 11/22/06, Jia Lu <[email protected]> wrote: > > http://pythonide.stani.be > > http://pythonide.stani.be/manual/html/manual.html > > http://pythonide.stani.be/blog/sm_donate > > -- > > > > > > > > > > Hi Stani > > Thanks for your anwser. > > > > I found filenew.png and other png files in > > /usr/lib/python2.4/site-packages/_spe/skin/default/. > > > > Then I did python SPE.py --debug > debug.txt 2>&1 > > in /usr/lib/python2.4/site-packages/_spe/ and got the > > result below: > > (It seems another error ?) > > ----------------------------- > > Spe Warning: Spe was developped on wxPython v2.6.1.0., but v2.7.1.3. was > > found. > > If you experience any problems please install wxPython v2.6.1.0. > > > > > > SPE v0.8.3.c (c)2003-2005 www.stani.be > > > > If spe fails to start: > > - type "python SPE.py --debug > debug.txt 2>&1" at the command prompt > > (or if you use tcsh: "python SPE.py --debug >& debug.txt") > > - send debug.txt with some info to spe.stani.be[at]gmail.com > > > > > > Spe Warning: Spe was developped on wxPython v2.6.1.0., but v2.7.1.3. was > > found. > > If you experience any problems please install wxPython v2.6.1.0. > > > > Blender support disabled (run SPE inside Blender to enable). > > Encrypted debugging enabled. > > > > Spe is running in debugging mode with this configuration: > > - platform : linux2 > > - python : 2.4.4 > > - wxPython : 2.7.1.3. > > - interface : <default> > > - encoding : utf > > > > Launching application... > > Create: Framework: menu. > > Create: Framework: toolbar. > > Create: Framework: statusbar. > > Creating tabs... > > Shell > > Locals > > Session > > Output > > Find > > Browser > > Recent > > Todo > > Index > > Notes > > Donate > > Create: MdiSplit: <class 'sm.wxp.smdi.MdiSplitChildFrame '> unnamed > unnamed > > Create: Sdi: <class 'sm.wxp.smdi.MdiSplitChildFrame'>.tabs > > Traceback (most recent call last): > > File "SPE.py", line 209, in ? > > style = style) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 1278, in __init__ > > wx.App.__init__(self,redirect=not debug) > > File > > "/usr/lib/python2.4/site-packages/wx-2.7.1-gtk2-unicode/wx/_core.py", > > line 7480, in __init__ > > self._BootstrapApp() > > File "/usr/lib/python2.4/site-packages/wx- > > 2.7.1-gtk2-unicode/wx/_core.py", line 7080, in _BootstrapApp > > return _core_.PyApp__BootstrapApp(*args, **kwargs) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 1297, in OnInit > > style = self.style, > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 801, in __init__ > > Parent.__init__(self,app=app,page=page,**options) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 595, in __init__ > > parentFrame = self, > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 326, in __init__ > > self.__finish__() > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 599, in __finish__ > > Framework.__finish__(self) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 424, in __finish__ > > self.panel.__finish__() > > File "/usr/lib/python2.4/site-packages/_spe/Parent.py", > > line 121, in __finish__ > > self.__frame__() > > File "/usr/lib/python2.4/site-packages/_spe/Parent.py", > > line 169, in __frame__ > > self.__remember__(openFiles=self._openFiles) > > File "/usr/lib/python2.4/site-packages/_spe/Parent.py", > > line 194, in __remember__ > > self.new(maximize = self.getValue("MaxChildren")) > > File "/usr/lib/python2.4/site-packages/_spe/Parent.py", > > line 379, in new > > maximize = maximize) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 1125, in __init__ > > extra = extra, > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 889, in __init__ > > extra = extra, > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 326, in __init__ > > self.__finish__() > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 899, in __finish__ > > Framework.__finish__(self) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 422, in __finish__ > > self.setTitle(self.page,self.extra) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 1150, in setTitle > > Child.setTitle(self,page,extra,new) > > File > > "/usr/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py", > > line 991, in setTitle > > self.SetTitle(self.pageTitle) > > AttributeError: 'MdiSplitChildFrame' object has no attribute 'SetTitle' > > ---------------------- > > But I can run all the demos of wxPy normally. > > What is wrong can you think of? > > Thanks. > > > > > > 2006/11/22, SPE Stani's Python Editor <[email protected]>: > > > http://pythonide.stani.be > > > http://pythonide.stani.be/manual/html/manual.html > > > http://pythonide.stani.be/blog/sm_donate > > > -- > > > > > > > > > I could quickly think of the following possibilities causing the > error: > > > - The tool bitmap doesn't exist, so does the following file exist on > > > your hard disk: skins/default/filenew.png? > > > - There is a problem to locate the tool bitmap. So please cd to the > > > "_spe" directory and start "python SPE.py --debug" > > > - Something went wrong with the png handling in your wxPython > > > installation. Please check if you can display png images in the > > > wxPython demo and check if the toolbar demo works for you. > > > > > > Stani > > > > > > On 11/21/06, Jia Lu <[email protected]> wrote: > > > > http://pythonide.stani.be > > > > http://pythonide.stani.be/manual/html/manual.html > > > > http://pythonide.stani.be/blog/sm_donate > > > > -- > > > > > > > > > > > > > > > > > > > > Hi Stani > > > > Thanks for your answer. > > > > I ran with debug mode and I got the error in debug.txt > > > > > > > > ----------------------- > > > > Spe Warning: Spe was developped on wxPython v2.6.1.0., but v2.7.1.3. > was > > > > found. > > > > If you experience any problems please install wxPython v2.6.1.0. > > > > > > > > > > > > SPE v0.8.3.c (c)2003-2005 www.stani.be > > > > > > > > If spe fails to start: > > > > - type "python SPE.py --debug > debug.txt 2>&1" at the command > prompt > > > > (or if you use tcsh: "python SPE.py --debug >& debug.txt") > > > > - send debug.txt with some info to spe.stani.be[at]gmail.com > > > > > > > > > > > > Spe Warning: Spe was developped on wxPython v2.6.1.0., but v2.7.1.3. > > was > > > > found. > > > > If you experience any problems please install wxPython v2.6.1.0. > > > > > > > > Blender support disabled (run SPE inside Blender to enable). > > > > Encrypted debugging enabled. > > > > > > > > Spe is running in debugging mode with this configuration: > > > > - platform : linux2 > > > > - python : 2.4.4 > > > > - wxPython : 2.7.1.3. > > > > - interface : <default> > > > > - encoding : utf > > > > > > > > Launching application... > > > > Create: Framework: menu. > > > > Create: Framework: toolbar. > > > > Traceback (most recent call last): > > > > File "SPE.py", line 209, in ? > > > > style = style) > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0 /_spe/sm/wxp/smdi.py", > line > > 1278, > > > > in __init__ > > > > wx.App.__init__(self,redirect=not debug) > > > > File > > > > > > "/usr/lib/python2.4/site-packages/wx-2.7.1-gtk2-unicode/wx/_core.py", > > > > line 7480, in __init__ > > > > self._BootstrapApp() > > > > File "/usr/lib/python2.4/site-packages/wx- > > > > 2.7.1-gtk2-unicode/wx/_core.py", line 7080, in _BootstrapApp > > > > return _core_.PyApp__BootstrapApp(*args, **kwargs) > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0/_spe/sm/wxp/smdi.py", line > > 1297, > > > > in OnInit > > > > style = self.style, > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0/_spe/sm/wxp/smdi.py", line > > 801, in > > > > __init__ > > > > Parent.__init__(self,app=app,page=page,**options) > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0 /_spe/sm/wxp/smdi.py", > line > > 595, > > > > in __init__ > > > > parentFrame = self, > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0/_spe/sm/wxp/smdi.py", line > > 324, in > > > > __init__ > > > > self.__tool__(app) > > > > File "/home/Tools/SPE- 0.8.3.c-wx2.6.1.0/_spe/sm/wxp/smdi.py", > line > > 394, > > > > in __tool__ > > > > id=wx.ID_ANY, style=STYLE_TOOLBAR) > > > > File "/home/Tools/SPE-0.8.3.c-wx2.6.1.0/_spe/Menu.py", line 71, in > > > > __init__ > > > > self.AddLabelTool (TOOL_NEW, "", > > wx.Bitmap("skins/default/filenew.png", > > > > wx.BITMAP_TYPE_ANY), wx.NullBitmap, wx.ITEM_NORMAL, _("New | > Ctrl+N"), > > "") > > > > File "/usr/lib/python2.4/site-packages/wx- > > > > 2.7.1-gtk2-unicode /wx/_controls.py", line 3715, in AddLabelTool > > > > shortHelp, longHelp, clientData) > > > > File > > > > > > "/usr/lib/python2.4/site-packages/wx-2.7.1-gtk2-unicode > /wx/_controls.py", > > > > line 3637, in DoAddTool > > > > return _controls_.ToolBarBase_DoAddTool(*args, > > > > **kwargs) > > > > wx._core.PyAssertionError: C++ assertion "bitmap.Ok()" failed at > > > > ../src/gtk/tbargtk.cpp(365) in DoInsertTool(): invalid bitmap for > > wxToolBar > > > > icon > > > > ----------------------- > > > > > > > > I searched on internet about the bitmap error, but I have no idea > about > > it. > > > > I really want to use SPE.....:( > > > > > > > > Thanks.. > > > > > > > > _______________________________________________ > > > > Python-spe-users mailing list > > > > [email protected] > > > > > > https://lists.berlios.de/mailman/listinfo/python-spe-users > > > > > > > > > > > > > > > > > > > > > -- > > > http://pythonide.stani.be > > > http://pythonide.stani.be/screenshots > > > http://pythonide.stani.be/manual/html/manual.html > > > _______________________________________________ > > > Python-spe-users mailing list > > > [email protected] > > > > > https://lists.berlios.de/mailman/listinfo/python-spe-users > > > > > > > > > > > -- > > -- Jia LU > > < http://www.lujia.us> > > Registered Linux user #434792 > > python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for > p > > in '[email protected]'.split('@')])" > > -- > > \ "Unix is an operating system, OS/2 is half an operating system, | > > `\ Windows is a shell, and DOS is a boot partition virus." -- | > > _o__) > > Peter H. Coffin | > > _______________________________________________ > > Python-spe-users mailing list > > [email protected] > > https://lists.berlios.de/mailman/listinfo/python-spe-users > > > > > > > > > -- > http://pythonide.stani.be > http://pythonide.stani.be/screenshots > http://pythonide.stani.be/manual/html/manual.html > > > _______________________________________________ > Python-spe-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/python-spe-users > > > > -- -- Jia LU <http://www.lujia.us> Registered Linux user #434792 python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[email protected]'.split('@')])" -- \ "Unix is an operating system, OS/2 is half an operating system, | `\ Windows is a shell, and DOS is a boot partition virus." -- | _o__) Peter H. Coffin | -------------- next part -------------- An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/python-spe-users/attachments/20061123/bdcedf80/attachment.html ------------------------------ _______________________________________________ Python-spe-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest, Vol 5, Issue 8 **********************************************