MA3STR0 / kimsufi-crawler

Crawler that will send you an email alert as soon as servers on OVH/Kimsufi become available for purchase
MIT License
193 stars 60 forks source link

Doc improvement : easygui Python library is required for popup notifications #60

Closed SylvainMarty closed 7 years ago

SylvainMarty commented 7 years ago

I had an exception when I wanted to use the popup notifier :

2016-12-12 14:47:34,344 Notifier loading failed, check config for errors
Traceback (most recent call last):
  File "crawler.py", line 147, in <module>
    NOTIFIER = getattr(_NOTIFIER_MODULE, _NOTIFIER_CLASSNAME)(_CONFIG)
  File "/home/sylvain/Perso/repositories/kimsufi-crawler-2/notifiers/base_notifier.py", line 12, in __init__
    self.check_requirements()
  File "/home/sylvain/Perso/repositories/kimsufi-crawler-2/notifiers/popup_notifier.py", line 19, in check_requirements
    "easygui Python library is required for popup notifications. "
Warning: easygui Python library is required for popup notifications. You can install it by running in terminal:
sudo easy_install easygui

Then I tried to run sudo easy_install easygui but it seems like the bot wasn't starting yet.

I'm on Ubuntu 16.04 and I had to install easygui via apt :

sudo apt-get install python-easygui

Then the bot started normally :+1: Maybe a little doc improvement ? :smile: