Page 2 of 3
Re: Task - Browse files/Preview
Posted: Fri Nov 10, 2017 11:08 am
by timurhai
Hi.
It seems that Blender uses "/" direction slashes and on Windows and on Linux oses, am i right?
You are not using paths map, as you have only Windows on workstations and renders?
In such case we should change AfWatch code, to make it to change all slashes to "\" direction, if it running on Windows.
As a temporary solution, you really can:
Code: Select all
self.data["files"].append(afile.replace("/", "\\"))
This solution is right if you have Windows only environment.
Re: Task - Browse files/Preview
Posted: Fri Nov 10, 2017 4:27 pm
by elecstorm
It is Houdini, yes, it's linux-like path on windows.
We have only Windows on our workstations.
Re: Task - Browse files/Preview
Posted: Fri May 20, 2022 6:26 pm
by 3dlp
Hi,
Sorry but///... windows > where is the pathmapping file set location ?
Trying to config set output folder = no luck
testing explorer "\\IP#\folder name" works fine with winkey+R
Tkx !
Re: Task - Browse files/Preview
Posted: Mon May 23, 2022 11:36 am
by timurhai
Re: Task - Browse files/Preview
Posted: Tue May 24, 2022 10:55 am
by 3dlp
Sorry i am lost.
At render slave machines (server and slaves = all win OS)
I create a
config.json on
/cgru
--------------------------------
{"cgru_config":{
"af_servername":"192.168.69.230",
"":""
{
"pathsmap":[
["//server/projects/","\\192.168.69.11\databases"],
["//server/tools/","/mnt/tools/"]
],
}
}}
--------------------------
Server Projects path location is \\192.168.69.11\databases
But when i start watch and click output to open render location files
- output.jpg (10.85 KiB) Viewed 4049 times
It open local Documents folder...
Any help is very welcome
Re: Task - Browse files/Preview
Posted: Tue May 24, 2022 12:26 pm
by timurhai
1. JSON syntax is incorrect, you can use text editor with JSON systax highlichting.
2. "\\192.168.69.11\databases" - very strange for a server-side path.
3. If you are using MS Windows OS only, you do not need any paths map setup.
4. If you start explorer with a path that does not exist, explorer starts in the local documents folder.
Re: Task - Browse files/Preview
Posted: Tue May 24, 2022 2:23 pm
by 3dlp
I mapped network drive
\\192.168.69.11\databases to
Z:\
If i run (win+R)
explorer "Z:\"
Folder
\\192.168.69.11\databases popups on explorer. it is open ok.
-----------------------
But when i set Open Folder, command is still opening \\Documents
- SetOpenFolder.jpg (17.05 KiB) Viewed 4039 times
- PATH.jpg (8.16 KiB) Viewed 4039 times
tkx in advance
Re: Task - Browse files/Preview
Posted: Wed May 25, 2022 10:55 am
by timurhai
"Set Open Folder ..." stands for file explorer program customization. Practically it needed on linux only, on windows native explorer almost always is used. So you should not touch this item.
(On linux you can set "nautilus @PATH@" to use nautilus explorer and @PATH@ will be replaced on the folder to open.)
AfWatch prints in the info line what folder it plans to open, is that path correct?
Re: Task - Browse files/Preview
Posted: Fri May 27, 2022 11:48 am
by 3dlp
You mean this ?
- info.jpg (56.89 KiB) Viewed 4007 times
Re: Task - Browse files/Preview
Posted: Fri May 27, 2022 12:19 pm
by timurhai
When watch tries to do something, it usually prints some info in info line (status line) at the bottom of the dialog.
- is that folder correct?
You are showing tooltip.
- folder in tooltip correct?
What CGRU version you are using?