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

tr_barcode module error

By
Mindaugas
on 8/29/13, 9:16 AM 2,899 views

I installed tr_barcode module on windows 7 x64 (also tried with ubuntu and get the same) when i want generate barcode i get this error. When I check tmp folder here i see barcode.svg file but no barcode.png. Sould i try earlier openerp build?

Client Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\controllers\main.py", line 1052, in call_button File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\controllers\main.py", line 996, in call_common File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\controllers\main.py", line 1010, in _call_kw File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\common\http.py", line 608, in send

Server Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\web\common\http.py", line 593, in send File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\netsvc.py", line 360, in dispatch_rpc File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\service\web_services.py", line 586, in dispatch File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\osv\osv.py", line 186, in execute_kw File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\osv\osv.py", line 129, in wrapper File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\osv\osv.py", line 195, in execute File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server.\openerp\osv\osv.py", line 183, in execute_cr File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\tr_barcode\wizard\tr_barcode_wizard.py", line 100, in create_barcode_record
File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\tr_barcode\tr_barcode.py", line 98, in generate_image File "C:\Program Files (x86)\OpenERP 6.1-20130727-233408\Server\server\openerp\addons\tr_barcode\tr_barcode.py", line 81, in get_image IOError: [Errno 2] No such file or directory: '/tmp/barcode.png'

0
Mindaugas
On 8/30/13, 4:12 AM

I found solution for ubuntu, just installed librsvg2-bin and now it works fine, but for windows environment i still have problem

https://bugs.launchpad.net/stock-logistic-barcode/+bug/1182904

Skillteam, Houssine BAKKALI
on 9/13/13, 7:04 PM
0
Tech Receptives
On 8/30/13, 3:32 AM

from where you have downloaded the module ?

From launchpad bzr branch lp:stock-logistic-barcode/6.1 also tried from https://apps.openerp.com/apps/6.1/tr_barcode/

Mindaugas
on 8/30/13, 4:09 AM
0
Houssine BAKKALI
On 9/2/13, 12:31 PM

Hi Kindiss,

This could solve your problem! The tr_barcode module make an useless call to the librsvg2-bin while it could directly ask for a png file.

https://bugs.launchpad.net/stock-logistic-barcode/+bug/1182904

Skillteam, Houssine BAKKALI
on 9/2/13, 12:33 PM

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/13, 9:16 AM
Seen: 2899 times
Last updated: 3/16/15, 8:10 AM