c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #30460
[Bug 825671] [NEW] ImportError: No module named pytz
Public bug reported:
I experience the following error when starting the openerp-web client
from the bzr branch. In 6.0, we have the populate.sh scripts and the lib
directory, but these seem to be deleted from 6.1.
How to install the pytz module and make it available to openerp-web 6.1?
Please help!
Thank you very much.
OpenERP Server Error
Client Traceback (most recent call last):
File "/media/newdata/Projects/openerp-trunk/openerp-web/openerpweb/openerpweb.py", line 312, in dispatch
response["result"] = method(controller, self, **self.params)
File "/media/newdata/Projects/openerp-trunk/openerp-web/addons/base/controllers/main.py", line 253, in login
req.session.login(db, login, password)
File "/media/newdata/Projects/openerp-trunk/openerp-web/openerpweb/openerpweb.py", line 103, in login
uid = self.proxy('common').login(db, login, password)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Server Traceback (most recent call last):
File "/media/newdata/Projects/openerp-trunk/server/openerp/netsvc.py", line 440, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/media/newdata/Projects/openerp-trunk/server/openerp/service/web_services.py", line 376, in dispatch
res = security.login(params[0], params[1], params[2])
File "/media/newdata/Projects/openerp-trunk/server/openerp/service/security.py", line 35, in login
pool = pooler.get_pool(db)
File "/media/newdata/Projects/openerp-trunk/server/openerp/pooler.py", line 55, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/media/newdata/Projects/openerp-trunk/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/registry.py", line 108, in get
update_module, pooljobs)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/registry.py", line 132, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/loading.py", line 288, in load_modules
loaded, processed = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/loading.py", line 160, in load_module_graph
register_module_classes(package.name)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/module.py", line 329, in register_module_classes
load_module(m)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/module.py", line 298, in load_module
imp.load_module(module_name, *fm)
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/__init__.py", line 24, in <module>
import res
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/res/__init__.py", line 31, in <module>
import res_user
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/res/res_user.py", line 28, in <module>
import pytz
ImportError: No module named pytz
** Affects: openerp-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/825671
Title:
ImportError: No module named pytz
Status in OpenERP Web:
New
Bug description:
I experience the following error when starting the openerp-web client
from the bzr branch. In 6.0, we have the populate.sh scripts and the
lib directory, but these seem to be deleted from 6.1.
How to install the pytz module and make it available to openerp-web
6.1? Please help!
Thank you very much.
OpenERP Server Error
Client Traceback (most recent call last):
File "/media/newdata/Projects/openerp-trunk/openerp-web/openerpweb/openerpweb.py", line 312, in dispatch
response["result"] = method(controller, self, **self.params)
File "/media/newdata/Projects/openerp-trunk/openerp-web/addons/base/controllers/main.py", line 253, in login
req.session.login(db, login, password)
File "/media/newdata/Projects/openerp-trunk/openerp-web/openerpweb/openerpweb.py", line 103, in login
uid = self.proxy('common').login(db, login, password)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Server Traceback (most recent call last):
File "/media/newdata/Projects/openerp-trunk/server/openerp/netsvc.py", line 440, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/media/newdata/Projects/openerp-trunk/server/openerp/service/web_services.py", line 376, in dispatch
res = security.login(params[0], params[1], params[2])
File "/media/newdata/Projects/openerp-trunk/server/openerp/service/security.py", line 35, in login
pool = pooler.get_pool(db)
File "/media/newdata/Projects/openerp-trunk/server/openerp/pooler.py", line 55, in get_pool
return get_db_and_pool(db_name, force_demo, status, update_module)[1]
File "/media/newdata/Projects/openerp-trunk/server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/registry.py", line 108, in get
update_module, pooljobs)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/registry.py", line 132, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/loading.py", line 288, in load_modules
loaded, processed = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/loading.py", line 160, in load_module_graph
register_module_classes(package.name)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/module.py", line 329, in register_module_classes
load_module(m)
File "/media/newdata/Projects/openerp-trunk/server/openerp/modules/module.py", line 298, in load_module
imp.load_module(module_name, *fm)
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/__init__.py", line 24, in <module>
import res
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/res/__init__.py", line 31, in <module>
import res_user
File "/var/local/software/6.1dev-trunk/server/openerp/addons/base/res/res_user.py", line 28, in <module>
import pytz
ImportError: No module named pytz
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/825671/+subscriptions
Follow ups
References