Python script error on import #72413

Closed
opened 2019-12-13 07:39:14 +01:00 by Michael Flynn · 3 comments

System Information
Operating system: WIN 10 PRO 64 Bit
Graphics card: NVIDIA GeForce GTX 560 Ti

Blender Version
2.81 system-info.txt
Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

I tried to Import a FBX file but it wasn't showing any file in window so I accidently clicked Import FBX buton instead of cancel and it threw this error on the screen
in a big red box..

bpy.ops.object.delete(use_global=False, confirm=False)
Deleted 1 object(s)
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
  if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\import_fbx.py", line 2362, in load
  if is_ascii(filepath, 24):
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\import_fbx.py", line 2311, in is_ascii
  with open(filepath, 'r', encoding="utf-8") as f:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Games\3D Objects\'

location: :-1

**System Information** Operating system: WIN 10 PRO 64 Bit Graphics card: NVIDIA GeForce GTX 560 Ti **Blender Version** 2.81 [system-info.txt](https://archive.blender.org/developer/F8215429/system-info.txt) Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). I tried to Import a FBX file but it wasn't showing any file in window so I accidently clicked Import FBX buton instead of cancel and it threw this error on the screen in a big red box.. --------------------------------------------------------------------- bpy.ops.object.delete(use_global=False, confirm=False) Deleted 1 object(s) Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\import_fbx.py", line 2362, in load if is_ascii(filepath, 24): File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_scene_fbx\import_fbx.py", line 2311, in is_ascii with open(filepath, 'r', encoding="utf-8") as f: ``` FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Games\\3D Objects\\' location: <unknown location>:-1
Author

Added subscriber: @Micflynn1

Added subscriber: @Micflynn1

This issue was referenced by f0e3ea24be

This issue was referenced by f0e3ea24be216bd98e8f2b75d722565a68461fb8

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2019-12-20 05:03:26 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#72413
No description provided.