2008-09-08, 23:30
I fully agree with you Gamester17 it should be the same whatever the OS is, so for time being at least script can run on all platform with this workaround.
Nevertheless, even if that will be fix, developer of script will need to use command as os.join and os.sep instead of writing in the code something like:
@Gamester17 - I am not familiar with ticket, how do you file it?
@jmarshall, exactly, that was the command I was talking about - one of the biggest problem is os.getcwd() does not return the same thing. For the format of the path if developer only use os.join and os.sep, it is OK, but with the issue on os.getcwd() for Linux case, we are not able to get the current directory properly.
Nevertheless, even if that will be fix, developer of script will need to use command as os.join and os.sep instead of writing in the code something like:
Code:
filepath=ROOTDIR + '/' + filename
@Gamester17 - I am not familiar with ticket, how do you file it?
@jmarshall, exactly, that was the command I was talking about - one of the biggest problem is os.getcwd() does not return the same thing. For the format of the path if developer only use os.join and os.sep, it is OK, but with the issue on os.getcwd() for Linux case, we are not able to get the current directory properly.