[python-win32] non descriptive error
Steve Holden
steve at holdenweb.com
Mon Oct 10 08:33:39 CEST 2005
Timothy Smith wrote:
> Steve Holden wrote:
>
>> Timothy Smith wrote:
>>
>>
>>> i try to run my app and i get this
>>>
>>> %python DutyShift.py
>>> error
>>>
>>>
>>> thats it. thats the error. mya pp was previously working, and i did
>>> make some fairly large changes to it, but i'd expect a more
>>> descriptive message then just "error". anyidea where i need to start
>>> looking?
>>>
>>
>>
>> I would look inside *your* program! I don't ever remember Python
>> producing any message so terse and unhelpful.
>>
>> A way to check this would be to run python interactively and enter the
>> statement
>>
>> import DutyShift
>>
>> though this won't necessarily run all the logic that gets run by your
>> command.
>>
>> regards
>> Steve
>>
>>
> FYI it was a wrongly indented block. which is strange because i have
> seen python produce helpful messages on similar occasions. a bug in the
> interperter maybe??
>
This probably should be reported if you can reproduce it, though I
honestly don't understand how the compiler could produce such a message.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-win32
mailing list