[Zope-CMF] CMF-Calendar issues

Andrew Sawyers andrew@digicool.com
Mon, 23 Jul 2001 14:00:10 -0400


Chris,
I do not see where there are comments that you referenced about the
dateMunger script puking on line 3.  Where are these comments, I wasn't
aware of this.  Also, what is the full output of the traceback (i.e. what
the error type is)?
Did you follow the examples I have online at:
http://cmf.zope.org/Members/andrew/projects/CMFCalendar/examples
These work, as several others, including myself are using them as is.
BTW, this is the correct list to be posting this on....
Thanks,
Andrew

> -----Original Message-----
> From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
> Of Chris Herrnberger
> Sent: Friday, July 20, 2001 12:49 PM
> To: zope-cmf@zope.org
> Subject: [Zope-CMF] CMF-Calendar issues
>
>
> Greetings
>
> 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
>
> PS: If this should have been posted to the zope list pls accept
> my apologies
> in advance.
>
> 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)
>
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and
> feature requests
>