Ignareo-ISML-auto-voter
Ignareo-ISML-auto-voter copied to clipboard
Not working.
- Commit f041e3932e27a6b2c266b8fa9cdb2855cf956b18 introduced an error:
Since
id
is not defined as a member ofMainHandler
inIgnaleo.py
after the commit, the code below would raise error.
voter=Voter(proxy,worker_loop,localsession,id=self.id)
-
ValueError: Only http proxies are supported
after solved the first one.
Sorry for the many mistakes made by me! I've just tested IGN with voting simulations. She should be qualified for real combats now, though still not elegant enough. Sessions are not closed manually, and the controls of proxy errors are not efficient enough.
The error 'ValueError: Only http proxies are supported after solved the first one.' was solved by adding 'http://' before proxy strings. For example,
proxy=='http://192.168.1.68:68'
is acceptable, but
proxy=='192.168.1.68:68'
triggers the error.
I'm still confident of the structure of IGN. She handled more than 1,000 concurrent voters with very low CPU consumption in the test!