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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to