anoved / OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
GNU Affero General Public License v3.0
16 stars 35 forks source link

Issue with yagmail.register... keyrings.alt on Jessie #13

Closed scampa123 closed 7 years ago

scampa123 commented 8 years ago

I have the following installed: yagmail 0.4.132 keyrings.alt 1.1.1 pip 1.5.6 python 2.7.9

And when I try to run yagmail.register for the plugin I get the following (any help would be appreciated!):

File "", line 1, in File "/home/pi/oprint/local/lib/python2.7/site-packages/yagmail/yagmail.py", line 417, in register keyring.set_password('yagmail', username, password) File "/home/pi/oprint/local/lib/python2.7/site-packages/keyring/core.py", line 48, in set_password _keyring_backend.set_password(service_name, username, password) File "/home/pi/oprint/local/lib/python2.7/site-packages/keyring/backends/fail.py", line 18, in get_password raise RuntimeError("No recommended backend was available. Install the " RuntimeError: No recommended backend was available. Install the keyrings.alt package if you want to use the non-recommended backends. See README.rst for details.

ScottWell1 commented 8 years ago

@scampa123 - You can get past this by installing keyrings.alt package.

source ~/oprint/bin/activate pip install keyrings.alt

Then try yagmail.register again, and it should succeed.