Discussion:
[Erp5-dev] Error to create a module
Felipe Norato Lacerda
2011-03-05 01:31:35 UTC
Permalink
Hi, everybody!
I can't create a new module in my instance.

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'
--
Felipe Norato Lacerda
Graduando em Tecn?logo em An?lise e Desenvolvimento de Sistemas (IFF) - 2?
Per?odo
N?cleo de Pesquisa em Sistemas de Informa??o ? NSI
Instituto Federal Fluminense - IFF
@norato_guitar - 22 9816 6156
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20110304/142515eb/attachment.htm>
Łukasz Nowak
2011-03-07 08:22:15 UTC
Permalink
Hello,

On Fri, 4 Mar 2011 22:31:35 -0300
Post by Felipe Norato Lacerda
Hi, everybody!
I can't create a new module in my instance.
Which revision of ERP5 products and Business Templates are you using?

Are you using Zope 2.8 or Zope 2.12?
Post by Felipe Norato Lacerda
Following the error
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
Lucas Carvalho
2011-03-14 18:59:49 UTC
Permalink
Hello,
Post by Łukasz Nowak
Hello,
On Fri, 4 Mar 2011 22:31:35 -0300
Post by Felipe Norato Lacerda
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.
Post by Łukasz Nowak
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.
Post by Łukasz Nowak
Post by Felipe Norato Lacerda
Following the error
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
Loading...