From: Damien Mahoney <damien@(email surpressed).au>
Subject: Python Maya submit script not fully using the path_convert
   Date: Thu, 07 Mar 2013 23:32:46 -0500
Msg# 2284
View Complete Thread (4 articles) | All Threads
Last Next
Hi all,

It looks to me like the maya python submit script is not fully using the 'path_convert'.

This occurs when I submit the render from linux and render on windows.

I ran the exact same file on both python and perl.


The perl file that works

###
### yety.31: 1745
###
--------------- Rush 103.02 --------------
--       Host: kraken
--        Pid: 2700
--      Title: sh01_light_v27
--      Jobid: yety.31
--      Frame: 1745
--      Tries: 0
--      Owner: damien (1000/100)
--  RunningAs: root
--   Priority: 1
--       Nice: 10
--     Tmpdir: C:/TEMP/.RUSH_TMP.1090
--    LogFile: //YETY/drive/damien/capture/sc53_centipede/maya/scenes/light/sh01_light_v27.mb.log/1745
--    Command: perl //YETY/drive/rushscripts/perl/submit-maya.pl -render 2 1745 1979 1 yes reflect:1745-1979 3 Fail Licpause+Retry //YETY/drive/damien/capture/sc53_centipede/maya/scenes/light/sh01_light_v27.mb //YETY/drive/damien/capture/sc53_centipede/maya - - mentalray(mr) all ray 5 0 off - - - 3 - - off
--    Started: Sat Mar 02 10:22:55 2013
--------------------------------------------
--- y: is mapped OK

*** MAYA RENDER ***
        RENDERER: mentalray(mr)
         THREADS: all
       SCENEPATH: //YETY/drive/damien/capture/sc53_centipede/maya/scenes/light/sh01_light_v27.mb
         PROJECT: //YETY/drive/damien/capture/sc53_centipede/maya




The python file that doesn't work. Everything is exactly the same. Only the script is different.

###
### yety.34: 1745
###
--------------- Rush 103.02 --------------
--       Host: kraken
--        Pid: 5952
--      Title: MAYA-sh01_light_v27
--      Jobid: yety.34
--      Frame: 1745
--      Tries: 7
--      Owner: damien (1000/100)
--  RunningAs: root
--   Priority: 1
--       Nice: 10
--     Tmpdir: C:/TEMP/.RUSH_TMP.1315
--    LogFile: //YETY/drive/damien/capture/sc53_centipede/maya/scenes/light/sh01_light_v27.mb.log/1745
--    Command: python /YETY/drive/rushscripts/python/submit_maya.py -render /YETY/drive/damien/capture/sc53_centipede/maya/scenes/light/sh01_light_v27.mb.log/submitinfo-yety.34.txt
--    Started: Sat Mar 02 10:44:17 2013
--------------------------------------------
python: can't open file '/YETY/drive/rushscripts/python/submit_maya.py': [Errno 2] No such file or directory


If I look at the last line here I can see that it's not adding the extra / at the start to make it //YETY/drive/ for the submit script though it has worked for the LogFile



My path_convert looks like this

## PATH
os=windows	path_convert   "/YETY/drive"    "//YETY/drive"

os=all		path_convert	"/YETY/drive"	"//YETY/drive"

## DRIVE
os=windows	drive_map	"y:"		"//YETY/drive"

[EDIT: FIXED STRAY PASTE PROBLEM IN DAMIEN'S MSG, WITH HIS PERMISSION -erco 3/8/13]

Last Next