Bekomme nun beim aufrufen der main.py andere Fehler. Aber keine betreffend des Fisker-Modul. Im UI ist es auch nicht auswählbar. Muss ich hier noch was dazufügen für die Dropdownliste unter Fahrzeuge?
Code: Alles auswählen
$ python3 /var/www/html/openWB/packages/main.py
RSE disabled!
Fehler im Modbus-Server
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/modbusserver.py", line 24, in <module>
app = get_server(TCPServer, ('0.0.0.0', 1502), RequestHandler)
File "/home/openwb/.local/lib/python3.9/site-packages/umodbus/server/tcp.py", line 21, in get_server
s = server_class(server_address, request_handler_class)
File "/usr/lib/python3.9/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.9/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
Fehler im Modbus-Server
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/modbusserver.py", line 84, in <module>
@app.route(slave_ids=[1], function_codes=[3, 4], addresses=list(range(0, 32000)))
NameError: name 'app' is not defined
Fehler im Modbus-Server
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/modbusserver.py", line 122, in <module>
@app.route(slave_ids=[1], function_codes=[6, 16], addresses=list(range(0, 32000)))
NameError: name 'app' is not defined
^X^CTraceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 236, in <module>
comm = command.Command(event_command_completed)
File "/var/www/html/openWB/packages/helpermodules/command.py", line 59, in __init__
self._get_max_ids()
File "/var/www/html/openWB/packages/helpermodules/command.py", line 67, in _get_max_ids
received_topics = ProcessBrokerBranch("").get_max_id()
File "/var/www/html/openWB/packages/helpermodules/command.py", line 803, in get_max_id
InternalBrokerClient("processBrokerBranch", self.on_connect, self.__on_message_max_id).start_finite_loop()
File "/var/www/html/openWB/packages/helpermodules/broker.py", line 27, in start_finite_loop
self.client.loop_stop()
File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1813, in loop_stop
self._thread.join()
File "/usr/lib/python3.9/threading.py", line 1033, in join
self._wait_for_tstate_lock()
File "/usr/lib/python3.9/threading.py", line 1049, in _wait_for_tstate_lock
elif lock.acquire(block, timeout):
EDIT: bzw auch folgendes (in der Endlosschleife)
Code: Alles auswählen
NameError: name 'app' is not defined
Wait for connection...
my primary IP: 192.168.1.98
my primary interface: enp0s3
running as primary, enabling plug'n'play network
sudo: ifconfig: Befehl nicht gefunden
new display timeout value: '60'
multi-user target already configured
internal display not activated, stopping lightdm service if running
current display rotation:
new display rotation: '180' -> 2
updating...
new display timeout value: '60'
multi-user target already configured
internal display not activated, stopping lightdm service if running
current display rotation:
new display rotation: '180' -> 2
updating...