Hi,

On 2/22/11 6:28 PM, dave wrote:
I've written a fairly handy html form related extension. I originally
wrote it in Python 2.6 on Linux and everything seemed to work just
fine. Now, however, I have ported it to a project that runs on Python
2.5 on OSX. If I cause any sort of exception to be raised while the
template is executing my extension code, i get the following error on
the command line, and the program dies:

Assertion failed: (gc->gc.gc_refs != 0), function update_refs, file
Modules/gcmodule.c, line 261.

This happens if I raise an exception by hand, access an undefined
variable, or even call something like dict().get('x') with no default
specified.
What is the context here? We support multiple projects in this mailinglist and many of these have extensions. However the exception you get above comes from the C layer which means that it has to come from a C extension and the only one I know which we are currently using is a hack in Jinja2 and the MarkupSafe library. None of which should cause the above error message.

Can you provide more context?


Regards,
Armin

--
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to