error in non-existing code?
Hi all, I have added a few files to my project in eric3. When I want to open the tree that (supposedly) shows me the classes, I get an error: Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/UI/Browser.py", line 310, in setOpen File "/usr/lib/python2.3/pyclbr.py", line 447, in readmodule_ex KeyError: 'TimerSelectionWidget' (TimerSelectionWidget is the first class I declare in the file) I wanted to look at the code that gives me the error, but there is no line 447 in /usr/lib/python2.3/pyclbr.py: > wc -l /usr/lib/python2.3/pyclbr.py 344 /usr/lib/python2.3/pyclbr.py That confuses me. Any suggestions? TTN -- http://mail.python.org/mailman/listinfo/python-list
Re: error in non-existing code?
Michael Hoffman wrote: > Thomas Newman wrote: > >> I wanted to look at the code that gives me the error, but there is no >> line 447 in /usr/lib/python2.3/pyclbr.py: > > > Try deleting pyclbr.py[co]. No change there. ttn -- http://mail.python.org/mailman/listinfo/python-list
[solved] Re: error in non-existing code?
Thomas Newman wrote: >Michael Hoffman wrote: > > > >>Thomas Newman wrote: >> >> >> >>>I wanted to look at the code that gives me the error, but there is no >>>line 447 in /usr/lib/python2.3/pyclbr.py: >>> >>> >>Try deleting pyclbr.py[co]. >> >> There were recursive imports, meaning file A imported file B and vice versa. Solving that issue removed the error. Still I find it confusing. ttn -- http://mail.python.org/mailman/listinfo/python-list