[Zope] _safe_getob error with LocalFS
Michael Best
mbest@emergence.com
Wed, 13 Sep 2000 13:38:59 -0600
We are running:
Solaris 2.6
Zope 2.1.6
LocalFS v0.1.4, later upgraded to v0.9.5
Revisions: 1.13 and 1.49
Using a simple dtml method on the local filesystem according to:
http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS
<dtml-var "files['foo.txt'].data">
Any ideas as to a solution to this problem? A traceback is listed at
the end of this email.
I am not directly on the Zope mailing list, but I do check the archives
quite often, replies to the list and directly to my address would be
appreciated.
-Mike
A quick list of all products installed:
External Method
Hotfix 06-16-2000
LocalFS
MIMETools
MailHost
Navigator 1.02
OFSP
PSQLInput
PythonMethod 0-1-7
SiteAccess 1-0-1
Squishdot 0-3-2
TinyTable 0-8-2
ZCatalog 1-0-0
ZGadflyDA
ZMySQLDA 1-1-3
ZNavigator 2.00
ZSQLMethods
-------------------------------------------------------------------
error_type = AttributeError<br>
error_value = _safe_getob<br>
<pre>
Traceback (innermost last):
File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
165, in publish
File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: dtmlwithexternal_test)
File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
102, in call_object
(Object: dtmlwithexternal_test)
File /usr/local/Zope-2.1.6-src/lib/python/OFS/DTMLDocument.py, line
166, in __call__
(Object: dtmlwithexternal_test)
File
/usr/local/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line
502, in __call__
(Object: dtmlwithexternal_test)
File /usr/local/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py,
line 335, in eval
(Object: files['foo.txt'].data)
(Info: files)
File <string>, line 0, in ?
File /usr/local/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py,
line 161, in careful_getitem
File /home/teckno/zope/Products/LocalFS/LocalFS.py, line 447, in
__getitem__
(Object: files)
AttributeError: _safe_getob