471,325 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

error return without exception set

Hi,

Can anyone suggest a likely cause for the following exception...

Exception exceptions.SystemError: 'error return without exception set'
in <generator object at 0x0345CF30ignored

Thanks

Will McGugan
Jul 3 '07 #1
3 14578
Will McGugan wrote:
Can anyone suggest a likely cause for the following exception...

Exception exceptions.SystemError: 'error return without exception set'
in <generator object at 0x0345CF30ignored
The "Exception ... ignored" part is probably caused by an exception in a
finally block during garbage collection:
>>def f():
.... try:
.... yield 42
.... finally:
.... 1/0
....
>>g = f()
g.next()
42
>>del g
Exception exceptions.ZeroDivisionError: 'integer division or modulo by zero'
in <generator object at 0x401d2fecignored

The "error return without exception set" part looks like a failed
consistency check in ceval.c -- perhaps caused by a broken extension
written in C.

But you'd have to give some more context.

Peter
Jul 3 '07 #2
Peter Otten wrote:
>
The "error return without exception set" part looks like a failed
consistency check in ceval.c -- perhaps caused by a broken extension
written in C.

But you'd have to give some more context.
Thanks for the explanation. It happens when I'm debugging a wxWidgets
application with Komodo, but I can't trap it. I'm guessing it must be a
Komodo issue, because I dont get it if I run it without the debugger.

Will
Jul 3 '07 #3
Will McGugan wrote:
Thanks for the explanation. It happens when I'm debugging a wxWidgets
application with Komodo, but I can't trap it. I'm guessing it must be a
Komodo issue, because I dont get it if I run it without the debugger.
The error happens in PyDev for Eclipse also -- only while debugging.

It happens with or without wxWidgets; I've always assumed it's a pydev
issue.
Jul 4 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by clare_5342 | last post: by
1 post views Thread by Sammy | last post: by
2 posts views Thread by ankur seth via DotNetMonster.com | last post: by

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.