[Zope-dev] ToDoManager ZPatterns example not working

Itai Tavor itai@optusnet.com.au
Fri, 6 Oct 2000 16:16:52 +1100


Hi,

I installed the ToDoManager/ToDoProduct example 
(http://www.zope.org/Members/sspickle/DumbZPatternsExample ) but it 
won't work. System is RedHat 6.1, Zope 2.2.2, ZPatterns-0-4-2a3.

I get the following traceback when I try to view 
/ToDoManager/index_html. Is it a bug somewhere or a problem with my 
installation?


                Error Type: AttributeError
                Error Value: _setRack

Traceback (innermost last):
   File /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 222, in publish_module
   File /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 187, in publish
   File /opt/Zope-2.2.2-linux2-x86/lib/python/Zope/__init__.py, line 
221, in zpublisher_exception_hook
     (Object: ProviderContainer)
   File /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 171, in publish
   File /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
     (Object: index_html)
   File /opt/Zope-2.2.2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 112, in call_object
     (Object: index_html)
   File /opt/Zope-2.2.2-linux2-x86/lib/python/OFS/DTMLDocument.py, 
line 177, in __call__
     (Object: index_html)
   File 
/opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_String.py, 
line 528, in __call__
     (Object: index_html)
   File 
/opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 
691, in renderwob
     (Object: defaultRack.getPersistentItemIDs())
   File 
/opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_Let.py, 
line 147, in render
     (Object: currID="_['sequence-item']")
   File 
/opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_With.py, 
line 133, in render
     (Object: getItem(currID))
   File 
/opt/Zope-2.2.2-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, 
line 337, in eval
     (Object: getItem(currID))
     (Info: currID)
   File <string>, line 0, in ?
   File /opt/Zope/lib/python/Products/ZPatterns/Specialists.py, line 
34, in getItem
     (Object: ProviderContainer)
   File /opt/Zope/lib/python/Products/ZPatterns/Rack.py, line 60, in getItem
     (Object: ProviderContainer)
   File /opt/Zope/lib/python/Products/ZPatterns/Rack.py, line 114, in 
retrieveItem
     (Object: ProviderContainer)
   File /opt/Zope-2.2.2-linux2-x86/lib/python/OFS/Uninstalled.py, line 
110, in __getattr__
     (Object: broken)
AttributeError: (see above)
-- 
Itai Tavor                    "Je sautille, donc je suis."
C3Works    itai@c3works.com              - Kermit the Frog

"If you haven't got your health, you haven't got anything"