Bug #127679, was updated on 2001-Jan-05 08:31
Here is a current snapshot of the bug.
Project: Jython
Category: Library
Status: Closed
Resolution: Works For Me
Bug Group: None
Priority: 5
Submitted by: thehaas
Assigned to : nobody
Summary: Can't delete files with os.remove(file)
Details: 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)
Follow-Ups:
Date: 2001-Jan-10 01:58
By: bckfnn
Comment:
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.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=127679&group_id=12867
|