← Back to team overview

openerp-india team mailing list archive

[Bug 943280] Re: Purchase analyses error on graph

 

So i recommend you get OpenERP components from lauchpad branches, so you
will get the latest version with bugfixes.

I retry your issue and i comfirm it, its a bug. thanks for reporting.
I paste here the openerp-web output detail.

ERROR:werkzeug:Error on request:
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/Library/Python/2.6/site-packages/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/Users/ovnicraft/development/openerp/61/web-client/addons/web/common/http.py", line 467, in __call__
    return self.dispatch(environ, start_response)
  File "/Library/Python/2.6/site-packages/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/Users/ovnicraft/development/openerp/61/web-client/addons/web/common/http.py", line 494, in dispatch
    result = handler( request, self.config)
  File "/Users/ovnicraft/development/openerp/61/web-client/addons/web/common/http.py", line 240, in json_handler
    return JsonRequest(request, config).dispatch(controller, f)
  File "/Users/ovnicraft/development/openerp/61/web-client/addons/web/common/http.py", line 223, in dispatch
    body = simplejson.dumps(response, cls=nonliterals.NonLiteralEncoder)
  File "/Library/Python/2.6/site-packages/simplejson/__init__.py", line 237, in dumps
    **kw).encode(obj)
  File "/Library/Python/2.6/site-packages/simplejson/encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/Library/Python/2.6/site-packages/simplejson/encoder.py", line 260, in iterencode
    return _iterencode(o, 0)
  File "/Users/ovnicraft/development/openerp/61/web-client/addons/web/common/nonliterals.py", line 20, in default
    return super(NonLiteralEncoder, self).default(object)
  File "/Library/Python/2.6/site-packages/simplejson/encoder.py", line 177, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <DateTime '20120229T00:00:00' at 103e04830> is not JSON serializable

For OpenERP R&D Team i get the 2239 revno.

Regards,

** Changed in: openobject-server
       Status: Invalid => Confirmed

** Project changed: openobject-server => openerp-web

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

Title:
  Purchase analyses error on graph

Status in OpenERP Web:
  Confirmed

Bug description:
  Build: OpenERP 6.1-20120229-003254

  Purchase analyse. When you click on the graph to get more details. You
  get the following error:

  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>

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


References