client configuration windows 7 enterprise, Python 2.7.3
I try to launch from a W7 client a Python program located on a server, but I get the following message when 20 files (total size = 3GB) are copied from the client to the server :
Traceback (most recent call last):
File "\\filler\PROJECTS\server\python\LIB\util.py", line 101, in __pepareFiles
shutil.copyfile(self.sFileIn,self.sTmpFileIn)
File "C:\Progra~1\Python27\lib\shutil.py", line 84, in copyfile
copyfileobj(fsrc, fdst)
File "C:\Progra~1\Python27\lib\shutil.py", line 49, in copyfileobj
buf = fsrc.read(length)
IOError: [Errno 22] Invalid argument
This message appears randomly when I copy the files.
Do you know if there is a solution to avoid this error message when the code to execute is located on a server in the same directory as the data?
I have found a solution: Execute all the Python code on the C: drive and no more from the server:
C:\PROJECTS\python\LIB\util.py
instead of
\\filler\PROJECTS\server\python\LIB\util.py
I do not get any errors now.