modules dir missing from sys.path #30402
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#30402
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
%%%~/.blender/2.62/scripts/addons/modules isn't being imported when it exists.
['/usr/share/blender/2.62/scripts/addons_contrib', '/home/dan/.blender/2.62/scripts/addons', '/usr/share/blender/2.62/scripts/addons', '/usr/share/blender/2.62/scripts/startup', '/usr/share/blender/2.62/scripts/modules', '/usr/lib64/python2.7/site-packages/mpich2', '/usr/lib64/python32.zip', '/usr/lib64/python3.2/', '/usr/lib64/python3.2/plat-linux2', '/usr/lib64/python3.2/lib-dynload', '/usr/share/blender/2.62/scripts/addons/modules']
%%%
Changed status to: 'Open'
%%%Was that even intended to work? My understanding is that addons should either be a single .py or a folder installed at the top level. Presets also need to be placed in a folder inside the folder for the addon, shouldn't the same be done for modules?%%%
%%%it wasnt intended to work, but fixed in svn. r45251.%%%
Changed status from 'Open' to: 'Resolved'
%%%For the historical record...
The reasoning behind this is to support python (compiled) modules somewhere that is user writable so you don't have to muck around with sudo and/or mess up your package installed addons in /usr/share like is done with CPack or the official distro packages.
Also, if one (/usr/share/blender/.../addons/modules) works then the other really should have the same behavior.
Thanks Campbell.%%%