[Zope-dev] ToDoManager ZPatterns example not working
Steve Spicklemire
steve@spvi.com
Fri, 6 Oct 2000 06:18:06 -0500 (EST)
Erp! Sorry... I think the ZClass and the Rack got out of sync...
I'll upload a new 'consistent' pair..
sorry!
-steve
>>>>> "Itai" == Itai Tavor <itai@optusnet.com.au> writes:
Itai> Hi,
Itai> I installed the ToDoManager/ToDoProduct example
Itai> (http://www.zope.org/Members/sspickle/DumbZPatternsExample )
Itai> but it won't work. System is RedHat 6.1, Zope 2.2.2,
Itai> ZPatterns-0-4-2a3.
Itai> I get the following traceback when I try to view
Itai> /ToDoManager/index_html. Is it a bug somewhere or a problem
Itai> with my installation?
Itai> Error Type: AttributeError Error Value:
Itai> _setRack
Itai> Traceback (innermost last): File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py,
Itai> line 222, in publish_module File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py,
Itai> line 187, in publish File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/Zope/__init__.py, line
Itai> 221, in zpublisher_exception_hook (Object:
Itai> ProviderContainer) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py,
Itai> line 171, in publish File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/mapply.py,
Itai> line 160, in mapply (Object: index_html) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py,
Itai> line 112, in call_object (Object: index_html) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/OFS/DTMLDocument.py,
Itai> line 177, in __call__ (Object: index_html) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
Itai> line 528, in __call__ (Object: index_html) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_In.py,
Itai> line 691, in renderwob (Object:
Itai> defaultRack.getPersistentItemIDs()) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
Itai> line 147, in render (Object: currID="_['sequence-item']")
Itai> File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
Itai> line 133, in render (Object: getItem(currID)) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
Itai> line 337, in eval (Object: getItem(currID)) (Info: currID)
Itai> File <string>, line 0, in ? File
Itai> /opt/Zope/lib/python/Products/ZPatterns/Specialists.py, line
Itai> 34, in getItem (Object: ProviderContainer) File
Itai> /opt/Zope/lib/python/Products/ZPatterns/Rack.py, line 60, in
Itai> getItem (Object: ProviderContainer) File
Itai> /opt/Zope/lib/python/Products/ZPatterns/Rack.py, line 114,
Itai> in retrieveItem (Object: ProviderContainer) File
Itai> /opt/Zope-2.2.2-linux2-x86/lib/python/OFS/Uninstalled.py,
Itai> line 110, in __getattr__ (Object: broken) AttributeError:
Itai> (see above) -- Itai Tavor "Je sautille, donc je suis."
Itai> C3Works itai@c3works.com - Kermit the Frog
Itai> "If you haven't got your health, you haven't got anything"
Itai> _______________________________________________ Zope-Dev
Itai> maillist - Zope-Dev@zope.org
Itai> http://lists.zope.org/mailman/listinfo/zope-dev ** No cross
Itai> posts or HTML encoding! ** (Related lists -
Itai> http://lists.zope.org/mailman/listinfo/zope-announce
Itai> http://lists.zope.org/mailman/listinfo/zope )