Takanu / Capsule

(Blender 4.1) Universal batch export manager
https://takanu.itch.io/capsule-blender-addon
GNU General Public License v3.0
200 stars 13 forks source link

Error when enabling Capsule #59

Open hjaki opened 8 months ago

hjaki commented 8 months ago

A problem that has been occurring for a long time. I installed the zip from the release page as is and got an error.

Traceback (most recent call last): File "D:******\Blender\stable\blender-3.6.8+stable.f6ae60f3eeda\3.6\scripts\modules\addon_utils.py", line 333, in enable mod = import(module_name) ModuleNotFoundError: No module named 'Capsule-1'

I remove "." from the folder name in the zip, the error will not occur.

Also, this time, nothing appears in the "Export Location" and "Export Presets" lists. "None" also does not displayed. In that case, delete the "." and installed with "Capsule-141". The folder name used to be "Capsule" so the "-" might be the cause.

I don't see any other reports, so maybe it's just my computer, but I'm reporting it.

Confirmed with Blender 3.6.8 and 4.0.2

Takanu commented 8 months ago

Hey, this one's easily solved - just make sure to rename the downloaded zip to "Capsule.zip".

hjaki commented 8 months ago

There seems to be a misunderstanding. The problem is with the folder inside the zip. I am attaching the screenshots.

To resolve this error, you must unzip, rename, and then zip again. This is very confusing. And not even mentioned in the documentation, it took me a long time to solve this error.

I’m assuming that the error is not occurring on your PC. However, I have had this error on different PC's and different versions of Blender. So I don't think I'm the only one having errors.

I feel Capsule is a great add-on. It would be a loss if many people had the same error as me and gave up before using it. It would be nice to at least have a solution in the documentation.

rename

Takanu commented 8 months ago

Oh right, I understand now! I think I got confused which is, admittedly, a bad problem to have when you're trying to describe to someone how to install it.

There's likely something I'm doing wrong that other addons don't have an issue with when it comes to installation but I'll need to chase my notes and do some research to identify a solution. I'll mark it for now and correct the README, but this issue won't be closed until I can make installation simpler 👌