silva code source debugging
Bug #101404 reported by
Marc Petitmermet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Low
|
Martijn Faassen |
Bug Description
when developping silva code sources one needs more debugging info. currenty, i
have to disable the try/expect clauses in
SilvaDocument/
info. after all,
<PythonScript at /silva/
Line 58
is so much more helpful than
[external source element is broken]
error message: coercing to Unicode: need string or buffer, instance found
maybe you could enable enhanced debugging when zope is running in debugging mode
anyway.
Changed in silva: | |
milestone: | none → 2.0.5 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Attached are two patches required to get this working. One line of code needs widgets/ element/ doc_elements/ source/ rendered_ source. py, which urces adds a log_traceback function to the ExternalSource class.
to be added to
SilvaDocument/
triggers logging the error to the zope error log. The patch for
SilvaExternalSo