** Changed in: openobject-client-web
Status: New => Fix Released
** Changed in: openobject-client-web
Importance: Undecided => Low
** Changed in: openobject-client-web
Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)
** Changed in: openobject-client-web
Milestone: None => 6.0-rc2
--
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/695366
Title:
[RC1] NameError: global name 'zipfile' is not defined
Status in OpenObject Web Client:
Fix Released
Bug description:
Last trunk version, with python 2.6.6
On a windows server, with web client, I have this error when I log in :
Unrecoverable error in the server.
Traceback (most recent call last):
File "e:\OpenERP\Python2.6\lib\site-packages\cherrypy\_cprequest.py", line
541, in run
self.respond(pi)
File "e:\OpenERP\Python2.6\lib\site-packages\cherrypy\_cprequest.py", line
624, in respond
self.handle_error()
File "e:\OpenERP\Python2.6\lib\site-packages\cherrypy\_cprequest.py", line
746, in handle_error
self.error_response()
File "E:\OpenERP\trunk\web\addons\openerp\controllers\root.py", line 40, in
_cp_on_error
cherrypy.request.pool = openobject.pooler.get_pool()
File "E:\OpenERP\trunk\web\openobject\pooler.py", line 97, in get_pool
addons.load_addons(db_name, config)
File "E:\OpenERP\trunk\web\openobject\addons.py", line 214, in load_addons
new_modules = obj.get_new_modules()
File "E:\OpenERP\trunk\web\addons\openerp\controllers\modules.py", line 46,
in get_new_modules
extract_zip_file(StringIO(module['content'].decode('base64')), temp_dir)
File "E:\OpenERP\trunk\web\openobject\tools\zip.py", line 6, in
extract_zip_file
zf = zipfile.ZipFile(zip_file)
NameError: global name 'zipfile' is not defined
On ubuntu, it's working
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp