Nuke error Unknown switch: -r
Posted: Thu Dec 13, 2018 12:07 pm
Gday.
We are trying submit nuke scripts with centos7 and w10 Through render selected panel inside Nuke but we got this output error message :
Starting CGRU Nuke add-ons from: /opt/cgru/plugins/nuke Unknown switch: -r C:cgru.2.2.3pluginsnukerender.py : No such file or directory Exception IOError: (2, 'No such file or directory', 'C:cgru.2.2.3pluginsnukerender.py') in <module 'threading' from '/usr/local/Nuke11.2v4/lib/python2.7/threading.py'> ignored
we use this great dispatcher daily with maya scenes smoothly whit different OS by Afanasy Starter windows .
Here our config json config file
{"cgru_config":{
"":"This is a CGRU default config file",
"":"Describe your own configuration in 'config.json', it will be included last",
"":"To disable property you can just prefix it with '-'",
"include":["afanasy/config_default.json","config.json"],
"":"'OS_unix': Any UNIX (Linux, MacOSX) specific settings",
"":"'OS_windows': MS Windows specific settings",
"":"'OS_linux': Linix specific settings",
"":"'OS_macosx': MacOSX specific settings",
"":"Digest authentication realm",
"realm":"CGRU",
"":"To open location/shot in RULES:",
"-rules_url":"http://localhost/cgru/#/",
"":"By default it is disabled",
"projects_root":["/mnt/prj/","/projects/","/cgru/rules_root/"],
"nuke_filenamefilter":true,
"open_folder_cmd":"open \"@PATH@\"",
"previewcmds":[
"Nuke|nuke -v \"@ARG@\"",
"Mplay|mplay \"@ARG@\"",
"Mplay *|mplay `dirname \"@ARG@\"`/*",
"DJV|djv_view \"@ARG@\"",
"IMDisplay|display \"@ARG@\"",
"XTerm Folder|cd `dirname @ARG@` && xterm"
],
"annotations":[
"APPROVED",
"FAILED"
],
"docs_url":"http://cgru.info",
"forum_url":"http://forum.cgru.info",
"":"Configure SMTP server to send emails from",
"email_smtp_server":"localhost",
"":"You can keep 'localhost', but configure machines with RULES server",
"":" and Afanasy 'events' service to have such service running",
"":"This command provided with CGRU and uses utilities/emailsend.py Python script",
"email_send_cmd":"emailsend",
"email_sender_address_host":"cgru.info",
"keeper_port":50999,
"keeper_port_https":50443,
"timeformat":"%a %d %b %H:%M.%S",
"":"'strftime' function format http://www.cplusplus.com/reference/clib ... e/strftime",
"filenamesizemax":250,
"platforms":["linux","mac","windows"],
"OS_unix":{
"cmd_shell":"/bin/sh -c"
},
"OS_windows":{
"open_folder_cmd":"explorer \"@PATH@\"",
"cmd_shell":"cmd.exe /c",
"":"This is a paths map example (disabled)",
"":"Client:Server",
"pathsmap":[
["X:/","/mnt/nas/"],
],
"":"Client slashes direction plays no role, as it tries both slashes when searchs a path to replace.",
"":"But will replace with specified slashes, if unix slashes not forced (for Nuke, for example)."
},
"OS_linux":{
"open_folder_cmd":"nautilus \"@PATH@\"",
"pathsmap":[
["/mnt/nas/","X:/"],
]
},
"pswd_visor":"1832116180fdc61b64fd978401e462e9",
"pswd_god":"73bcaaa458bff0d27989ed331b68b64d",
"":""
}}
Do you have any advice for fixing the Nuke issue.
Thank u in advance.
Band tm
We are trying submit nuke scripts with centos7 and w10 Through render selected panel inside Nuke but we got this output error message :
Starting CGRU Nuke add-ons from: /opt/cgru/plugins/nuke Unknown switch: -r C:cgru.2.2.3pluginsnukerender.py : No such file or directory Exception IOError: (2, 'No such file or directory', 'C:cgru.2.2.3pluginsnukerender.py') in <module 'threading' from '/usr/local/Nuke11.2v4/lib/python2.7/threading.py'> ignored
we use this great dispatcher daily with maya scenes smoothly whit different OS by Afanasy Starter windows .
Here our config json config file
{"cgru_config":{
"":"This is a CGRU default config file",
"":"Describe your own configuration in 'config.json', it will be included last",
"":"To disable property you can just prefix it with '-'",
"include":["afanasy/config_default.json","config.json"],
"":"'OS_unix': Any UNIX (Linux, MacOSX) specific settings",
"":"'OS_windows': MS Windows specific settings",
"":"'OS_linux': Linix specific settings",
"":"'OS_macosx': MacOSX specific settings",
"":"Digest authentication realm",
"realm":"CGRU",
"":"To open location/shot in RULES:",
"-rules_url":"http://localhost/cgru/#/",
"":"By default it is disabled",
"projects_root":["/mnt/prj/","/projects/","/cgru/rules_root/"],
"nuke_filenamefilter":true,
"open_folder_cmd":"open \"@PATH@\"",
"previewcmds":[
"Nuke|nuke -v \"@ARG@\"",
"Mplay|mplay \"@ARG@\"",
"Mplay *|mplay `dirname \"@ARG@\"`/*",
"DJV|djv_view \"@ARG@\"",
"IMDisplay|display \"@ARG@\"",
"XTerm Folder|cd `dirname @ARG@` && xterm"
],
"annotations":[
"APPROVED",
"FAILED"
],
"docs_url":"http://cgru.info",
"forum_url":"http://forum.cgru.info",
"":"Configure SMTP server to send emails from",
"email_smtp_server":"localhost",
"":"You can keep 'localhost', but configure machines with RULES server",
"":" and Afanasy 'events' service to have such service running",
"":"This command provided with CGRU and uses utilities/emailsend.py Python script",
"email_send_cmd":"emailsend",
"email_sender_address_host":"cgru.info",
"keeper_port":50999,
"keeper_port_https":50443,
"timeformat":"%a %d %b %H:%M.%S",
"":"'strftime' function format http://www.cplusplus.com/reference/clib ... e/strftime",
"filenamesizemax":250,
"platforms":["linux","mac","windows"],
"OS_unix":{
"cmd_shell":"/bin/sh -c"
},
"OS_windows":{
"open_folder_cmd":"explorer \"@PATH@\"",
"cmd_shell":"cmd.exe /c",
"":"This is a paths map example (disabled)",
"":"Client:Server",
"pathsmap":[
["X:/","/mnt/nas/"],
],
"":"Client slashes direction plays no role, as it tries both slashes when searchs a path to replace.",
"":"But will replace with specified slashes, if unix slashes not forced (for Nuke, for example)."
},
"OS_linux":{
"open_folder_cmd":"nautilus \"@PATH@\"",
"pathsmap":[
["/mnt/nas/","X:/"],
]
},
"pswd_visor":"1832116180fdc61b64fd978401e462e9",
"pswd_god":"73bcaaa458bff0d27989ed331b68b64d",
"":""
}}
Do you have any advice for fixing the Nuke issue.
Thank u in advance.
Band tm