Bug with CMFContentPanels latest release on Plone 2.1

4 Messages Forum Options Options
Embed this topic
Permalink
michael nt milne
Bug with CMFContentPanels latest release on Plone 2.1
Reply Threaded MoreMore options
Print post
Permalink
Hi

Could someone address this issue that I have with the ContentPanels Product. Looks great but can't actually get any new content into it due to this bug on clicking 'new panel'

Thanks

Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 188, in _exec Module Products.CMFCore.FSPageTemplate, line 127, in pt_render Module Products.PageTemplates.PageTemp
late, line 94, in pt_render - <FSPageTemplate at /mckenziemedboeduo/cp_new_panel_form used for /mckenziemedboeduo/contentpanels.2005-10-26.9617892397> - Warning: Compilation failed - Warning: TAL.TALDefs.TALError: Python expression error: invalid syntax (Python expression "parent.absolute_url()==portal.absolute_url ()", line 1) in expression 'python: parent.absolute_url()==portal.absolute_url\r\n()', at line 81, column 29 PTRuntimeError: Page Template cp_new_panel_form has errors.
Tiberiu Ichim
Re: Bug with CMFContentPanels latest release on Plone 2.1
Reply Threaded MoreMore options
Print post
Permalink
michael nt milne wrote:

> Hi
>
> Could someone address this issue that I have with the ContentPanels
> Product. Looks great but can't actually get any new content into it
> due to this bug on clicking 'new panel'
>
> Thanks
>
> Traceback (innermost last): Module ZPublisher.Publish, line 113, in
> publish Module ZPublisher.mapply, line 88, in mapply Module
> ZPublisher.Publish, line 40, in call_object Module
> Shared.DC.Scripts.Bindings, line 311, in __call__ Module
> Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module
> Products.CMFCore.FSPageTemplate, line 188, in _exec Module
> Products.CMFCore.FSPageTemplate, line 127, in pt_render Module
> Products.PageTemplates.PageTemp
> late, line 94, in pt_render - <FSPageTemplate at
> /mckenziemedboeduo/cp_new_panel_form used for
> /mckenziemedboeduo/contentpanels.2005-10-26.9617892397> - Warning:
> Compilation failed - Warning: TAL.TALDefs.TALError: Python expression
> error: invalid syntax (Python expression
> "parent.absolute_url()==portal.absolute_url ()", line 1) in expression
> 'python: parent.absolute_url()==portal.absolute_url\r\n()', at line
> 81, column 29 PTRuntimeError: Page Template cp_new_panel_form has errors.

try customizing the cp_new_panel_form in zmi, editing it and hit save.
I believe your problem might be caused by incorect line endings, or
something like that. Doing the procedure above should cure that.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Plone-users mailing list
Plone-users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
michael nt milne
Re: Bug with CMFContentPanels latest release on Plone 2.1
Reply Threaded MoreMore options
Print post
Permalink
No, opening the cp_new_panel_form and customising it in the ZMI didn't work. I flushed the cache and re-started Zope. Still get the same errors. The content panel is created but can't edit it at all.

I tried in a non CMFMember site and it worked ok. Why is there this conflict with CMFMember ? They're not related are they? Most of my sites will be CMFMember sites etc

On 11/2/05, Tiberiu Ichim <tibi@...> wrote:
michael nt milne wrote:

> Hi
>
> Could someone address this issue that I have with the ContentPanels
> Product. Looks great but can't actually get any new content into it
> due to this bug on clicking 'new panel'
>
> Thanks
>
> Traceback (innermost last): Module ZPublisher.Publish, line 113, in
> publish Module ZPublisher.mapply, line 88, in mapply Module
> ZPublisher.Publish, line 40, in call_object Module
> Shared.DC.Scripts.Bindings, line 311, in __call__ Module
> Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module
> Products.CMFCore.FSPageTemplate, line 188, in _exec Module
> Products.CMFCore.FSPageTemplate , line 127, in pt_render Module
> Products.PageTemplates.PageTemp
> late, line 94, in pt_render - <FSPageTemplate at
> /mckenziemedboeduo/cp_new_panel_form used for
> /mckenziemedboeduo/contentpanels.2005- 10-26.9617892397> - Warning:
> Compilation failed - Warning: TAL.TALDefs.TALError: Python expression
> error: invalid syntax (Python expression
> "parent.absolute_url()==portal.absolute_url ()", line 1) in expression
> 'python: parent.absolute_url()==portal.absolute_url\r\n()', at line
> 81, column 29 PTRuntimeError: Page Template cp_new_panel_form has errors.

try customizing the cp_new_panel_form in zmi, editing it and hit save.
I believe your problem might be caused by incorect line endings, or
something like that. Doing the procedure above should cure that.

michael nt milne
Re: Bug with CMFContentPanels latest release on Plone 2.1
Reply Threaded MoreMore options
Print post
Permalink
Actually the site is broken now. Trying to edit any page gets the same error as before

Site error

This site encountered an error trying to fulfill your request. The errors were:

Error Type
AttributeError
Error Value
'NoneType' object has no attribute 'getAccessor'
Request made at
2005/11/02 13:49:59.868 GMT


On 11/2/05, michael nt milne <michael.milne@...> wrote:
No, opening the cp_new_panel_form and customising it in the ZMI didn't work. I flushed the cache and re-started Zope. Still get the same errors. The content panel is created but can't edit it at all.

I tried in a non CMFMember site and it worked ok. Why is there this conflict with CMFMember ? They're not related are they? Most of my sites will be CMFMember sites etc


On 11/2/05, Tiberiu Ichim <tibi@...> wrote:
michael nt milne wrote:

> Hi
>
> Could someone address this issue that I have with the ContentPanels
> Product. Looks great but can't actually get any new content into it
> due to this bug on clicking 'new panel'
>
> Thanks
>
> Traceback (innermost last): Module ZPublisher.Publish, line 113, in
> publish Module ZPublisher.mapply, line 88, in mapply Module
> ZPublisher.Publish, line 40, in call_object Module
> Shared.DC.Scripts.Bindings, line 311, in __call__ Module
> Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module
> Products.CMFCore.FSPageTemplate, line 188, in _exec Module
> Products.CMFCore.FSPageTemplate , line 127, in pt_render Module
> Products.PageTemplates.PageTemp
> late, line 94, in pt_render - <FSPageTemplate at
> /mckenziemedboeduo/cp_new_panel_form used for
> /mckenziemedboeduo/contentpanels.2005- 10-26.9617892397> - Warning:
> Compilation failed - Warning: TAL.TALDefs.TALError: Python expression
> error: invalid syntax (Python expression
> "parent.absolute_url()==portal.absolute_url ()", line 1) in expression
> 'python: parent.absolute_url()==portal.absolute_url\r\n()', at line
> 81, column 29 PTRuntimeError: Page Template cp_new_panel_form has errors.

try customizing the cp_new_panel_form in zmi, editing it and hit save.
I believe your problem might be caused by incorect line endings, or
something like that. Doing the procedure above should cure that.