[Zope] problem using rdflib with zope profiler
Dieter Maurer
dieter at handshake.de
Thu Dec 21 14:28:47 EST 2006
Lucie Lejard wrote at 2006-12-20 17:03 -0500:
>I am using the default profiler of zope (in zmi/Control_Panel/DebugInfo)
> to trace the calls when I go on a specific template.
>This template is using a Five view that has methods using the rdflib.
>You will see below the error i have when I try to access the template
>using the zope profiler:
>
>
>2006-12-20 14:08:46 ERROR Zope.SiteErrorLog
>http://localhost:51921/RosettaSite/archive/advanced-search.html
>Traceback (innermost last):
> ...
>AssertionError: ('Bad call',
>('/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/rdflib/BNode.py',
>42, '__new__'), <frame object at 0x4698e10>, <frame object at
>0x1a06410>, <frame object at 0x44c5810>, <frame object at 0x18ab010>)
>
>Does anyone has an idea why it is creating this error?
Almost surely, this is a Python 2.4 problem.
If possible, try with a Python 2.3 installation.
An alternative is to use "ZopeProfiler"
<http://www.dieter.handshake.de/pyprojects/zope>
It should work with Python 2.4 as well.
--
Dieter
More information about the Zope
mailing list