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.

1

[7.0] I am not able to generate reports with Jasper because of invalidity of my company's logo image.

By
Pierre Gault
on 8/29/14, 5:19 PM 682 views

Hello,

We juste have a client that has Jasper integrated with OpenERP V7.

We are transfering there OpenERP sources to a new server Ubuntu 14.04. After installing Jasper and connecting to OpenERP (whis is working correctly), we are not able to generate reports because all them are using a company logo that is not accepted by OpenERP.

Traceback (most recent call last):
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/user_dir/git/sfl/user_dir/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/user_dir/env/local/lib/python2.7/site-packages/openerp-7.0custom-py2.7.egg/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/user_dir/git/sfl/user_dir/addons-epsilon/jasperserver/jasper.py", line 1983, in button_refresh
    resource_obj.button_refresh(cr, uid, ref_res_ids, context=context2)
  File "/home/user_dir/git/sfl/user_dir/addons-epsilon/jasperserver/jasper.py", line 1114, in button_refresh
    raise osv.except_osv(_("Error"), _("Company '%s' has an invalid logo image.") % (company['name'],))
except_osv: (u'Error', u"Company 'Your Robotiq' has an invalid logo image.")

We installed many libraries that might be missing, but it is not better. The picture is a jpeg because Jasper accept only jpeg and gif. And we cannot load an external jpeg neither.

Have you any idea of where the issue may come from? If you know about similar problems that require specific libraries, I would be pleased to hear from you!

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: 8/29/14, 5:19 PM
Seen: 682 times
Last updated: 3/16/15, 8:10 AM