DXF import sometimes gets divide by zero
Bug #892496 reported by
Satyagraha 1956
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Alvin Penner |
Bug Description
Am using 0.48.2 r9819 (WinXP). When importing the attached DXF file, I get the following traceback:
Traceback (most recent call last):
File "dxf_input.py", line 487, in <module>
entities[
File "dxf_input.py", line 90, in export_SPLINE
a1 = (vals[groups[
ZeroDivisionError: float division
Related branches
tags: | added: importing |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
milestone: | none → 0.49 |
tags: | added: backport-proposed |
Changed in inkscape: | |
milestone: | 0.49 → 0.48.4 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reproduced with Inkscape 0.48.2 and 0.48+devel r10744 on Mac OS X 10.5.8 (i386)
Interestingly not reproduced with the modified DXF input extension from /bugs.launchpad .net/inkscape/ +bug/797137>
Bug #797137 “Landscape and Layer Color options for DXF inport”
<https:/
@Alvin - I don't know what change in that provided custom version does handle this exception, nor on which version of 'dxf_input.py' it is based. Maybe you could take a closer look?