Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Justin GD
You need to launch Nuke in terminal mode so we can see exactly the error. You can follow the doc for that : http://help.thefoundry.co.uk/nuke/content/getting_started/installation/launching_nuke_mac.html Alternatively, you might be able to see it when you click "show more", in the pop up error

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Bruno-Pierre Jobin
Don't you have to pass dh_pycode.fileconverter as a string? nuke.menu("Nodes").addCommand("User/FiletypeConverter", 'dh_pycode.fileconverter', '‘) -- Bruno-Pierre Jobin > On Oct 22, 2016, at 7:08 AM, Daniel Hartlehnert wrote: > >

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Daniel Hartlehnert
Ok, just as i sent the follow-up question, your answer comes in, spooky :O > Am 22.10.2016 um 15:27 schrieb Justin GD : > > You need to put it as a string when you have arguments in the function; So it > doesn't execute when Nuke starts, but only when the user click on

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Magno Borgo
Also your quotes on the end of line are not the same '‘ On Sat, 22 Oct 2016 09:50:15 -0400, Daniel Hartlehnert wrote: Ok, just as i sent the follow-up question, your answer comes in, spooky :O Am 22.10.2016 um 15:27 schrieb Justin GD : You need

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Daniel Hartlehnert
Hi Justin, i am on OS X, i don’t see any terminal when starting Nuke. I commented out every line in dh_pycode.py, but still i get the same error. > Am 22.10.2016 um 13:28 schrieb Justin GD : > > Hi Daniel, > > Can you send the full error message ? In your terminal, you

[Nuke-users] Importing functions for menu.py

2016-10-22 Thread Daniel Hartlehnert
Hi, in my .nuke folder i have a text file called dh_pycode.py It contains several functions i want to call in my menu.py like this: import sys import nuke import dh_pycode nuke.menu("Nodes").addCommand("User/FiletypeConverter", dh_pycode.fileconverter, '‘) i always get the message „error

Re: [Nuke-users] OT batch stitch

2016-10-22 Thread Howard Jones
Thanks. Been looking at it but it's struggling to open up 3 of the images for some reason. And complains about not being able to lock the images. I've only got the the trial version, but I'll have another look at it. Howard > On 22 Oct 2016, at 12:13 pm, Carl Schröter

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Justin GD
Hi Daniel, Can you send the full error message ? In your terminal, you should have the error line / file indicated. This is most likely an error in your dh_pycode file. Cheers, Justin 2016-10-22 12:08 GMT+01:00 Daniel Hartlehnert : > Hi, > > in my .nuke folder i have a text file

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Justin GD
You need to put it as a string when you have arguments in the function; So it doesn't execute when Nuke starts, but only when the user click on the menu. nuke.menu("Nodes").addCommand("User/FiletypeConverter", 'dh_pycode.fileconverter(my_args)', '‘) No need to put it as a string when there is no

Re: [Nuke-users] OT batch stitch

2016-10-22 Thread Carl Schröter
The pro version of PTGui ( https://www.ptgui.com/ ) can stitch in batch as far as I know. The tool is quite powerful. Might be worth a look. Best, Carl Howard Jones schrieb am Fr., 21. Okt. 2016 um 21:59 Uhr: > Hi > > I have a few thousand frames for a 3 image stitch

Re: [Nuke-users] Importing functions for menu.py

2016-10-22 Thread Daniel Hartlehnert
I already tried to start Nuke from the terminal mode but didn’t know how to make it work. Thanks for the link! Seeing the detailed error message now, it turns out it was some indentation error in dh_pycode.py There is one follow-up thing i am wondering about though: When calling the function

Re: [Nuke-users] OT batch stitch

2016-10-22 Thread Elias Ericsson Rydberg
Hugin can do batches I think. Not sure though. lördag 22 oktober 2016 skrev Howard Jones : > Thanks. Been looking at it but it's struggling to open up 3 of the images > for some reason. And complains about not being able to lock the images. > > I've only got the the trial