Page 1 of 1
startup.rfs
Posted: Wed Jan 18, 2012 11:30 pm
by redpawfx
Hello, can anyone enlighten me as to the use and order of operations on the startup order of realflow.
Also, how and if any other studios are using it in their environments.
we're trying to implement a shopwide startup.rfs file setup
but we find that it only is run when you start up a new scene, no command arguments, and not when you run realflow $sceneName which kindof sucks if we want to use it to set some globals for farm rendering or
global startup script imports or whatever.
any info would be appreciated.
BTW right now the version of 2012 we have, has a broken documentation window, that just shows up blank.
-johnc
Re: startup.rfs
Posted: Thu Jan 19, 2012 5:54 pm
by atena
Hello, the "startup.rfs" python script is run only when RealFlow is started for the first time, unfortunately this only happens when running RealFlow in GUI mode, that's why nothing happen when running RealFlow in the command line. I've included this as a request for the next version, sorry about that.
There are some environment variables that RealFlow reads from the system and use to define some frequently-used paths. Probably you need to do more sophisticated things using the python script but I list them below in the case they are of help to you.
RFDEFAULTPROJECT
RFSCENESPATH
RFSCRIPTSPATH
RFLAYOUTSPATH
RFOBJECTSPATH
About your help system not working please send us an email to support, we need to know more about the issue.
Re: startup.rfs
Posted: Thu Jan 19, 2012 6:44 pm
by gus
redpawfx wrote:BTW right now the version of 2012 we have, has a broken documentation window, that just shows up blank.
-johnc
Hi John,
How are you?
Could you try and remove the following folder?
~/.local/share/data/Next Limit/RealFlow 2012
This will be recreated once you start RealFlow again and should give you your help back to normal.
Of course, the user account you are using should be able to write on that directory.
Let us know how it goes,
Regards,
g-)
Re: startup.rfs
Posted: Fri Jan 20, 2012 3:00 am
by redpawfx
Hi gus/angel, we're doing good here, trying to tie up our fx pipeline loose ends somewhat lately.
How are you guys doing? anything new and exciting coming our way soon?
Those environment variables are actually kinda useful, by setting the default path one
rf at least doesent load up that project setting window when you start up anymore which is kinda a bonus.
as for the docs for 2012 , Gus, I tried the deleting of that shared directory you sent.
deleted the directory
ran realflow.... segfault
ran realflow... segfault
ran realflow opens up fine.. but.... help is still broken.
so I"m guessing that each time it ran, it was trying to do something and segfaulted and wrote out corrupted help stuff ? so when it finally gets thru the whole list of missing files its trying to re-build, it loads ok, but the help is blank. ???
let me know if you want me to try anything else... why does the help data have to live in the users' directory anyway? is it a caching thing?
on another note.. that data directory has paths with spaces in the file/directory names... wondering if that could be another issue with whats happening?
let me know? and thanks guys!
-johnc
Re: startup.rfs
Posted: Fri Jan 20, 2012 4:50 pm
by gus
redpawfx wrote:Hi gus/angel, we're doing good here, trying to tie up our fx pipeline loose ends somewhat lately.
How are you guys doing? anything new and exciting coming our way soon?
Mayyybe. Check this out :
http://luismma.wordpress.com/
redpawfx wrote:
Those environment variables are actually kinda useful, by setting the default path one
rf at least doesent load up that project setting window when you start up anymore which is kinda a bonus.
as for the docs for 2012 , Gus, I tried the deleting of that shared directory you sent.
deleted the directory
ran realflow.... segfault
ran realflow... segfault
ran realflow opens up fine.. but.... help is still broken.
so I"m guessing that each time it ran, it was trying to do something and segfaulted and wrote out corrupted help stuff ? so when it finally gets thru the whole list of missing files its trying to re-build, it loads ok, but the help is blank. ???
let me know if you want me to try anything else... why does the help data have to live in the users' directory anyway? is it a caching thing?
on another note.. that data directory has paths with spaces in the file/directory names... wondering if that could be another issue with whats happening?
let me know? and thanks guys!
-johnc
Ouch! That is interesting. We will run quite a few test early on Monday to see if we can find why that might be happening. The file in that directory is the one that the help system uses for indexing the pages.
Sorry for the inconveniences. Lets hope we can find a quick workaround meanwhile we fix this for the next patch.
g-)