[weboob-config update] fails on Windows
Hi,
weboob-config update
fails on Windows:
D:\Dropbox\Projets\boomoney>D:\Dropbox\Projets\boomoney\scripts\weboob-config update
=== [ 0%] Getting https://updates.weboob.org/stable/main/
Traceback (most recent call last):
File "D:\Dropbox\Projets\boomoney\scripts\weboob-config-script.py", line 11, in <module>
load_entry_point('weboob==2.1', 'console_scripts', 'weboob-config')()
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\console.py", line 224, in run
super(ConsoleApplication, klass).run(args)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\base.py", line 513, in run
sys.exit(app.main(args))
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\repl.py", line 325, in main
ret = self.onecmd(cmd)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\repl.py", line 531, in onecmd
return super(ReplApplication, self).onecmd(line)
File "D:\Python38-32\lib\cmd.py", line 217, in onecmd
return func(arg)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\applications\weboobcfg\weboobcfg.py", line 292, in do_update
self.weboob.update(ConsoleProgress(self))
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\ouiboube.py", line 400, in update
self.repositories.update(progress)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\repositories.py", line 658, in update
self.update_repositories(progress)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\repositories.py", line 621, in update_repositories
repository.retrieve_index(self.browser, repo_path)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\repositories.py", line 206, in retrieve_index
self.save(repo_path, private=True)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\repositories.py", line 372, in save
config.write(f)
File "D:\Python38-32\lib\contextlib.py", line 120, in __exit__
next(self.gen)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\repositories.py", line 58, in open_for_config
os.rename(f.name, filename)
PermissionError: [WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus: 'C:\\Users\\Bruno\\.local\\share\\weboob\\repositories\\tmpma6myy9_' -> 'C:\\Users\\Bruno\\.local\\share\\weboob\\repositories\\00-https___updates_weboob_org_stable_main_'
D:\Dropbox\Projets\boomoney>