AlwarrenSidh / ArmAToolbox

Arma Toolbox for Blender
GNU General Public License v3.0
86 stars 38 forks source link

Cant install on blender 4.1, 4.2.0, 4.23 #62

Closed tecj closed 3 weeks ago

tecj commented 1 month ago

Version of addon latest, armatoolbox-4.2.0.zip, downloaded from here. All versoions of blender clean and downloaded from https://download.blender.org/release/ Console log:

Traceback (most recent call last): File "Y:\_progarms\blender-4.2.0-windows-x64\4.2\scripts\modules\addon_utils.py", line 401, in enable mod = importlib.import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\_progarms\blender-4.2.0-windows-x64\4.2\python\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\ArmaToolbox\__init__.py", line 24, in <module> from MDLImporter import importMDL File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\ArmaToolbox\..\ArmaToolbox\MDLImporter.py", line 13, in <module> import ArmaToolbox ModuleNotFoundError: No module named 'ArmaToolbox' Error: No module named 'ArmaToolbox' reloading addon meta-data: bl_ext.user_default.ArmaToolbox 'C:\\Users\\Administrator\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\user_default\\ArmaToolbox\\blender_manifest.toml' (time-stamp change detected) Traceback (most recent call last): File "Y:\_progarms\blender-4.2.0-windows-x64\4.2\scripts\modules\addon_utils.py", line 401, in enable mod = importlib.import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Y:\_progarms\blender-4.2.0-windows-x64\4.2\python\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\ArmaToolbox\__init__.py", line 24, in <module> from MDLImporter import importMDL File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\ArmaToolbox\..\ArmaToolbox\MDLImporter.py", line 13, in <module> import ArmaToolbox ModuleNotFoundError: No module named 'ArmaToolbox'

tecj commented 1 month ago

Just was able to install addon on blender ver 4.1.1 by manualy coppy whole unzipped folder ArmaToolbox in blender-4.1.1-windows-x64\4.1\scripts\addons\, after restart blender addon showing in list of addons and I can enable it. On blender versions 4.2-3, cant repeat this, still doesnt work and show error no module name

tecj commented 1 month ago

By adding addon by blender module installer in zip file not working on all versions.

Shan3Walsh commented 1 month ago

Just was able to install addon on blender ver 4.1.1 by manualy coppy whole unzipped folder ArmaToolbox in blender-4.1.1-windows-x64\4.1\scripts\addons, after restart blender addon showing in list of addons and I can enable it. On blender versions 4.2-3, cant repeat this, still doesnt work and show error no module name

Happening with me as well

AlwarrenSidh commented 1 month ago

Make sure you do not just download a ZIP from the repository, you must use the one provided in the release.

tecj commented 1 month ago

Make sure you do not just download a ZIP from the repository, you must use the one provided in the release.

Yes, you are right. Just downloaded release archive and it worked like a charm in 4.2.3lts Thank you mate, ticket must be closed) And thanks for your work, you are amazing!

Shan3Walsh commented 1 month ago

Right thats what I did. I used the zip file provided in the repository on the newest version of blender. I will try it again just to be sure and will reply back with my results.

Shan3Walsh commented 3 weeks ago

Attached are screen shots of my results doing the exact thing above still getting the "No Module named ArmaToolBox" error. I tried clearing out the install manually also and reinstalled it using 4.2.3 LTS. Any ideas of what I can do next to get this working?

Screenshot 2024-11-04 034734 Screenshot 2024-11-04 034803

AlwarrenSidh commented 3 weeks ago

You downloaded the wrong (source) archive. There is no README.md in the distribution archive.

Shan3Walsh commented 1 week ago

I took this from the master branch github. My apologies but idk what you mean by which "Distribution archive" that I downloaded. Which one are we supposed to download? If you don't mind just dropping a link of which one im supposed to download I guess would be the easiest?