"Install Addon from File" Fail on Windows if zip file has "." in name #50042
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#50042
Loading…
Reference in New Issue
Block a user
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?
Pretty straightforward. If a zip file has a "." in it, we get an error when using "Install addon from file" in the Addon Preferences. Only on windows, works fine on OSX or linux.
PRMan-for-Blender-21.2.zip
Changed status to: 'Open'
Added subscriber: @BrianSavery
Error is <!> event has invalid window.
Is it possible it's doing a path split at "."?
Added subscriber: @LazyDodo
Added subscribers: @mont29, @BrendonMurphy
hi, whilst I can confirm that the '.' or period symbol, full stop, is not supported in file names when installed in Blender on win, ( it fails ) thus returning an error, it's also bad practice for coders & computer users.
Checking your file origin, https://github.com/bsavery/PRMan-for-Blender there's no period in the name, the d/l zip is called: PRMan-for-Blender-master the included folder is called: PRMan-for-Blender-master this works & installs
As it's a real issue. I'll leave this open, noting your the author of the addon, you can just not use the period in your files, most of us by habit use underscore for versioning when we need to.
@mont29 is this valid bug or expected behavior?
Added subscriber: @VukGardasevic
<!> event has invalid window is usually related to specifics involving a floating window in Blender with whatever editor (doesn't have to be User Preferences), and has nothing to do with the add-on not registering. The code is in wm_window.c
Changed status from 'Open' to: 'Archived'
This has already been reported, and answer is quite simple: no bug here, dots are forbidden in addons' names.
Python uses
.
in the syntax of its module names, so that char is not allowed in module names. Since addons are mere python modules, dots are not allowed in their names. Afaict, here on linux extraction of the archive works OK, but addon is not visible in userpref either.Ok sorry for the duplicate, I couldn't find another report of this. The one thing I will say is that releases from github that have a version tag on them will automatically get a "." in them, which is why this came up. I changed the release to delimit with _ in the tag.