[Zope] WorldPilot Calendar function error

WorldPilot Helpers helpers@worldpilot.org
Fri, 18 Feb 2000 16:22:31 GMT+1


> First off let me say that WorldPilot its slick. I have been banging on it for a

Thanks!

> while and I can't seem to get around the following problem. Whenever I add
> an event to the calendar I get the error message and traceback shown below. 
> 
> I have tried a variety of combinations. This particular instance was with no
> adjustments to the date-time defaults. As far as I can tell its croaking on the
> redisplay. 
> 
> Ryan are you out there? Any suggestions? Anyone else on the list used
> WorldPilot's calendar without a problem?

I'm here :-) 

> 
> TIA for any suggestions.
> 
> ------------start of error message------------
> Zope Error
> 
>   Zope has encountered an error while publishing this resource. 
> 
>   exceptions.KeyError
> 
>   Sorry, a Zope error occurred.
> 
>   Traceback (innermost last):
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply
>       (Object: manage)
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object
>       (Object: manage)
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Components/Events.py, line 278, in manage
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Storage/LocalStorage.py, line 955, in manage
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Storage/LocalStorage.py, line 893, in addItem
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Components/Events.py, line 261, in listview
>     File /usr/local/worldpilot/Zope-2.0.1-linux2-x86/lib/python/Products/WorldPilot/Components/Objects.py, line 91, in displayIfLoggedOn
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/WorldPilot.py, line 2147, in displayIfLoggedOn
>       (Object: RoleManager)
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/WorldPilot.py, line 367, in callResource
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Resource.py, line 137, in callResource
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>       (Object: <string>)
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>       (Object: <string>)
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval
>       (Object: getCalendar(-86400+getMonthStartLong(GMTDayLong(+0,REQUEST)), REQUEST>       (Info: GMTDayLong)
>     File <string>, line 0, in ?
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Components/Events.py, line 783, in getCalendar
>     File /usr/local/zoperoot/Zope-2.1.4-linux2-x86/lib/python/Products/WorldPilot/Components/Events.py, line 352, in getIncludedEvents
>   KeyError: DTEND
> ---------------------end of error message-------------------------
> 

It looks like during intial setup and tinkering with WorldPilot empty
data get's entered into the Events file of that user.

Please send me the contents of /var/spool/worldpilot/storage/<user>/Events
so that we can find out what and how it happens, since I haven't had
this problem yet. 

The quick solution to the problem is to remove the 
/var/spool/worldpilot/storage/<user>/Events
folder, shut down Zope, restart and relog onto WorldPilot.
The Events folder and contents will be recreated (empty).
I assume this helps, at least I haven't received negative 
feedback yet.

Does everybody run into this problem on initial setup?

Cheers,
Ryan

> 
>  --
> Jack Ungerleider 
> The Ungerleider Group
> Creative Solutions for Cooperative Computing
> jack@jacku.com
> www.jacku.com
> 
> _______________________________________________
> 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 )
> 
> 
---------------------------------------------------
WorldPilot - Get Synced - http://www.worldpilot.org

The Open Source Personal Information Manager Server
Powered by Python and Zope   -  http://www.zope.org