Do your afanasy gizmo has "Apply path map to scene" option turn on?
( it should be turned on by default )
Nuke error Unknown switch: -r
Re: Nuke error Unknown switch: -r
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Fri Jan 11, 2019 2:43 pm
Re: Nuke error Unknown switch: -r
yes its on
Re: Nuke error Unknown switch: -r
Hi.
So it seems that it is a paths map issue.
You should dig this.
Why paths map work on other task types?
What is the difference?
On what side is the problem submission->python->afserver or afserver->afrender->python?
So it seems that it is a paths map issue.
You should dig this.
Why paths map work on other task types?
What is the difference?
On what side is the problem submission->python->afserver or afserver->afrender->python?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Fri Jan 11, 2019 2:43 pm
Re: Nuke error Unknown switch: -r
i don;t know if i will be able to debug it..
submiting from afanasy starter gives a liitl better result, because file path is translated, still nuke plugin path is wrong...
"Command:
nuke -t C:\cgru-windows\plugins\nuke\render.py -F 1-1x1 -x "//mnt/STORAGE/P96_BNP-paribas-TOPVIEW/CG/COMP/NUKE/dzieciaki_po_trawie.nk"
Working Directory:
//mnt/STORAGE/P96_BNP-paribas-TOPVIEW/CG/COMP/NUKE
"
where to start looking for piece of code that translate nuke plugin path?
submiting from afanasy starter gives a liitl better result, because file path is translated, still nuke plugin path is wrong...
"Command:
nuke -t C:\cgru-windows\plugins\nuke\render.py -F 1-1x1 -x "//mnt/STORAGE/P96_BNP-paribas-TOPVIEW/CG/COMP/NUKE/dzieciaki_po_trawie.nk"
Working Directory:
//mnt/STORAGE/P96_BNP-paribas-TOPVIEW/CG/COMP/NUKE
"
where to start looking for piece of code that translate nuke plugin path?
Re: Nuke error Unknown switch: -r
Try to execute in a Nude script editor:
This should initialize paths map and output info.
Code: Select all
import cgrupathmap
pm = cgrupathmap.PathMap(UnixSeparators=True, Verbose=True)
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Nuke error Unknown switch: -r
And where is "C:\cgru-windows" in your paths map?
Seems you should something like ["c:/cgru-windows", "/opt/cgru/"].
Seems you should something like ["c:/cgru-windows", "/opt/cgru/"].
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
-
- Posts: 16
- Joined: Fri Jan 11, 2019 2:43 pm
Re: Nuke error Unknown switch: -r
yes thats it... i did not thought that system paths need to be remaped either... Big thanks