Re: [SE|PY-macdev] Continuing OS X compiling
Brought to you by:
sephiroth_tmm
From: valley <va...@ic...> - 2004-08-20 22:25:26
|
No, when I do so, then the next recursion error appears on line 1536: self.super_parent.mainmenu.Enable(ID_UNDO, self.CanUndo()) I think I found the problem: Go to line 598 in Editor.py, where the autocompletion is defined. There you bind the event for the UpdateUI with 'OnUpdateInterfac= e'. When I just comment this line 'self.Bind(EVT_STC_UPDATEUI, self.OnUpdateInterface)' then there is no recursion error anymore... It seems that something with this binding is called endlessly until the recursion error occurs. So perhaps you have to change something with this line 598 ;-) valley ----- Original Message ----- From: "Alessandro Crugnola *sephiroth*" <wis...@se...> To: <sep...@li...> Sent: Friday, August 20, 2004 9:50 PM Subject: RE: [SE|PY-macdev] Continuing OS X compiling Do you mean that commenting both the line with GetCurrentPos the exceptio= n does not raise? 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: venerd=EC 20 agosto 2004 20.30 ::To: sep...@li... ::Subject: Re: [SE|PY-macdev] Continuing OS X compiling :: ::Actually commenting these 2 lines don't have a better effect. ::I think that the recursion error takes place in the following ::line when calling 'self.GetCurrentPos()', either for the ::caretPos, or - when I replace this line with 'caretPos =3D 0' ::the recursion error happens in the next line ::'self.current_pos =3D self.GetCurrentPos()' ::So we should look at what happens (wrong) in this function. :: ::valley :: :: :: ::----- Original Message ----- ::From: "Alessandro Crugnola *sephiroth*" <wis...@se...> ::To: <sep...@li...> ::Sent: Friday, August 20, 2004 7:49 PM ::Subject: RE: [SE|PY-macdev] Continuing OS X compiling :: :: ::They are all necessary for SEPY in order to work.. ::But at least we found where the error starts propagating... :: :::: File "/Users/valley/Desktop/SEPY/SciTE/Editor.py", line ::1529, in OnUpdateInterface :: ::So, try to comment the first 2 lines of that method in this way: :: :: def OnUpdateInterface(self, event): :: #if self.AutoCompActive() or self.CallTipActive(): :: # return :: caretPos =3D self.GetCurrentPos() :: self.current_pos =3D self.GetCurrentPos() :: :: ::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: venerd=EC 20 agosto 2004 18.19 ::::To: sep...@li... ::::Subject: Re: [SE|PY-macdev] Continuing OS X compiling :::: ::::Wow, with all "Bind" event lines commented no recursion ::error ::occurs anymore and editing of documents also works ::fine, ::including saving. ::::Can we just leave away all these event lines or are they ::::necessary for some action inside SEPY ? :::: ::::valley :::: :::: :::: :::: ::::----- Original Message ----- ::::From: "valley" <va...@ic...> ::::To: <sep...@li...> ::::Sent: Friday, August 20, 2004 7:04 PM ::::Subject: Re: [SE|PY-macdev] Continuing OS X compiling :::: :::: ::::Ok, I didn't comment the "Bind" event lines yet, but with ::the ::newest cvs version I now get another error, just before ::the ::Untitled Document opens: :::: ::::Traceback (most recent call last): :::: File "/Users/valley/Desktop/SEPY/SciTE/Editor.py", line ::::1529, in OnUpdateInterface :::: if self.AutoCompActive() or self.CallTipActive(): ::::RuntimeError: maximum recursion depth exceeded :::: ::::And this error also appears after I entered a character in ::::the Untitled Doc (and had to wait about 20 secs). :::: ::::Now I try to comment these "Bind" lines... :::: ::::valley :::: :::: :::: :::: ::::----- Original Message ----- ::::From: "Alessandro Crugnola *sephiroth*" <wis...@se...> ::::To: <sep...@li...> ::::Sent: Thursday, August 19, 2004 6:01 PM ::::Subject: RE: [SE|PY-macdev] Continuing OS X compiling :::: :::: ::::Hi again! ::::Holidays was great... After 5 days of sea beach and girls ::is ::so difficult to find out what i was thinking with SEPY ::^_^ Anyway. ::::The recursion come before creating a document or after? ::::Try this thing. ::::Open the Editor.py file and comment out ALL lines with a ::::"Bind" event. Then tell me if the recursion occurs again. ::::P.S. I just updated the cvs version with some fixes :::: ::::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 ::Valentin Treu ::::::Sent: gioved=EC 19 agosto 2004 13.13 ::::::To: sep...@li... ::::::Subject: [SE|PY-macdev] Continuing OS X compiling :::::: ::::::Hi Alessandro, :::::: ::::::hope your holidays were fine ? ::::::With SEPY on OS X it seems we are still stuck at the ::point ::::where this recursion error occurs, so SEPY comes up ::but ::then ::just loops and loops... ::::::Can we go on from here ? I hope you have some ideas for ::the ::::next steps to test ;-) :::::: ::::::Thanks & regards ::::::valley :::::: :::::: :::::: :::::: :::::: ::::::------------------------------------------------------- ::::::SF.Net email is sponsored by Shop4tech.com-Lowest price ::on ::::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk ::Sonic ::::DVD+R for only $33 Save 50% off Retail on Ink & ::Toner - ::Free ::Shipping and Free Gift. ::::::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::::::_______________________________________________ ::::::sepy-macdev mailing list ::::::sep...@li... ::::::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :::::: :::: :::: :::: :::: ::::------------------------------------------------------- ::::SF.Net email is sponsored by Shop4tech.com-Lowest price on ::::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic ::::DVD+R for only $33 Save 50% off Retail on Ink & Toner - ::Free ::Shipping and Free Gift. ::::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::::_______________________________________________ ::::sepy-macdev mailing list ::::sep...@li... ::::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :::: :::: :::: ::::------------------------------------------------------- ::::SF.Net email is sponsored by Shop4tech.com-Lowest price on ::::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic ::::DVD+R for only $33 Save 50% off Retail on Ink & Toner - ::Free ::Shipping and Free Gift. ::::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::::_______________________________________________ ::::sepy-macdev mailing list ::::sep...@li... ::::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :::: :::: :::: ::::------------------------------------------------------- ::::SF.Net email is sponsored by Shop4tech.com-Lowest price on ::::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic ::::DVD+R for only $33 Save 50% off Retail on Ink & Toner - ::Free ::Shipping and Free Gift. ::::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::::_______________________________________________ ::::sepy-macdev mailing list ::::sep...@li... ::::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :: :: :: :: ::------------------------------------------------------- ::SF.Net email is sponsored by Shop4tech.com-Lowest price on ::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic ::DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free ::Shipping and Free Gift. ::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::_______________________________________________ ::sepy-macdev mailing list ::sep...@li... ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev :: :: :: ::------------------------------------------------------- ::SF.Net email is sponsored by Shop4tech.com-Lowest price on ::Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic ::DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free ::Shipping and Free Gift. ::http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ::_______________________________________________ ::sepy-macdev mailing list ::sep...@li... ::https://lists.sourceforge.net/lists/listinfo/sepy-macdev ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ sepy-macdev mailing list sep...@li... https://lists.sourceforge.net/lists/listinfo/sepy-macdev |