Hi mecaz,
please post your mpdlcd.service unit file.
The logs you have posted are not complete (lines are cut at the end)!
Frank
by hondagx35 » 02 Oct 2016, 23:54
by mecaz » 03 Oct 2016, 19:08
hondagx35 wrote:Hi mecaz,
please post your mpdlcd.service unit file.
The logs you have posted are not complete (lines are cut at the end)!
Frank
by hondagx35 » 03 Oct 2016, 21:49
Feb 22 15:40:18 runeaudio python2[204]: Traceback (most recent call last):
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/start.py", line 108, in <module>
Feb 22 15:40:18 runeaudio python2[204]: mpdcl = mpd_client.mpd_client(CON_ID, PASSWORD)
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/mpd_client.py", line 13, in __init__
Feb 22 15:40:18 runeaudio python2[204]: if (self.mpdConnect(self.client, con_id) == False):
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/mpd_client.py", line 61, in mpdConnect
Feb 22 15:40:18 runeaudio python2[204]: except SocketError:
Feb 22 15:40:18 runeaudio python2[204]: NameError: global name 'SocketError' is not defined
Feb 22 15:40:18 runeaudio systemd[1]: mpdlcd.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 15:40:18 runeaudio systemd[1]: mpdlcd.service: Unit entered failed state.
by mecaz » 04 Oct 2016, 18:51
hondagx35 wrote:Hi mecaz,
- Code: Select all
Feb 22 15:40:18 runeaudio python2[204]: Traceback (most recent call last):
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/start.py", line 108, in <module>
Feb 22 15:40:18 runeaudio python2[204]: mpdcl = mpd_client.mpd_client(CON_ID, PASSWORD)
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/mpd_client.py", line 13, in __init__
Feb 22 15:40:18 runeaudio python2[204]: if (self.mpdConnect(self.client, con_id) == False):
Feb 22 15:40:18 runeaudio python2[204]: File "/root/RuneAudioLCD/mpd_client.py", line 61, in mpdConnect
Feb 22 15:40:18 runeaudio python2[204]: except SocketError:
Feb 22 15:40:18 runeaudio python2[204]: NameError: global name 'SocketError' is not defined
Feb 22 15:40:18 runeaudio systemd[1]: mpdlcd.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 15:40:18 runeaudio systemd[1]: mpdlcd.service: Unit entered failed state.
AGAIN:
please post your mpdlcd.service unit file.
Frank
[Unit]
Description=RuneAudio I2C LC-Display
After=mpd.service
[Service]
ExecStart=/usr/bin/python2 /root/RuneAudioLCD/start.py
TimeoutSec=0
Restart=always
RestartSec=1
StartLimitInterval=30
StartLimitBurst=20
[Install]
WantedBy=multi-user.target
by mecaz » 09 Oct 2016, 12:47
by Cirrhosis » 17 Oct 2016, 14:40
XploD wrote:Sorry for my late response, I wasn't here on the forum for a while.Cirrhosis wrote:Hello!
I have Raspberi Pi B rev.2 and 2B. Also, there is a simple display 16X2 and 16X2 bus i2c. I tried to do by steps as described XPLOD. But a lot of links does not work. Linux for me to complete darkness. Does anyone have a working image of what would be written on the SD, connect the display and that everything would work? Controls not necessary.
Sorry for the English. This is Google Translate.
If you still need it, PM me and I can send you my image for 2B. Or give you some help with additional steps. Which links doesn't work?
by XploD » 05 Nov 2016, 22:46
Cirrhosis wrote:XploD wrote:Sorry for my late response, I wasn't here on the forum for a while.Cirrhosis wrote:Hello!
I have Raspberi Pi B rev.2 and 2B. Also, there is a simple display 16X2 and 16X2 bus i2c. I tried to do by steps as described XPLOD. But a lot of links does not work. Linux for me to complete darkness. Does anyone have a working image of what would be written on the SD, connect the display and that everything would work? Controls not necessary.
Sorry for the English. This is Google Translate.
If you still need it, PM me and I can send you my image for 2B. Or give you some help with additional steps. Which links doesn't work?
Hi.
Excuse me. I went for a long time.
I do not have the file usr / lib / python2.7 / site-packages / Adafruit_GPIO-0.9.3-py2.7.egg / Adafruit_GPIO / MCP230xx.py
What to do?
by Cirrhosis » 11 Nov 2016, 13:53
XploD wrote:Did you pay attention on the versions of your Python and Adafruit? Try to go to /usr/lib and see which python version you have. Maybe you don't have python 2.7 directory but python 2.8 or some other instead. The same for Adafruit library.
by Cirrhosis » 11 Nov 2016, 14:05
XploD wrote:Did you pay attention on the versions of your Python and Adafruit? Try to go to /usr/lib and see which python version you have. Maybe you don't have python 2.7 directory but python 2.8 or some other instead. The same for Adafruit library.
by 05x » 06 Dec 2016, 16:58
XploD wrote:
If you're not using an remote, you will have to use a physical button or something. You have to call 'change_screen()' method from display.py class and the screen will get changed.
support RuneAudio