# Error while exporting preset in sapling:add tree

I've created a tree on Blender but when it comes to export preset it gives me this error:

I can't understand what the problem is. Do I have to change some paths in the user settings?

Ok, I've solved this problem and it was simply a permission problem.
Blender needs to have administrator rights to write in the "presets" folder, so it won't export anything in there if you don't give the permissions.
What you have to do is to right click on the folder "presets" -> Properties -> Security and give to user the permissions to write.

• Wher can I find this folder? Outside Blender or inside? – Maurice Sep 7 '15 at 16:09
• The folder is in C:\Program Files\Blender Foundation\Blender\2.73\scripts\addons\add_curve_sapling\presets Obviously, instead of 2.73 there's the version of Blender you are using. – TodorokiM Sep 7 '15 at 17:05
• This is not an answer, just a workaround for a stupid bug. – user877329 Nov 6 '15 at 12:17

I just encountered this bug on Ubuntu with Blender v2.76. The workaround is again to change permissions of the presets folder:

chmod 777 /usr/share/blender/scripts/addons/add_curve_sapling/presets


I claim this is a a bug. The script should only touch the home folder. It would have been accepted in the Win9x days, but not 2015.

• this is not an answer. this complaining, take it to the blender bug site. – Joseph Farah Aug 18 '16 at 17:03
• I have done that, and there are fixes developer.blender.org/T46718 – user877329 Aug 19 '16 at 7:56

## protected by Community♦Dec 3 '17 at 10:56

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).