non descriptive error

Steven D'Aprano steve at REMOVEMEcyber.com.au
Wed Oct 12 00:24:02 EDT 2005


Timothy Smith wrote:

>>> i have NO idea what in there could be making it have such a strange
>>> error. it just says "error" when you try run it. there nothing terribly
>>> strange being done.

> i am still coming across this error it's driving me nuts. usually i can 
> find what's wrong, but it is becoming an increasingly annoying problem. 
> i also get the same problem on a windows machine with the same 
> installed. this time it's nothing to do with the decimal module. help!

Go back to first principles. Can you grab all the 
modules being used, and search them for the string 
"error"? Ignore any hits which are in a comment. One of 
the others is almost certainly responsible.

You can test that by changing the string to "this is a 
PITA" and see if your mysterious error message changes 
or not.



-- 
Steven.




More information about the Python-list mailing list