glyphtracer-1.2 crashes with attached file

Bug #606330 reported by Pablo Rodríguez
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Glyphtracer
Fix Released
Undecided
Unassigned

Bug Description

I scanned the following file at 600 dpi and 1-bit colour (it is only a sample).

When I try to use it with glyphtracer, the program crashes with the following error:

 $ ./glyphtracer
 Traceback (most recent call last):
   File "./glyphtracer", line 215, in start_edit
     main_win = EditorWindow(fname, font_name, output)
   File "./glyphtracer", line 230, in __init__
     self.area = SelectionArea(image_file, self)
   File "./glyphtracer", line 97, in __init__
     self.boxes = calculate_letter_boxes(self.image, hor_lines)
   File "./glyphtracer", line 81, in calculate_letter_boxes
     ystrips = calculate_cutlines_locations(calculate_horizontal_sums(cur_image))
   File "./glyphtracer", line 48, in calculate_cutlines_locations
     if sums[0] <= cutoff:
 IndexError: list index out of range

I don't what might be wrong here.

Thanks for your help,

Pablo

Revision history for this message
Pablo Rodríguez (ousia) wrote :
Changed in glyphtracer:
status: New → Fix Committed
Changed in glyphtracer:
status: Fix Committed → Fix Released
Revision history for this message
dipodo (dipodo) wrote :

same problem here...... got latest version, but cant generate

Revision history for this message
dipodo (dipodo) wrote :

forgot to mention, Im on an 64bit machine

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

Create a new bug and attach the file that breaks to that.

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.