Failed to import a .dxf file (text error, 1.0.x)

Hey, thank you for developing Inkscape !

Summary:

I often use dxf import feature with Solidworks generated files. This time the file did not open.

Steps to reproduce:

  • open Inkscape
  • import dxf file
  • An error occured

What happened?

Traceback (most recent call last):
  File "dxf_input.py", line 629, in <module>
    DxfInput().run()
  File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 140, in run
    self.save_raw(self.effect())
  File "dxf_input.py", line 618, in effect
    entities[entity]()
  File "dxf_input.py", line 72, in export_MTEXT
    node = layer.add(inkex.Text(**attribs))
AttributeError: module 'inkex' has no attribute 'Text'

What should have happened?

I expected it to import my file.

Sample attachments:

Sample dxf

Version Info:

- Inkscape Version: ... 1.0.1 (3bc2e813f5, 2020-09-07)
- Operating System: ... Windows
- Operating System version: ... 10 x64
Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information