Comments (9)
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.
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.
Oo this is weird. are you sure it complains about the exact same library, and not an other one?
from ail-framework.
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.
Might it have something todo with faup not being in the virtual env?
from ail-framework.
Oh, yeah, if pyfaup isn't in the virtualenv, it will fail. faup has to be installed systemwide.
from ail-framework.
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.
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.
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)
- Help for a demo HOT 1
- AIL Framework Intsallation/Build Error Makefile HOT 3
- Web pages "down" when crawling (Crawler_AIL exception) HOT 1
- ERROR - Please make sure you have a AIL-framework environment, au revoir HOT 1
- Please make sure you have a AIL-framework environment, au revoir HOT 3
- AIL Framework not starting v4.2 (same like #442) HOT 5
- CentOS 8 Install error
- Cannot Access localhost:7000 on AIL VM HOT 3
- Install Rocksdb Issue HOT 5
- Install issue via docker HOT 3
- About MISP collaboration issue HOT 2
- Install failing Ubuntu 20.04 - Believe due to PyMISPGalaxies update HOT 2
- PystemonImporter .py error HOT 1
- Error in installing_deps.sh (Debian 12.1)
- Dependency missing in -dev branch
- AIL Framework Flask not starting on current -dev branch
- Please make sure you have a AIL-framework environment, au revoir HOT 6
- AIl Framework in Crawler not working, always Disabled.
- AIL Framework 5.2 starting everything but the Flask server HOT 1
- feedermoduleimporter CRITICAL error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ail-framework.