Error (not blocking) running sigmatcpserver on retropie 4.8


Note: dsptoolkit seems to be working anyway, just wanted to let you know

I have recently installed the latest retropie version on my pi, and wanted to install dsptoolkit following this guide: https://github.com/hifiberry/hifiberry-dsp. The installation seems to be going fine, but when I try to run the server:

pi@retropie:~ $ sudo /usr/local/bin/sigmatcpserver --alsa
INFO:root:running as root, data will be stored in /var/lib/hifiberry
INFO:root:initializing ALSA mixer control
No state is present for card Headphones
No state is present for card Headphones
ERROR:root:can't create mixer named %s
ERROR:root:ALSA mixer DSPVolume not found
INFO:root:reading profile /var/lib/hifiberry/dspprogram.xml
INFO:root:caching program memory checksum
INFO:root:checksum memory: b'@\xfbl\x92\xf5z\xbbp\x17|\xe0S\xc7?T\xdc', xmlfile: bytearray(b'@\xfbl\x92\xf5z\xbbp\x17|\xe0S\xc7?T\xdc')
ERROR:root:ALSA mixer not available, aborting volume synchronisation
INFO:root:not enabling LG Sound Sync
INFO:root:Announcing via zeroconf
ERROR:root:'dict' object has no attribute 'lower'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/hifiberrydsp/server/sigmatcp.py", line 912, in run
  File "/usr/local/lib/python3.7/dist-packages/hifiberrydsp/server/sigmatcp.py", line 889, in announce_zeroconf
    DEFAULT_PORT, 0, 0, desc)
  File "/usr/local/lib/python3.7/dist-packages/zeroconf/_services/info.py", line 155, in __init__
    self.server_key = self.server.lower()
AttributeError: 'dict' object has no attribute 'lower'
INFO:root:Starting TCP server


An I have other errors when I stop it:
INFO:root:Removing from zeroconf
Traceback (most recent call last):
  File "/usr/local/bin/sigmatcpserver", line 39, in <module>
  File "/usr/local/lib/python3.7/dist-packages/hifiberrydsp/server/sigmatcp.py", line 936, in run
  File "/usr/local/lib/python3.7/dist-packages/hifiberrydsp/server/sigmatcp.py", line 894, in shutdown_zeroconf
    if self.zeroconf is not None and self.zeroconf_info is not None:
AttributeError: 'SigmaTCPServerMain' object has no attribute 'zeroconf'


Python3 return 

pi@retropie:~ $ python3
Python 3.7.3 (default, Oct 31 2022, 14:04:00)
[GCC 8.3.0] on linux


Please sign in to leave a comment.