RE: [Zope-dev] BUG in online help?
I'm getting this when clicking on certain items in the help system eg DTML Document
Zope Error
Zope has encountered an error while publishing this resource.
exceptions.AttributeError
Sorry, a Zope error occurred. ... AttributeError: __call__ as requested I've put this into the collector, but I believe it may be related to the fact that there are now two versions of ts_regex.py in my CVS latest version in lib/python & lib/python/DocumentTemplate.
I think the latest doesn't have various bits required in some places. Surely it's dangerous to have modules with apparently identical intent and different functionality. -- Robin Becker
Actually this is due to a bug that got into CVS the other day. It has since been fixed - do an update and restart and it should go away. As for the two ts_regex modules, this is an unfortunate side-effect of the fact that DocumentTemplate is also distributed as a stand-alone package. The fact that the extra one is there shouldn't actually cause any problems though. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
In article <613145F79272D211914B0020AFF6401914DC23@gandalf.digicool.com> , Brian Lloyd <Brian@digicool.com> writes
I'm getting this when clicking on certain items in the help system eg DTML Document
Zope Error
Zope has encountered an error while publishing this resource.
exceptions.AttributeError
Sorry, a Zope error occurred. ... AttributeError: __call__ as requested I've put this into the collector, but I believe it may be related to the fact that there are now two versions of ts_regex.py in my CVS latest version in lib/python & lib/python/DocumentTemplate.
I think the latest doesn't have various bits required in some places. Surely it's dangerous to have modules with apparently identical intent and different functionality. -- Robin Becker
Actually this is due to a bug that got into CVS the other day. It has since been fixed - do an update and restart and it should go away. As for the two ts_regex modules, this is an unfortunate side-effect of the fact that DocumentTemplate is also distributed as a stand-alone package. The fact that the extra one is there shouldn't actually cause any problems though.
Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
OK I did an update restarted and the bug is still there. The two ts_regex.pys are still different. I this my CVS or what? -- Robin Becker
In article <H8SAcBAx2hp3Ew$A@jessikat.demon.co.uk>, Robin Becker <robin@jessikat.demon.co.uk> writes
In article <613145F79272D211914B0020AFF6401914DC23@gandalf.digicool.com> , Brian Lloyd <Brian@digicool.com> writes
I'm getting this when clicking on certain items in the help system ... ... AttributeError: __call__ as requested I've put this into the collector, but I believe it may be related to the fact that there are now two versions of ts_regex.py in my CVS latest version in lib/python & lib/python/DocumentTemplate.
I think the latest doesn't have various bits required in some places. Surely it's dangerous to have modules with apparently identical intent and different functionality. -- Robin Becker
Actually this is due to a bug that got into CVS the other day. It has since been fixed - do an update and restart and it should go away. As for the two ts_regex modules, this is an unfortunate side-effect of the fact that DocumentTemplate is also distributed as a stand-alone package. The fact that the extra one is there shouldn't actually cause any problems though.
Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
OK I did an update restarted and the bug is still there. The two ts_regex.pys are still different. I this my CVS or what?
the original ts_regex related bug has gone away now; great response. The two ts_regexes are still different and both are being used. Also :( the __call__ bug still remains; I get this when clicking on Object Reference in Z Online help; I think this is the one I entered into the collector. Zope Error Zope has encountered an error while publishing this resource. exceptions.AttributeError Sorry, a Zope error occurred. Traceback (innermost last): File C:\Python\devel\ZOPE\lib\python\ZPublisher\Publish.py, line 256, in publish_module File C:\Python\devel\ZOPE\lib\python\ZPublisher\Publish.py, line 161, in publish File C:\Python\devel\ZOPE\lib\python\ZPublisher\mapply.py, line 154, in mapply (Object: objectref) File C:\Python\devel\ZOPE\lib\python\ZPublisher\Publish.py, line 98, in call_object (Object: objectref) File C:\Python\devel\ZOPE\lib\python\App\special_dtml.py, line 120, in __call__ (Object: objectref) (Info: C:\Python\devel\Zope\lib\python\HelpSys/objectref.dtml) File C:\Python\devel\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: objectref) File C:\Python\devel\Zope\lib\python\DocumentTemplate\DT_In.py, line 689, in renderwob (Object: hs_objectvalues) File C:\Python\devel\Zope\lib\python\DocumentTemplate\DT_With.py, line 132, in render (Object: sequence-item) File C:\Python\devel\ZOPE\lib\python\HelpSys\ObjectRef.py, line 118, in __getattr__ (Object: Chart) AttributeError: __call__ -- Robin Becker
participants (2)
-
Brian Lloyd -
Robin Becker