依照xuxudodo的方式進行安裝,可是進行到在openerp內更新模塊時,無法找到該模塊,出現錯誤信息如下:
OpenERP Server Error
Client Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1083, in call_button
action = self._call_kw(req, model, method, args, {})
File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1071, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session.uid, self.session.password, self.model, method, args, kw)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/python2.7/site-packages/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 198, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/wizard/base_module_update.py", line 42, in update_module
update, add = module_obj.update_list(cr, uid,)
File "/var/packages/OpenERP7.x/target/openerp/addons/base/module/module.py", line 619, in update_list
handler.load_addons()
File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 546, in load_addons
m = import('openerp.addons.' + module)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 133, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/var/packages/OpenERP7.x/target/openerp/addons/magento_integration-develop/init.py", line 9, in <module>
import magento
File "/var/packages/OpenERP7.x/target/openerp/addons/magento_integration-develop/magento.py", line 17, in <module>
import magento
ImportError: No module named magento
最下面這個地方,導入時的錯誤,好像是說明了找不到這個名為magento的模塊。
這裡可以請各位大俠,為小弟解譯一下嗎?
樓上曾提到,按照上述链接步骤进行,需要安装pycountry,
這個pycounty是什麼東西呢?該怎麼樣進行安裝,小弟不才,可以麻煩說明一下嗎?
V
voilamart
@voilamart