Upgrade to 20260820 from 20260529: CharLCD and Rotary Encoder are "dead" #2158
Replies: 5 comments 3 replies
|
I had already reported most for these (summarised in #2153) a while ago but as I don't use a volume control I wasn't aware of this. You seem to have got some error messages which I don't see. I normally rely on 'journalctl -f' and/or 'journalctl -xe' for error info but on this occasion I am not seeing anything useful (strange). Chris |
|
After UPDATE and reboot: the CharLCD works OK, but the rotary volume control (also GUI) is still dead. |
|
Still I see some errors in system - status: Aug 28 10:05:18 rAudio lcdchar.py[746]: Traceback (most recent call last): |
|
Thank you, Rern. Did that, and the button functions of the rotary encoder work as expected, also with the double click and long press functions. But it makes no difference for the volume control: it is still "dead", also on the webGui, and that bothers me, it seems something is wrong with the volume control itself. When I disable the rotary encoder, the volume control in the webGui still does not work. When I refresh the webGui the volume control shows "-1". The same is the case in the rAudio app on my phone Maybe something went wrong at the UPGRADE to 0820. Could you point me to where I have got to look for possible problems regarding volume control? Thanks in advance! NB: I can see no errors in System - Status (only in the last part, regarding PCM for ALSA) . The last part of Status: Sep 03 16:12:53 rAudio sudo[944]: root : PWD=/ ; USER=mpd ; COMMAND=/usr/bin/amixer -MqD equal sset '08. 8 kHz' |
|
Thanks, Rern. Disabling Equalizer did the trick: volume control works OK now (both Gui and Rotary). Then I deleted the equalizer.json, and enabled Equalizer, and the problem is back again! I disabled Equalizer for the time being. This is the content of the (default) equalizer.json after enabling Equalizer: This was the content of the old .json: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
After upgrading from 0529 to 0820 the CharLCD and Rotary Encoder are "dead", so is the volume control in the GUI. The parameters in Power Button, Rotary Encoder and Character LCD are as they should be. When checking System - Status I see the following errors:
...
Aug 27 16:56:07 rAudio systemd[1]: Started Character LCD.
Aug 27 16:56:07 rAudio systemd[1]: Starting Music Player Daemon...
Aug 27 16:56:08 rAudio lcdchar.py[733]: Traceback (most recent call last):
Aug 27 16:56:08 rAudio lcdchar.py[733]: File "/srv/http/bash/lcdchar.py", line 139, in
Aug 27 16:56:08 rAudio lcdchar.py[733]: with open( '/srv/http/data/shm/status.json' ) as f: STATUS = json.load( f )
Aug 27 16:56:08 rAudio lcdchar.py[733]: ~~~~~~~~~^^^^^
Aug 27 16:56:08 rAudio lcdchar.py[733]: File "/usr/lib/python3.14/json/init.py", line 298, in load
Aug 27 16:56:08 rAudio lcdchar.py[733]: return loads(fp.read(),
Aug 27 16:56:08 rAudio lcdchar.py[733]: cls=cls, object_hook=object_hook,
Aug 27 16:56:08 rAudio lcdchar.py[733]: parse_float=parse_float, parse_int=parse_int,
Aug 27 16:56:08 rAudio lcdchar.py[733]: parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
Aug 27 16:56:08 rAudio lcdchar.py[733]: File "/usr/lib/python3.14/json/init.py", line 352, in loads
Aug 27 16:56:08 rAudio lcdchar.py[733]: return _default_decoder.decode(s)
Aug 27 16:56:08 rAudio lcdchar.py[733]: ~~~~~~~~~~~~~~~~~~~~~~~^^^
Aug 27 16:56:08 rAudio lcdchar.py[733]: File "/usr/lib/python3.14/json/decoder.py", line 345, in decode
Aug 27 16:56:08 rAudio lcdchar.py[733]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Aug 27 16:56:08 rAudio lcdchar.py[733]: ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
Aug 27 16:56:08 rAudio lcdchar.py[733]: File "/usr/lib/python3.14/json/decoder.py", line 363, in raw_decode
Aug 27 16:56:08 rAudio lcdchar.py[733]: raise JSONDecodeError("Expecting value", s, err.value) from None
Aug 27 16:56:08 rAudio lcdchar.py[733]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Aug 27 16:56:08 rAudio systemd[1]: lcdchar.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 16:56:08 rAudio systemd[1]: lcdchar.service: Failed with result 'exit-code'.
...
...
Aug 27 16:56:09 rAudio systemd[1]: Started Character LCD.
Aug 27 16:56:09 rAudio lcdchar.py[780]: Traceback (most recent call last):
Aug 27 16:56:09 rAudio lcdchar.py[780]: File "/srv/http/bash/lcdchar.py", line 141, in
Aug 27 16:56:09 rAudio lcdchar.py[780]: v = STATUS[ k ]
Aug 27 16:56:09 rAudio lcdchar.py[780]: ~~~~~~^^^^^
Aug 27 16:56:09 rAudio lcdchar.py[780]: KeyError: 'station'
Aug 27 16:56:09 rAudio systemd[1]: lcdchar.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 16:56:09 rAudio systemd[1]: lcdchar.service: Failed with result 'exit-code'.
...
All reactions