Trying to use the calendarTag and get this error. I'm using the example code from http://yyy.zope.org/Members/judell/CalendarTagExample Before I redesign this thing, it seemed I must be doing something dumb. I'm using this version Calendar-0.9.13.tar.tgz and Zope-2.2.0b1 --Darrell Error Type: KeyError Error Value: BASE1 Traceback (innermost last): ... File E:\zope\public\lib\python\DocumentTemplate\DT_String.py, line 504, in __call__ (Object: index_html) File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 227, in render File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 346, in render_dwm File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 374, in render_day_ File E:\zope\public\lib\python\DocumentTemplate\DT_Util.py, line 263, in namespace File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 177, in render KeyError: (see above)
Zope 2.2.0 revealed a bug in CalendarTag. The maintainer will be fixing it shortly. Shane Darrell Gallion wrote:
Trying to use the calendarTag and get this error. I'm using the example code from http://yyy.zope.org/Members/judell/CalendarTagExample Before I redesign this thing, it seemed I must be doing something dumb. I'm using this version Calendar-0.9.13.tar.tgz and Zope-2.2.0b1
--Darrell
Error Type: KeyError Error Value: BASE1
Traceback (innermost last): ... File E:\zope\public\lib\python\DocumentTemplate\DT_String.py, line 504, in __call__ (Object: index_html) File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 227, in render File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 346, in render_dwm File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 374, in render_day_ File E:\zope\public\lib\python\DocumentTemplate\DT_Util.py, line 263, in namespace File E:\zope\public\lib\python\Products\Calendar\CalendarTag.py, line 177, in render KeyError: (see above)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thanks. Found the mail on this. Upgraded to Beta3 and changed the demo in this way. Change --> <dtml-if "AUTHENTICATED_USER.getUserName()=='FredFlintstone'"> To --> <dtml-if "AUTHENTICATED_USER.has_role('Manager')"> Then things started working. --Darrell ----- Original Message ----- From: "Shane Hathaway" <shane@digicool.com> To: "Darrell Gallion" <darrell@dorb.com> Cc: <zope@zope.org> Sent: Thursday, July 06, 2000 5:28 PM Subject: Re: [Zope] calendarTag exception
Zope 2.2.0 revealed a bug in CalendarTag. The maintainer will be fixing it shortly.
Shane
participants (2)
-
Darrell Gallion -
Shane Hathaway