Python traceback when importing .obj file #90846
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#90846
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 5700 XT ATI Technologies Inc. 4.5.14830 Core Profile Context 21.4.1 27.20.21002.112
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-21 21:31, hash:
blender/blender@721fad37a1
Worked: Unknown, behaves the same in 2.93.1
Short description of error
If a valid file has been auto-filled or entered in the file name input, this file will be used. If nothing has been entered or the name is invalid you can get various errors, e.g. for
.obj
import you get a stack trace:Exact steps for others to reproduce the error
Added subscriber: @brunnerh
#94638 was marked as duplicate of this issue
Added subscriber: @PratikPB2123
Can reproduce on master:
File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.0\scripts\addons\io_scene_obj_init_.py", line 146, in execute
return import_obj.load(context, **keywords)
File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.0\scripts\addons\io_scene_obj\import_obj.py", line 976, in load
float_func = get_float_func(filepath)
File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.0\scripts\addons\io_scene_obj\import_obj.py", line 883, in get_float_func
file = open(filepath, 'rb')
I am not able to reproduce this. did you try with factory settings?:
File -> Defaults -> Load factory settings
Oh, you are right, maybe the defaults changed and my key bindings retained the faulty setting (i don't think i ever changed anything about the file browser keys).
Had double click bound to
file.execute
whereas now the default isfile.mouse_execute
.If the OBJ importer showing an error like that is considered fix worthy, this bug could be adjusted accordingly.
Yes, will edit the report accordingly. I don't see any other similar report, so confirming.
Double click on empty space in file browser invokes confirmationto Python traceback when importing .obj fileChanged status from 'Needs Triage' to: 'Confirmed'
Can reproduce with a few other importers (eg. Motion capture, Scalable vector graphics, Stanford, stl)
Adding #add-ons_bf-blender tag since this does not happen with every option.
Added subscribers: @arieffmashaf96, @iss, @StephenSwaney