Giter Site home page Giter Site logo

pyFaub about ail-framework HOT 9 CLOSED

circl avatar circl commented on August 12, 2024
pyFaub

from ail-framework.

Comments (9)

Rafiot avatar Rafiot commented on August 12, 2024

pyFaup is available there: https://github.com/stricaud/faup/tree/master/src/lib/bindings/python

Note that you'll need to install faup too.

from ail-framework.

Tango43 avatar Tango43 commented on August 12, 2024

Now I have faup installed and it seems like it fixed the error with Webstats but just gave me the exact same error in URL.py instead :/

from ail-framework.

Rafiot avatar Rafiot commented on August 12, 2024

Oo this is weird. are you sure it complains about the exact same library, and not an other one?

from ail-framework.

Tango43 avatar Tango43 commented on August 12, 2024

Hmm okay rebooted to try again and now i have both webstats.py and url.py saying there is no faup, even tho i have installed i even get a msg when i write: faup. Seems to me that faup is installed correctly and working, which is why i dont understand this error :/

"user"@Ail-tester:~$ faup

Usage: faup [options] url|file

Options:
-a skip provided argument file open check
-b Run the webserver in background
-c compare with snapshot selected with -s
-d {delimiter}
will separate the fields with the wanted delimiter
-e empty lines are processed
-f {scheme|credential|subdomain|domain|domain_without_tld|host|tld|port|resource_path|query_string|fragment|url_type}
field to extract
-l prefix with the line number (csv only)
-o {csv,json,module}
output csv or json at your convenience. You can also just let the modules handle it.
-p print the header
-q quiet mode, do not print anything
-r {N} removes the last N chars from the url
-s <snapshot_name> create a snapshot
-t do not extract TLD > 1 (eg. only get 'uk' instead of 'co.uk')
-u update the mozilla list
-w listen_ip:port
starts webserver on the wanted ip:port

from ail-framework.

Tango43 avatar Tango43 commented on August 12, 2024

Might it have something todo with faup not being in the virtual env?

from ail-framework.

Rafiot avatar Rafiot commented on August 12, 2024

Oh, yeah, if pyfaup isn't in the virtualenv, it will fail. faup has to be installed systemwide.

from ail-framework.

Tango43 avatar Tango43 commented on August 12, 2024

If I first activate the virtual env and then do: faup, i get the samme result, surely this must mean that faup can be reached in the virtual env? I just followed the installation on the faup github not sure if I have done something wrong.
My faup looks like this not sure if there is anything wrong with it?

"user"@Ail-tester:~$ ldd /usr/local/bin/faup
linux-vdso.so.1 => (0x00007fff788c5000)
libfaupl.so.1 => /usr/local/lib/x86_64-linux-gnu/libfaupl.so.1 (0x00007f4688250000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f468804c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4687e2e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4687a69000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4688492000)

from ail-framework.

Rafiot avatar Rafiot commented on August 12, 2024

I just tried and it works for me when I follow this FAQ: https://github.com/stricaud/faup#faq

And make sure you install pyfaup in the virtualenv.

FYI, I'll try the new version in production this evening or tomorrow, more details to come :)

from ail-framework.

Tango43 avatar Tango43 commented on August 12, 2024

I see u have update the install scripts, I reinstalled AIL from the start and it works now.
I still had to set the ldd /usr/local/bin/faup command manualy.
In your install script u assume a path and my faup was somewhere else.
Don't know if u want to fix that or not tho.
Thank you

from ail-framework.

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.