chris-ritsen / network-audio-controller

Cross-platform CLI control of Dante network audio devices without Dante Controller
The Unlicense
203 stars 21 forks source link

TimeoutError when trying to list devices or IP addresses #1

Closed ntonnaett closed 2 years ago

ntonnaett commented 2 years ago

Only lx-dante in the network.

List devices:

[nils@localhost network-audio-controller]$ ./network_audio_controller.py -l
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
TimeoutError: timed out
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
TimeoutError: timed out
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
TimeoutError: timed out
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable

List device IPs:

[nils@localhost network-audio-controller]$ ./network_audio_controller.py -a
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
TimeoutError: timed out
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
TimeoutError: timed out
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 121, in dante_command
    response = sock.recvfrom(2048)[0]
OSError: [Errno 113] No route to host
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/nils/Development/network-audio-controller/dante/device.py", line 316, in get_controls
    self.name = response[10:-1].decode('ascii')
TypeError: 'NoneType' object is not subscriptable
10.42.31.18
10.42.31.17
10.42.31.10
ntonnaett commented 2 years ago

Wrong network configuration.