Code Monkey home page Code Monkey logo

Comments (8)

andreoliwa avatar andreoliwa commented on June 6, 2024 1

Hi @Skrierz. Thanks for this new bug report, thanks for using nitpick on Windows.

I think that problem is due to resolving domain_plus_url in style.fetch_style_from_url.
I don't understand why it's done for but it looks like that problem can occur on Linux too.

The code Path(rest) / url should work on Linux because the URL path separator is the same as the file path separator (/).
But this doesn't work on Windows, because the file path separator is \.

I need to improve this logic and do something generic that can also work on Windows.
I will keep you posted. 😉

from nitpick.

andreoliwa avatar andreoliwa commented on June 6, 2024 1

Damn... the quick fix didn't work as I expected.
So I will rewrite that part of the code and let you know.

Thanks for testing it!

from nitpick.

andreoliwa avatar andreoliwa commented on June 6, 2024

@Skrierz could you try this branch and tell me if it works?

https://github.com/andreoliwa/nitpick/tree/fix-fetch-url
#124

from nitpick.

Skrierz avatar Skrierz commented on June 6, 2024

Hi @andreoliwa.
Thanks for update!

I checked fix and unfortunately it doesn't work. I get pathlib exception:

NotImplementedError: cannot instantiate 'PosixPath' on your system

from nitpick.

andreoliwa avatar andreoliwa commented on June 6, 2024

@Skrierz could you try again and tell me if it works now?

https://github.com/andreoliwa/nitpick/tree/fix-fetch-url
#124

from nitpick.

Skrierz avatar Skrierz commented on June 6, 2024

@andreoliwa
It works!
Thanks for fix!

from nitpick.

andreoliwa avatar andreoliwa commented on June 6, 2024

Nice! I will release a new version soon.
Thanks for testing it on Windows!

from nitpick.

andreoliwa avatar andreoliwa commented on June 6, 2024

🎉 This issue has been resolved in version 0.21.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from nitpick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.