RE: [SE|PY-macdev] New error at SEPY startup on OS X
Brought to you by:
sephiroth_tmm
|
From: Alessandro C. *sephiroth* <wis...@se...> - 2004-08-01 17:49:14
|
Thank you for the informations.
Try to modify the file "SEPY.py" in the GetTextCtrl() method at line ~4167 in this way:
# -----------------------------
# GET TEXT WINDOW FROM NOTEBOOK
# -----------------------------
def GetTextCtrl(self, num=None):
if self.notebook.GetPageCount() == 0:
return False
if num == None:
if self.notebook.GetSelection() == -1:
sel = 0
else:
sel = self.notebook.GetSelection()
else:
sel = num
if wx.Platform == '__WXMSW__':
try:
child = self.notebook.GetPage(sel).GetChildren()
except:
child = self.notebook.GetPage(0).GetChildren()
child_ret = None
for line in child:
if line.__class__ == Editor:
child_ret = line
return child_ret
break
if child_ret is None:
for line in child:
if line.__class__ in [wx.WindowPtr,wx.Window]:
returned_child = self.__recursive__(line)
return returned_child
break
else:
try:
child = self.notebook.GetPage(sel)
except:
child = None
return child
Anyway, tomorrow i will leave for my holidays.. I will be there in 15 days, then i can study the problem.
If you or any of the others have time to spend on it, i suggest to take a look at the wxpython archives if you find something for
other errors..
Alessandro Crugnola - sephiroth
---------------------------------------------
Macromedia Flash Team Volunteer
http://www.macromedia.com/go/team
Flash && PHP developer
ale...@se...
*relax with SEPY http://www.sf.net/projects/sepy
---------------------------------------------
::-----Original Message-----
::From: sep...@li...
::[mailto:sep...@li...] On Behalf Of
::Richard Wallace
::Sent: domenica 1 agosto 2004 18.10
::To: sep...@li...
::Subject: Re: [SE|PY-macdev] New error at SEPY startup on OS X
::
::Yes. On startup, sepy had created a blank new document (after
::a 20-30 second wait at the end of which the recursion error
::was given). When I open an existing one, its content is
::displayed after a 20-30 second wait as well. Trying to type
::anything in either a new or existing document results in
::another recursion error, and the program usually quits with a
::segmentation fault after several attempts at typing.
::
::
::
::On Aug 1, 2004, at 5:25 AM, Alessandro Crugnola *sephiroth* wrote:
::
::> When you open an existing as file and get that error (the 2nd one)
::> sepy had created a new document ?
::>
::> Alessandro Crugnola - sephiroth
::> ---------------------------------------------
::> Macromedia Flash Team Volunteer
::> http://www.macromedia.com/go/team
::> Flash && PHP developer
::> ale...@se...
::>
::> *relax with SEPY http://www.sf.net/projects/sepy
::> ---------------------------------------------
::>
::>
::> ::-----Original Message-----
::> ::From: sep...@li...
::> ::[mailto:sep...@li...] On Behalf Of
::> ::Richard Wallace
::> ::Sent: sabato 31 luglio 2004 17.52
::> ::To: sep...@li...
::> ::Subject: Re: [SE|PY-macdev] New error at SEPY startup on OS X
::> ::
::> ::For what it's worth, I get the same result when I comment
::out ::the
::> UTF8 line as well, but I do get a more verbose error
::::message with a
::> line
::> ::number:
::> ::
::> :: File "/usr/local/src/SciTE/Editor.py", line 1517, in
::> ::OnUpdateInterface
::> :: if self.AutoCompActive() or self.CallTipActive():
::> ::RuntimeError: maximum recursion depth exceeded
::> ::
::> ::And here's what happens when I open an existing AS document:
::> ::
::> ::Traceback (most recent call last):
::> :: File "/usr/local/src/SciTE/SEPY.py", line 2546, in
::OnOpenDocument
::> ::
::self.LoadFile((os.path.normpath(os.path.join(directory, x))), 0)
::> :: File "/usr/local/src/SciTE/SEPY.py", line 2527, in LoadFile
::> :: IOreader.Opener(self, filename, arg[0], gotoline =
::> ::gotoline, classpaths = classpaths)
::> :: File "/usr/local/src/SciTE/file_io.py", line 114, in __init__
::> :: self.frame.__createNew__(self.text, self.file_name,
::> ::self.arg[0],
::> ::stat=os.stat(self.file_name)[8],newlines=self.newlines,
::> ::gotoline = self.gotoline, classpaths = self.classpaths)
::> :: File "/usr/local/src/SciTE/SEPY.py", line 2451, in
::__createNew__
::> :: self.statusBar.SetStatusText("File: %s, %d bytes, %d
::> ::lines" % (real_name, os.stat(filename)[6],
::> ::self.GetTextCtrl().GetLineCount()),
::> ::0)
::> ::AttributeError: 'NoneType' object has no attribute 'GetLineCount'
::> ::Exception exceptions.RuntimeError: 'maximum recursion
::depth exceeded'
::> ::in ignored
::> ::Exception exceptions.RuntimeError: 'maximum recursion
::depth exceeded'
::> ::in ignored
::> ::RuntimeError: maximum recursion depth exceeded
::> ::zsh: segmentation fault pythonw main.pyw
::> ::
::> ::
::> ::
::> ::On Jul 31, 2004, at 7:22 AM, valley wrote:
::> ::
::> ::> Ok, now looks better than ever: SEPY opens with an Untitled
::> ::document.
::> ::> But meanwhile I get in the shell the following exception:
::> ::>
::> ::> Exception exceptions.RuntimeError: 'maximum recursion depth
::> ::exceeded'
::> ::> in
::> ::> ignored
::> ::> RuntimeError: maximum recursion depth exceeded ::> ::>
::And when i
::> type the first letter in this document SEPY ::crashes with a ::>
::> Segmentation fault...
::> ::>
::> ::> But it looks really good what i see on the desktop
:::-))) ::> ::>
::> valley ::> ::> ::> ----- Original Message ----- ::> From:
::"Alessandro
::> Crugnola *sephiroth*" <wis...@se...> ::> To:
::> <sep...@li...>
::> ::> Sent: Saturday, July 31, 2004 1:00 PM ::> Subject: RE:
::> [SE|PY-macdev] New error at SEPY startup on OS X ::> ::>
::::>> ::So it
::> seems that we have to wait for this feature for ::the os x mode.
::> ::>> ::>> Alessandro: Is it possible to use another
::CodePage than ::>>
::> STC_CP_UTF8 ::>> ::or is there another possibility to get over this
::> current error ?
::> ::>>
::> ::>> Damn..
::> ::>> Comment that line, and go straight.
::> ::>> The problems this can cause will arise later.. At the
::::moment of
::> save ::> document and open them, since i've completely
::based the ::>>
::> application for unicode support.
::> ::>> But i belive these can be fixed.
::> ::>>
::> ::>>
::> ::>>
::> ::>> Alessandro Crugnola - sephiroth
::> ::>> ---------------------------------------------
::> ::>> Macromedia Flash Team Volunteer
::> ::>> http://www.macromedia.com/go/team ::>> Flash && PHP developer
::> ::>> ale...@se... ::>> ::>> *relax with SEPY
::> http://www.sf.net/projects/sepy ::>>
::> ---------------------------------------------
::> ::>>
::> ::>>
::> ::>> ::-----Original Message-----
::> ::>> ::From: sep...@li...
::> ::>> ::[mailto:sep...@li...] On
::Behalf Of
::> ::>> valley ::>> ::Sent: sabato 31 luglio 2004 11.44 ::>> ::To:
::> sep...@li... ::>> ::Subject: Re:
::[SE|PY-macdev]
::> New error at SEPY startup on OS X ::>> ::
::> ::>> ::Hi Richard,
::> ::>> ::
::> ::>> ::it seems that at the moment using unicode with
::wxPython isn't
::> ::>> ::possible.
::> ::>> ::i've just tried to build the newest wxWidget/wxPython from
::> ::the ::>> source and with unicode enabled. wxWidget built and
::> ::installed ::>> correctly, but when i try to build wxPython then i
::> ::get 'UNICODE ::>> mode not currently supported on this
::WXPORT: mac'
::> ::>> ::
::> ::>>
::> ::>> ::
::> ::>> ::Thanks a lot
::> ::>> ::valley
::> ::>> ::
::> ::>> ::
::> ::>> ::
::> ::>> ::
::> ::>> ::-------------------------------------------------------
::> ::>> ::This SF.Net email is sponsored by OSTG. Have you noticed the
::> ::>> ::changes on Linux.com, ITManagersJournal and
::NewsForge in ::the
::> ::past ::>> few weeks? Now, one more big change to announce. We are
::> ::::now OSTG- ::>> Open Source Technology Group. Come see
::the changes
::> ::on ::the new OSTG ::>> site. www.ostg.com
::> ::::_______________________________________________
::> ::>> ::sepy-macdev mailing list
::> ::>> ::sep...@li...
::> ::>> ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev
::> ::>>
::> ::>>
::> ::>>
::> ::>>
::> ::>> -------------------------------------------------------
::> ::>> This SF.Net email is sponsored by OSTG. Have you noticed ::the
::> changes ::>> on Linux.com, ITManagersJournal and NewsForge
::in the past
::> ::few weeks?
::> ::>> Now, one more big change to announce. We are now OSTG- Open
::> Source ::>> Technology Group. Come see the changes on the
::new OSTG site.
::> ::>> www.ostg.com _______________________________________________
::> ::>> sepy-macdev mailing list
::> ::>> sep...@li... ::>>
::> https://lists.sourceforge.net/lists/listinfo/sepy-macdev
::> ::>>
::> ::>
::> ::>
::> ::>
::> ::> -------------------------------------------------------
::> ::> This SF.Net email is sponsored by OSTG. Have you noticed ::the
::> changes ::> on Linux.com, ITManagersJournal and NewsForge
::in the past
::> ::few weeks?
::> ::> Now, one more big change to announce. We are now OSTG-
::Open Source
::> ::> Technology Group. Come see the changes on the new OSTG site.
::> ::> www.ostg.com _______________________________________________
::> ::> sepy-macdev mailing list
::> ::> sep...@li...
::> ::> https://lists.sourceforge.net/lists/listinfo/sepy-macdev
::> ::>
::> ::
::> ::
::> ::
::> ::-------------------------------------------------------
::> ::This SF.Net email is sponsored by OSTG. Have you noticed the
::> ::changes on Linux.com, ITManagersJournal and NewsForge in
::the ::past
::> few weeks? Now, one more big change to announce. We are ::now OSTG-
::> Open Source Technology Group. Come see the changes ::on the
::new OSTG
::> site. www.ostg.com ::_______________________________________________
::> ::sepy-macdev mailing list
::> ::sep...@li...
::> ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev
::>
::>
::>
::>
::> -------------------------------------------------------
::> This SF.Net email is sponsored by OSTG. Have you noticed
::the changes
::> on Linux.com, ITManagersJournal and NewsForge in the past
::few weeks?
::> Now, one more big change to announce. We are now OSTG- Open Source
::> Technology Group. Come see the changes on the new OSTG site.
::> www.ostg.com _______________________________________________
::> sepy-macdev mailing list
::> sep...@li...
::> https://lists.sourceforge.net/lists/listinfo/sepy-macdev
::>
::
::
::
::-------------------------------------------------------
::This SF.Net email is sponsored by OSTG. Have you noticed the
::changes on Linux.com, ITManagersJournal and NewsForge in the
::past few weeks? Now, one more big change to announce. We are
::now OSTG- Open Source Technology Group. Come see the changes
::on the new OSTG site. www.ostg.com
::_______________________________________________
::sepy-macdev mailing list
::sep...@li...
::https://lists.sourceforge.net/lists/listinfo/sepy-macdev
|