I followed This post on how to install Cherry Music and I ran into the cronjob to make it automatically start
which I could not get to work. I had to go back to /home/pi/.config/cherrymusic/cherrymusic.conf and remove that line before I could start it manually. Any ideas on how to get this to work? The error is:
Code:
crontab -l | { cat; echo "@reboot cd /opt/cherrymusic ; /usr/bin/python cherrymusic"; } | crontab -
Code:
python /opt/cherrymusic/cherrymusic
Traceback (most recent call last):
File "/opt/cherrymusic/cherrymusic", line 206, in <module>
cherrymusicserver.setup_config(ConfigOptions.configdict)
File "/opt/cherrymusic/cherrymusicserver/__init__.py", line 215, in setup_config
filecfg = cfg.from_configparser(pathprovider.configurationFile())
File "/opt/cherrymusic/cherrymusicserver/configuration.py", line 289, in from_configparser
cfgp.readfp(fp)
File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: /home/pi/.config/cherrymusic/cherrymusic.conf
[line 138]: u'crontab -l | { cat; echo "@reboot cd /opt/cherrymusic ; /usr/bin/python cherrymusic"; } | crontab -\n'