Stefan H. Holek wrote:
This turned out to be a bug in FSPythonScripts (no __file__ in script globals). Fixed on all branches of CMF >= 1.5.
Great ! Thanks. J.
On 13. Feb 2006, at 16:48, Julien Anguenot wrote:
Florent Guillaume wrote:
Julien Anguenot wrote:
Tim Peters wrote:
[Julien Anguenot]
I'm having some problems with the warnings module behavior. (Python-2.4.2 and Zope-2.9 trunk)
[... traceback ... ]
- Line 71 Module zLOG, line 140, in LOG Module warnings, line 61, in warn Module warnings, line 67, in warn_explicit TypeError: unsubscriptable object
I've had this too, and I believe it appears if you have a frame referencing a python script (or maybe an external method) in the stack.
You'll get the error if you run the CPSDefaul tests against a Zope-2.9 branch, for instance.
-- Anything that happens, happens. --Douglas Adams
-- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66