taniwha / io_object_mu

Python .mu reader/writer and blender import/export addon
GNU General Public License v2.0
122 stars 51 forks source link

Can't activate Addon in Blender 2.79b #16

Closed mrjumpingjack closed 5 years ago

mrjumpingjack commented 5 years ago

Traceback (most recent call last): File "C:\Program Files\Blender\2.79\scripts\modules\addon_utils.py", line 350, in enable mod.register() File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master__init.py", line 73, in register register_submodules(name, submodule_names); File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master__init__.py", line 54, in register_submodules module = import__(name=name, fromlist=submodule_names) File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master\collider__init.py", line 24, in from .collider import create_collider_object, build_collider, update_collider File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master\collider\collider.py", line 28, in from .. import properties File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master\properties\init__.py", line 24, in from .properties import dir_items, dir_map, SetPropMask, GetPropMask File "C:\Program Files\Blender\2.79\scripts\addons\io_object_mu-master\properties\properties.py", line 28 spring: FloatProperty(name = "Spring") ^ SyntaxError: invalid syntax

taniwha commented 5 years ago

You need to check out the blender2.79 branch: git checkout blender2.79 Or you can switch to the blender2.79 branch on the github page and then download the zip.

Page-David commented 5 years ago

Also, if the zip file was downloaded, remember to remove the dot in 2.79 before install otherwise blender will not notice it. It is a blender bug

taniwha commented 5 years ago

Actually, dots in directory names causing problems is a python issue, there's not a lot blender can do about it.