Add-on installation #304

Closed
opened 2024-05-30 17:31:24 +02:00 by Frank Rousseau · 5 comments

Hello,
I tried to set up the blender_kitsu add-on on a fresh Blender 4.1 install (I imported the folder via the add-ons section in Blender). It doesn't seem to work. When I install the extension, it says nothing about an eventual failure, but the extension doesn't show in the list. Do you have any idea about what I could have done wrong?

Hello, I tried to set up the `blender_kitsu` add-on on a fresh Blender 4.1 install (I imported the folder via the add-ons section in Blender). It doesn't seem to work. When I install the extension, it says nothing about an eventual failure, but the extension doesn't show in the list. Do you have any idea about what I could have done wrong?
Member

Can you provide any more details?

Ideally your System Information and any warnings you see in Blender or in the console?

Can you provide any more details? Ideally your [System Information](https://developer.blender.org/docs/handbook/bug_reports/making_good_bug_reports/#:~:text=that%20as%20well.-,How%20to%20Provide%20System%20Information,-%C2%B6) and any warnings you see in Blender or in the console?
Author

Here is the console error:

Read prefs: "/home/frankrousseau/.config/blender/4.1/config/userpref.blend"
Traceback (most recent call last):
  File "/home/frankrousseau/Téléchargements/blender-4.1.1-linux-x64/4.1/scripts/startup/bl_operators/userpref.py", line 713, in execute
    shutil.copyfile(pyfile, path_dest)
  File "/home/frankrousseau/Téléchargements/blender-4.1.1-linux-x64/4.1/python/lib/python3.11/shutil.py", line 256, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/home/frankrousseau/Téléchargements/blender_studio_add-ons_latest/blender_kitsu/'

I'm using Ubuntu 24.04. When I select the init.py file, it imports only the init file not the whole folder.

Here is the console error: ``` Read prefs: "/home/frankrousseau/.config/blender/4.1/config/userpref.blend" Traceback (most recent call last): File "/home/frankrousseau/Téléchargements/blender-4.1.1-linux-x64/4.1/scripts/startup/bl_operators/userpref.py", line 713, in execute shutil.copyfile(pyfile, path_dest) File "/home/frankrousseau/Téléchargements/blender-4.1.1-linux-x64/4.1/python/lib/python3.11/shutil.py", line 256, in copyfile with open(src, 'rb') as fsrc: ^^^^^^^^^^^^^^^ IsADirectoryError: [Errno 21] Is a directory: '/home/frankrousseau/Téléchargements/blender_studio_add-ons_latest/blender_kitsu/' ``` I'm using Ubuntu 24.04. When I select the __init__.py file, it imports only the init file not the whole folder.
Member

The "Install Add-on From File" button in Blender only works with .zip files.

What you'd want to do instead, is create a folder somewhere on your file system dedicated to your Blender add-ons, then create an "addons" folder within, then place the blender_kitsu folder inside. Then go to Preferences->File Paths->Script Directories, and browse the top level folder you created.

So, Kitsu might be here:
/home/username/Blender Scripts/addons/blender_kitsu
And you'd browse this as a Script Directory:
/home/username/Blender Scripts/

Then you can put any other add-ons you like there in the future as well. This way they aren't hidden away somewhere in some secret .config or appdata folder. Let us know if that doesn't work.

The "Install Add-on From File" button in Blender only works with .zip files. What you'd want to do instead, is create a folder somewhere on your file system dedicated to your Blender add-ons, then create an "addons" folder within, then place the blender_kitsu folder inside. Then go to Preferences->File Paths->Script Directories, and browse the top level folder you created. So, Kitsu might be here: `/home/username/Blender Scripts/addons/blender_kitsu` And you'd browse this as a Script Directory: `/home/username/Blender Scripts/` Then you can put any other add-ons you like there in the future as well. This way they aren't hidden away somewhere in some secret .config or appdata folder. Let us know if that doesn't work.
Author

Thank you that works! Sorry for asking such a simple question.
Best regards,
Frank

Thank you that works! Sorry for asking such a simple question. Best regards, Frank
Member

No problem, our install instructions were outdated, we used to have .zip downloads for each add-on but we don't anymore, as we will be migrating to the Extensions platform for 4.2. I updated stuff to have accurate instructions in the meantime, even though it's a bit complicated for now.

No problem, our install instructions were outdated, we used to have .zip downloads for each add-on but we don't anymore, as we will be migrating to the Extensions platform for 4.2. I updated stuff to have accurate instructions in the meantime, even though it's a bit complicated for now.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#304
No description provided.