Headache with Modo in mixed Linux/Win environment

If you are seeking for help, this is the right place to ask!

Headache with Modo in mixed Linux/Win environment

Postby Berlinbasteln » 16 Nov 2016, 19:04

Hello!

Installed the demo version of RenderPal and decided to try out a mixed OS environment with Modo. This has so far proven to be a pain unfortunately. The hardware setup is at follows, with a Pool of 2 nodes;

a) Computer 1 runs Windows 8.1, RenderPal server and has also a shared network folder for the files to be rendered. It also runs a RpClient for test purposes.
b) Computer 2 runs Ubuntu 16.04 Xenial, has a Rpclientcmd installed and has the shared network folder mounted locally via CIFS with the proper user ID and group set.

Linux can see and has full control over the shared Win folder. Tested directly in modo_cl, on the Linux side using terminal, that Modo can read and execute the code provided from the RpScript file as is using the said shared folder.

All fine but the file path for the script is a huge headache. This is the result of the following scenarios;

%TMPDIR% and %TEMP%
Windows: Works! Client stores the script file under "XX\AppData\Local\Temp\" and calls modo_cl with correct paths.
Linux: Fails! Client stores it on the windows share, in the file directory, but calls modo_cl with only "-cmd:@RpScript_xxx.txt" without any proper path. Why, where did the path go?

%RP_CLIENT_DIR%

Windows: Fails! Without any specific error. Trying it "by hand" directly in console, seems that Modo can not read the script file from the directory where Rpclient is (default, under Program Files (x86)) but can if I place the script somewhere else than in a /Program Files path.
Linux: Fails! Same as above. -cmd without path

%% (that is empty or "default path")
Windows: Fails! For same reason as with %RP_CLIENT_DIR%
Linux: Works! Proper path in cmd to the "temp" directory of RpClient.

\\path\to\share
Windows: Works! Client writes into the shared file project directory and calls Modo with the correct path.
Linux: Fails! Before even starting Modo, with "An error occurred while writing the renderer script", so seems that the path map only works for the server but not for the client side. Basically, guess that rpclient receives the raw windows path instead of the remap?

So, what to do? I am definitely not a computer genius but seems to me that the really simple solution would have been to be able to set not only the path to the renderer, locally for each client, but also the script path and/or the script itself.

How do I get Rpclient to write the proper paths? Or make the remap work client-side too?

All help is appreciated since RenderPal seems so far the best solution for our budgets and projects. ^^

Thanks!!
//Pete
Berlinbasteln
 
Posts: 2
Joined: 16 Nov 2016, 16:18

Re: Headache with Modo in mixed Linux/Win environment

Postby Shoran Support » 16 Nov 2016, 19:38

You can try to use %TMP%, as this variable is usually available on all systems; we'll change the way the %TEMP% variable is treated in the next update.
User avatar
Shoran Support
RenderPal Team
 
Posts: 1122
Joined: 11 Apr 2008, 00:35
Location: Germany

Re: Headache with Modo in mixed Linux/Win environment

Postby Berlinbasteln » 16 Nov 2016, 20:09

Shoran Support wrote:You can try to use %TMP%, as this variable is usually available on all systems; we'll change the way the %TEMP% variable is treated in the next update.


Tried it and works fine on Windows but not under Linux. Problem is the same, that the Linux client does not define a proper path, only the script name;

=== Unnamed job - test_10112016.lxo, Chunk 1 - Wed Nov 16 19:00:56 2016 ===
Scenes: /home/silenceisgrand/Desktop/winshare/_renderjobs/test_10112016.lxo
Section: Frames: 1.000 - 1.000, Region: Entire image
Renderer: Modo/701+
=== Started ===============================================================

> "/usr/bin/modo/modo_cl" -path:project=/home/silenceisgrand/Desktop/winshare/_renderjobs -cmd:@RpScript_0032_001.txt
---------------------------------------------------------------------------------------------------------------------

@start modo_cl [120147] The Foundry Group LLC
Berlinbasteln
 
Posts: 2
Joined: 16 Nov 2016, 16:18

Re: Headache with Modo in mixed Linux/Win environment

Postby Shoran Support » 16 Nov 2016, 21:02

Please redownload all RenderPal files and install anew; we have applied some changes that might solve this issue.
User avatar
Shoran Support
RenderPal Team
 
Posts: 1122
Joined: 11 Apr 2008, 00:35
Location: Germany


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron