niftools / blender_niftools_addon

The Blender Niftools Addon is a Blender add-on to enable import and export of NetImmese File Formats including .nif, .kf, .egm.
http://www.niftools.org
Other
379 stars 103 forks source link

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

Open fronczek7f opened 8 months ago

fronczek7f commented 8 months ago

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

Candoran2 commented 8 months ago

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

tjFreerey commented 8 months ago

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.

Candoran2 commented 8 months ago

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

tjFreerey commented 8 months ago

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

Candoran2 commented 8 months ago

Did the new release fix your issue?

2kdragons commented 8 months ago

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?

Candoran2 commented 8 months ago

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.