[Zope] CallProfiler and structured_text
Peter Bengtsson
mail@peterbe.com
Tue, 06 Aug 2002 15:03:15 +0100
--=======53443B86=======
Content-Type: text/plain; x-avg-checked=avg-ok-391B362B; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit
I installed CallProfiler and then structured_text from
PythonScripts.standard stopped working.
Removing the CallProfilder fixed things.
The following traceback comes for this python script::
from Products.PythonScripts.standard import structured_text
print structured_text("bla **bla** bla")
return printed
ImportError
Sorry, a site error occurred.
Traceback (innermost last):
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
150, in publish_module
File
/home/peterbe/zope251/lib/python/Products/CallProfiler/CallProfiler.py,
line 55, in profiler_publish_hook
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
114, in publish
File /local/home/peterbe/Zope-2.5.1-src/lib/python/Zope/__init__.py,
line 159, in zpublisher_exception_hook
(Object: quietdays)
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
98, in publish
File /local/home/peterbe/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py,
line 88, in mapply
(Object: apa)
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line
39, in call_object
(Object: apa)
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 252, in __call__
(Object: apa)
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 283, in _bindAndExec
(Object: apa)
File
/home/peterbe/zope251/lib/python/Products/CallProfiler/CallProfiler.py,
line 45, in profiler_call_hook
(Object: apa)
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/Products/PythonScripts/PythonScript.py,
line 302, in _exec
(Object: apa)
(Info: ({'script': <PythonScript instance at 8fcc498>, 'context':
<IssueTracker instance at 8c9a8d0>, 'container': <IssueTracker instance at
8c9a8d0>, 'traverse_subpath': []}, (), {}, None))
File Script (Python), line 4, in apa
File
/local/home/peterbe/Zope-2.5.1-src/lib/python/DocumentTemplate/DT_Var.py,
line 351, in structured_text
ImportError: cannot import name HTML
--=======53443B86=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-391B362B
Content-Disposition: inline
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 2002-07-24
--=======53443B86=======--