Issue227679

classification
Title: Can't delete files with os.remove(file)
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn, thehaas
Priority: normal Keywords:

Created on 2001-01-05.16:31:45 by thehaas, last changed 2001-01-10.09:58:02 by bckfnn.

Messages
msg249 (view) Author: Mike Hostetler (thehaas) Date: 2001-01-05.16:31:45
I'm not sure if this is a problem with Jython, or Java but on the Windows platform, when I try to delete a file using the os.remove function, I get the following error:

Traceback 
  File "C:\jython-2.0b1\Lib\javaos.py", line 43, in remove
OSError: [Errno 0] couldn't delete file: 'H:\\lit_xslt\\tmp6.html'

I didn't have this happen on a Solaris box.

Here is my Java install info:
H:\lit_xslt>java -version
java version "1.3.0_01-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01-beta)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


msg250 (view) Author: Finn Bock (bckfnn) Date: 2001-01-10.09:58:02
I can't reproduce this on win2k & JDK1.3. The problem can occur (on windows only), if someone (perhaps the script itself) have the file opened.

In any case, I strongly doubt this is a problem with jython and chose to close the bug report.
History
Date User Action Args
2001-01-05 16:31:45thehaascreate