Task - Browse files/Preview
-
- Posts: 7
- Joined: Thu Feb 09, 2017 1:48 pm
Task - Browse files/Preview
Hello again Timur.
I've used afanasy on windows 10, and noticed that task\block options "Browse Files" always sends explorer window to %USERPROFILE%\Documents, so my question is how to fix or customize that option.
second question, i trying to use RVplayer as my preview app, i've added RV option to %CGRU_LOCATION%\config.json,
but it works only on task level, so i can open single file instead of whole sequence,
when i use preview option on block level i've got error message: No files matched "someCorrectPath/test.@####@.exr (0) "
Can u give me advice or point to right direction?
I've used afanasy on windows 10, and noticed that task\block options "Browse Files" always sends explorer window to %USERPROFILE%\Documents, so my question is how to fix or customize that option.
second question, i trying to use RVplayer as my preview app, i've added RV option to %CGRU_LOCATION%\config.json,
but it works only on task level, so i can open single file instead of whole sequence,
when i use preview option on block level i've got error message: No files matched "someCorrectPath/test.@####@.exr (0) "
Can u give me advice or point to right direction?
Re: Task - Browse files/Preview
Hi.
To execute correct command to view files, your jobs (blocks, tasks) should have a valid files parameter.
It can be set on a job creation or files can be parsed in a Python parser class.
All block tasks sequence preview is not working now, i see.
It is a bug that should be fixed by developers ( files pattern should be replaced by a real filenames ).
To execute correct command to view files, your jobs (blocks, tasks) should have a valid files parameter.
It can be set on a job creation or files can be parsed in a Python parser class.
All block tasks sequence preview is not working now, i see.
It is a bug that should be fixed by developers ( files pattern should be replaced by a real filenames ).
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: Task - Browse files/Preview
Hi!
Browse files and "Folder" job's menu commands still not working on windows 10?
Can the user override these commands?
Browse files and "Folder" job's menu commands still not working on windows 10?
Can the user override these commands?
Re: Task - Browse files/Preview
We found "Open folder" command in Keeper - Configure - Set Open Folder, but it does not affect anything.
I changed it from explorer "@PATH@" to explorer "C:\", but it still opening home folder.
Re: Task - Browse files/Preview
Hi.
What is block/task "files" parameter?
Is it points to correct rendered files?
Can you send me task info? (you can get it from afwatch on a task double-click)
What is block/task "files" parameter?
Is it points to correct rendered files?
Can you send me task info? (you can get it from afwatch on a task double-click)
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: Task - Browse files/Preview
Code: Select all
frame 58
hbatch_mantra[hbatch_mantra]:1000 frames(58,58,1):
Command:
hrender_af -s 58 -e 58 --by 1 -t "_current_" "//deadline/workstation_02/1 _project/11-00/HOUDINI/V11_ANONS_IN_part2_v005.hip_V11_ANONS_IN_part2_v005.V11_ANONS_IN-part2_sun.1013-205555-746.hip" "/out/V11_ANONS_IN-part2_sun"
Working Directory:
C:\Python34
Files:
//deadline/workstation_02/1 _project/11-00/HOUDINI/RENDER/ANONS/PART2/V11_ANONS_IN-part2_sun_00058.exr
Re: Task - Browse files/Preview
We still have problems with Browse files - it doesn't work.
I created test scene with local paths, rendered it on local machine: browse files opens the home folder.
Task's log:
I created test scene with local paths, rendered it on local machine: browse files opens the home folder.
Task's log:
Code: Select all
frame 1-5
hbatch[hbatch_redshift]:100 frames(1,5,5):
Command:
hrender_af -s 1 -e 5 --by 1 -t "_current_" "P:/projects/CONCEPT/concept_electric_004.hip_concept_electric_004.afanasy1.1102-120855-401.hip" "/out/elecstric_shur_v001"
Working Directory:
C:\Python34
Files:
F:/render/elecstric_shur_v001/elecstric_shur_v001.0001.exr
Re: Task - Browse files/Preview
I changed also to in CGRU Config to debug this command: it doesn't affect to Keeper's defualt Open folder command.
Code: Select all
"open_folder_cmd":"explorer \"@PATH@\""
Code: Select all
"open_folder_cmd":"explorer c:"
Re: Task - Browse files/Preview
May be path slashes direction plays affects.
Try to check "files" with windows ("\") type slashes.
Try to check "files" with windows ("\") type slashes.
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: Task - Browse files/Preview
Ok, I changed both setFiles functions in af.py:
From
Code: Select all
self.data["files"].append(afile)
To:
Code: Select all
self.data["files"].append(afile.replace("/", "\\"))
And "Browse Files..." works fine now. But the solution is not right, right?
Where can I find a place in a source code, where "Browse Files" evaluates? "open_folder_cmd":"explorer c:" to debug this command did not affect anything, or it is another command?