UPC-5 barcode setting does not work

Bug #287937 reported by linguist2k
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Marcin Floryan
Nominated for 0.46.x by Luca Bruno

Bug Description

The EAN13 barcode generator does work in v .46. But the UPC-5 barcode generator does NOT work. Entering anything except a 12-digit number gives the following error message:

Can not encode '93495' into EAN13 Barcode, Size must be 12 numbers only
No barcode was generated

That error message was generated when the "Barcode Type" was set to UPC-5 and a 5-digit number was entered into the field. As I understand it, UPC-5 is supposed to accept a 5-digit number and convert it to a barcode. The error message given above suggests the UPC-5 function is expecting a 12-digit EAN13 number. And, in fact, entering a 12-digit number in the field when the "Barcode Type" is set to "UPC-5" does give an EAN13 barcode. Apparently, the UPC-5 setting is not invoking the code for UPC-5.

Also, hitting the "Enter" key on the keyboard does not activate barcode generation. The "Apply" button must be clicked with the mouse to do so.

Thank you!

Revision history for this message
Marcin Floryan (mfloryan) wrote :

It looks like a problem with the inx file only.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → mfloryan
Revision history for this message
Marcin Floryan (mfloryan) wrote :

Removed UPC-5 as the python script does not seem to handle that barcode type, fixed type parameter.

Revision history for this message
Marcin Floryan (mfloryan) wrote :

In revision 20042

Changed in inkscape:
status: Confirmed → Fix Committed
Revision history for this message
Luca Bruno (lucab) wrote :

This is should also flow back to 0.46.1, milestoning (or should I nominate for release?).

Changed in inkscape:
milestone: none → 0.46.1
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.46.1 → 0.47
tags: added: extensions-plugins
ScislaC (scislac)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.