[Erp5-dev] Error to create a module
Lucas Carvalho
lucas at nexedi.com
Mon Mar 14 19:59:49 CET 2011
Hello,
On 03/07/2011 05:22 AM, Łukasz Nowak wrote:
> Hello,
>
> On Fri, 4 Mar 2011 22:31:35 -0300
> Felipe Norato Lacerda<fnoratol at gmail.com> wrote:
>
>
>> Hi, everybody!
>> I can't create a new module in my instance.
>>
> Which revision of ERP5 products and Business Templates are you using?
>
He is using a very old version: 5.4.6.
> Are you using Zope 2.8 or Zope 2.12?
>
Zope 2.8.
The problem:
He just erased the objects from portal caches.
So it would not be possible to find the object 'erp5_content_long' and
then BANG! KeyError...
I've restored his portal caches object by myself.
Case is now closed!
Regards,
Lucas.
>
>> Following the error
>>
>> Traceback (innermost last):
>> Module ZPublisher.Publish, line 114, 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.PythonScripts.PythonScript, line 325, in _exec
>> Module None, line 28, in ERP5Site_createModule
>> -<PythonScript at /erp5/ERP5Site_createModule>
>> - Line 28
>> Module Products.ERP5Type.Core.Folder, line 458, in newContent
>> Module Products.ERP5Type.Core.Folder, line 165, in newContent
>> Module Products.ERP5Type.ERP5Type, line 359, in constructInstance
>> Module Products.ERP5Type.Utils, line 523, in __call__
>> Module Products.ERP5Type.Base, line 253, in __call__
>> Module Products.ERP5.InteractionWorkflow, line 302, in notifySuccess
>> Module Shared.DC.Scripts.Bindings, line 311, in __call__
>> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>> Module Products.PythonScripts.PythonScript, line 325, in _exec
>> Module None, line 1, in BaseType_clearCache
>> -<PythonScript at
>> /erp5/portal_workflow/base_type_interaction_workflow/scripts/BaseType_clearCache>
>> - Line 1
>> Module Products.ERP5Type.ERP5Type, line 542, in
>> clearGetActionListCache Module Products.ERP5Type.Cache, line 219, in
>> delete KeyError: 'erp5_content_long'
>>
> I checked on my instance, running quite recent products and Zope 2.12,
> there was no problems with module creation.
>
> Best Regards,
> Lukasz Nowak
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> https://mail.tiolive.com/mailman/listinfo/erp5-dev
>
>
More information about the Erp5-dev
mailing list