Message7977

Author santa4nt
Recipients pfotus, santa4nt
Date 2013-03-24.19:51:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364154666.35.0.464329187071.issue2034@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that you are trying to copy a (temp) file to a non-existing directory, C:\Temp\?

Here's a minimal script that I think he's having problems with.

Without C:\Temp\ present:

C:\Users\Santoso\Code>java -cp jython-standalone-2.7-b1.jar org.python.util.jyth
on fiot.py
Traceback (most recent call last):
  File "fiot.py", line 9, in <module>
    shutil.copy(src, 'C:\\Temp\\test.copy')
  File "C:\Users\Santoso\Code\jython-standalone-2.7-b1.jar\Lib\shutil.py", line
117, in copy
  File "C:\Users\Santoso\Code\jython-standalone-2.7-b1.jar\Lib\shutil.py", line
71, in copyfile
IOError: [Errno 13] Permission denied: 'C:\\Temp\\test.copy'


With C:\Temp\ present your script works fine.
History
Date User Action Args
2013-03-24 19:51:06santa4ntsetmessageid: <1364154666.35.0.464329187071.issue2034@psf.upfronthosting.co.za>
2013-03-24 19:51:06santa4ntsetrecipients: + santa4nt, pfotus
2013-03-24 19:51:06santa4ntlinkissue2034 messages
2013-03-24 19:51:06santa4ntcreate