Re: [Nuke-python] using threading.Timer() to check if files exist

2012-06-21 Thread Nathan Rusch
7:35 AM To: nuke-python@support.thefoundry.co.uk Subject: Re: [Nuke-python] using threading.Timer() to check if files exist Hi Nathan, Thanks for your response. The function I am calling does contain Nuke-specific code. It reads in the sequences when they are finished rendering (simple loop wit

Re: [Nuke-python] using threading.Timer() to check if files exist

2012-06-21 Thread Jack Simpson
tf-8" Are you calling Nuke-specific code when it crashes? If so, you probably need to call it using nuke.executeInMainThread(). Give that a try, and if it doesn’t work, can you post an example of the types of calls you’re making when it crashes? -Nathan From: Jack Simpson Sent: Wednesd

Re: [Nuke-python] using threading.Timer() to check if files exist

2012-06-20 Thread Nathan Rusch
20, 2012 3:13 PM To: nuke-python@support.thefoundry.co.uk Subject: [Nuke-python] using threading.Timer() to check if files exist Hi, I'm having a problem with the threading.Timer() function. I've written a little class which runs after I've submitted a job to the farm. It checks t

[Nuke-python] using threading.Timer() to check if files exist

2012-06-20 Thread Jack Simpson
Hi, I'm having a problem with the threading.Timer() function. I've written a little class which runs after I've submitted a job to the farm. It checks the directory of the write node(s) to see if the file exists / has been rendered. I run the timer to check it every 20 seconds until it completes