Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Error when trying to print a Jasper report in OpenErp v7 [Errno 111] Connection refused (111, 'Connection refused')? [Closed]
The Question has been closed for reason: off-topic or not relevantby
I wanted to print a report that I've created with Jasper Report, but I'm getting the error:
ERROR openerp.addons.jasper_reports.JasperReports.JasperServer: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused')
INFO openerp.addons.jasper_reports.jasper_report: ELAPSED: 0.668268
ERROR openerp.netsvc: RML is not available at specified location or not enough data to print!
(None, None, None)
Traceback (most recent call last):
File "/opt/openerp/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/openerp/service/web_services.py", line 654, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/openerp/service/web_services.py", line 760, in exp_report_get
File "/opt/openerp/openerp/service/web_services.py", line 738, in _check_report
netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
File "/opt/openerp/openerp/netsvc.py", line 71, in abort_response
raise openerp.osv.osv.except_osv(description, details)
except_osv: ('RML is not available at specified location or not enough data to print!', (None, None, None))
I've installed this source : https://code.launchpad.net/~jasper-reports-commiters/openobject-jasper-reports/7.0 .
I've created a simple report (just with the title) using the iReport (source in http://sourceforge.net/projects/ireport/?source=recommended_dlp_t4) .
Then though the menu Settings> Jasper Reports> Jasper Reports I created a report to the Invoice object, using the .jrxml that I took from iReport.
When I go to the Accounting > Customer Invoices menu and select a invoice, in the print button (up grey button) the new report is there but when I try to prind I get the error 'RML is not available at specified location or not enough data to print!'
I've CENTOS6, Openerp V7,
Java : java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-220.127.116.11.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/1/14, 6:34 AM|
|Seen: 1524 times|
|Last updated: 3/16/15, 8:10 AM|