← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 889122] [NEW] can not restore DB

 

Public bug reported:

error

[2011-11-11 14:23:04,331][?] INFO:werkzeug:10.147.160.194 - - [11/Nov/2011 14:23:04] "POST /web/database/restore HTTP/1.1" 500 -
[2011-11-11 14:23:04,338][?] ERROR:werkzeug:Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/home/srv/openerp/instances/trunk/openobject-server/openerp/wsgi.py", line 398, in application
    result = handler(environ, start_response)
  File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 393, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 419, in dispatch
    result = handler( request, self.config)
  File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 273, in http_handler
    return HttpRequest(request, config).dispatch(controller, f)
  File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 228, in dispatch
    r = method(controller, self, **self.params)
  File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/controllers/main.py", line 310, in restore
    data = base64.b64encode(db_file.file.read())
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/datastructures.py", line 2556, in __getattr__
    return getattr(self.stream, name)
AttributeError: 'file' object has no attribute 'file'

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/889122

Title:
  can not restore DB

Status in OpenERP Web:
  New

Bug description:
  error

  [2011-11-11 14:23:04,331][?] INFO:werkzeug:10.147.160.194 - - [11/Nov/2011 14:23:04] "POST /web/database/restore HTTP/1.1" 500 -
  [2011-11-11 14:23:04,338][?] ERROR:werkzeug:Error on request:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
      execute(app)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 146, in execute
      application_iter = app(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/wsgi.py", line 398, in application
      result = handler(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 393, in __call__
      return self.dispatch(environ, start_response)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
      return self.app(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 419, in dispatch
      result = handler( request, self.config)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 273, in http_handler
      return HttpRequest(request, config).dispatch(controller, f)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 228, in dispatch
      r = method(controller, self, **self.params)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/controllers/main.py", line 310, in restore
      data = base64.b64encode(db_file.file.read())
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/datastructures.py", line 2556, in __getattr__
      return getattr(self.stream, name)
  AttributeError: 'file' object has no attribute 'file'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/889122/+subscriptions


Follow ups

References