Closed gklyne closed 10 years ago
The problem appears to be with shutil.rmtree
and os.rename
: old directory trees hang around and interfere with subsequent operations.. I've cobbled together a workaround in annalist.util.removetree
. More background at http://stackoverflow.com/a/25831267/324122. It's not pretty but it seems to work. Closing.
Running the test suite on Windows gives inconsistent results.
The cause seems to be erratic behaviour of the Windows file system when deleting and/or copying directory trees. Delete operations fail with permission denied or directory not empty errors.
I've tried to isolate the problem, but have so far failed to find a fix.
Supporting Windows is not a priority for me (but it may be for users), so I'm not scheduling this as a must-have for the initial release.