Blender 4.0.2 fails to import the add-on version 4.0.4.2 correctly #59
Labels
No labels
Added
Avatar Toolkit Idea (Won't be added to Cats)
Cleanup
Fixed
Further Info Needed
In Progress
Might Add
Release Candidate
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kneelawk/Cats-Blender-Plugin#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upon enabling the add-on in blender, the error in the code block occurs. The previous version (4.0.4.1) works fine.
This seems to stem from the script not properly finding out the windows documents folder if it's not in the default C drive location. My current documents folder is located at D:\Documents
Are you using the windows store version of cats?
I'm using a portable zip version of blender stored in my C drive, specifically at C:\Users\BLANKE\Apps\Blender\blender-4.0.2-windows-x64.
Let me test a portable version as I can't reproduce this using an installed version.
Yea I can't seem to re-produce this issue, can you try the following. Also what version of windows are you using?
1: Check your documents to see if there is a folder called cats, if there is remove it.
2: Remove cats from blender.
3: Close Blender.
4: Open blender and install cats again.
5: Restart Blender.
If the issue still persists I will need to look into further.
This is on Windows 11 version 23H2 build 22631.3155
Error still occurs after doing all these steps, it's looking for a documents folder in my C: drive which in Windows it's been moved to my D: drive natively through doing it in the properties.
Ahhhh, ok this is why you are having issues then, was going to ask this.
Cats is trying to make this folder, this is for a new feature which I introduced in this version of cats, however it presumes you don't have any weird variables like this.
for now use the previous version of cats 4.0.4.1 won't do this, I going to try and release a new version which hopefully takes this variable into account later today.
https://github.com/Yusarina/Cats-Blender-Plugin-Unofficial-/releases/tag/4.0.4.1 should work just fine.
Also was asking windows version as some user was having similar issues on Windows 10, but your issue is unrelated to that.
This issue should now be fixed on the dev branch for blender versions 3.6, 4.0 and 4.1.
The addon should just throw an error at the bottom asking you to set your own folder and shouldn't crash.
You can now set your own path in settings and updates of the cats UI.
Please test the dev version of your blender and let me know if there is any further issues.
Thanks!
The addon no longer breaks on load when using the development branch.
Perfect, I will push it to release most likely tomorrow then.
This has been released to version 3.6.6.4 for blender 3.6 and 4.0.4.3 for blender 4.0.
Issue has now been closed, if you have further issues relating to this issue feel free to re-open.
Thanks!