import module not possible using RC6

Bug #730827 reported by Mihai Satmarean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: openerp-server

Client:
Operating system: Windows XP
Browser: Mozilla firefox 3.6

Server:
Ubuntu 10.04
Openerp server: Ver 6RC2

When I try to import module product_extended downloaded from trunk,
http://www.openerp.com/download/modules/trunk/product_extended.zip

the following error pop-up
Traceback (most recent call last):
  File "/usr/lib/openerp-server-6.0.0-rc2/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/lib/openerp-server-6.0.0-rc2/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/openerp-server-6.0.0-rc2/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/openerp-server-6.0.0-rc2/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/openerp-server-6.0.0-rc2/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/openerp-server-6.0.0-rc2/addons/base/module/wizard/base_module_import.py", line 55, in importzip
    fdata = zipfile.ZipFile(fp, 'r')
  File "/usr/lib/python2.6/zipfile.py", line 696, in __init__
    self._GetContents()
  File "/usr/lib/python2.6/zipfile.py", line 716, in _GetContents
    self._RealGetContents()
  File "/usr/lib/python2.6/zipfile.py", line 728, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file

But the files do extract and the module gets installed.

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

I mean it gets installed by copying the contents to the server by hand.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.