← Back to team overview

openerp-india team mailing list archive

[Bug 1303197] [NEW] (Trunk) Error while loading .csv to import

 

Public bug reported:

When you load a file to import either in contact or products (Have not
tried others) server will throw an error (Latest built):

 2014-04-06 01:11:44,818 1573 ERROR TESTDB werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/share/pyshared/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/usr/share/pyshared/openerp/service/server.py", line 261, in app
    return self.app(e, s)
  File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 215, in application
    return application_unproxied(environ, start_response)
  File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 201, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/share/pyshared/openerp/http.py", line 1094, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/share/pyshared/openerp/http.py", line 1071, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/usr/share/pyshared/openerp/http.py", line 1231, in dispatch
    result = ir_http._dispatch()
  File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 120, in _dispatch
    return self._handle_exception(e)
  File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 116, in _dispatch
    result = request.dispatch()
  File "/usr/share/pyshared/openerp/http.py", line 534, in dispatch
    r = self._call_function(**self.params)
  File "/usr/share/pyshared/openerp/http.py", line 295, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/share/pyshared/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp/http.py", line 292, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/share/pyshared/openerp/http.py", line 635, in __call__
    return self.method(*args, **kw)
  File "/usr/share/pyshared/openerp/http.py", line 338, in response_wrap
    response = f(*args, **kw)
TypeError: set_file() takes at least 4 arguments (4 given)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Also affects: ubuntu
   Importance: Undecided
       Status: New

** No longer affects: ubuntu

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1303197

Title:
  (Trunk) Error while loading .csv to import

Status in OpenERP Addons (modules):
  New

Bug description:
  When you load a file to import either in contact or products (Have not
  tried others) server will throw an error (Latest built):

   2014-04-06 01:11:44,818 1573 ERROR TESTDB werkzeug: Error on request:
  Traceback (most recent call last):
    File "/usr/share/pyshared/werkzeug/serving.py", line 177, in run_wsgi
      execute(self.server.app)
    File "/usr/share/pyshared/werkzeug/serving.py", line 165, in execute
      application_iter = app(environ, start_response)
    File "/usr/share/pyshared/openerp/service/server.py", line 261, in app
      return self.app(e, s)
    File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 215, in application
      return application_unproxied(environ, start_response)
    File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 201, in application_unproxied
      result = handler(environ, start_response)
    File "/usr/share/pyshared/openerp/http.py", line 1094, in __call__
      return self.dispatch(environ, start_response)
    File "/usr/share/pyshared/openerp/http.py", line 1071, in __call__
      return self.app(environ, start_wrapped)
    File "/usr/share/pyshared/werkzeug/wsgi.py", line 579, in __call__
      return self.app(environ, start_response)
    File "/usr/share/pyshared/openerp/http.py", line 1231, in dispatch
      result = ir_http._dispatch()
    File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 120, in _dispatch
      return self._handle_exception(e)
    File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 116, in _dispatch
      result = request.dispatch()
    File "/usr/share/pyshared/openerp/http.py", line 534, in dispatch
      r = self._call_function(**self.params)
    File "/usr/share/pyshared/openerp/http.py", line 295, in _call_function
      return checked_call(self.db, *args, **kwargs)
    File "/usr/share/pyshared/openerp/service/model.py", line 113, in wrapper
      return f(dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp/http.py", line 292, in checked_call
      return self.endpoint(*a, **kw)
    File "/usr/share/pyshared/openerp/http.py", line 635, in __call__
      return self.method(*args, **kw)
    File "/usr/share/pyshared/openerp/http.py", line 338, in response_wrap
      response = f(*args, **kw)
  TypeError: set_file() takes at least 4 arguments (4 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1303197/+subscriptions


Follow ups

References