Closed joesse closed 4 years ago
Which python version do you use?
Also: if I plan to run feediverse as a cron job, should I configure it as super user?
Running any program as super user is bad idea in almost all cases. This is neither a system service nor does it require extra privileges. So: no, you should not run it as super user!
I am running Python 2.7.9
Python 2.7 does not allow return
in generators. Please use pthon3 to run feediverse.
I've updated the setup.py to indicate python3 is required. Thanks for the bug report!
PS. Don't run as root!!!
When running feediverse the first time I get: Traceback (most recent call last): File "/usr/local/bin/feediverse", line 6, in
from feediverse import main
File "/usr/local/lib/python2.7/dist-packages/feediverse.py", line 63
return new_entries
SyntaxError: 'return' with argument inside generator
What can do to fix this? Also: if I plan to run feediverse as a cron job, should I configure it as super user?
running on raspian 8.0 jessie