[Erp5-users] Troubleshooting when installing BT module

Jean-Paul Smets jp at nexedi.com
Mon Oct 20 11:57:24 CEST 2008


Hi,

Maybe the easiest way for you to progress is to contact people in Dakar 
who are using and developing ERP5 (they read this list). I am not sure 
though that they have so much time.

Or, you could read the unit tests of ERP5. This is also an efficient way 
to progress and fnd out answer.

Or, if you only want to use it, you could simply use ERP5 Express.

Regards,

JPS.

Serigne Niomré Lô a écrit :
> 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 &quot;/usr/lib/erp5/lib/python/ZServer/PubCore/ZServerPublisher.py&quot;, line 23, in __init__ response=response) File &quot;/usr/lib/erp5/lib/python/ZPublisher/Publish.py&quot;, line 387, in publish_module environ, debug, request, response) File &quot;/usr/lib/erp5/lib/python/ZPublisher/Publish.py&quot;, line 188, in publish_module_standard response = publish(request, module_name, after_list, debug=debug) File &quot;/usr/lib/erp5/lib/python/Products/iHotfix/__init__.py&quot;, line 88, in new_publish x = Publish.zope_publish(zope_request, module_name, after_list, debug) File &quot;/usr/lib/erp5/lib/python/ZPublisher/Publish.py&quot;, line 114, in publish request, bind=1) File &quot;/usr/lib/erp5/lib/python/ZPublisher/mapply.py&quot;, line 88, in mapply if debug is not None: return debug(object,args,context) File &quot;/usr/lib/erp5/lib/python/ZPublisher/Publish.py&quot;, line 40, in call_object result=apply(object,args) # Type s&lt;cr&gt; to step into published object. File &quot;/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py&quot;, line 311, in __call__ return self._bindAndExec(args, kw, None) File &quot;/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py&quot;, line 348, in _bindAndExec return self._exec(bound_data, args, kw) File &quot;/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py&quot;, line 324, in _exec result = f(*args, **kw) File &quot;Script (Python)&quot;, line 202, in Base_callDialogMethod File &quot;/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py&quot;, line 341, in guarded_apply return builtin_guarded_apply(func, args, kws) File &quot;/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py&quot;, line 363, in builtin_guarded_apply return func(*arglist, **argdict) File &quot;/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py&quot;, line 311, in __call__ return self._bindAndExec(args, kw, None) File &quot;/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py&quot;, line 348, in _bindAndExec return self._exec(bound_data, args, kw) File &quot;/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py&quot;, line 324, in _exec result = f(*args, **kw) File &quot;Script (Python)&quot;, line 62, in TemplateTool_installRepositoryBusinessTemplateList File &quot;/home/erp5/one/Products/ERP5/Tool/TemplateTool.py&quot;, line 380, in download bt = self._download_url(url, id) File &quot;/home/erp5/one/Products/ERP5/Tool/TemplateTool.py&quot;, line 344, in _download_url return self._download_local(file_path, bt_id) File &quot;/home/erp5/one/Products/ERP5/Tool/TemplateTool.py&quot;, line 332, in _download_local return self._importBT(path, bt_id) File &quot;/home/erp5/one/Products/ERP5/Tool/TemplateTool.py&quot;, line 267, in _importBT bt.importFile(file=fobj) File &quot;/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py&quot;, line 5170, in importFile &quot;&quot;&quot;Return list of items in business template File &quot;/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py&quot;, line 443, in importFile bta.importFiles(item=self) File &quot;/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py&quot;, line 342, in importFiles item._importFile(file_name, file) File &quot;/home/erp5/one/Products/ERP5/Document/BusinessTemplate.py&quot;, line 618, in _importFile if installed_bt._objects.has_key(path): File &quot;/usr/lib/erp5/lib/python/ZODB/ExportImport.py&quot;, line 65, in importFile return customImporters[magic](self, f, clue) File &quot;/usr/lib/erp5/lib/python/OFS/XMLExportImport.py&quot;, line 119, in importXML return jar.importFile(outfile,clue) File &quot;/usr/lib/erp5/lib/python/ZODB/ExportImport.py&quot;, line 75, in importFile t.savepoint(optimistic=True) File &quot;/usr/lib/erp5/lib/python/transaction/_transaction.py&quot;, line 297, in savepoint self._saveCommitishError() # reraises! File &quot;/usr/lib/erp5/lib/python/transaction/_transaction.py&quot;, line 294, in savepoint savepoint = Savepoint(self, optimistic, *self._resources) File &quot;/usr/lib/erp5/lib/python/transaction/_transaction.py&quot;, line 657, in __init__ savepoint = savepoint() File &quot;/usr/lib/erp5/lib/python/ZODB/Connection.py&quot;, line 1032, in savepoint self._commit(None) File &quot;/usr/lib/erp5/lib/python/ZODB/Connection.py&quot;, line 470, in _commit self._importDuringCommit(transaction, *self._import) File &quot;/usr/lib/erp5/lib/python/ZODB/ExportImport.py&quot;, 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.
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-users
>   


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
ERP5 Enterprise: Free / Open Source ERP for Critical Applications
http://www.erp5.com
ERP5 Express: Hosted Open Source ERP for small companies
http://www.myerp5.com
Nexedi: Consulting and Development of Free / Open Source Software 
http://www.nexedi.com





More information about the Erp5-users mailing list