So, the fix to the slashes was a trivial
files = map( lambda x: re.sub( r'\\', '/', x ), files )
as the first line to UpstreamTool.upstreamMultipleFiles
In an ideal world, that probably should be protected to only be done when the local system's directory separator is not slash. I think that would be done as:
dirSep = os.path.join( 'a', 'b' )[1:-1]
if dirSep != '/':
files = map( lambda x: re.sub( dirSep, '/', x ), files )
|
Ran into a bug -- not sure exactly what's up.
Apparently, the working directory is off when saveMultipleFiles is executed, as none of the local files can be found (see below for event log messages).
Georg found and fixed the bug! Awesome
Old bug details are at dtor.com/PyDS/Bug_01.html |