[16.0] auto_backup: TypeError: makedirs() got an unexpected keyword argument 'exist_ok' · Issue #3139 · OCA/server-tools · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uh oh!
There was an error while loading. Please reload this page.
Module
auto_backup 16.0
Describe the bug
This bug is the same than pull request #2902 in 12.0 branch but recent changes 3d39f2b has reintroduced it in 16.0 branch.
Trying to make a backup in a remote sftp server, throws this error:
and it does not complete the backup transfer.
To Reproduce
Affected versions: Only 16.0,
Steps to reproduce the behavior:
Additional context
Pysftp method makedirs() it does not have any argument, it's different than the os.makedirs method.
https://pysftp.readthedocs.io/en/release_0.2.9/cookbook.html#pysftp-connection-makedirs
Removing "exist_ok" on line 189 solves the error.
server-tools/auto_backup/models/db_backup.py
Line 189 in 6e7e03d
Regards.
The text was updated successfully, but these errors were encountered: