-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] auto_backup: TypeError: makedirs() got an unexpected keyword argument 'exist_ok' #2902
Conversation
Hi @eLBati That error is related to having a lower Python version that the required by the Odoo 12.0 version: As you can see, in the Python2, there is no "exist_ok" in the "make_dirs" function: "New in version 3.2: The exist_ok parameter." I suggest you manually remove that parameter in the server-tools repo in your project or update the Python version to the required one by the Odoo version 12.0. I've put the parameter there to not to get an Error when trying to create a directory if it already exists, it just ignores that error: Regards |
Hi @valentincastravete The change does not involve |
Hi @eLBati You are right, I checked on the wrong package, sorry. Could you merge this FIX, please? @thomaspaulb |
…gument 'exist_ok'
1acd143
to
b73860c
Compare
@valentincastravete thanks, done |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at d189d4b. Thanks a lot for contributing to OCA. ❤️ |
No description provided.