Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Report not working

By
Rahul Shendge
on 5/8/15, 1:07 AM 1,027 views

I got product label report, but it generate issue.

ncaught SyntaxError: Unexpected end of input

http://localhost:8069/web?debug=#id=41&view_type=form&model=product.product&action=118&active_id=37:2

Terminal output

Traceback (most recent call last):

File "/home/devid/source/v8/odoo/addons/web/controllers/main.py", line 69, in wrap

return f(args, *kwargs)

File "/home/devid/source/v8/odoo/addons/web/controllers/main.py", line 1576, in index

request.session.db, request.session.uid, request.session.password, report_id)

File "/home/devid/source/v8/odoo/openerp/http.py", line 807, in proxy_method

result = dispatch_rpc(self.service_name, method, args)

File "/home/devid/source/v8/odoo/openerp/http.py", line 100, in dispatch_rpc

result = dispatch(method, params)

File "/home/devid/source/v8/odoo/openerp/service/report.py", line 34, in dispatch

res = fn(db, uid, *params)

File "/home/devid/source/v8/odoo/openerp/service/report.py", line 141, in exp_report_get

return _check_report(report_id)

File "/home/devid/source/v8/odoo/openerp/service/report.py", line 119, in _check_report

raise openerp.osv.orm.except_orm(exc.message, exc.traceback)

except_orm: (u'code', (, KeyError('code',), ))

2015-01-24 10:39:01,348 3797 WARNING zebraprintv8demodata openerp.http: returns an invalid response type for an http request


On Windows Showing error in log file



File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\service\report.py", line 93, in go

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\__init__.py", line 40, in render_report

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\api.py", line 237, in wrapper

File "C:\Program Files\Odoo 8.0-20141009-000215\server\openerp\addons\base\ir\ir_actions.py", line 155, in render_report

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\report_sxw.py", line 392, in create

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\report_sxw.py", line 461, in create_source_pdf

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\report_sxw.py", line 483, in create_single_pdf

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\interface.py", line 221, in create_pdf

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\render.py", line 59, in render

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml.py", line 41, in _render

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 1042, in parseNode

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 334, in render

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 1022, in render

File "reportlab\platypus\doctemplate.pyc", line 890, in build

File "reportlab\platypus\doctemplate.pyc", line 773, in handle_flowable

File "reportlab\platypus\frames.pyc", line 190, in _add

File "reportlab\platypus\flowables.pyc", line 110, in drawOn

File "reportlab\platypus\flowables.pyc", line 91, in _drawOn

File "reportlab\platypus\tables.pyc", line 1368, in draw

File "reportlab\platypus\tables.pyc", line 1476, in _drawCell

File "reportlab\platypus\flowables.pyc", line 110, in drawOn

File "reportlab\platypus\flowables.pyc", line 91, in _drawOn

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 622, in draw

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 607, in render

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 590, in render

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 515, in _image

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\report\render\rml2pdf\trml2pdf.py", line 86, in _open_image

IOError: File /opt/odoo/odoo/addons/customer_multi_reports/image/Giga_Logo_Colour.bmp cannot be found in image path

2015-05-08 04:49:30,842 3080 ERROR odoo openerp.addons.web.controllers.main: An exception occured during an http request

Traceback (most recent call last):

File "C:\Program Files\Odoo 8.0-20141009-000215\server\openerp\addons\web\controllers\main.py", line 69, in wrap

File "C:\Program Files\Odoo 8.0-20141009-000215\server\openerp\addons\web\controllers\main.py", line 1570, in index

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\http.py", line 807, in proxy_method

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\http.py", line 100, in dispatch_rpc

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\service\report.py", line 34, in dispatch

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\service\report.py", line 141, in exp_report_get

File "C:\Program Files\Odoo 8.0-20141009-000215\server\.\openerp\service\report.py", line 119, in _check_report

except_orm: (u'File /opt/odoo/odoo/addons/customer_multi_reports/image/Giga_Logo_Colour.bmp cannot be found in image path', (<type 'exceptions.IOError'>, IOError('File /opt/odoo/odoo/addons/customer_multi_reports/image/Giga_Logo_Colour.bmp cannot be found in image path',), <traceback object at 0x1FC5B968>))

2015-05-08 04:49:30,844 3080 WARNING odoo openerp.http: <function openerp.addons.web.controllers.main.index> returns an invalid response type for an http request

2015-05-08 04:49:30,845 3080 INFO odoo werkzeug: 127.0.0.1 - - [08/May/2015 04:49:30] "POST /web/report HTTP/1.1" 500 -

2015-05-08 04:49:37,969 3080 INFO odoo werkzeug: 127.0.0.1 - - [08/May/2015 04:49:37] "POST /longpolling/poll HTTP/1.1" 200 -

2015-05-08 04:49:52,210 3080 INFO odoo werkzeug: 127.0.0.1 - - [08/May/2015 04:49:52] "POST /longpolling/poll HTTP/1.1" 200 -

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/8/15, 1:07 AM
Seen: 1027 times
Last updated: 5/8/15, 1:23 AM