I3D-Blender-Addon icon indicating copy to clipboard operation
I3D-Blender-Addon copied to clipboard

Installation error

Open sjmills opened this issue 1 year ago • 5 comments

I downloaded the latest version (4.1.1) and the latest Blender (3.3.0 on Mac) and I get this error when trying to install the plugin zip (the pasted text was acquired by taking a screenshot of the error, which is not selectable in Blender (WTH?!), then opening it in Preview on Mac, which recognizes the text - hopefully it got it all correct). I was previously using build 1.2.0 with Blender 3.2 (not 100% sure on the Blender version):

Traceback (most recent call last): File "/Users/tut/Library/Application Support/Blender/3.3/scripts/addons/i3dio/_init.py", line 48, in register import Ixml ModuleNotFoundError: No module named 'Ixml' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.3/scripts/modules/addon utils.py", line 369, in enable mod.register() File "/Users/tut/Library/Application Support/Blender/3.3/scripts/addons/i3dio/_init_py", line 52, in register if ctypes.windll.shell32.IsUserAnAdmin(: AttributeError: module 'types' has no attribute 'windll'

sjmills avatar Oct 03 '22 19:10 sjmills

Unfortunately the addon assumes that you are running on a Windows platform. I know that Blender is cross-platform, but Giants Engine (which this addon targets) is only running on Windows and therefore I did not try and make it cross platform. I could technically do the check for admin rights (Which is what fails, since it's windows specific currently) in a way where macOS would also be supported. But I have no way of checking if it works on macOS and I can also not guarantee that the other parts of the code is working on anything but Windows 🤷‍♂️

StjerneIdioten avatar Oct 11 '22 19:10 StjerneIdioten

The same issue exists on Linux. Installation fails with a reference to windll. Would be great if this could be made platform-independent.

bash0 avatar Nov 06 '22 14:11 bash0

The same issue exists on Linux. Installation fails with a reference to windll. Would be great if this could be made platform-independent.

It was made under the assumption that people would be modding on Windows, since that's the only place where the Giants Engine runs as far as I know 😉 But of course there might be situations where people want to do the actual modeling on another platform, but so far this is the first complaint I've heard about it.

If anybody wants to change it to be platform independent I will happily accept a pull request, but unfortunately at the moment I am too busy to fix it myself.

StjerneIdioten avatar Nov 13 '22 00:11 StjerneIdioten

Hey, i would also enjoy to use the exporter on macOS, but its not that important for me. I can´t tell anything about linux, but Giants engine is working fine on macOS (even with M1) since FS22. So, FYI, keep dooing more important stuff

CCL1106 avatar Dec 05 '23 06:12 CCL1106

Hey, i would also enjoy to use the exporter on macOS, but its not that important for me. I can´t tell anything about linux, but Giants engine is working fine on macOS (even with M1) since FS22. So, FYI, keep dooing more important stuff

I would assume that you are running GE through some form of compatibility layer then, like Wine?

StjerneIdioten avatar Dec 09 '23 15:12 StjerneIdioten