Error translating "NEWS" with linguaplone 2.4

3 messages Options
Embed this post
Permalink
Mirto Silvio Busico-2 () Error translating "NEWS" with linguaplone 2.4
Reply Threaded More More options
Print post
Permalink
Hi all,

I have plone 3.2.2 and linguaplone pinned at 2.4

In versions.cfg  have:
    Products.LinguaPlone = 2.4

When I try to translate the portal area titles "Users", "News" and
"Events" I receive the error:
"ValueError: Disallowed subobject type: Large Plone Folder"

I'm translating the folders, not the elements used as view.

What can I do?

Thanks
    Mirto

P.S here is the error log:

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.CMFFormController.FSControllerPageTemplate, line 90, in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
  Module Products.CMFFormController.ControllerBase, line 231, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 140, in __call__
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 196, in _exec
  Module None, line 4, in translate_edit
   - <FSControllerPythonScript at /x/translate_edit used for /x/events-it>
   - Line 4
  Module Products.LinguaPlone.I18NBaseObject, line 356, in processForm
  Module Products.Archetypes.BaseObject, line 773, in _renameAfterCreation
  Module Products.Archetypes.BaseObject, line 216, in setId
  Module Products.CMFPlone.PloneFolder, line 197, in manage_renameObject
  Module OFS.CopySupport, line 345, in manage_renameObject
  Module Products.CMFCore.PortalFolder, line 443, in _verifyObjectPaste
ValueError: Disallowed subobject type: Large Plone Folder



[mirtosilvio_busico.vcf]

begin:vcard
fn:Mirto Silvio Busico
n:Busico;Mirto Silvio
org:Busico Mirto Silvio
adr:;;Via Casiglion De' Pepoli 84;Roma;RM;00127;Italia
email;internet:[hidden email]
title:Dr.
tel;work:+39 333 4562651
tel;cell:+39 333 4562651
x-mozilla-html:TRUE
version:2.1
end:vcard



_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
Maurits van Rees-3 () Re: Error translating "NEWS" with linguaplone 2.4
Reply Threaded More More options
Print post
Permalink
Mirto Silvio Busico, on 2009-06-19:

>
> Hi all,
>
> I have plone 3.2.2 and linguaplone pinned at 2.4
>
> In versions.cfg  have:
>     Products.LinguaPlone = 2.4
>
> When I try to translate the portal area titles "Users", "News" and
> "Events" I receive the error:
> "ValueError: Disallowed subobject type: Large Plone Folder"
>
> I'm translating the folders, not the elements used as view.
>
> What can I do?

Those folders are Large Plone Folders (well, I do not know for sure,
but the error message sure suggests it).  And by default you are not
allowed to add such a folder to the Plone Site root.

To solve this, go to the Zope Management Interface (ZMI), then to
portal_types, then the Plone Site type, and (temporarily) add Large
Plone Folder to the allowed types.  Then try translating again.

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
Mirto Silvio Busico-2 () [SOLVED] Re: Re: Error translating "NEWS" with linguaplone 2.4
Reply Threaded More More options
Print post
Permalink
Maurits van Rees ha scritto:

> Mirto Silvio Busico, on 2009-06-19:
>  
>> Hi all,
>>
>> I have plone 3.2.2 and linguaplone pinned at 2.4
>>
>> In versions.cfg  have:
>>     Products.LinguaPlone = 2.4
>>
>> When I try to translate the portal area titles "Users", "News" and
>> "Events" I receive the error:
>> "ValueError: Disallowed subobject type: Large Plone Folder"
>>
>> I'm translating the folders, not the elements used as view.
>>
>> What can I do?
>>    
>
> Those folders are Large Plone Folders (well, I do not know for sure,
> but the error message sure suggests it).  And by default you are not
> allowed to add such a folder to the Plone Site root.
>
> To solve this, go to the Zope Management Interface (ZMI), then to
> portal_types, then the Plone Site type, and (temporarily) add Large
> Plone Folder to the allowed types.  Then try translating again.
>
>  
Fantastic!!
It works.

Thanks a lot Mauritius.

Mirto





[mirtosilvio_busico.vcf]

begin:vcard
fn:Mirto Silvio Busico
n:Busico;Mirto Silvio
org:Busico Mirto Silvio
adr:;;Via Casiglion De' Pepoli 84;Roma;RM;00127;Italia
email;internet:[hidden email]
title:Dr.
tel;work:+39 333 4562651
tel;cell:+39 333 4562651
x-mozilla-html:TRUE
version:2.1
end:vcard



_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup