dhrone / pydPiper

A general purpose program to display song metadata on LCD and OLED devices
MIT License
78 stars 36 forks source link

Volumio 3 + RPi3b + WEG010016E issue #135

Open 26dx opened 1 year ago

26dx commented 1 year ago

Hello! I am having a problem running pydPiper. At first, I thought that the problem was in the display or display connection, but after trying it with an Arduino and then with luma.oled, it resulted that the display is working fine. At this moment the only thing that I changed was reassigning the RS and E pins. The service pydpiper. service is running, but in the logs, there are some errors:

$ tail /var/log/pydPiper.log
2023-07-25 17:50:56,536:CRITICAL:Must specify a default font.  Exiting...
2023-07-25 17:50:56,537:ERROR:Uncaught exception
Traceback (most recent call last):
  File "/app/pydPiper.py", line 629, in <module>
    dc.load(pagefile, mc.musicdata,mc.musicdata_prev )
  File "/app/displays/display.py", line 1342, in load
    raise RuntimeError('Must specify a default font.  Exiting...')
RuntimeError: Must specify a default font.  Exiting...
2023-07-25 17:50:56,545:ERROR:Player status at exception
2023-07-25 17:50:56,547:ERROR:{u'random': 0, u'outside_temp_min': 0, u'channels': 0, u'single': 0, u'duration': -1, u'samplerate': u'', u'random_onoff': u'Off', u'album': u'', u'current_time': u'', u'bitdepth': u'', u'musicdatasource': u'', u'disk_availp': 0, u'title': u'', u'playlist_count': -1, u'bitrate': u'', u'current_tempc': 0, u'current': -1, u'outside_temp_max': 0, u'state': u'starting', u'type': u'', u'remaining': u'', u'localtime': <Moment(2023-07-25T13:50:54)>, u'actPlayer': u'', u'repeat': 0, u'elapsed': -1, u'volume': -1, u'playlist_display': u'', u'disk_avail': 0, u'playlist_length': -1, u'outside_conditions': u'No Data', u'single_onoff': u'Off', u'system_temp_formatted': u'', u'outside_temp_formatted': u'', u'elapsed_formatted': u'', u'utc': <Moment(2023-07-25T17:50:54)>, u'repeat_onoff': u'Off', u'artist': u'', u'current_time_sec': u'', u'uri': u'', u'current_ip': u'', u'playlist_position': -1, u'length': -1, u'current_tempf': 0, u'position': u'', u'current_time_formatted': u'', u'tracktype': u''}

Current setup: SBC: Raspberry Pi 3B; Display: WEG010016E (parallel connection); OS: Volumio 3.449; pydPiper: v0.3-alpha. ExecStart: ExecStart=/usr/bin/docker run --network=host --privileged -v /var/log:/var/log:rw dhrone/pydpiper:latest python /app/pydPiper.py --volumio --driver winstar_weg --width 100 --height 16 --rs 12 --e 5 --d4 25 --d5 24 --d6 23 --d7 27 --timezone 'US/Eastern' --temperature fahrenheit --pages pages_weg_100x16.py

I was thinking to mount to the docker container the local app folder, but not sure if it will help. Can anybody help me with this problem?