Git Product home page Git Product logo

Comments (12)

digininja avatar digininja commented on August 21, 2024

On Windows it is unlikey to work due to symlinking not working.

I've just installed ruby 3.0 on Debian and it works fine.

ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
robin@Debian pipal $ ./pipal.rb --help
pipal 3.1.2 Robin Wood ([email protected]) (http://digi.ninja)

Usage: pipal [OPTION] ... FILENAME
        --help, -h, -?: show help
        --top, -t X: show the top X results (default 10)
        --output, -o <filename>: output to file
        --gkey <Google Maps API key>: to allow zip code lookups (optional)
        --list-checkers: Show the available checkers and which are enabled
        --verbose, -v: Verbose


        FILENAME: The file to count

Looking at the error I'd say it is also a symlink issue on the Linux boxes. What is the content of your checkers_enabled directory?

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

Well, i tried it to run on a private server (vps), and it works with every other tool expect pipal, my checkers_enabled dir is the default one from the repo.

I'm a programmer myself too and checked the src, it makes no sense that it throws anywhere a error

from pipal.

digininja avatar digininja commented on August 21, 2024

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

k
checkers_aviable-log.txt
checkers-enabled-log.txt

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

also here: head, i forgot to add

root@20012-42031:/test/checkers_enabled# head 01basic.rb
../checkers_available/basic.rbroot@20012-42031:
/test/checkers_enabled#

../checkers_available/basic.rbroot@20012-42031:~/test/checkers_enabled# head README
This directory contains the checkers you want to enable.

The way I see this working is the same as Apache does with modules and sites,
keep the checkers in the checkers_available directory but then symlink the
ones you want to use into here.

Also you can add me on my discord if you need more infos since its faster to reply (if you want) Heini ohne N#1855

from pipal.

digininja avatar digininja commented on August 21, 2024

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024
root@20012-42031:~/test/checkers_enabled# head 01basic.rb
../checkers_available/basic.rb


---
root@20012-42031:~/test/checkers_enabled# head README
This directory contains the checkers you want to enable.

The way I see this working is the same as Apache does with modules and sites,
keep the checkers in the checkers_available directory but then symlink the
ones you want to use into here.


from pipal.

digininja avatar digininja commented on August 21, 2024

Your problem is that the file 01basic.rb in checkers_enabled is a file with the contents ../checkers_available/basic.rb rather than a symlink. Did you create that file yourself?

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

no

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

as ive said, i downloaded the repo and didnt modify anything

from pipal.

xkeksi avatar xkeksi commented on August 21, 2024

So recently if you download the repo, unzipping it and then dragging it via ftp into your vserver breaks the syslink and it will throw that error

fix: just clone via git command and then everything should work fine

git clone https://github.com/digininja/pipal

from pipal.

digininja avatar digininja commented on August 21, 2024

from pipal.

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.