Message9772
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. |
|
Date |
User |
Action |
Args |
2015-04-06 20:06:05 | jeff.allen | set | recipients:
+ jeff.allen |
2015-04-06 20:06:05 | jeff.allen | set | messageid: <1428350765.02.0.772103002714.issue2314@psf.upfronthosting.co.za> |
2015-04-06 20:06:04 | jeff.allen | link | issue2314 messages |
2015-04-06 20:06:04 | jeff.allen | create | |
|