blender_niftools_addon icon indicating copy to clipboard operation
blender_niftools_addon copied to clipboard

Can't enable installed latest version of niftools [0.1.0]

Open fronczek7f opened this issue 1 year ago • 7 comments

Hello, i trying enable new installed version of niftools and i got this error error

3.2 blender 0.1.0 niftools latest release Windows 10

fronczek7f avatar Oct 18 '23 17:10 fronczek7f

After you removed the old version, did you close and reopen Blender?

Candoran2 avatar Oct 18 '23 20:10 Candoran2

I have also received errors with trying to install the latest version of niftools on Blender 3.2.2, 2.93, and 3.6.4. I did close and reopen Blender with every different version used, but it returns the same addon_utils.py error that fronczek7f is getting.

Traceback (most recent call last):
  File "/home/scott/Downloads/blender-3.2.2-linux-x64/3.2/scripts/modules/addon_utils.py", line 335, in enable
    mod = __import__(module_name)
  File "/home/scott/.config/blender/3.2/scripts/addons/io_scene_niftools\__init__.py", line 41, in <module>
    from io_scene_niftools import addon_updater_ops
ModuleNotFoundError: No module named 'io_scene_niftools'

Every module is referred to as a "fake module" when running Blender from the terminal. I can confirm this is not a result of older versions of Blender getting in the way of this addon, as I did not have previous versions of Blender installed. This is not acceptable.

tjFreerey avatar Oct 26 '23 03:10 tjFreerey

I have also received errors with trying to install the latest version of niftools on Blender 3.2.2, 2.93, and 3.6.4. I did close and reopen Blender with every different version used, but it returns the same addon_utils.py error that fronczek7f is getting.

Traceback (most recent call last):
  File "/home/scott/Downloads/blender-3.2.2-linux-x64/3.2/scripts/modules/addon_utils.py", line 335, in enable
    mod = __import__(module_name)
  File "/home/scott/.config/blender/3.2/scripts/addons/io_scene_niftools\__init__.py", line 41, in <module>
    from io_scene_niftools import addon_updater_ops
ModuleNotFoundError: No module named 'io_scene_niftools'

That looks like the error for #584 , which is caused when using 0.1.0 on linux (and probably MacOS as well). The issue with that was it used backwards path separators in the zip and they couldn't handle it. It has since been fixed.

If you want to, you can try to fix it yourself on the release, but I've posted a version of the addon with forward path separators in that issue: blender_niftools_addon-v0.1.1-2023-08-04-09536eaa.zip

Candoran2 avatar Oct 26 '23 15:10 Candoran2

Thank you @Candoran2 for pointing that out. I will look into that thread.

tjFreerey avatar Oct 26 '23 21:10 tjFreerey

Did the new release fix your issue?

Candoran2 avatar Nov 03 '23 22:11 Candoran2

I was having the same problem and the updated version did not fix it. I got this error message now.

Screenshot error8

Niftools uses the most recent update of blender, right?

2kdragons avatar Nov 03 '23 23:11 2kdragons

Niftools uses the most recent update of blender, right?

Yes, so not 2.78 like in your picture. The current release should be compatible with 2.8 or above.

Candoran2 avatar Nov 04 '23 07:11 Candoran2