Message9772

Author jeff.allen
Recipients jeff.allen
Date 2015-04-06.20:06:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428350765.02.0.772103002714.issue2314@psf.upfronthosting.co.za>
In-reply-to
Content
Observed in Jython 2.7rc2 on Windows 7:

> jython -m test.test_shutil
test_copytree_simple (__main__.TestShutil) ... ERROR
test_copytree_with_exclude (__main__.TestShutil) ... ERROR
...

======================================================================
ERROR: test_copytree_simple (__main__.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\test_shutil.py", line 165, in test_copytree_simple
    shutil.copytree(src_dir, dst_dir)
  File "C:\jython\2.7rc2\Lib\shutil.py", line 208, in copytree
    raise Error, errors
Error: [('c:\\users\\jeff\\appdata\\local\\temp\\tmpuusegz\\test_dir', 'c:\\users\\jeff\\appdata\\local\\temp\\tmp6qg7jb\\destination\\test_dir', "[Errno 1] Operation not permitted: c:\\\\users\\\\jeff\\\\appdata\\\\local\\\\temp\\\\tmp6qg7jb\\\\destination\\\\test_dir'"), ('c:\\users\\jeff\\appdata\\local\\temp\\tmpuusegz', 'c:\\users\\jeff\\appdata\\local\\temp\\tmp6qg7jb\\destination', "[Errno 1] Operation not permitted: 'c:\\\\users\\\\jeff\\\\appdata\\\\local\\\\temp\\\\tmp6qg7jb\\\\destination'")]

======================================================================
ERROR: test_copytree_with_exclude (__main__.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\test_shutil.py", line 223, in test_copytree_with_exclude
    shutil.copytree(src_dir, dst_dir, ignore=patterns)
  File "C:\jython\2.7rc2\Lib\shutil.py", line 208, in copytree
    raise Error, errors
Error: [('c:\\users\\jeff\\appdata\\local\\temp\\tmp2muksu\\test_dir', 'c:\\users\\jeff\\appdata\\local\\temp\\tmpbomk3f\\destination\\test_dir', "[Errno 1] Operation not permitted: 'c:\\\\users\\\\jeff\\\\appdata\\\\local\\\\temp\\\\tmpbomk3f\\\\destination\\\\test_dir'"), ('c:\\users\\jeff\\appdata\\local\\temp\\tmp2muksu', 'c:\\users\\jeff\\appdata\\local\\temp\\tmpbomk3f\\destination', "[Errno 1] Operation not permitted: 'c:\\\\users\\\\jeff\\\\appdata\\\\local\\\\temp\\\\tmpbomk3f\\\\destination'")]

----------------------------------------------------------------------
Ran 28 tests in 0.718s

May be related to un-closed files. Just possibly related to #2307.
History
Date User Action Args
2015-04-06 20:06:05jeff.allensetrecipients: + jeff.allen
2015-04-06 20:06:05jeff.allensetmessageid: <1428350765.02.0.772103002714.issue2314@psf.upfronthosting.co.za>
2015-04-06 20:06:04jeff.allenlinkissue2314 messages
2015-04-06 20:06:04jeff.allencreate