Python: Traceback (most recent call last) problem #94638

Closed
opened 2022-01-04 16:40:02 +01:00 by Muhammad Arieff Mashaf · 13 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.63

Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: blender/blender@a791bdabd0
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender cannot save on Wavefront (obj) file and kept responding

Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\__init__.py", line 146, in execute
  return import_obj.load(context, **keywords)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 976, in load
  float_func = get_float_func(filepath)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 883, in get_float_func
  file = open(filepath, 'rb')

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ASUS\Documents\Blank cube'

location: :-1

Interestingly enough, this all happens in all my files as well. I tried every possible way from youtube to "load Factory settings" and it does not work. reinstalling my software does not help it either and this drives me crazy

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]

*Open .blend file
*File-Import-Wavefront(.Obj)

{F12788759 size=full}

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.63 **Blender Version** Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: `blender/blender@a791bdabd0` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender cannot save on Wavefront (obj) file and kept responding Python: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\__init__.py", line 146, in execute return import_obj.load(context, **keywords) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 976, in load float_func = get_float_func(filepath) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 883, in get_float_func file = open(filepath, 'rb') ``` FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ASUS\\Documents\\Blank cube' location: <unknown location>:-1 Interestingly enough, this all happens in all my files as well. I tried every possible way from youtube to "load Factory settings" and it does not work. reinstalling my software does not help it either and this drives me crazy **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] *Open .blend file *File-Import-Wavefront(.Obj) {[F12788759](https://archive.blender.org/developer/F12788759/Keychain_chain_crash.blend) size=full}

Added subscriber: @arieffmashaf96

Added subscriber: @arieffmashaf96

This comment was removed by @arieffmashaf96

*This comment was removed by @arieffmashaf96*

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

No such file or directory: 'C:\Users\ASUS\Documents\Blank cube'

Try it on a file name without spaces.

> No such file or directory: 'C:\\Users\\ASUS\\Documents\\Blank cube' Try it on a file name without spaces.

This comment was removed by @arieffmashaf96

*This comment was removed by @arieffmashaf96*

In #94638#1282842, @StephenSwaney wrote:

No such file or directory: 'C:\Users\ASUS\Documents\Blank cube'

Try it on a file name without spaces.

I've tried that and I still got the same respond

File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj_init_.py", line 146, in execute

return import_obj.load(context, **keywords)

File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 976, in load

float_func = get_float_func(filepath)

File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 883, in get_float_func

file = open(filepath, 'rb')

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ASUS\Documents\keychainchaincrash1'

location: :-1

> In #94638#1282842, @StephenSwaney wrote: >> No such file or directory: 'C:\\Users\\ASUS\\Documents\\Blank cube' > > Try it on a file name without spaces. I've tried that and I still got the same respond File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\__init__.py", line 146, in execute ``` return import_obj.load(context, **keywords) ``` File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 976, in load ``` float_func = get_float_func(filepath) ``` File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_obj\import_obj.py", line 883, in get_float_func ``` file = open(filepath, 'rb') ``` FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ASUS\\Documents\\keychainchaincrash1' location: <unknown location>:-1

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Can you check if this happens with latest alpha build from https://builder.blender.org/download/daily/?

Can you check if this happens with latest alpha build from https://builder.blender.org/download/daily/?
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Can only reproduce when I Press Import Obj button without selecting any file (i.e. with empty name field)
Is that the case for you? Also, same problem has been reported here: #90846 (Python traceback when importing .obj file)

Can only reproduce when I Press `Import Obj` button without selecting any file (i.e. with empty name field) Is that the case for you? Also, same problem has been reported here: #90846 (Python traceback when importing .obj file)
Member

I will mark this report as duplicate. Thanks for the report!

I will mark this report as duplicate. Thanks for the report!
Member

Closed as duplicate of #90846

Closed as duplicate of #90846
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#94638
No description provided.