← Back to team overview

openerp-india team mailing list archive

[Bug 1086699] [NEW] [trunk] Register Payment Invoice

 

Public bug reported:

When trying to Register a payment on a invoice I get the following error
popup on the runbot:

-----------
XmlHttpRequestError INTERNAL SERVER ERROR
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p>
--------------


Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/srv/openerp/server/openerp/service/wsgi_server.py", line 408, in application
    return application_unproxied(environ, start_response)
  File "/srv/openerp/server/openerp/service/wsgi_server.py", line 393, in application_unproxied
    result = handler(environ, start_response)
  File "/srv/openerp/web/addons/web/http.py", line 495, in __call__
    return self.dispatch(environ, start_response)
  File "/srv/openerp/web/addons/web/http.py", line 464, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/srv/openerp/web/addons/web/http.py", line 520, in dispatch
    result = handler(request)
  File "/srv/openerp/web/addons/web/http.py", line 583, in <lambda>
    return lambda request: JsonRequest(request).dispatch(method)
  File "/srv/openerp/web/addons/web/http.py", line 242, in dispatch
    body = simplejson.dumps(response)
  File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/__init__.py", line 321, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 237, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 311, in iterencode
    return _iterencode(o, 0)
  File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 213, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: browse_record(res.partner, 1655) is not JSON serializable


(Build 1196)
server (4634)
addons (8202)
web (3555)

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

-- 
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/1086699

Title:
  [trunk] Register Payment Invoice

Status in OpenERP Addons (modules):
  New

Bug description:
  When trying to Register a payment on a invoice I get the following
  error popup on the runbot:

  -----------
  XmlHttpRequestError INTERNAL SERVER ERROR
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <title>500 Internal Server Error</title>
  <h1>Internal Server Error</h1>
  <p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p>
  --------------

  
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
      execute(app)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/serving.py", line 146, in execute
      application_iter = app(environ, start_response)
    File "/srv/openerp/server/openerp/service/wsgi_server.py", line 408, in application
      return application_unproxied(environ, start_response)
    File "/srv/openerp/server/openerp/service/wsgi_server.py", line 393, in application_unproxied
      result = handler(environ, start_response)
    File "/srv/openerp/web/addons/web/http.py", line 495, in __call__
      return self.dispatch(environ, start_response)
    File "/srv/openerp/web/addons/web/http.py", line 464, in __call__
      return self.app(environ, start_wrapped)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.3-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
      return self.app(environ, start_response)
    File "/srv/openerp/web/addons/web/http.py", line 520, in dispatch
      result = handler(request)
    File "/srv/openerp/web/addons/web/http.py", line 583, in <lambda>
      return lambda request: JsonRequest(request).dispatch(method)
    File "/srv/openerp/web/addons/web/http.py", line 242, in dispatch
      body = simplejson.dumps(response)
    File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/__init__.py", line 321, in dumps
      return _default_encoder.encode(obj)
    File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 237, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 311, in iterencode
      return _iterencode(o, 0)
    File "/usr/local/lib/python2.6/dist-packages/simplejson-2.6.2-py2.6-linux-x86_64.egg/simplejson/encoder.py", line 213, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: browse_record(res.partner, 1655) is not JSON serializable

  
  (Build 1196)
  server (4634)
  addons (8202)
  web (3555)

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


Follow ups

References