Error Blender import Autocad, error python #96428

Closed
opened 2022-03-14 11:19:51 +01:00 by david · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 620 Intel 4.5.0 - Build 25.20.100.6518

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: blender/blender@c77597cd0e
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Import AutoCAD DXF Format (.dxf) (0, 9, 6)
Author: Lukas Treyer, Manfred Moitzi (support + dxfgrabber library), Vladimir Elistratov, Bastien Montagne, Remigiusz Fiedler (AKA migius)

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Intel(R) HD Graphics 620 Intel 4.5.0 - Build 25.20.100.6518 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `blender/blender@c77597cd0e` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Import AutoCAD DXF Format (.dxf) (0, 9, 6) Author: Lukas Treyer, Manfred Moitzi (support + dxfgrabber library), Vladimir Elistratov, Bastien Montagne, Remigiusz Fiedler (AKA migius) **Short description of error** [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
Author

Added subscriber: @david040302

Added subscriber: @david040302

#96426 was marked as duplicate of this issue

#96426 was marked as duplicate of this issue
Author

Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\__init__.py", line 539, 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.1\3.1\scripts\addons\io_import_dxf\__init__.py", line 119, in read
  errors = do.entities(os.path.basename(filename).replace(".dxf", ""), new_scene)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1627, 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.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1531, in combined_objects
  o = self._call_object_types(TYPE, by_att, group, name, scene, False)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1380, in _call_object_types
  o = type_func(entity, scene, name)

TypeError: 'NoneType' object is not callable

location: :-1

Python: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\__init__.py", line 539, 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.1\3.1\scripts\addons\io_import_dxf\__init__.py", line 119, in read errors = do.entities(os.path.basename(filename).replace(".dxf", ""), new_scene) File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1627, 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.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1531, in combined_objects o = self._call_object_types(TYPE, by_att, group, name, scene, False) File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_import_dxf\dxfimport\do.py", line 1380, in _call_object_types o = type_func(entity, scene, name) ``` TypeError: 'NoneType' object is not callable location: <unknown location>:-1
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Thanks for the report. Please upload your DXF file

Thanks for the report. Please upload your DXF file
Member

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

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

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.

Hello @PratikPB2123 I'm using Blender 4.1 on MacBook pro. Whenever I'm Importing a DXF file from autocad 2024 i'm facing the same issue

""Python: Traceback (most recent call last):
File "/Applications/Blender.app/Contents/Resources/4.1/scripts/addons/io_import_dxf/dxfimport/do.py", line 1364, in _call_object_types
o = type_func(entity, scene, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
""

Please find the attcahed dxf files for reference.

Hello @PratikPB2123 I'm using Blender 4.1 on MacBook pro. Whenever I'm Importing a DXF file from autocad 2024 i'm facing the same issue ""Python: Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/4.1/scripts/addons/io_import_dxf/dxfimport/do.py", line 1364, in _call_object_types o = type_func(entity, scene, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable "" Please find the attcahed dxf files for reference.
Member

Hi, this add-on does no longer belongs to blender repository after the recent extensions project. Best to report the issue at: https://projects.blender.org/extensions/io_import_dxf/issues

Hi, this add-on does no longer belongs to blender repository after the recent extensions project. Best to report the issue at: https://projects.blender.org/extensions/io_import_dxf/issues
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#96428
No description provided.