Importing an obj file gives an error #51970

Closed
opened 2017-07-04 13:54:08 +02:00 by Yegor · 5 comments

System Information
CentOS, Nvidia gtx Titan

Blender Version
Broken: 2.79 tesbuild1
Worked: 2.78c

Short description of error
Importing the exact obj file gives an error

Exact steps for others to reproduce the error
Try to import this file. Something has changed in obj import handling.lamp.obj

Traceback (most recent call last):
  File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/__init__.py", line 148, in execute
    return import_obj.load(context, **keywords)
  File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/import_obj.py", line 1258, in load
    unique_material_images, use_image_search, use_cycles, float_func)
  File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/import_obj.py", line 363, in create_materials
    context_mat_wrap = cycles_material_wrap_map[context_material]
KeyError: None

location: <unknown location>:-1
**System Information** CentOS, Nvidia gtx Titan **Blender Version** Broken: 2.79 tesbuild1 Worked: 2.78c **Short description of error** Importing the exact obj file gives an error **Exact steps for others to reproduce the error** Try to import this file. Something has changed in obj import handling.[lamp.obj](https://archive.blender.org/developer/F651733/lamp.obj) ``` Traceback (most recent call last): File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/__init__.py", line 148, in execute return import_obj.load(context, **keywords) File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/import_obj.py", line 1258, in load unique_material_images, use_image_search, use_cycles, float_func) File "/home/SMESHARIKI/esmirnov/Downloads/blender-2.79-testbuild1-linux-glibc219-x86_64/2.78/scripts/addons/io_scene_obj/import_obj.py", line 363, in create_materials context_mat_wrap = cycles_material_wrap_map[context_material] KeyError: None location: <unknown location>:-1 ```
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @YegorSmirnov

Added subscriber: @YegorSmirnov

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Bastien Montagne self-assigned this 2017-07-04 16:57:50 +02:00

Thanks for the report, but this has already been fixed since at least a week.

Please always check current master builds before reporting.

Thanks for the report, but this has already been fixed since at least a week. Please always check [current master](https://builder.blender.org/download) builds before reporting.
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#51970
No description provided.