libsm64 / libsm64-blender

Blender client for libsm64
574 stars 22 forks source link

When clicked on Insert Mario, error of 'No such file or directory' is received. #33

Closed NoJustAnother closed 2 years ago

NoJustAnother commented 2 years ago
Python: Traceback (most recent call last):
  File "C:\Users\Dell\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\libsm64-blender\__init__.py", line 72, in execute
    err = insert_mario(scene.libsm64.rom_path, scene.libsm64.mario_scale, scene.libsm64.camera_follow)
  File "C:\Users\Dell\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\libsm64-blender\mario.py", line 123, in insert_mario
    with open(os.path.expanduser(rom_path), 'rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: ''

location: <unknown location>:-1
jaburns commented 2 years ago

Make sure you have a ROM and the path to it is correct. I’ll open an issue to make this error more clear.