-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Can't download default style with nitpick #115
Comments
Hi @Skrierz. Thanks for this new bug report, thanks for using
The code I need to improve this logic and do something generic that can also work on Windows. |
@Skrierz could you try this branch and tell me if it works? https://github.com/andreoliwa/nitpick/tree/fix-fetch-url |
Hi @andreoliwa. I checked fix and unfortunately it doesn't work. I get pathlib exception: NotImplementedError: cannot instantiate 'PosixPath' on your system |
Damn... the quick fix didn't work as I expected. Thanks for testing it! |
@Skrierz could you try again and tell me if it works now? https://github.com/andreoliwa/nitpick/tree/fix-fetch-url |
@andreoliwa |
Nice! I will release a new version soon. |
## [0.21.3](v0.21.2...v0.21.3) (2019-12-08) ### Bug Fixes * concatenate URL manually instead of using Path ([5491b39](5491b39)), closes [#115](#115)
🎉 This issue has been resolved in version 0.21.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Expected Behavior
I expect
nitpick
to download default style file.Current Behavior
I get
Requests
exception about invalid url.Possible Solution
I think that problem is due to resolving
domain_plus_url
instyle.fetch_style_from_url
.I don't understand why it's done for but it's looks like that problem can accure on Linux too.
Steps to Reproduce
Your Environment
nitpick
version used: 0.21.2Python version: Python 3.7.4
Operating System and version: Windows 10
Run the following commands and paste the output:
The text was updated successfully, but these errors were encountered: