Giter Club home page Giter Club logo

Comments (9)

oalders avatar oalders commented on July 21, 2024 1

Thanks @timlegge. I have opened this issue with HTTP::Tiny: chansen/p5-http-tiny#137. I can fix it on this end as well.

So, I need to release a new WWW::Mechanize::Cached and then fix the undef warning here, bump the version of WWW::Mechanize::Cached and then release a new MetaCPAN::Client. :)

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

Thanks, @ncopa! I'm not all too familiar with Alpine. If I wanted to add a GitHub workflow that tested this on Alpine using Docker images, what would be the easiest way for me to replicate the above?

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

Am adding workflows in #104. That may help find the issue.

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

Looks like this is not specific to Alpine at all.

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

Seems to be here: https://metacpan.org/source/OALDERS/WWW-Mechanize-Cached-1.53/lib/WWW/Mechanize/Cached.pm#L193

It's expecting the header to be an arrayref and it chokes when there's a scalar.

from metacpan-client.

ncopa avatar ncopa commented on July 21, 2024

So the problem is in WWW-Mechanize-Cached and should be fixed there?

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

Yes. I may get a fix in there today.

from metacpan-client.

timlegge avatar timlegge commented on July 21, 2024

@ncopa Tested successfully against MetaCPAN-Client-2.026000 on Alpine linux

Still has an issue with HTTP::Tiny: but the test succeeds so it appears to be expected

t/ua_trap.t ................... Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/core_perl/HTTP/Tiny.pm line 602.
t/ua_trap.t ................... ok

from metacpan-client.

oalders avatar oalders commented on July 21, 2024

I've uploaded a new MetaCPAN::Client to CPAN. Let me know if you still have any issues. Thanks @ncopa and @timlegge!

from metacpan-client.

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.