OBJ importer problem #43863

Closed
opened 2015-03-02 15:23:50 +01:00 by Everton Schneider · 10 comments

System Information
Ubuntu 14.10 - GeForce GT 740/PCIe/SSE2

Blender Version
Broken: 2.73 Hash: d2b6c6f

Short description of error
Apparently the ngons option in import settings are missing, but could be something bigger behind... I don't know.
A simple OBJ file is imported well but a more complex obj file can't be imported.
This is the terminal output:

importing obj '/home/ever/Desktop/Pascoa_HAVAN/Originais/Prensa_008.obj'
parsing obj file...
14.5748 sec
loading materials and images...
0.0002 sec
building geometry...
verts:706606 faces:1057588 materials: 24 smoothgroups:0 ...
Traceback (most recent call last):

File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/__init__.py", line 144, in execute
  return import_obj.load(self, context, **keywords)
File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/import_obj.py", line 1098, in load
  dataname,
File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/import_obj.py", line 611, in create_mesh
  blen_uvs.data[lidx].uv = verts_tex[face_uvidx]

ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 2 items, not 3

location: :-1

location: :-1

**System Information** Ubuntu 14.10 - GeForce GT 740/PCIe/SSE2 **Blender Version** Broken: 2.73 Hash: d2b6c6f **Short description of error** Apparently the ngons option in import settings are missing, but could be something bigger behind... I don't know. A simple OBJ file is imported well but a more complex obj file can't be imported. This is the terminal output: importing obj '/home/ever/Desktop/Pascoa_HAVAN/Originais/Prensa_008.obj' parsing obj file... 14.5748 sec loading materials and images... 0.0002 sec building geometry... verts:706606 faces:1057588 materials: 24 smoothgroups:0 ... Traceback (most recent call last): ``` File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/__init__.py", line 144, in execute return import_obj.load(self, context, **keywords) File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/import_obj.py", line 1098, in load dataname, File "/home/ever/blender-build/install/linux/2.73/scripts/addons/io_scene_obj/import_obj.py", line 611, in create_mesh blen_uvs.data[lidx].uv = verts_tex[face_uvidx] ``` ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 2 items, not 3 location: <unknown location>:-1 location: <unknown location>:-1

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @EvertonSchneider

Added subscriber: @EvertonSchneider
Member

Added subscriber: @MartijnBerger

Added subscriber: @MartijnBerger
Member

We will need that OBJ file or one that triggers the same condition.

We will need that OBJ file or one that triggers the same condition.

Ok, Here is the file that I'm working with.
https://www.dropbox.com/s/f49451n1dkerjpa/Prensa_008.zip?dl=0

Ok, Here is the file that I'm working with. https://www.dropbox.com/s/f49451n1dkerjpa/Prensa_008.zip?dl=0
Bastien Montagne self-assigned this 2015-03-02 19:28:24 +01:00

Wow, that is a huge scene !

Issue confirmed, fix incoming (and it imports in 20 seconds here, who said our importer was slow? :P ).

Wow, that is a huge scene ! Issue confirmed, fix incoming (and it imports in 20 seconds here, who said our importer was slow? :P ).

This issue was referenced by 514c08f839

This issue was referenced by 514c08f839d57c73a0f616198a8ea8327b143e09

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 514c08f839.

Closed by commit 514c08f839.

Wow!
How fast! Thank you, team!

Wow! How fast! Thank you, team!
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#43863
No description provided.