Comments (39)
You have two possibilities:
- setting up pystemon
- Contact us and provide a static IP so we can give you access to our feed.
from ail-framework.
Thank you for the answer.
I think using pystemon is the best option for my situation my question is how do I configure it and run it so that it feeds the information to AIL framework, because if I just start them at the same time no information seems to be reaching AIL-framework.
from ail-framework.
I have now managed to store the pystemon files in AIL-framework/PASTES and to import them with import -d /home/"user"/AIL-framework/PASTES, but this forces me to import them every few minutes to analyse them is there a way to automate this process?
from ail-framework.
We have a feeder, @adulau willl give it to you :)
from ail-framework.
I don't need it anyways I managed to get my feeder working :D
During the installation i got an error saying that jquery timers 1.0.0 path didn't exist anymore do you know how much this will impact the program? I can't find anywhere else i can download it from.
from ail-framework.
--2016-06-01 12:25:52-- https://collabdev.googlecode.com/svn-history/r5/trunk/static/js/jquery.timers-1.0.0.js
Resolving collabdev.googlecode.com (collabdev.googlecode.com)... 64.233.166.82, 2a00:1450:400c:c09::52
Connecting to collabdev.googlecode.com (collabdev.googlecode.com)|64.233.166.82|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-06-01 12:25:52 ERROR 404: Not Found.
from ail-framework.
from ail-framework.
yay, seems to work!
from ail-framework.
My graph don't go down and look different from the ones on your pictures, could this be the jquery.timers ?
from ail-framework.
hmm, maybe. What happen if you reload the page?
from ail-framework.
Nothing changes :/, also word trending doesn't work :P
from ail-framework.
I wonder where the jquery error comes from.
from ail-framework.
Well to me it looks like the link is an old link and isn't valid anymore?
from ail-framework.
yeah, I didn't know we load external scripts...
Oh, ok, it is when you runthe update 3dr party script
from ail-framework.
Yeah exactly
from ail-framework.
Can you try to get this one instead: https://raw.githubusercontent.com/jbrooksuk/jQuery-Timer-Plugin/master/jquery.timer.js ?
from ail-framework.
Changed the lines in the update 3dr party script with the one u wrote, and then ran it again, but it didn't change anything still the exact same
from ail-framework.
are the values on the left side changing (going down)? And the logs (down the page)?
from ail-framework.
Yes everything apart from the graphs and the wordtrending seems to be working as intended
from ail-framework.
Hmmmm this is super weird, the graph comes from the values on the left. Can you open a debug console in your browser and and see if there are errors?
from ail-framework.
from ail-framework.
Looks like that, btw sry I am just a intern that has been told to try this stuff out, not rly very comptetent with this stuff :D
from ail-framework.
And wordstrending looks like this
from ail-framework.
Well, you got the framework too work, that's good :)
I just looked more closely at the 1st graph, it is actually moving up a bit. Could it be that you receive more pastes you can actually process? The values on the left, are they only increasing?
from ail-framework.
Yeah, well the graphs only go up but never down even when i turn off the pastes, and even if i limit pystemon heavily to only giving me very few pastes (via the search feature) the graphs will only go up and never down
from ail-framework.
I will try and increase my processing power on my VMmachine now
from ail-framework.
It seems like to many things to process might have been the problem, they queues never went down cause i keept slaming them with the feeder, ups. Well ty for the help anyways was very helpful, just wordtrending not working now, but that seems like its a http path error as the server gives me 404 errors when i click it in its logs. I also checked the path ail-framework/var/www/static/csv/wordtrendingdata.csv and it is completely empty
from ail-framework.
ail-framework/var/www/static/csv/wordtrendingdata.csv
<= could it be permission issue?
from ail-framework.
Yeah it is the issue for some reason that .csv file is just not there?
from ail-framework.
it is created on the fly, by the web interface, I think.
from ail-framework.
I should be launching Pystemon-feeder and Flask_server.py from within the virtual environment? the on that says
(AILENV)user@AILserver:
from ail-framework.
This is what it looks like now some of queues seem to not get processed at all
from ail-framework.
To look at the scripts, and see if they are working, connect to the screen (screen -r
)and switch between the windows to see what is happening (CTRL-a n
)
from ail-framework.
Yeah every one of them are having seperate errors. Will try and fix and then get back to you
from ail-framework.
if you fix the code, please do a Pull Request :)
from ail-framework.
if not exists_in(indexpath):
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/index.py", line 136, in exists_in
ix = open_dir(dirname, indexname=indexname)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/index.py", line 123, in open_dir
return FileIndex(storage, schema=schema, indexname=indexname)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/index.py", line 421, in init
TOC.read(self.storage, self.indexname, schema=self._schema)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/index.py", line 632, in read
check_size("int", _INT_SIZE)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/index.py", line 626, in check_size
sz = stream.read_varint()
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/filedb/structfile.py", line 191, in read_varint
return read_varint(self.read)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/whoosh/util/varints.py", line 102, in read_varint
b = ord(readfn(1))
TypeError: ord() expected a character, but string of length 0 found
from ail-framework.
I keep getting this error for the indexer, are my python packages just installed wrongly? and how should i install them properly?
from ail-framework.
Traceback (most recent call last):
File "./Curve.py", line 68, in
prev_score = r_serv1.hget(low_word, date)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/redis/client.py", line 1857, in hget
return self.execute_command('HGET', name, key)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/redis/client.py", line 578, in execute_command
connection.send_command(_args)
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/redis/connection.py", line 563, in send_command
self.send_packed_command(self.pack_command(_args))
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/redis/connection.py", line 538, in send_packed_command
self.connect()
File "/home/olivier/AIL-framework/AILENV/local/lib/python2.7/site-packages/redis/connection.py", line 442, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to localhost:2013. Connection refused.
from ail-framework.
Glad you solved the problem, and sorry I didn't follow up on this...
from ail-framework.
Related Issues (20)
- Search by tags question
- Rocksdb won't build
- 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.
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.