Web Geschrieben August 10, 2020 at 14:03 Share Geschrieben August 10, 2020 at 14:03 Hallo, heute morgen erschien folgendes DeskFenster auf einem meiner 4er Raspis. Dieser hat per VNC/LAN Zugriff auf den Pi an dem meine Sensoren hängen : <Brick Viewer 2.4.13 on Raspbian GNU/Linux 10 (buster) (linux 5.4.51-v7l+) (PyQt 5.11.3, Qt 5.11.3) Exception raised at 2020-08-10T05:12:20.380962+02:00 Traceback (most recent call last): File "/usr/share/brickv/firmware_fetch.py", line 283, in run new_data = fetch_latest_fw_versions(self.fw_versions_avail.emit) File "/usr/share/brickv/firmware_fetch.py", line 204, in fetch_latest_fw_versions with urlopen(LATEST_VERSIONS_URL, timeout=10) as response: File "/usr/share/brickv/urlopen.py", line 39, in urlopen return urllib.request.urlopen(*args, **kwargs, context=context) File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3.7/http/client.py", line 1399, in connect super().connect() File "/usr/lib/python3.7/http/client.py", line 938, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 6: invalid continuation byte Active Threads: Thread 2673730656 (Name: Thread-66495): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2648552544 (Name: Thread-66494): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2564994144 (Name: Thread-66493): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2732479584 (Name: Thread-66492): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2792350816 (Name: Thread-66491): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2573386848 (Name: Thread-66490): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2767172704 (Name: Thread-66489): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2556601440 (Name: Thread-66488): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2724086880 (Name: Thread-66487): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2775565408 (Name: Thread-66486): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2665337952 (Name: Thread-66485): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2682123360 (Name: Thread-66484): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2690516064 (Name: Thread-66483): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2623743072 (Name: Thread-66482): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 1164, in run self.finished.wait(self.interval) File "/usr/lib/python3.7/threading.py", line 552, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2811229280 (Name: GuiData-Writer): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/data_logger/job.py", line 150, in _job time.sleep(self._datalogger.job_sleep) Thread 2606957664 (Name: CSV-Writer): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/data_logger/job.py", line 100, in _job time.sleep(self._datalogger.job_sleep) Thread 2800743520 (Name: Brickd-Receiver): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1019, in receive_loop data = self.socket.recv(8192) Thread 2715694176 (Name: Disconnect-Prober): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1249, in disconnect_probe_loop disconnect_probe_queue.get(True, IPConnection.DISCONNECT_PROBE_INTERVAL) File "/usr/lib/python3.7/queue.py", line 179, in get self.not_empty.wait(remaining) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2758780000 (Name: Callback-Processor): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1226, in callback_loop kind, data = callback.queue.get() File "/usr/lib/python3.7/queue.py", line 170, in get self.not_empty.wait() File "/usr/lib/python3.7/threading.py", line 296, in wait waiter.acquire() Thread 2783958112 (Name: Brickd-Receiver): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1019, in receive_loop data = self.socket.recv(8192) Thread 2632135776 (Name: Disconnect-Prober): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1249, in disconnect_probe_loop disconnect_probe_queue.get(True, IPConnection.DISCONNECT_PROBE_INTERVAL) File "/usr/lib/python3.7/queue.py", line 179, in get self.not_empty.wait(remaining) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2615350368 (Name: Callback-Processor): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1226, in callback_loop kind, data = callback.queue.get() File "/usr/lib/python3.7/queue.py", line 170, in get self.not_empty.wait() File "/usr/lib/python3.7/threading.py", line 296, in wait waiter.acquire() Thread 2740872288 (Name: Brickd-Receiver): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1019, in receive_loop data = self.socket.recv(8192) Thread 2707301472 (Name: Disconnect-Prober): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1249, in disconnect_probe_loop disconnect_probe_queue.get(True, IPConnection.DISCONNECT_PROBE_INTERVAL) File "/usr/lib/python3.7/queue.py", line 179, in get self.not_empty.wait(remaining) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout) Thread 2749264992 (Name: Callback-Processor): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/share/brickv/main.py", line 118, in run_with_except_hook run_old(*args, **kw) File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/bindings/ip_connection.py", line 1226, in callback_loop kind, data = callback.queue.get() File "/usr/lib/python3.7/queue.py", line 170, in get self.not_empty.wait() File "/usr/lib/python3.7/threading.py", line 296, in wait waiter.acquire() Thread 2844607584 (Name: Dummy-2): File "/usr/share/brickv/async_call.py", line 128, in run ac = async_call_queue.get() File "/usr/lib/python3.7/queue.py", line 170, in get self.not_empty.wait() File "/usr/lib/python3.7/threading.py", line 296, in wait waiter.acquire() Thread 2979869792 (Name: Thread-1): File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/share/brickv/main.py", line 193, in error_spawner report_message = prefix + '\n\n' + error + '\nActive Threads:\n\n' + '\n\n'.join(self.get_python_thread_stack_traces()) File "/usr/share/brickv/main.py", line 137, in get_python_thread_stack_traces stack_trace = ''.join(traceback.format_stack(stack)) Thread 3069237968 (Name: MainThread): File "/usr/share/brickv/main.py", line 364, in <module> main() File "/usr/share/brickv/main.py", line 361, in main sys.exit(brick_viewer.exec_()) > Was möchte der BV nun damit sagen (denn er läuft ohne Probs weiter bzw. zeigt er die Daten des anderen PI) ? Das folgende DEBUG log stammt von dem Pi der via VNC Zugriff hat (da hängt ne 500 GB SSD dran, von der dieser Pi auch booted. PlatzProbs sollten also nicht vorhanden sein): <2020-08-09 02:42:52 - INFO - Connection to 192.168.178.38:4223 established. 2020-08-09 02:42:52 - DEBUG - Set ipcon.time_out to 1. 2020-08-09 02:42:52 - INFO - Logging data to CSV file: /home/pi/logger_data_1595682863.csv 2020-08-09 02:42:52 - DEBUG - [devices:Outdoor Weather Bricklet] 2020-08-09 02:42:52 - DEBUG - [devices:Air Quality Bricklet] 2020-08-09 02:42:52 - DEBUG - [devices:Ambient Light Bricklet 3.0] 2020-08-09 02:42:52 - DEBUG - [devices:CO2 Bricklet 2.0] 2020-08-09 02:42:52 - DEBUG - [devices:GPS Bricklet 2.0] 2020-08-09 02:42:52 - DEBUG - [devices:UV Light Bricklet 2.0] 2020-08-09 02:42:52 - DEBUG - Applying options for "Air Quality Bricklet" with UID "LgD" 2020-08-09 02:42:52 - DEBUG - Applying options for "Ambient Light Bricklet 3.0" with UID "L2t" 2020-08-09 02:42:52 - DEBUG - Applying options for "UV Light Bricklet 2.0" with UID "GNP" 2020-08-09 02:42:52 - DEBUG - Jobs started. 2020-08-09 02:42:52 - DEBUG - Get-Timers started. 2020-08-09 02:42:52 - INFO - DataLogger is running... 2020-08-09 02:42:52 - DEBUG - [Job:CSV-Writer] Started 2020-08-09 02:42:52 - DEBUG - [Job:GuiData-Writer] Started > auch nicht sehr Aussage fähig. Irgend welche Hinweise/Tips cu Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben August 11, 2020 at 09:39 Share Geschrieben August 11, 2020 at 09:39 Brick Viewer fragt auf tinkerforge.com die Liste der aktuellen Firmware Versionen ab, um Updates anzeigen zu können. Bei dieser Abfrage ist ein Übertragungsfehler aufgetreten, der im Code nicht behandelt wurde. Unbehandelt Fehler landen dann in diesem Fehlermeldungsdialog. Das hat nichts damit zu tun was du zu dem Zeitpunkt getan hast. So richtig erklären kann in den speziellen Fehler nicht. Da hatte entweder unser Server oder deine Internetverbindung gerade Schluckauf. Trat der Fehler nur einmal auf, oder tritt der immer wieder auf? In der nächste Brick Viewer wird dieser Fehler richtig behandelt werden. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Web Geschrieben August 13, 2020 at 05:23 Autor Share Geschrieben August 13, 2020 at 05:23 Hallo, also zumindest in den Logs meines Kabel Modems findet sich da nichts was auf einen Verbindungsfehler/Abbruch hinweisen könnte. Der BV Fehler bzw. die Meldung erschien bis dato auch nur dieses eine Mal. Wie lautet den die genaue Domain die der BV bei Update Abfragen verwendet ? Einfach nur "tinkerforge.com" ? Eventuell blockt da ja auch Pihole etwas seit dem Update auf v5.2 ? Allerdings finde ich da hier auch nichts in den QueryLogs zu. Komisch ist jetzt aktuell auch, das der BV beim manuellem Auslösen einer Update Suche nix mehr anzeigt (normalerweise erscheint dann ja ein Popup) - alles sehr seltsam..... Cu Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben August 13, 2020 at 09:29 Share Geschrieben August 13, 2020 at 09:29 Periodisch abgefragt werden: https://download.tinkerforge.com/latest_versions.txt https://download.tinkerforge.com/all_versions.txt Es kann sein, dass du das Popup da nicht siehst, weil es zu schnell wieder weg ist. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.