Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPystemon feeder bug #489
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 assignmentHere 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?