Comment 2 for bug 1724720

Revision history for this message
Alvin Penner (apenner) wrote :

running Windows 10, Inkscape 0.92.2 (5c3e80d, 2017-08-06), I get the following Python error message:

Traceback (most recent call last):
  File "dxf_input.py", line 530, in <module>
    inkex.errormsg(_('%d ENTITIES of type POLYLINE encountered and ignored. Please try to convert to Release 13 format using QCad.') % polylines)
NameError: name '_' is not defined

This is a two-part problem. The first part, name '_' is not defined, can be fixed by inserting the statement:
inkex.localize()
into line 530 in file dxf_input.py.

with this change, the following Python output is obtained:
7 ENTITIES of type POLYLINE encountered and ignored. Please try to convert to Release 13 format using QCad.

The second part of the problem is that this module does not support pre-Release 13 features like POLYLINE.
To convert this to Release 13, load this into QCad 3.15 and save it to get the attached dxf file. This file appears to load normally into Inkscape, as far as I can tell.