eventHooks - onJobPostOnline

Discussions related to creating NIM project structures
Post Reply
kaiserlicht
Posts: 28
Joined: June 25th, 2015, 10:40 am

eventHooks - onJobPostOnline

Post by kaiserlicht »

Hello,

We are testing the eventHooks which are a very nice feature but the onJobPostOnline Event is not working correctly for us.
The python script which we are calling from the php file by it self should work because i´ve testet it with onAssetCreate an there it´s working.

So our setup is i´m calling from the nim_event_hooks.php an python file with all my arguments from the new job i need. In my python file i just wanted to copy some scripts to the new genereted job folders. But the nim logs says " no such file or directory: '..........'

When i´m using an already existing project path in my python script then it´s also working but for the actual genereted Job it´s not working.

I´ve attached the log message from nim.

nim: 2.8.41

cheers,

alex
Attachments
Bildschirmfoto 2018-05-09 um 13.56.35.png
Bildschirmfoto 2018-05-09 um 13.56.35.png (39.01 KiB) Viewed 1002 times

User avatar
andrew
Site Admin
Posts: 347
Joined: June 24th, 2014, 8:10 am

Re: eventHooks - onJobPostOnline

Post by andrew »

Hi,

We recently found a race condition in the onJobPostOnline event hook that will run the hook before the folders are actually made. We will be fixing this in the next hotfix which we are putting out this week.

Thanks,
Andrew

User avatar
andrew
Site Admin
Posts: 347
Joined: June 24th, 2014, 8:10 am

Re: eventHooks - onJobPostOnline

Post by andrew »

Hi,

We were able to upload an update for NIM that resolves the issue today.
The update 2.8.72 is available for download now from the NIM client portal.

Cheers,
Andrew

kaiserlicht
Posts: 28
Joined: June 25th, 2015, 10:40 am

Re: eventHooks - onJobPostOnline

Post by kaiserlicht »

Hey Andrew,

Thanks for the super fast support. Now it´s working!

cheers,

alex

Post Reply