GithubHelp home page GithubHelp logo

Comments (9)

jayhanke avatar jayhanke commented on June 21, 2024 1

from arouteserver.

pierky avatar pierky commented on June 21, 2024

Hello @jayhanke, thanks for filing this issue.

Would you be able to provide some more details on how to reproduce it? Like the YML files used to feed the tool and the command you run when you get the error.

At a first look it seems to me that the issue may be related to a mismatch with the version of one library used by ARouteServer. Have you already tried to upgrade the packages inside the virtual environment to the releases pinned in requirement s.txt (or probably even more simply to destroy and re-create the virtual environment from scratch)?

from arouteserver.

jayhanke avatar jayhanke commented on June 21, 2024

issue only happens when using the "bird" command, the "clients-from-euroix" seems to be working fine.

I upgraded the packages, there was a new version of requests but still have same issue.

I'm not running in a venv.

from arouteserver.

pierky avatar pierky commented on June 21, 2024

@jayhanke, it seems that you're hitting the issue when the urllib3 is used, which does not happen when clients-from-euroix is run but only when configurations are generated. The error leads me to believe that you might have a version of that library that is < 1.26.0, which is when allowed_methods was introduced (to replace the previous method_whitelist).

Would you mind checking which version of urllib3 you have (pip3 freeze | grep urllib3) and to upgrade it if that's < 1.26.0?

If my theory is confirmed then I'll push out an update of the requirements.txt file to pin down urllib3.

Thanks

from arouteserver.

pierky avatar pierky commented on June 21, 2024

@jayhanke, with the just released version 1.16.1 this upgrade issue should be fixed.
Thanks for reporting it!

from arouteserver.

jayhanke avatar jayhanke commented on June 21, 2024

from arouteserver.

pierky avatar pierky commented on June 21, 2024

Hi @jayhanke,

I'm a bit confused from your last email.

In #110 (comment) you said "Success!", and I thought that the suggestion (which was translated into a fix later on) worked to solve the issue.

Are you experiencing the same issue again now?
If that's the case, mind sharing the YML files and the exact commands you're using, so that I can reproduce it locally?
Also, the output of pip freeze would help to understand your current Python environment.

Thanks

from arouteserver.

jayhanke avatar jayhanke commented on June 21, 2024

from arouteserver.

pierky avatar pierky commented on June 21, 2024

Oh, cool... all good then!
GitHub recorded a comment 5 hours ago where the issue appeared to be still present (see #110 (comment)). Weird :-)

from arouteserver.

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.