← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 833750] [NEW] unable to save openoffice report plugin during base_report_designer module configuration

 

Public bug reported:

iceweasel 5.0 debian uname Linux erpbox 3.0.0-1-amd64  x86_64 GNU/Linux
client-web 6.0.3
server 6.0.3

Administration: Module : base_report_designer 
schedule for installation or schedule for upgrade
apply scheduled upgrades
during wizard configuration:  OpenObject Report Designer Plug-in <save as> button
and I get a webroser error:
Iceweasel can't find the file at http://localhost:8080/openerp/form/save_binary_data/openerp_report_designer.zip?_terp_field=plugin_file&_terp_model=base_report_designer.installer&_terp_id=False.

And from client-web log:
  File "/opt/erp/web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/opt/erp/web/openobject/controllers/_root.py", line 90, in default
    return request.handler()
  File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/opt/erp/web/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/opt/erp/web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/opt/erp/web/addons/openerp/controllers/form.py", line 670, in save_binary_data
    return base64.decodestring(data[params.field])
KeyError: 'plugin_file'


127.0.0.1 - - [25/Aug/2011:23:53:07] "POST /openerp/form/save_binary_data/openerp_report_designer.zip?_terp_field=plugin_file&_terp_model=base_report_designer.installer&_terp_id=False HTTP/1.1" 500 19412 "http://localhost:8080/openerp/execute?payload=eJxdj8FuAjEMRH-FWy4IiZ5QP4AfKJwqFIXNsLIUnJVjWArafydxAbWconkZz9g3FzqlzO5zdnNnwuiPOaKqkztkObr5zGmQHmqIMTZiPv0Z_vsExYaT0X0o8IIhi_qIQj1DFsRFQ0qQVwrF6v5erpa71vSMJFn8rlXa60fimK05D2C0kY2cMFUQgwbbnWKxpJbTZVZc1HgK3Fsm2G-_WkaXCNw-3Yi9HXitYh1SQRWt94zXIW_40fKx-4uetmma7svGbck%3D"; "Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Iceweasel/5.0"
---------
I found a similar bug (https://bugs.launchpad.net/openobject-client-web/+bug/671362)
fix commited status. 
---------
So is it an other bug? Or is it a problem with my installation?

Thanks

** 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/833750

Title:
  unable to save openoffice report plugin during base_report_designer
  module configuration

Status in OpenERP Web Client:
  New

Bug description:
  iceweasel 5.0 debian uname Linux erpbox 3.0.0-1-amd64  x86_64 GNU/Linux
  client-web 6.0.3
  server 6.0.3

  Administration: Module : base_report_designer 
  schedule for installation or schedule for upgrade
  apply scheduled upgrades
  during wizard configuration:  OpenObject Report Designer Plug-in <save as> button
  and I get a webroser error:
  Iceweasel can't find the file at http://localhost:8080/openerp/form/save_binary_data/openerp_report_designer.zip?_terp_field=plugin_file&_terp_model=base_report_designer.installer&_terp_id=False.

  And from client-web log:
    File "/opt/erp/web/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/opt/erp/web/openobject/controllers/_root.py", line 90, in default
      return request.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/opt/erp/web/addons/openerp/controllers/utils.py", line 112, in wrapper
      return fn(*args, **kw)
    File "/opt/erp/web/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/opt/erp/web/addons/openerp/controllers/form.py", line 670, in save_binary_data
      return base64.decodestring(data[params.field])
  KeyError: 'plugin_file'

  
  127.0.0.1 - - [25/Aug/2011:23:53:07] "POST /openerp/form/save_binary_data/openerp_report_designer.zip?_terp_field=plugin_file&_terp_model=base_report_designer.installer&_terp_id=False HTTP/1.1" 500 19412 "http://localhost:8080/openerp/execute?payload=eJxdj8FuAjEMRH-FWy4IiZ5QP4AfKJwqFIXNsLIUnJVjWArafydxAbWconkZz9g3FzqlzO5zdnNnwuiPOaKqkztkObr5zGmQHmqIMTZiPv0Z_vsExYaT0X0o8IIhi_qIQj1DFsRFQ0qQVwrF6v5erpa71vSMJFn8rlXa60fimK05D2C0kY2cMFUQgwbbnWKxpJbTZVZc1HgK3Fsm2G-_WkaXCNw-3Yi9HXitYh1SQRWt94zXIW_40fKx-4uetmma7svGbck%3D"; "Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Iceweasel/5.0"
  ---------
  I found a similar bug (https://bugs.launchpad.net/openobject-client-web/+bug/671362)
  fix commited status. 
  ---------
  So is it an other bug? Or is it a problem with my installation?

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/833750/+subscriptions


Follow ups

References