[Erp5-users] purchase order / invoice
chhipa taak
ch.taak at gmail.com
Tue Nov 11 09:14:37 CET 2008
Right now all my modules are on 5.3 except erp5_core which is 5.2
rev969. I tried to upgrade erp5_core but getting the following error
2008-11-11T12:06:04 ERROR ZODB.Connection Couldn't load state for 0x015945
Traceback (most recent call last):
File "/usr/lib/zope2.8/lib/python/ZODB/Connection.py", line 704, in setstate
self._setstate(obj)
File "/usr/lib/zope2.8/lib/python/ZODB/Connection.py", line 758, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/lib/zope2.8/lib/python/ZODB/serialize.py", line 496, in
setGhostState
obj.__setstate__(state)
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 109, in __setstate__
self._tr_init()
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 115, in _tr_init
transform = self._load_transform()
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 147, in _load_transform
m = import_from_name(self.module)
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 26, in import_from_name
m = __import__(module_name)
ImportError: No module named png_to_text
------
2008-11-11T12:06:04 ERROR Zope.SiteErrorLog
http://192.168.202.128:8080/erp5/portal_templates/TemplateTool_installRepositoryBusinessTemplateList
Traceback (most recent call last):
File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 114, in publish
request, bind=1)
File "/usr/lib/zope2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 40,
in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py",
line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py",
line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope2.8/lib/python/Products/PythonScripts/PythonScript.py",
line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 202, in Base_callDialogMethod
File "/usr/lib/zope2.8/lib/python/AccessControl/ZopeGuards.py", line
341, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/usr/lib/zope2.8/lib/python/AccessControl/ZopeGuards.py", line
363, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py",
line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py",
line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/zope2.8/lib/python/Products/PythonScripts/PythonScript.py",
line 324, in _exec
result = f(*args, **kw)
File "Script (Python)", line 62, in
TemplateTool_installRepositoryBusinessTemplateList
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Tool/TemplateTool.py",
line 380, in download
bt = self._download_url(url, id)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Tool/TemplateTool.py",
line 344, in _download_url
return self._download_local(file_path, bt_id)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Tool/TemplateTool.py",
line 332, in _download_local
return self._importBT(path, bt_id)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Tool/TemplateTool.py",
line 267, in _importBT
bt.importFile(file=fobj)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Document/BusinessTemplate.py",
line 5167, in importFile
getattr(self, item_name).importFile(bta)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Document/BusinessTemplate.py",
line 443, in importFile
bta.importFiles(item=self)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Document/BusinessTemplate.py",
line 342, in importFiles
item._importFile(file_name, file)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Document/BusinessTemplate.py",
line 608, in _importFile
self.removeProperties(obj)
File "/var/lib/zope2.8/instance/sandbox/Products/ERP5/Document/BusinessTemplate.py",
line 449, in removeProperties
meta_type = getattr(aq_base(obj), 'meta_type', None)
File "/usr/lib/zope2.8/lib/python/ZODB/Connection.py", line 704, in setstate
self._setstate(obj)
File "/usr/lib/zope2.8/lib/python/ZODB/Connection.py", line 758, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/lib/zope2.8/lib/python/ZODB/serialize.py", line 496, in
setGhostState
obj.__setstate__(state)
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 109, in __setstate__
self._tr_init()
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 115, in _tr_init
transform = self._load_transform()
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 147, in _load_transform
m = import_from_name(self.module)
File "/var/lib/zope2.8/instance/sandbox/Products/PortalTransforms/Transform.py",
line 26, in import_from_name
m = __import__(module_name)
ImportError: No module named png_to_text
And installing erp5_invoicing is giving the error
ImportError: No module named DeliveryCausalityAssignmentMovementGroup
(Also, the following error occurred while attempting to render the
standard error message, please see the event log for full details: An
operation previously failed, with traceback: File
"/usr/lib/zope2.8/lib/python/ZServer/PubCore/ZServerPublisher.py",
line 23, in __init__ response=response) File
"/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line
387, in publish_module environ, debug, request, response) File
"/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line
188, in ....
I tried old versions but they are also giving errors.
On Fri, Oct 31, 2008 at 10:28 PM, Łukasz Nowak <email at lnowak.com> wrote:
> Hello,
>
> On Fri, 2008-10-31 at 22:12 +0400, chhipa taak wrote:
>> I tried to install it but getting the following error
>>
>> Site Error
>> An error was encountered while publishing this resource.
>>
>> ImportError
>
> Fetch BT from Subversion repositories using same revision, as rest of
> your core and Business Templates and install that one. AFAIRC there were
> some changes recently, and you might be "de-synchronised"
>
> Regards,
> Luke
>
>
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-users
>
More information about the Erp5-users
mailing list