Giter Site home page Giter Site logo

Comments (6)

julien-boudry avatar julien-boudry commented on June 28, 2024 1

Can you try again with the last commit from 4.5 branch?
No need to install any extension.

from condorcet.

julien-boudry avatar julien-boudry commented on June 28, 2024

Actually, I don't reproduce. Which PHP version do you use @LiamM32 ?

from condorcet.

julien-boudry avatar julien-boudry commented on June 28, 2024

Probably, you don't have PHP PDO Sqlite extension installed. It's probably that (but still an interesting issue!)

php -r "print_r(get_loaded_extensions());"

from condorcet.

LiamM32 avatar LiamM32 commented on June 28, 2024

I have PHP 8.2.6.
I have the php-sqlite package installed in Manjaro. Also version 8.2.6. It contains the file /usr/lib/php/modules/pdo_sqlite.so, so it's probably what you are referring to.

I will update to the new commit now and try again.

from condorcet.

LiamM32 avatar LiamM32 commented on June 28, 2024

Before updating, I once again did the command ./bin/condorcet election --import-condorcet-election-format=myTests/Julians-Beautiful-Election.cvotes -lr Schulze Borda Minimax. It failed.

Then I updated with git pull.

I repeated the first command. It immediately worked. Thank you.

from condorcet.

julien-boudry avatar julien-boudry commented on June 28, 2024

Definitely a PHP extension error, but my fault: the check for existing extension was deficient in this particular case in the command line version.
PHP is close to being a strongly typed language now, it's was an indirect but real interesting bug.

from condorcet.

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.