error

M

markscala

Anyone know what this error means?

C:/Python24/pythonw.exe -u "C:/Python24/MyProjects/HeadsUp/cls_Bot.py"
File "C:/Python24/MyProjects/HeadsUp/cls_Bot.py", line 10246
elif handname == 'straightflush':
SystemError: com_backpatch: offset too large

thanks
 
D

Diez B. Roggisch

Anyone know what this error means?

C:/Python24/pythonw.exe -u "C:/Python24/MyProjects/HeadsUp/cls_Bot.py"
File "C:/Python24/MyProjects/HeadsUp/cls_Bot.py", line 10246
elif handname == 'straightflush':
SystemError: com_backpatch: offset too large

Google dead today?

http://mail.python.org/pipermail/python-list/2004-November/249799.html

Given the linenumber is over 10000, I presume that is your problem. I guess
you'd have to read upon modules... :)

Diez
 
M

markscala

thanks for the heads up. I read other posts on this error, but it's
unclear to me whether the following will be a problem as well. Suppose
I break up my very long module into smaller modules and import them
into another module 'main'. Will I get the same error running main if
the total number of lines in the smaller modules is > 10k?
thanks.
 
D

Diez B. Roggisch

thanks for the heads up. I read other posts on this error, but it's
unclear to me whether the following will be a problem as well. Suppose
I break up my very long module into smaller modules and import them
into another module 'main'. Will I get the same error running main if
the total number of lines in the smaller modules is > 10k?

No. There exist quite a few projects out there with several 10K lines of
code.



Diez
 
A

alisonken1

Will I get the same error running main if
the total number of lines in the smaller modules is > 10k?

Not sure if this would solve your problem, but I noticed the 10K
filesize.

I don't know about other programmers, but I find it >much< easier to
keep track of stuff if I keep the individual file sizes less than 10K
in size.

Another thought would be to create a module with several submodules of
grouped functionality (similar to the xml module where submodules
dom/parsers/sax are) - this way it's easier to keep track of the
differences/problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,196
Latest member
NevilleFer

Latest Threads

Top