c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25124
[Bug 788330] [NEW] ImportError: No module named io
Public bug reported:
Hi,
on ubuntu install client web +python 2.5 + vps :
this error :
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/opt/openerp/server/bin/addons/base/res/res_config.py", line 397, in execute
new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/opt/openerp/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/opt/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/opt/openerp/server/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/opt/openerp/server/bin/addons/__init__.py", line 716, in load_module_graph
register_class(package.name)
File "/opt/openerp/server/bin/addons/__init__.py", line 450, in register_class
imp.load_module(m, *fm)
File "/opt/openerp/server/bin/addons/base_calendar/__init__.py", line 22, in <module>
import base_calendar
File "/opt/openerp/server/bin/addons/base_calendar/base_calendar.py", line 23, in <module>
from dateutil import parser
File "/usr/lib/python2.5/site-packages/python_dateutil-2.0-py2.5.egg/dateutil/parser.py", line 21, in <module>
from io import StringIO
ImportError: No module named io
I suppose it's due to the fact module io is not in python 2.5, but only
since python 2.5
topic on openerp forum where the bug is declared :
http://www.openerp.com/forum/post83761.html#p83761
bye
** Affects: openobject-client-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/788330
Title:
ImportError: No module named io
Status in OpenERP Web Client:
New
Bug description:
Hi,
on ubuntu install client web +python 2.5 + vps :
this error :
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/opt/openerp/server/bin/addons/base/res/res_config.py", line 397, in execute
new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/opt/openerp/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/opt/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/opt/openerp/server/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/opt/openerp/server/bin/addons/__init__.py", line 716, in load_module_graph
register_class(package.name)
File "/opt/openerp/server/bin/addons/__init__.py", line 450, in register_class
imp.load_module(m, *fm)
File "/opt/openerp/server/bin/addons/base_calendar/__init__.py", line 22, in <module>
import base_calendar
File "/opt/openerp/server/bin/addons/base_calendar/base_calendar.py", line 23, in <module>
from dateutil import parser
File "/usr/lib/python2.5/site-packages/python_dateutil-2.0-py2.5.egg/dateutil/parser.py", line 21, in <module>
from io import StringIO
ImportError: No module named io
I suppose it's due to the fact module io is not in python 2.5, but
only since python 2.5
topic on openerp forum where the bug is declared :
http://www.openerp.com/forum/post83761.html#p83761
bye
Follow ups
References