AttributeError Question

Javier Subervi javier_subervi at yahoo.com
Sun Sep 24 09:00:57 EDT 2006


Hi;
I'm new to troubleshooting scripts. This came up when trying to load a Zope product:

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: field.Vocabulary(here)
    * Module Python expression "field.Vocabulary(here)", line 1, in <expression>
    * Module Products.Archetypes.Field, line 432, in Vocabulary
    * Module Products.Archetypes.utils, line 145, in mapply
    * Module Products.EasyDocument.content.EasyDocument, line 112, in _list_templates
    * Module OFS.Traversable, line 161, in unrestrictedTraverse
      __traceback_info__: ([], 'EasyDocumentTemplates')
    * Module Products.Archetypes.BaseObject, line 1072, in __bobo_traverse__

AttributeError: EasyDocumentTemplates

Can you tell me what I should do with Attribute Errors in general? The docs say an AttributeError is "Raised when an attribute reference or assignment fails." Okay, fine...where do I go from here?
TIA,
beno2
 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060924/5f6ad365/attachment.html>


More information about the Python-list mailing list