time2innov8
New Member
I'm trying to learn the OBS scripting languages with focus on Python but I'm falling at the first hurdle. I'm following the steps in the wiki here: https://obsproject.com/wiki/Scripting-Tutorial-Source-Shake but I can't even get the Hello World part to run. I create a test .py file with the specified text but there is no output in the script log file. I see my .py file get complied to a .pyc file but no output is generated. when I copy the description element into my test script no properties are shown at the right hand side. I have Python 3.91 installed on my Windows laptop and can successfully run the ob-zoom-and-follow Python script, however it's doesn't work as I hoped and looking at creating my own version.
if I delete any of the ,pyc files they automatically get created when I reload them, so everything appears to be working. I have tried the initial steps of the tutorial in version 28 and 29 of OBS with the same issue. Have I missed an obvious step? Is it something related to permissions? Initially I couldn't save my test .py file in the scripts folder and needed to change the access rights but now both the working scripts and the test one have the same settings but still doesn't get me any further forward.
Stuart
if I delete any of the ,pyc files they automatically get created when I reload them, so everything appears to be working. I have tried the initial steps of the tutorial in version 28 and 29 of OBS with the same issue. Have I missed an obvious step? Is it something related to permissions? Initially I couldn't save my test .py file in the scripts folder and needed to change the access rights but now both the working scripts and the test one have the same settings but still doesn't get me any further forward.
Stuart