Giter VIP home page Giter VIP logo

Comments (4)

ajolma avatar ajolma commented on July 18, 2024

Not in my machine. I have PDL 2.018, JSON::MaybeXS 1.003009 and Perl 5.26.0. Anyway IMO it's something between JSON and PDL.

from geo-gdal-ffi.

shawnlaffan avatar shawnlaffan commented on July 18, 2024

Thanks. I figured it was a dependency somewhere, as there are no explicit calls to a perl JSON package in the Geo::GDAL::FFI code.

I can't reproduce it using PDL instead of Geo::GDAL::FFI, so I need to look further.

Just for the record, I'm on Windows 10 and have
PDL 2.018
JSON::MaybeXS 1.004
JSON::XS 3.04
Cpanel-JSON-XS 4.06 (was 3.023)

from geo-gdal-ffi.

shawnlaffan avatar shawnlaffan commented on July 18, 2024

I installed the latest version from github and now I cannot reproduce it using the script above, even when reverting to the version on metacpan. I still get the warnings when I run the Biodiverse test suite, though.

from geo-gdal-ffi.

shawnlaffan avatar shawnlaffan commented on July 18, 2024

It's a known JSON::PP/Cpanel::JSON::XS interaction, and cannot be fixed in Geo::GDAL::FFI.

Subroutine JSON::PP::Boolean::(0+ redefined at C:/berrybrew/5.26.1_64_PDL/perl/lib/overload.pm line 48.
Subroutine JSON::PP::Boolean::(-- redefined at C:/berrybrew/5.26.1_64_PDL/perl/lib/overload.pm line 48.
Subroutine JSON::PP::Boolean::(++ redefined at C:/berrybrew/5.26.1_64_PDL/perl/lib/overload.pm line 48.

I've worked around it in my code (see referenced commit prior to this comment).

from geo-gdal-ffi.

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.