Greetings all Posted this message earlier to the cmf list but there seems to be little traffic there today, so reposting to the main list. Hope thats ok. Just started playing with CMF again (1.1) after a long hiatus. Its come a long way since the early PTK days. Congrats to all the coders.. I am having problems installing the CMF-Calendar though. Followed the HowTo from http://cmf.zope.org/Members/frankmc/UsingCalendarTag/ and it seems to choke on line 3 of the dateMunger. While there are comments to this on the site there is no solution posted. Using the supplied script from the referenced site. http://cmf.zope.org/Members/andrew/projects/CMFCalendar/dateMunger resluts in the traceback below. Any comments or suggestions would be helpful. Also where is the link to CVS versions or is this locked down to developers only? Best and many thanks Chris output file below: _____________________________________________________________ Traceback (innermost last): File /home/chris/zope233/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/chris/zope233/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/chris/zope233/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /home/chris/zope233/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/chris/zope233/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: calendar) File /home/chris/zope233/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: calendar) File /home/chris/zope233/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: calendar) File /home/chris/zope233/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__ (Object: calendar) File /home/chris/zope233/lib/python/DocumentTemplate/DT_Let.py, line 148, in render (Object: pm="dateMunger()[0]" current="dateMunger()[1]" nm="dateMunger()[2]") File /home/chris/zope233/lib/python/DocumentTemplate/DT_Util.py, line 339, in eval (Object: dateMunger()[0]) (Info: dateMunger) File <string>, line 0, in ? File /home/chris/zope233/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: dateMunger) File /home/chris/zope233/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec (Object: dateMunger) File /home/chris/zope233/lib/python/Products/PythonScripts/PythonScript.py, line 336, in _exec (Object: dateMunger) (Info: ({'script': <PythonScript instance at 885fa18>, 'context': <Folder instance at 8749ac8>, 'container': <Folder instance at 8749ac8>, 'traverse_subpath': []}, (), {}, None)) File Script (Python), line 3, in dateMunger File /home/chris/zope233/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__ (Object: monthRange) File /home/chris/zope233/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec (Object: monthRange) File /home/chris/zope233/lib/python/Products/PythonScripts/PythonScript.py, line 336, in _exec (Object: monthRange) (Info: ({'script': <PythonScript instance at 8843130>, 'context': <Folder instance at 8749ac8>, 'container': <Folder instance at 8749ac8>, 'traverse_subpath': []}, (DateTime('2001/07/20 11:44:01.36874 US/Eastern'),), {}, None)) TypeError: (see above)
participants (1)
-
Chris Herrnberger