Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

[BUG] Blender zip addon installation/activation fails #123

Closed
ScalyDragon opened this issue Nov 27, 2020 · 4 comments
Closed

[BUG] Blender zip addon installation/activation fails #123

ScalyDragon opened this issue Nov 27, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ScalyDragon
Copy link

Issue description:

The plugin fails to activate after importing the .zip of the plugin.

Environment:

  • Application version: 0.3.3
  • Blender client version: 2.91.0
  • Blender worker version: n.A.
  • OS: MacOS 11.0.1

Steps to reproduce:

Steps to reproduce the behavior:

  1. Run Blender
  2. Open Preferences
  3. Go to Add-ons
  4. Click install
  5. Select .zip of the plugin
  6. Activate the plugin
  7. Error

Expected behavior

Plugin activates

Screenshots

Bildschirmfoto 2020-11-27 um 08 36 08

Additional context

Case-sensitive file system used

@ScalyDragon ScalyDragon added the bug Something isn't working label Nov 27, 2020
@rabits rabits changed the title [BUG] MacOS installation/activation fails [BUG] installation/activation fails Nov 27, 2020
@rabits
Copy link
Member

rabits commented Nov 27, 2020

Yep blender don't like addon fiolders that contains some dots, if you're trying to use release auto-generated zip archives from github - that will not work. Please use release CI-prepared archives:

screenshot

@rabits
Copy link
Member

rabits commented Nov 27, 2020

From blender perspective: I created the ticket for the blender devs, but I think versioning of the addon folders is not a great thing - so they just need to warn it properly, like "dots are not allowed in the addon folder name - please don't use versioned folders for the addons".

From github perspective: looks like github uses git archive command to create Source code (.fmt) which can be slightly adjusted via .gitattributes (#124) - but it don't control the prefix, so not much I can do there... Created the github community request about that.

@rabits rabits self-assigned this Nov 27, 2020
@rabits rabits changed the title [BUG] installation/activation fails [BUG] Blender zip addon installation/activation fails Nov 27, 2020
@rabits
Copy link
Member

rabits commented Nov 27, 2020

BTW please use just released BlendNet v0.3.4 if you're planning to to run on Blender 2.91.0.

@ScalyDragon
Copy link
Author

Thank you for the quick solution! Seemingly this was the problem for me, now it works.
Thanks a lot :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants