Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistik lädt nicht #1788

Open
Flole998 opened this issue Jul 28, 2024 · 0 comments
Open

Statistik lädt nicht #1788

Flole998 opened this issue Jul 28, 2024 · 0 comments

Comments

@Flole998
Copy link

Ich wurde heute mit folgendem Fehler in der Browser-Konsole begrüßt und der Statistik-Graph lädt nicht mehr:

livechart.js?ver=20240425:476 Uncaught TypeError: Cannot read properties of undefined (reading 'timestamp')
    at truncateData (livechart.js?ver=20240425:476:18)
    at mergeGraphData (livechart.js?ver=20240425:486:3)
    at processGraphMessages (processAllMqttMsg.js?ver=20240415:1016:4)
    at handleMessage (processAllMqttMsg.js?ver=20240415:381:51)
    at client.onMessageArrived (setupMqttServices.js?ver=20240415:149:2)
    at ClientImpl._receiveMessage (mqttws31.js:1297:18)
    at ClientImpl._receivePublish (mqttws31.js:1271:22)
    at ClientImpl._on_socket_message (mqttws31.js:1154:22)
    at WebSocket.<anonymous> (mqttws31.js:150:22)

Ursache scheint zu sein, dass in "openWB/graph/alllivevaluesJson16" neuerdings ein "-" (Bindestrich ohne Anführungszeichen) steht, wie auch immer der dort hingekommen ist.

Ebenso war heute morgen im Log immer wieder:

2024-07-28 06:31:09,239 - {root:79} - {CRITICAL:MainThread} - Ausführung durch exit_after gestoppt: Traceback (most recent call last):
  File "/var/www/html/openWB/packages/main.py", line 77, in handler10Sec
    handler_with_control_interval()
  File "/var/www/html/openWB/packages/helpermodules/utils/_exit_after.py", line 21, in inner
    result = fn(*args, **kwargs)
  File "/var/www/html/openWB/packages/main.py", line 70, in handler_with_control_interval
    data.data.graph_data.pub_graph_data()
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 67, in pub_graph_data
    subprocess.run([str(Path(__file__).resolve().parents[2] / "runs"/"graphing.sh"),
  File "/usr/lib/python3.9/subprocess.py", line 507, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.9/subprocess.py", line 1126, in communicate
    self.wait()
  File "/usr/lib/python3.9/subprocess.py", line 1189, in wait
    return self._wait(timeout=timeout)
  File "/usr/lib/python3.9/subprocess.py", line 1919, in _wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.9/subprocess.py", line 1877, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt

zu sehen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant