Re: [Zope-dev] ToDoManager ZPatterns example not working

2000-10-06 Thread Steve Spicklemire


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 <[EMAIL PROTECTED]> 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 , 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 [EMAIL PROTECTED] - Kermit the Frog

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


Itai> ___ Zope-Dev
Itai> maillist - [EMAIL PROTECTED]
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 )


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




[Zope-dev] ToDoManager ZPatterns example not working

2000-10-05 Thread Itai Tavor

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 , 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[EMAIL PROTECTED]  - Kermit the Frog

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


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