Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Module Not Found Error #13

Open
Robo-Fortune opened this issue Oct 17, 2023 · 6 comments
Open

Strange Module Not Found Error #13

Robo-Fortune opened this issue Oct 17, 2023 · 6 comments

Comments

@Robo-Fortune
Copy link

Robo-Fortune commented Oct 17, 2023

This may be due to some peculiarities of NixOS that I'm not as yet aware of, but upon installing the add-on as a .zip file, blender correctly adds the addon's files to its addon filepath, and displays a message reading that the modules have been installed. On trying to enable the addon, however, an error occurs with the following traceback-

File "/nix/store/(random string)-blender-3.5.1/share/blender/3.5/scripts/modules/addon_utils.py", line 333, in enable
mod = __import__(module_name)
ModuleNotFoundError: No module named 'ReSprytile-0.8'

The issue, seemingly, is that the file has incorrectly truncated the path for the module it's trying to enable, removing the final ".1"; this occurred earlier, but also truncated the filename to "ReSprytile-0". The current state was achieved by simply changing the name of the folder to "ReSprytile-0", but has persisted after reinstalling the addon altogether.

Oddly, this issue does not happen with the original Sprytile, which instead breaks after having been enabled due to an error while loading image previews.

Expected Behavior

The addon, after installation, should be possible to enable through the blender preferences addon menu.

###Steps to Reproduce

  • Install blender 3.5.1 declaratively through Nix package manager
  • Download ReSprytile 0.8.1 as .zip from releases page
  • Install ReSprytile 0.8.1 through Blender's Preferences/Add-ons menu
  • Attempt to enable the addon in the Preferences/Add-ons Menu
@Robo-Fortune
Copy link
Author

Update: Issue solved by using release 0.6.1 instead of 0.8.1; 0.8.1 still not installing properly for some reason

@jdsilv17
Copy link

jdsilv17 commented Oct 20, 2023

@Robo-Fortune Try renaming the .zip file from ReSprytile-0.8.1.zip to ReSprytile.zip or SpryTile.zip and install it again. Worked for me.

@brilokuloj
Copy link

Here's what worked for me, if this helps anyone googling this. Ubuntu user, Blender 3.6.5

  • 0.8.1 wasn't working (same error as OP)
  • 0.6.1 would install, but then doing anything would throw errors
  • 0.8.0 seems to work just fine

@Kaffeebohnson
Copy link

I am experiencing the same problem. Renaming the zip did not work.

@guanyintu
Copy link

rename the folders contained within the zip file, not the zip file itself.

@cessar1
Copy link

cessar1 commented Dec 20, 2023

Unzipping, renaming the folder to ReSprytile, and finally zipping it again works. (For version 3.6 LTS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants