Plone4ArtistsCalendar 2.0a4 released.

0 views
Skip to first unread message

Lennart Regebro

unread,
Jun 25, 2009, 4:48:50 PM6/25/09
to p4a-user
Notable changes in this release:

* p4a.ploneevent has been made optional again.

* The hour format in in Day and Week views is now localized.

Thanks to cwainwright, erikrose, catherine-w and probably some more
people who wasn't mentioned in the change-logs!

--
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64

david bain

unread,
Jun 25, 2009, 6:31:46 PM6/25/09
to p4a-...@googlegroups.com
It's alive!!! weeeeeee!!!
will need to give it a test drive soon :)
--
SplashStart - Professional Websites. Starting Now.
http://www.splashstart.com

Lennart Regebro

unread,
Jun 26, 2009, 8:24:42 AM6/26/09
to p4a-...@googlegroups.com
Actually, it turns out that dateable.chronos 0.6 is very buggy in the
localization. I'll release a 0.7 today.

2009/6/26 david bain <pigeon...@gmail.com>:

si si

unread,
Jun 26, 2009, 9:10:19 AM6/26/09
to p4a-...@googlegroups.com
O I was just about to send in an error message. Do you still want the
traceback, or shall I wait for the 0.7? (An error was raised after
adding an event and then trying to go back to the calendar view)

2009/6/26 Lennart Regebro <len...@jazkarta.com>:

Lennart Regebro

unread,
Jun 26, 2009, 9:14:12 AM6/26/09
to p4a-...@googlegroups.com
2009/6/26 si si <pud...@gmail.com>:
>
> O I was just about to send in an error message. Do you still want the
> traceback, or shall I wait for the 0.7? (An error was raised after
> adding an event and then trying to go back to the calendar view)

Yeah, that's not localization, so send that in.

si si

unread,
Jun 26, 2009, 9:37:32 AM6/26/09
to p4a-...@googlegroups.com
To recreate:

Just changed p4a.plonecalendar from 2.0a3 to 2.0a4 in my buildout
(everything is pinned in my buildout), re-ran buildout, reinstalled
chronos and p4a calendar, went to site, added folder, made calendar
view via subtypes, added a new event via calendar "add", saved event,
used the breadcrumbs to get back to my calendar, and that was when the
error was raised. Trying to get into that folder now is impossible
unless I go via folder_contents. I don't get an error taking the
sub-class off the folder, but re-adding it I get the same TypeError.

Plone versions plus traceback below:

* Plone 3.1.7
* Zope (Zope 2.10.6-final, python 2.4.4, linux2)
* PIL 1.1.5



Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Products.Five.browser.metaconfigure, line 417, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
Module Products.CacheSetup.patch_utils, line 9, in call_pattern
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 949, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 949, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 824, in do_loop_tal
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 824, in do_loop_tal
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
- URL: index
- Line 78, Column 20
- Expression: <PythonExpr (view.getOccurrenceDisplays(day) and
'hasEvents' or '')>
- Names:
{'container': <ATFolder at
/foeiMultisiteFolder/foei/docs/programs/general-program-resources/international-activities/calendar-of-events>,
'context': <ATFolder at
/foeiMultisiteFolder/foei/docs/programs/general-program-resources/international-activities/calendar-of-events>,
'default': <object object at 0xb7de7528>,
'here': <ATFolder at
/foeiMultisiteFolder/foei/docs/programs/general-program-resources/international-activities/calendar-of-events>,
'loop': {'week':
<Products.PageTemplates.Expressions.PathIterator object at
0xb17cdcac>,
'weekday':
<Products.PageTemplates.Expressions.PathIterator object at
0xae9260ac>},
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass
from /home/beel/buildouts/foei3/eggs/dateable.chronos-0.6-py2.4.egg/dateable/chronos/browser/month.pt
object at 0xadba41ac>,)},
'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0xadb8bb6c>,
'request': <HTTPRequest,
URL=http://webtest:8081/foeiMultisiteFolder/foei/docs/programs/general-program-resources/international-activities/calendar-of-events/month.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0xadb262cc>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/beel/buildouts/foei3/eggs/dateable.chronos-0.6-py2.4.egg/dateable/chronos/browser/month.pt
object at 0xadba41ac>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0xadb8baec>}
Module zope.tales.pythonexpr, line 59, in __call__
- __traceback_info__: (view.getOccurrenceDisplays(day) and 'hasEvents' or '')
Module <string>, line 0, in ?
Module dateable.chronos.browser.month, line 76, in getOccurrenceDisplays
Module dateable.chronos.browser.base_view, line 406, in getOccurrencesInDay
Module dateable.chronos.browser.base_view, line 410, in getOccurrences
Module p4a.plonecalendar.eventprovider, line 74, in getOccurrences
Module p4a.plonecalendar.eventprovider, line 293, in getOccurrences
TypeError: ('Could not adapt', <ATEvent at
/foeiMultisiteFolder/foei/docs/programs/general-program-resources/international-activities/calendar-of-events/flutterby-goodbye>,
<InterfaceClass dateable.kalends.IRecurrence>)




2009/6/26 Lennart Regebro <len...@jazkarta.com>:

Andreas Jung

unread,
Jun 26, 2009, 10:12:50 AM6/26/09
to p4a-...@googlegroups.com
On 26.06.09 15:37, si si wrote:
> To recreate:
>
> Just changed p4a.plonecalendar from 2.0a3 to 2.0a4 in my buildout
> (everything is pinned in my buildout), re-ran buildout, reinstalled
> chronos and p4a calendar, went to site, added folder, made calendar
> view via subtypes, added a new event via calendar "add", saved event,
> used the breadcrumbs to get back to my calendar, and that was when the
> error was raised. Trying to get into that folder now is impossible
> unless I go via folder_contents. I don't get an error taking the
> sub-class off the folder, but re-adding it I get the same TypeError.

Try to add p4a.ploneevent to the eggs and zcml option.

-aj

lists.vcf

si si

unread,
Jun 26, 2009, 10:33:39 AM6/26/09
to p4a-...@googlegroups.com
Hi Andreas,

2009/6/26 Andreas Jung <li...@zopyx.com>:
And that indeed removes the error.

I was under the impression that the changes you requested and Lennart
implemented meant that p4a.ploneevent only had to be added to the
buildout if you were planning on using it.

Was that assumption wrong? It means there is a dependancy that
p4a.plonecalendar needs and is not pulling in. That's not so good for
integrators like me, unless it's explicit in the docs, which I admit I
did not even look for this time around :-P

cheers,
sisi

> -aj
>
> >
>

Lennart Regebro

unread,
Jun 26, 2009, 11:02:15 AM6/26/09
to p4a-...@googlegroups.com
I have to look into this.

2009/6/26 si si <pud...@gmail.com>:

Lennart Regebro

unread,
Jun 26, 2009, 1:57:22 PM6/26/09
to p4a-...@googlegroups.com
I've retracted 2.0a4. Making p4a.ploneevent option is going to be much
more work than I expect, so it's required again, sorry.
Reply all
Reply to author
Forward
0 new messages