← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #697271]: Release file created with the setLogFile() function

 

Question #697271 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697271

    Status: Needs information => Open

CDT gave more information on the question:
I'm on Version 2.0.4


This is my scenario:

At the start of the script I create a log dir, all assets are the
written to this dir. Then at the end I Add it the dir to an archive
file, and remove the original dir.

shutil.rmtree() function then fail, because the log file is still in
use.

So I would like to close the connection before removing the directory.

Thanks

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.