[BUG] obj importer seems to be broken when trying to import files with texture patch that don;t exist. #47986
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#47986
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
OSX 10.11.3 (El Capitan) Nvidia GTX 680m iMac Late 2012 Core i7 3.4Ghz, 32GB RRAM 1TB Fusion Drive
Blender Version
Broken: 2.77 22a2853
Worked: all versions prior to 2.77
Short description of error
Importing Obj files from another system that has absolute texture filename paths in it (e.g. C:\users\username\something.jpg) won't open in Blender. Get the following error since the path doesn't exist on OS X. In previous versions Blender would put in a default black texture and let me update th file paths via the editor. Now it refuses to import the files at all.
Traceback (most recent call last):
TypeError: BlendDataImages.new(): error with argument 1, "name" - Function.name error assigning string, UnicodeEncodeError('utf-8' codec can't encode character '\udcc7' in position 0: surrogates not allowed)
location: :-1
Exact steps for others to reproduce the error
This only happens when importing .obj files.
Steps to reproduce.
1.Unzip file with .obj in it.
2.Go to File > Import > Wavefront(.obj)
3.navigate to where the files location
4. try to import object and you will get the error.
SheHulk.zip
Changed status to: 'Open'
Added subscriber: @apoclypse
Added subscriber: @sindra1961
I can not reproduce this here.
Windows 10 pro 64bits
Changed status from 'Open' to: 'Resolved'
This issue was referenced by blender/blender@2fae1719f8