Error - Import AutoCAD DXF files #101327

Open
opened 2022-09-24 14:16:34 +02:00 by Shripad Phase · 12 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 4000 Intel 4.0.0 - Build 10.18.10.5161

Blender Version
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: blender/blender@0759f671ce
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Export Autocad DXF Format (.dxf) (2, 2, 3)
Author: Remigiusz Fiedler (AKA migius), Vaclav Klecanda

Short description of error
Iam unable to import AutoCAD DXF files and
I am also unable to use the shortcut key Tab to switch from object mode to edit mode.
I would appreciate you guiding me and rectifying the query

Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\10_import_dxf\__init__.py", line 521, in execute
    read(self.report, self.filepath, merge_options, self.import_text, self.import_light, self.export_acis,
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\__init__.py", line 101, in read
    errors = do.entities(os.path.basename(filename).replace(".dxf", ''), new_scene)
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1609, in entities
    self.combined_objects((en for en in self.dwg.modelspace() if is_combined_entity(en)), scene)
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1513, in combined_objects
    o = self.call_object_types(TYPE, by_att, group, name, scene, False)
  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1362, in call_object_types
    o = type_func(entity, scene, name)
TypeError: 'NoneType' object is not callable

image.png

Exact steps for others to reproduce the error

  • import attached .dxf file

Thank You So much for providing such a wonderful software and Your Support

Layout 4 3 D -22 09 22.dxf
Apartment Duplex 02112023.dxf

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: Intel(R) HD Graphics 4000 Intel 4.0.0 - Build 10.18.10.5161 **Blender Version** Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `blender/blender@0759f671ce` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Export Autocad DXF Format (.dxf) (2, 2, 3) Author: Remigiusz Fiedler (AKA migius), Vaclav Klecanda **Short description of error** Iam unable to import AutoCAD DXF files and I am also unable to use the shortcut key Tab to switch from object mode to edit mode. I would appreciate you guiding me and rectifying the query ``` Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\10_import_dxf\__init__.py", line 521, in execute read(self.report, self.filepath, merge_options, self.import_text, self.import_light, self.export_acis, File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\__init__.py", line 101, in read errors = do.entities(os.path.basename(filename).replace(".dxf", ''), new_scene) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1609, in entities self.combined_objects((en for en in self.dwg.modelspace() if is_combined_entity(en)), scene) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1513, in combined_objects o = self.call_object_types(TYPE, by_att, group, name, scene, False) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_import_dxf\dxfimport\do.py", line 1362, in call_object_types o = type_func(entity, scene, name) TypeError: 'NoneType' object is not callable ``` ![image.png](https://archive.blender.org/developer/F13563067/image.png) **Exact steps for others to reproduce the error** - import attached .dxf file Thank You So much for providing such a wonderful software and Your Support [Layout 4 3 D -22 09 22.dxf](https://archive.blender.org/developer/F13590705/Layout_4_3_D_-22_09_22.dxf) [Apartment Duplex 02112023.dxf](attachments/6a7c80b3-3489-4dfc-99f8-26e7cb8bfdd4)
Author

Added subscriber: @shridesign

Added subscriber: @shridesign
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Can you attach a sample DXF file that reproduces this issue?

Can you attach a sample DXF file that reproduces this issue?
Author

Layout 4 3 D -22 09 22.dxf
In Response to Your request, I am attaching the DXF file for further processing...

[Layout 4 3 D -22 09 22.dxf](https://archive.blender.org/developer/F13590705/Layout_4_3_D_-22_09_22.dxf) In Response to Your request, I am attaching the DXF file for further processing...
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Can confirm. Looks like the try except is perhaps misplaced.

Can confirm. Looks like the try except is perhaps misplaced.
Author

No, it's not Looks like the try except is perhaps misplaced,
I have tried several times, but I am unable to input the DXF file.
And
I am also unable to use the shortcut key Tab to switch from object mode to edit mode.
I would appreciate you guiding me and rectifying the query

No, it's not Looks like the try except is perhaps misplaced, I have tried several times, but I am unable to input the DXF file. And I am also unable to use the shortcut key Tab to switch from object mode to edit mode. I would appreciate you guiding me and rectifying the query
Author

Changed status from 'Confirmed' to: 'Needs Triage'

Changed status from 'Confirmed' to: 'Needs Triage'
Shripad Phase self-assigned this 2022-10-07 19:16:02 +02:00
Author

If you could resolve my issue, I would greatly appreciate it.
1.Not unable to input the DXF file
2.Not unable to use the shortcut key Tab to switch from object mode to edit mode.
Thanks

If you could resolve my issue, I would greatly appreciate it. 1.Not unable to input the DXF file 2.Not unable to use the shortcut key Tab to switch from object mode to edit mode. Thanks
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Shripad Phase was unassigned by Omar Emara 2022-10-10 09:16:49 +02:00
Member

The report is already confirm, please don't change the status. You will just have to wait for the add-on maintainer to look into it.

The report is already confirm, please don't change the status. You will just have to wait for the add-on maintainer to look into it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#101327
No description provided.