idle_master_py
idle_master_py copied to clipboard
Warning on startup
After upgrade ubuntu to 16.04 idle_master displays the warning:
[popsul] idle_master_py/Releases/Linux [master] M?? % python2 ./start.py
[ 03/11/2016 06:55:42 PM ] WELCOME TO IDLE MASTER
[ 03/11/2016 06:55:42 PM ] Finding games that have card drops remaining
/usr/lib/python2.7/dist-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
To get rid of this warning, change this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html.parser")
markup_type=markup_type))
It's no big deal, not exactly an error. BeautifulSoup needs a parser to parse a given URL, but it is not given in start.py. However, BeautifulSoup can automatically determine the best parse available and use that if someone forgot to specify it.
If you want to get rid of this warning, just edit start.py as the warning tells you to.