473,388 Members | 1,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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
Jul 18 '05 #1
3 1435
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].
--
Michael Hoffman
Jul 18 '05 #2
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
Jul 18 '05 #3
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
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Christopher | last post by:
I have the following errors, can someone explain how I accomplish the pointer assignment here? Error Message : CQueue.cpp: In member function `void cs3358Fall2003::circular_queue::push(const...
5
by: S.Patten | last post by:
Hi, I have a problem with updating a datetime column, When I try to change the Column from VB I get "Incorrect syntax near '942'" returned from '942' is the unique key column value ...
18
by: Joe Laughlin | last post by:
(file and class names changed to protect the innocent) g++ -Wall -c file.cpp: In member function `std::string Some_Class::get_member(const std::string&) const': file.cpp:46: passing `const...
4
by: iceColdFire | last post by:
Hi @all, I am trying to include struct and class objects in a union ,like class A{ int a; A(){} }; struct B {
2
by: David Williams | last post by:
Hi all, I get errors when compiling the .cpp file below, both on Visual Studio and G++. 01: //------------------------------------------------- 02: template <typename Type> 03: class Outer 04:...
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
0
by: rawu | last post by:
last week , i get my db version from DB2/AIX64 8.1.10 down to DB2/AIX64 8.1.5 . After that , a application called "CalRate" has something wrong . when it tries to open a cursor , it presents...
3
by: rawu | last post by:
last week , i get my db version from DB2/AIX64 8.1.10 down to DB2/ AIX64 8.1.5 . After that , a application called "CalRate" has something wrong . when it tries to open a cursor , it presents...
8
by: Jess | last post by:
Hi, I have a template function that triggered some compiler error. The abridged version of the class and function is: #include<memory> using namespace std; template <class T>
1
by: smcguigan | last post by:
I'm getting this error on line 1, it's the only line of PHP in the document. I just want to include a menu file :( Please help! Thanks! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.