Problem with LocalFS and Zope 2.3.0b1
After adding a LocalFS object I get the error below (but the object gets added OK). It seems to be related to displaying the modification time in the management screen. I've temporarily gotten round it by changing these lines in bobobase_modification_time: t = os.stat(self._local_path)[stat.ST_MTIME] return DateTime(t) to return DateTime() Hamish Lawson --- Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: _local_path -------------------------------------------------------------------------------- Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\Program Files\Zope\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\Program Files\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_main) File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_main) File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 325, in __call__ (Object: manage_main) File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in _bindAndExec (Object: manage_main) File C:\Program Files\Zope\lib\python\App\special_dtml.py, line 235, in _exec (Object: manage_main) File C:\Program Files\Zope\lib\python\DocumentTemplate\DT_In.py, line 710, in renderwob (Object: objectItems) File C:\Program Files\Zope\lib\python\DocumentTemplate\DT_With.py, line 146, in render (Object: sequence-key) File C:\Program Files\Zope\lib\python\DocumentTemplate\DT_Var.py, line 271, in render (Object: bobobase_modification_time) File C:\Program Files\Zope\lib\python\Products\LocalFS\LocalFS.py, line 888, in bobobase_modification_time (Object: FileSystem) AttributeError: (see above) ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
Dear all, I am looking for two products: a professional workflow and a electronic document management system, preferably in Zope or opensource if not in Zope. These 2 applications should be able to work together. Do you know any ? Could you point me to interesting resources ? Would any of you be interested in developping such applications, as a paid develoment ? I should be able to post tomorrow the requirements for these systems for those who (like me until recently) are not familir with such systems. Thank you to answer to the list but also directly to me. Best regards, Nicolas -- Nicolas Pettiaux Avenue du Pérou 29 B-1000 Brussels
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Hamish Lawson Sent: Thursday, January 18, 2001 11:23 AM To: zope@zope.org Subject: [Zope] Problem with LocalFS and Zope 2.3.0b1
After adding a LocalFS object I get the error below (but the object gets added OK). It seems to be related to displaying the modification time in the management screen. I've temporarily gotten round it by
That's exactly what it is. The Local FS object itself doesn't have _local_path set, so bobobase_modification_time() fails when the management screen tries to display the time. The attached patch will fix it. I notified Jonothan Farr as well and he said it would be fixed for the next release. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com
participants (3)
-
Hamish Lawson -
Nicolas Pettiaux -
Ron Bickers