Asustor Erreur connexion OPENERP après mise à jour ADM

lavraielilybellule

Nouveau membre
Bonjour depuis le dernier update ADM je ne pouvais plus me connecter à OPENERP avec l'erreur suivante :

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 818, in authenticate
req.session.authenticate(db, login, password, env)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 116, in authenticate
uid = self.proxy('common').authenticate(db, login, password, env)
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/local/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 425, in dispatch
return fn(*params)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 436, in exp_authenticate
res_users = pooler.get_pool(db).get('res.users')
File "/usr/local/lib/python2.7/site-packages/openerp/pooler.py", line 49, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/usr/local/lib/python2.7/site-packages/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 192, in get
update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 214, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 343, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 258, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 161, in load_module_graph
load_openerp_module(package.name)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/module.py", line 405, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/usr/local/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/fetchmail/__init__.py", line 23, in <module>
import fetchmail
File "/var/packages/OpenERP7.x/target/openerp/addons/fetchmail/fetchmail.py", line 25, in <module>
from imaplib import IMAP4_SSL
ImportError: cannot import name IMAP4_SSL

Pour la résoudre http://forum.synology.com/enu/viewtopic.php?f=184&t=91911
ou pour faire court :

modification de fetchmail.py script located at /var/packages/OpenERP7.x/target/openerp/addons/fetchmail:
#from imaplib import IMAP4
#from imaplib import IMAP4_SSL
#from poplib import POP3
#from poplib import POP3_SSL
 
Haut Bas