RuntimeError at end of test.autotest in Python 2.3b on windows, tmpfile also fails

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sat Apr 26 09:38:03 EDT 2003


Irmen de Jong wrote:

> Also, test_os fails:
> ERROR: test_tmpfile (__main__.TemporaryFileTests)
> -----------------------------------------------------------
> Traceback (most recent call last):
>   File "lib\test\test_os.py", line 49, in test_tmpfile
>     fp = os.tmpfile()
> OSError: [Errno 13] Permission denied

FWIW, there was another error message here:
ERROR: test_tmpnam (__main__.TemporaryFileTests)
---------------------------------------------------------
Traceback (most recent call last):
  File "lib\test\test_os.py", line 61, in test_tmpnam
    self.check_tempfile(os.tmpnam())
  File "lib\test\test_os.py", line 29, in check_tempfile
    open(name, "w")
IOError: [Errno 13] Permission denied: '\\sg4.'


Can't a regular user on windows XP use the tmpnam/tmpfile functions then?

--Irme de Jong





More information about the Python-list mailing list