Public bug reported:

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.

** Affects: openerp-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/730827

Title:
  import module not possible using RC6

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to