[Erp5-users] Troubleshooting when installing BT module
Serigne Niomré Lô
serigne.lo at ylantis.com
Mon Oct 20 13:17:33 CEST 2008
Hi,
I still have the same problem (see message error below) when installing business trade module from the repository http://www.erp5.org/dists/snapshot/bt5/ .
I am a newbie in ERP5 and I have to install this BT for my project.
Regards
Site Error
An error was encountered while publishing this resource.
ImportError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 188, in publish_module_standard
* Module Products.iHotfix, line 88, in new_publish
* Module ZPublisher.Publish, line 145, in publish
* Module Zope2.App.startup, line 216, in zpublisher_exception_hook
* 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 324, in _exec
* Module None, line 202, in Base_callDialogMethod
<PythonScript at /erp5/Base_callDialogMethod used for /erp5/portal_templates>
Line 202
* Module AccessControl.ZopeGuards, line 341, in guarded_apply
* Module AccessControl.ZopeGuards, line 363, in builtin_guarded_apply
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.PythonScripts.PythonScript, line 324, in _exec
* Module None, line 62, in TemplateTool_installRepositoryBusinessTemplateList
<PythonScript at /erp5/TemplateTool_installRepositoryBusinessTemplateList used for /erp5/portal_templates>
Line 62
* Module Products.ERP5.Tool.TemplateTool, line 380, in download
* Module Products.ERP5.Tool.TemplateTool, line 344, in _download_url
* Module Products.ERP5.Tool.TemplateTool, line 332, in _download_local
* Module Products.ERP5.Tool.TemplateTool, line 267, in _importBT
* Module Products.ERP5Type.Document.BusinessTemplate, line 5170, in importFile
* Module Products.ERP5Type.Document.BusinessTemplate, line 443, in importFile
* Module Products.ERP5Type.Document.BusinessTemplate, line 342, in importFiles
* Module Products.ERP5Type.Document.BusinessTemplate, line 618, in _importFile
__traceback_info__: Importing portal_deliveries/sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
* Module ZODB.ExportImport, line 65, in importFile
* Module OFS.XMLExportImport, line 119, in importXML
* Module ZODB.ExportImport, line 75, in importFile
* Module transaction._transaction, line 297, in savepoint
* Module transaction._transaction, line 294, in savepoint
* Module transaction._transaction, line 657, in __init__
* Module ZODB.Connection, line 1032, in savepoint
* Module ZODB.Connection, line 470, in _commit
* Module ZODB.ExportImport, line 139, in _importDuringCommit
ImportError: No module named CausalityAssignmentMovementGroup (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/erp5/lib/python/ZServer/PubCore/ZServerPublisher.py", line 23, in __init__ response=response) File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 387, in publish_module environ, debug, request, response) File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 188, in publish_module_standard response = publish(request, module_name, after_list, debug=debug) File "/usr/lib/erp5/lib/python/Products/iHotfix/__init__.py", line 88, in new_publish x = Publish.zope_publish(zope_request, module_name, after_list, debug) File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 114, in publish request, bind=1) File "/usr/lib/erp5/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/usr/lib/erp5/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/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/lib/erp5/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/erp5/lib/python/AccessControl/ZopeGuards.py", line 341, in guarded_apply return builtin_guarded_apply(func, args, kws) File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 363, in builtin_guarded_apply return func(*arglist, **argdict) File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec result = f(*args, **kw) File "Script (Python)", line 62, in TemplateTool_installRepositoryBusinessTemplateList File "/home/erp5/one/Products/ERP5/Tool/TemplateTool.py", line 380, in download bt = self._download_url(url, id) File "/home/erp5/one/Products/ERP5/Tool/TemplateTool.py", line 344, in _download_url return self._download_local(file_path, bt_id) File "/home/erp5/one/Products/ERP5/Tool/TemplateTool.py", line 332, in _download_local return self._importBT(path, bt_id) File "/home/erp5/one/Products/ERP5/Tool/TemplateTool.py", line 267, in _importBT bt.importFile(file=fobj) File "/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py", line 5170, in importFile """Return list of items in business template File "/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py", line 443, in importFile bta.importFiles(item=self) File "/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py", line 342, in importFiles item._importFile(file_name, file) File "/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py", line 618, in _importFile if installed_bt._objects.has_key(path): File "/usr/lib/erp5/lib/python/ZODB/ExportImport.py", line 65, in importFile return customImporters[magic](self, f, clue) File "/usr/lib/erp5/lib/python/OFS/XMLExportImport.py", line 119, in importXML return jar.importFile(outfile,clue) File "/usr/lib/erp5/lib/python/ZODB/ExportImport.py", line 75, in importFile t.savepoint(optimistic=True) File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 297, in savepoint self._saveCommitishError() # reraises! File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 294, in savepoint savepoint = Savepoint(self, optimistic, *self._resources) File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 657, in __init__ savepoint = savepoint() File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 1032, in savepoint self._commit(None) File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 470, in _commit self._importDuringCommit(transaction, *self._import) File "/usr/lib/erp5/lib/python/ZODB/ExportImport.py", line 139, in _importDuringCommit pickler.dump(unpickler.load()) ImportError: No module named CausalityAssignmentMovementGroup )
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to error log.
If the error persists please contact the site maintainer. Thank you for your patience.
More information about the Erp5-users
mailing list