Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26751] installing addon to custom script directory doesn't work

Date:
2011-04-03 03:55
Priority:
3
State:
Closed
Submitted by:
Benjamin Waller (benni-chan)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
installing addon to custom script directory doesn't work
Detailed description
I've entered a custom script directory for my blender installation, so I won't loose installed addons, when updating my blender version. If I copy the addons manually to this location, blender recognizes the addon and it works.
The problem is the install addon button in the blender preferences. installing an addon via this button copies the python file to the default script location (on OSX blender.app/Contents/MacOS/2.56/scripts/addons/ ). Of course the addon works fine, too. But it should get installed to the specified script directory, I think.

Also "bpy.utils.preset_paths(".....")" and "bpy.utils.user_resource('SCRIPTS')" returns the default script directory and not the user specified one. (perhaps this is also the reason for the misbehaviour of the install addon button).

my system: Mac OS X 10.6.7
Blender Version 2.56.5 r35956

Followup

Message
  • Date: 2011-04-04 04:31
  • Sender: George Anderson
  • I would second the request that this be changed. Not sure this is a bug per se, and perhaps there's an obvious reason for the behavior. But it's very tedious if you edit your scripts in a separate folder (for safety when changing Blender versions) to have to continually be deleting files in /2.56/scripts/addons and reinstalling the addon under user preferences.

    At the very least, the "Install add-on" button should not refuse to let you re-install the add-on, instead of throwing an error that "The addon is already installed."
  • Date: 2011-04-05 11:33
  • Sender: Campbell Barton
  • Added option for install addon. r36019.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-04-05 11:34campbellbarton
close_dateNone2011-04-05 11:34campbellbarton
StatusInvestigate2011-04-05 11:34campbellbarton
assigned_tonone2011-04-03 12:46ton
StatusNew2011-04-03 12:46ton