From 2s2n4e at mail.ru Tue Sep 7 00:02:40 2004 From: 2s2n4e at mail.ru (Jean Pierre) Date: Tue, 7 Sep 2004 00:02:40 +0200 Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E Message-ID: <20040907000240.1f895eb5@linuxcestcomplique> Is this mailing list still active ? I've posted an answer to Stani for a bug on closing files, and I've never seen the email appear on the mailing list... I'm currently trying the 0.5.1.E version and I have some problems. When I try to launch SPE on either linux or Windows (with enthought python 2.3.3), I've had the following error : ************************************************************ Starting Spe v0.5.1.e ... If spe fails to start: - type "python SPE_.py --debug" at the command prompt - send the error report to s_t_a_n_i at yahoo.com (c)www.stani.be Importing modules... Traceback (most recent call last): File "SPE.py", line 73, in ? main(debug=DEBUG) File "SPE.py", line 23, in main from sm.wxp.smdi import App File "/usr/local/lib/python2.3/site-packages/sm/wxp/__init__.py", line 351, in ? from wx.html import _HtmlWindow ImportError: cannot import name _HtmlWindow ************************************************************ Does somebody (Stani ?) has any hint to resolve the problem ? Thanks ! From dagurp at heimsnet.is Tue Sep 7 00:13:43 2004 From: dagurp at heimsnet.is (=?ISO-8859-1?Q?Dagur_P=E1ll_Ammendrup?=) Date: Mon, 06 Sep 2004 22:13:43 +0000 Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E In-Reply-To: <20040907000240.1f895eb5@linuxcestcomplique> References: <20040907000240.1f895eb5@linuxcestcomplique> Message-ID: <413CE117.9090106@heimsnet.is> I can never save my work. it's really strange Jean Pierre wrote: >Is this mailing list still active ? >I've posted an answer to Stani for a bug on closing files, and I've >never seen the email appear on the mailing list... > >I'm currently trying the 0.5.1.E version and I have some problems. >When I try to launch SPE on either linux or Windows (with enthought >python 2.3.3), I've had the following error : > >************************************************************ >Starting Spe v0.5.1.e ... > >If spe fails to start: > - type "python SPE_.py --debug" at the command prompt > - send the error report to s_t_a_n_i at yahoo.com > >(c)www.stani.be > >Importing modules... >Traceback (most recent call last): > File "SPE.py", line 73, in ? > main(debug=DEBUG) > File "SPE.py", line 23, in main > from sm.wxp.smdi import App > File >"/usr/local/lib/python2.3/site-packages/sm/wxp/__init__.py", line 351, >in ? from wx.html import _HtmlWindow >ImportError: cannot import name _HtmlWindow >************************************************************ > >Does somebody (Stani ?) has any hint to resolve the problem ? > >Thanks ! >_______________________________________________ >Spe-user mailing list >Spe-user at projects.blender.org >http://projects.blender.org/mailman/listinfo/spe-user > > > From s_t_a_n_i at yahoo.com Tue Sep 7 20:23:45 2004 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 7 Sep 2004 11:23:45 -0700 (PDT) Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E In-Reply-To: <20040907000240.1f895eb5@linuxcestcomplique> Message-ID: <20040907182345.29052.qmail@web51901.mail.yahoo.com> Hi Jean Pierre, This is list is still active, even if I am passive ;-) The reason is that since january 2004 I had no internet connection, which makes it more hard to work on a project like SPE. The htmlWindow bug is a serious bug and I'll soon release spe0.5.1.f which fixes that. If you can't wait you can replace the code in the sm/wxp/__init__.py file as follow on line 347-351: try: from wx.lib.iewin import IEHtmlWindow as _HtmlWindow IE = 1 except: from wx.html import HtmlWindow as _HtmlWindow IE = 0 What is the closing file bug? Could you report it again? Stani PS I'll be away from the 9th till 20th of september, as I have an exhibition in Lyon. I'm still looking for someone who would like to sponsor spe by giving some free zope hosting for my portfolio site (http://www.stani.be) Any suggestions are welcome. --- Jean Pierre <2s2n4e at mail.ru> wrote: > Is this mailing list still active ? > I've posted an answer to Stani for a bug on closing > files, and I've > never seen the email appear on the mailing list... > > I'm currently trying the 0.5.1.E version and I have > some problems. > When I try to launch SPE on either linux or Windows > (with enthought > python 2.3.3), I've had the following error : > > ************************************************************ > Starting Spe v0.5.1.e ... > > If spe fails to start: > - type "python SPE_.py --debug" at the > command prompt > - send the error report to > s_t_a_n_i at yahoo.com > > (c)www.stani.be > > Importing modules... > Traceback (most recent call last): > File "SPE.py", line 73, in ? > main(debug=DEBUG) > File "SPE.py", line 23, in main > from sm.wxp.smdi import App > File > "/usr/local/lib/python2.3/site-packages/sm/wxp/__init__.py", > line 351, > in ? from wx.html import _HtmlWindow > ImportError: cannot import name _HtmlWindow > ************************************************************ > > Does somebody (Stani ?) has any hint to resolve the > problem ? > > Thanks ! > _______________________________________________ > Spe-user mailing list > Spe-user at projects.blender.org > http://projects.blender.org/mailman/listinfo/spe-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From s_t_a_n_i at yahoo.com Tue Sep 7 20:30:19 2004 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 7 Sep 2004 11:30:19 -0700 (PDT) Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E In-Reply-To: <413CE117.9090106@heimsnet.is> Message-ID: <20040907183019.38916.qmail@web51906.mail.yahoo.com> Hi, Could you please give more details (system, configuration, versions, error log...). Spe works fine for me, so it's hard to imagine what might be wrong. Stani --- Dagur_P?ll_Ammendrup wrote: > I can never save my work. it's really strange > _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From dagurp at heimsnet.is Tue Sep 7 21:35:10 2004 From: dagurp at heimsnet.is (=?ISO-8859-1?Q?Dagur_P=E1ll_Ammendrup?=) Date: Tue, 07 Sep 2004 19:35:10 +0000 Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E In-Reply-To: <20040907183019.38916.qmail@web51906.mail.yahoo.com> References: <20040907183019.38916.qmail@web51906.mail.yahoo.com> Message-ID: <413E0D6E.4050404@heimsnet.is> Here's my configuration: *Program info* Spe version 0.5.1.e Python version 2.3.2 (2.2 required) wxPython version 2.5.2.7.u (2.4.2.4. required) Spe location C:\pl\Python23\lib\site-packages\_spe Blenpy location C:\pl\Python23\lib\site-packages\blenpy Sm location C:\pl\Python23\lib\site-packages\sm Sm idle location C:\pl\Python23\lib\site-packages\sm User path C:\Documents and Settings\Dagur Pall Ammendrup\.spe I couldn't find any error log but I always got a unicode error like this: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in position 62: ordinal not in range(128) After some testing I think it has to do with special characters in the directory name. It wouldn't save at all in a directory called st?r?fr??igreining but I could save in other directories. What's strange though is that I sometimes got errors when saving in the other directories, but in those cases the file would be saved anyway. I'm on Windows XP pro SP2. www.stani.be wrote: >Hi, >Could you please give more details (system, >configuration, versions, error log...). Spe works fine >for me, so it's hard to imagine what might be wrong. >Stani > >--- Dagur_P?ll_Ammendrup wrote: > > > >>I can never save my work. it's really strange >> >> >> > > > > >_______________________________ >Do you Yahoo!? >Win 1 of 4,000 free domain names from Yahoo! Enter now. >http://promotions.yahoo.com/goldrush >_______________________________________________ >Spe-user mailing list >Spe-user at projects.blender.org >http://projects.blender.org/mailman/listinfo/spe-user > > > From 2s2n4e at mail.ru Wed Sep 8 01:57:12 2004 From: 2s2n4e at mail.ru (Jean Pierre) Date: Wed, 8 Sep 2004 01:57:12 +0200 Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E In-Reply-To: <20040907182345.29052.qmail@web51901.mail.yahoo.com> References: <20040907000240.1f895eb5@linuxcestcomplique> <20040907182345.29052.qmail@web51901.mail.yahoo.com> Message-ID: <20040908015712.519e1d74@linuxcestcomplique> On Tue, 7 Sep 2004 11:23:45 -0700 (PDT), "www.stani.be" wrote : > Hi Jean Pierre, > This is list is still active, even if I am passive ;-) > The reason is that since january 2004 I had no > internet connection, which makes it more hard to work > on a project like SPE. The htmlWindow bug is a > serious bug and I'll soon release spe0.5.1.f which > fixes that. Ok thanks for the tip. By the way I really appreciate SPE as a python IDE, it's simple, intuitive and powerful. Be sure that I will continue using SPE and report any bugs. > What is the closing file bug? Could you report it > again? Sure : It happens when I have several files opened and I try to close one. I'm not sure where the problem is : windows ? python ? SPE ? But here are what I got when launching in debug mode : [snip lot of debug messages] Event: sm.wxp.smdi.MDIParentFrame.onFrameTab(2) Event: sm.wxp.smdi.MDIChildFrame.Move Event: sm.wxp.smdi.MDIChildFrame.Size Event: sm.wxp.smdi.MDIChildFrame.Size Event: Child.onKillFocus 0 Event: sm.wxp.smdi.MDIChildFrame.Size Event: sm.wxp.smdi.MDIChildFrame.Close Event: sm.wxp.smdi.MDIChildFrame.Close And then BAM ! Dr Watson : python.exe Exception : access violation (0xc0000005), Adress 0x00a73647 I work with Enthought Edition build 1057 Python 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit (Intel)] on win32 But I've tried with python 2.3.4 and I've still got the bug... What can I do to find what is causing the bug ? > Stani > > PS I'll be away from the 9th till 20th of september, > as I have an exhibition in Lyon. I'm still looking > for someone who would like to sponsor spe by giving > some free zope hosting for my portfolio site > (http://www.stani.be) Any suggestions are welcome. I can't make any promise yet but I'm trying to convince the whole company to switch from matlab to python. SPE is a good asset to show people that coding in python is really easy and if the migration is a success, I hope to convince the company to give you some donations in respect to your effort. Anyway, again : great software, thanks for all the good work ! From mail at benno-dielmann.de Wed Sep 8 13:55:47 2004 From: mail at benno-dielmann.de (mail at benno-dielmann.de) Date: Wed, 8 Sep 2004 11:55:47 +0000 (GMT) Subject: [spe.pycs.net] mailing list active ? problem with 0.5.1.E Message-ID: <787741244.1094644547183.JavaMail.weblicon@offler> Hi, >Here's my configuration: > >*Program info* > >Spe version 0.5.1.e >Python version 2.3.2 (2.2 required) >wxPython version 2.5.2.7.u (2.4.2.4. required) > >Spe location C:\pl\Python23\lib\site-packages\_spe > >Blenpy location C:\pl\Python23\lib\site-packages\blenpy > >Sm location C:\pl\Python23\lib\site-packages\sm > >Sm idle location C:\pl\Python23\lib\site-packages\sm > >User path C:\Documents and Settings\Dagur Pall Ammendrup\.spe > > > >I couldn't find any error log but I always got a unicode error like this: > >UnicodeEncodeError: 'ascii' codec can't encode character u'\xe6' in >position 62: ordinal not in range(128) > >After some testing I think it has to do with special characters in the >directory name. It wouldn't save at all in a directory called >st?r?fr??igreining but I could save in other directories. What's strange >though is that I sometimes got errors when saving in the other >directories, but in those cases the file would be saved anyway. > >I'm on Windows XP pro SP2. > In fact it probably hasn't anything to do with the characters in the directory name but with that ones in your file. The reason is a "feature" in the wxStyledTextControl from wxPython Spe uses. This text control always tries to save files with the python standard encoding which happens to be ascii out of the box. If your file isn't ascii encoded (e.g. if you are using non-ascii chars in comments or strings), you get the above error. Perhaps the problem arises as well with non-ascii directory names, but I haven't tested that. The solution I found will probably work any way so here is it: In the "site-packages" directory in my python dir (/usr/lib/python/site-packages on my linux box) I created a file named "sitecustomize.py" with the following content: ----------------- import sys sys.setdefaultencoding('iso-8859-1') ----------------- This script is run automatically on python startup and sets the default encoding to 'iso-8859-1'. Please insert your appropriate encoding, e.g. 'utf-8'. Everything should work fine now. Bye, Benno. From mjekl at clix.pt Wed Sep 15 21:12:36 2004 From: mjekl at clix.pt (mjekl) Date: Wed, 15 Sep 2004 19:12:36 +0000 (UTC) Subject: [spe.pycs.net] Re: mailing list active ? problem with 0.5.1.E References: <787741244.1094644547183.JavaMail.weblicon@offler> Message-ID: writes: > In fact it probably hasn't anything to do with the characters in the directory name but with that ones in your > file. > > The reason is a "feature" in the wxStyledTextControl from wxPython Spe uses. This text control always > tries to save files with the python standard encoding which happens to be ascii out of the box. If your file > isn't ascii encoded (e.g. if you are using non-ascii chars in comments or strings), you get the above > error. > > Perhaps the problem arises as well with non-ascii directory names, but I haven't tested that. > > The solution I found will probably work any way so here is it: > > In the "site-packages" directory in my python dir (/usr/lib/python/site- packages on my linux box) I > created a file named "sitecustomize.py" with the following content: > > ----------------- > import sys > > sys.setdefaultencoding('iso-8859-1') > ----------------- > > This script is run automatically on python startup and sets the default encoding to 'iso-8859-1'. Please > insert your appropriate encoding, e.g. 'utf-8'. > > Everything should work fine now. > > Bye, > > Benno. > THANK YOU, THANK YOU, BENNO! YOU ARE THE GREATEST!!! I can't believe I've seen (and posted) so many times on this "issue". It's really an ISSUE for everyone who uses more than plain-old ascii. And the answer was so simple (when you know it :-). There's some free beer for you if you ever come this way (Portugal)! Best, mjekl From ckspencer at verizon.net Wed Sep 15 23:20:54 2004 From: ckspencer at verizon.net (Chris Spencer) Date: Wed, 15 Sep 2004 17:20:54 -0400 Subject: [spe.pycs.net] Blender Freeze? Message-ID: <4148B236.1040200@verizon.net> When I launch SPE from inside Blender I notice that Blender freezes and becomes unusable until SPE exits. I'm assuming that this is the correct operation of SPE and Blender, since the manual mentions that Blender and SPE don't run in parallel. I don't want to demean the potential of the Blender/SPE combination, but being unable to see the results of the script seems like a major problem. Is it possible to fix this or am I missing something? From s_t_a_n_i at yahoo.com Thu Sep 16 16:17:01 2004 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Thu, 16 Sep 2004 07:17:01 -0700 (PDT) Subject: [spe.pycs.net] Blender Freeze? In-Reply-To: <4148B236.1040200@verizon.net> Message-ID: <20040916141701.2968.qmail@web51910.mail.yahoo.com> Hi Chris, Unfortunately this is out of my control. I find it personally already a great help to have an IDE which can access the Blender core with a browser, etc..., but of course I have to agree with you. I have asked the already the people from bf-python to make this possible, but they told me it involves quite some coding for them. I guess when a lot of people show interest for this, it could start going. I have no knowledge of C++, so I am unable to implement that. Post this issue on the bf-python mailing list. Stani --- Chris Spencer wrote: > When I launch SPE from inside Blender I notice that > Blender freezes and > becomes unusable until SPE exits. I'm assuming that > this is the correct > operation of SPE and Blender, since the manual > mentions that Blender and > SPE don't run in parallel. I don't want to demean > the potential of the > Blender/SPE combination, but being unable to see the > results of the > script seems like a major problem. Is it possible to > fix this or am I > missing something? > > _______________________________________________ > Spe-user mailing list > Spe-user at projects.blender.org > http://projects.blender.org/mailman/listinfo/spe-user > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From ckspencer at verizon.net Sun Sep 19 10:33:32 2004 From: ckspencer at verizon.net (Chris Spencer) Date: Sun, 19 Sep 2004 04:33:32 -0400 Subject: [spe.pycs.net] Double Scrollbars? Message-ID: <414D445C.4090100@verizon.net> I noticed that there are two scroll bars at the bottom of each editor window, which appear to perform the exact same function. Is there a reason for two? From grimmtooth at gmail.com Mon Sep 20 16:07:52 2004 From: grimmtooth at gmail.com (Jeff Grimmett) Date: Mon, 20 Sep 2004 10:07:52 -0400 Subject: [spe.pycs.net] Double Scrollbars? In-Reply-To: <414D445C.4090100@verizon.net> References: <414D445C.4090100@verizon.net> Message-ID: <8f4623fb04092007077e5b45fa@mail.gmail.com> On Sun, 19 Sep 2004 04:33:32 -0400, Chris Spencer wrote: > I noticed that there are two scroll bars at the bottom of each editor > window, which appear to perform the exact same function. Is there a > reason for two? I've noticed this, too - the last two versions ('d' and 'e') that I've used. I thought I might have something screwed up in my wx install. -- Regards, Jeff