vini-guerrero / godot_game_tools

This is a blender add-on that contains tools to ease the creation/import process of assets into Godot Game Engine
GNU General Public License v2.0
365 stars 35 forks source link

Blender cannot found script #17

Closed TalissonBento closed 4 years ago

TalissonBento commented 4 years ago

Envrironment

What happen on addons setup, specifically when going to enable the plugin.

The Error after click checkbox (to enable), blender suddenly show the follwing error:

Traceback (most recent call last): File "/home/talisson/blender-2.82-linux64/2.82/scripts/modules/addon_utils.py", line 352, in enable mod.__time__ = os.path.getmtime(mod.__file__) File "/home/talisson/blender-2.82-linux64/2.82/python/lib/python3.7/genericpath.py", line 55, in getmtime return os.stat(filename).st_mtime FileNotFoundError: [Errno 2] No such file or directory: '/home/talisson/.config/blender/2.82/scripts/addons/godot_game_tools/__init__.py'

The Temporary Solution open the terminal and access the Blender's addons folder, then create new folder named godot_game_tools, then rename from godot_game_tools.py to __ini__.py and move it to godot_game_tools folder.

vini-guerrero commented 4 years ago

Thanks for the report @TalissonBento , this should be fixed on latest Dev branch. (We'll be merging it to master soon as well)