When asking for help its good to give some concrete info. - the exact commands you tried. - the output you got. - the output you want/expected.
On Wed, Jul 9, 2014 at 2:06 PM, Chris Lee <[email protected]> wrote: > I was advised I may be able to get a definitive answer here. I was trying > to solve this issue on Monday and I think I did. I would like input about > what I found and whether or not this is a bug in Blender or intended > behaviour. > > ----------------------------------------------------------------------------------- > > Basically Blender normally allows you to have drivers that contain auto run > scripts, such as what I have done. > > Recently it was pointed out as a security vulnerability, that opening an > untrusted file from the web, could run a hidden python script on the user's > machine without them knowing. > http://blender.45788.x6.nabble.com/Please-turn-off-Auto-Run-Python-Scripts-by-default-td108971.html > > So by default it is now disabled, but there is an option in the user > preferences to enable it by default. > Here, under Auto Execution: > https://www.dropbox.com/s/vtxkg5f48mmfy40/Screenshot%202014-07-09%2013.25.34.png > > It appears though that there is an oversight, and running a command line > blender instance, will do so before the auto execute option is enabled. > Which means the script my programmer wrote will open Blender and run > through it's process, but the drivers will not work, that I had put in > place to control an object related to another object, controlled by the > script. > > So as mentioned here, you can force scripts to run using -y at the end of > the command prompt: > http://blender.stackexchange.com/questions/7673/auto-run-scripts-security-options > > I had also followed the link within Blender regarding Auto Execution. > I followed the link to here: > http://www.blender.org/documentation/blender_python_api_2_70_release/bpy.types.UserPreferencesSystem.html#bpy.types.UserPreferencesSystem.use_scripts_auto_execute > > So I don't know if this may help within a command line run blender python > script if -y is not used: > "use_scripts_auto_execute" > > ----------------------------------------------------------------------------------- > > On Monday absolutely nobody I talked to online could advise me (apart from > the kind chap who suggested I check the mailing list, and that it had come > up in another thread here). Partly because I am in Sydney Australia and all > of Europe would have been asleep, so irc was quiet. I am hoping that > somebody here actually knows how this works. > > Please get back to me with your thoughts. > > Kind Regards, > Chris "*Chips*" Lee > Mobile: 0410155111 > > Infin8eye <http://infin8eye.carbonmade.com/> > Knight of the DLF > IGDA Sydney founding member > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
