Re: Need help debugging Phoenix in a application being migrated from Classic

stn1k3 <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi, 

I got similar error on mac os x 

DEBUG: Recursion Limit 1000


Traceback (most recent call last):

  File 
"/usr/local/lib/python2.7/site-packages/robotide/application/application.py", 
line 56, in OnInit

    self._plugin_loader.enable_plugins()

  File 
"/usr/local/lib/python2.7/site-packages/robotide/application/pluginloader.py", 
line 36, in enable_plugins

    p.enable_on_startup()

  File 
"/usr/local/lib/python2.7/site-packages/robotide/application/pluginconnector.py", 
line 51, in enable_on_startup

    self.enable()

  File 
"/usr/local/lib/python2.7/site-packages/robotide/application/pluginconnector.py", 
line 56, in enable

    self._plugin.enable()

  File 
"/usr/local/lib/python2.7/site-packages/robotide/editor/texteditor.py", 
line 61, in enable

    self._open()

  File 
"/usr/local/lib/python2.7/site-packages/robotide/editor/texteditor.py", 
line 96, in _open

    self.show_tab(self._editor)

  File 
"/usr/local/lib/python2.7/site-packages/robotide/pluginapi/plugin.py", line 
134, in __getattr__

    raise AttributeError("No attribute or settings with name '%s' found" % 
name)

AttributeError: No attribute or settings with name '_editor' found

OnInit returned false, exiting...



On Friday, May 27, 2016 at 7:06:15 PM UTC-7, Scott Talbert wrote:
>
> On Fri, 27 May 2016, Hélio Guilherme wrote: 
>
> > 
> > I am already burning my brain for too many weeks! 
> > 
> > I am migrating RIDE from Classic wxPython to Phoenix. I have a major bug 
> > that only happens with Phoenix (and not with 2.8.12.1 and 3.0.2). My 
> branch 
> > with debugging output is 
> > https://github.com/HelioGuilherme66/RIDE/tree/wxPhoenix. 
> > The application features a Text Editor and Cell Editor (Spreadsheet 
> like) 
> > for Robot Framework testing files. 
> > Recommended Setup: 
> > Install robotframework with: 
> > pip install robotframework 
> > 
> > Install Phoenix (for example for Python 2.7 in Windows 64bit): 
> > pip installhttp://
> wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2030+ 
> > 028d173-cp27-cp27m-win_amd64.whl 
> > or 
> > Install Phoenix (for example for Python 2.7 in Linux 64bit): 
> > pip installhttps://
> github.com/HelioGuilherme66/Phoenix/releases/download/v3.0.3.dev200 
> > 1/wxPython_Phoenix-3.0.3-cp27-none-linux_x86_64.whl 
> > 
> > Install RIDE (or get the code) (please see the installation instructions 
> in 
> > the Wiki): 
> > pip install 
> https://github.com/HelioGuilherme66/RIDE/archive/wxPhoenix.zip 
> > 
> > ----- 
> > If using the source code, you may run with: 
> > invoke devel 
> > or 
> > python src/robotide/__init__.py 
> > 
> > 
> > ----- 
> > 
> > Description of the blocking bug (when running in Fedora Core 22 x64): 
> > 1 - Enter a keyword in a Cell, or edit exiting value. 
> > 2.1 - If running from installed RIDE (or with PyCharm), there will be an 
> > "maximum recursion limit" error in RIDE Log. 
> >        But the Cell content is correctly changed. 
> > 2.2 - If running from source code, the application will crash with 
> > Segmentation fault. 
> > 
> > If you start editing a Cell but keep the value unchanged, there will be 
> no 
> > problem. 
> > 
> > ----- 
> > The CellEditor methods include a feature to look up the imported 
> libraries 
> > in the Test File and suggest known values (by using Control+Space). The 
> > problem is when saving the editing to the file context, there is a 
> recursive 
> > call to the storing methods (the moment we conclude the editing). 
> > Why does this code breaks with Phoenix and not with 2.8.12.1 and 3.0.2? 
> > (I want to improve the code, but I would be happy with a workaround or 
> if 
> > confirmed that is Phoenix bug). 
> > 
> > The problematic code is in file src/robotide/editor/kweditor.py. 
> > ----- 
> > 
> > Attached is an example file. And image of it opened in RIDE. 
> > 
> > Please help this Software Tester (also Software Archeologist :) ), I 
> will 
> > help testing your open source projects if you want :). 
> > 
> > Thank you, 
> > Help 
>
> Can you narrow this down to a self-contained test case at all? 
>
> I tried, but I could not get your program to run.  I got: 
> AttributeError: No attribute or settings with name '_editor' found 
>
> Can you get the stack trace of the segmentation fault? 
>
> Scott

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.