OBJ file doesn't import and ends with error message #99660
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#99660
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 21H2
Graphics card: NVIDIA GeForce GTX 1650
Blender Version
Broken: 2.79 (sub 0), branch: master, commit date: 2017-09-11 10:43, hash: 5bd8ac9
Worked: none, only tried 2.79
Short description of error
I was trying to import this one specific obj file I exported from Marvelous Designer but it doesn't import and instead results in an error message in blender. Other obj files have been working but not this one for some reason.
The error message in question (couldn't figure out how to copy the error message directly into here):
mima4.obj
Exact steps for others to reproduce the error
Exactly as how you would import any obj file: Files, Import, click Waveform (.obj), and then go the location of the downloaded obj file, and try to import it.
Added subscriber: @udahn
Added subscriber: @scurest
2.79 won't get bugfixes anymore, but this works with the new OBJ importer in current 3.3 alpha. (Make sure you don't use the importer that says "(legacy)" because it's the same as in 2.79.)
The relevant part of the OBJ appears to be
This is not valid according the OBJ spec btw. Of
curv u0 u1 v1 v2 ...
it says "v is the vertex reference number for a control point. [...] A minimum of two control points are required for a curve."Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Thanks for the report.
As @scurest said, new importer imports your obj scene without any error. So please try that (get the latest builds from https://builder.blender.org/download/daily)
However problem remains in the old python importer.
@scurest , btw this is what I see in obj file (when I open it in notepad)
@PratikPB2123 There are several curves in the file. That one (line 97353) is okay. The one I'm talking about is at line 97160. If you comment out lines 97158-97162 the import succeeds.
Is the Python addon still going to get bugfixes? How does that work?
yes, that worked.
Thanks for clarifying :)
I've asked about this in #blender-triaging channel
Added subscriber: @aras_p
Changed status from 'Confirmed' to: 'Archived'
The file imports correctly with the new 3.2+ OBJ importer. The Python based one will be removed soon, and meanwhile is very unlikely to get fixes. The file in question is technically invalid, i.e. the curve definition statement is not following the spec.