-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pystemon feeder bug #489
Comments
Hi @Wiindea ! You need to activate the virtual environment: cd AIL-framework
. ./AILENV/bin/activate
./bin/feeder/pystemon-feeder.py |
Thanks for the fast answer @Terrtia! Now I can launch the pystemon feeder, but I can't get anything on the AIL homepage. I think it's related to an error I should have made while setting up pystemon. When launching pystemon, I get some errors each time it downloads files: Downloading list of new pastes from slexy.org. Will check again in 16 seconds
Downloading url: http://slexy.org/recent with proxy: None and user-agent: None
Downloading url: http://slexy.org/recent with proxy: None and user-agent: None
!!Proxy error on http://slexy.org/recent for proxy None.
Thread for slexy.org crashed unexpectectly, recovering...: local variable 'response' referenced before assignment
Traceback (most recent call last):
File "./pystemon.py", line 131, in run
last_pasties = self.get_last_pasties()
File "./pystemon.py", line 150, in get_last_pasties
response = download_url(self.archive_url)
File "./pystemon.py", line 736, in download_url
return response
UnboundLocalError: local variable 'response' referenced before assignment
Downloading list of new pastes from slexy.org. Will check again in 20 seconds
Downloading url: http://slexy.org/recent with proxy: None and user-agent: None
Downloading url: http://slexy.org/recent with proxy: None and user-agent: None
!!Proxy error on http://slexy.org/recent for proxy None.
Thread for slexy.org crashed unexpectectly, recovering...: local variable 'response' referenced before assignment
Traceback (most recent call last):
File "./pystemon.py", line 131, in run
last_pasties = self.get_last_pasties()
File "./pystemon.py", line 150, in get_last_pasties
response = download_url(self.archive_url)
File "./pystemon.py", line 736, in download_url
return response
UnboundLocalError: local variable 'response' referenced before assignment Here is an example with Slexy and all the errors I get, but the same also happen with PasteBin. |
I had the same problem today the fix is not to use the old version that circl is providing else install "https://github.com/cvandeplas/pystemon" and turn save / save-all on your module to on and switch Redis query / query-all too on as well works perfectly for me. |
Hello!
I tried to link your framework with pystemon by following these directions, but when I launch the pystemon feeder I get this output...
Any idea about what could cause the error?
The text was updated successfully, but these errors were encountered: