Hallo,
ich habe seit einigen Tag mal wieder diverse Meldungen im Logfile mit denen ich überhaupt nichts anfangen kann, nur habe ich das Gefühl, dass das System unendlich langsam geworden ist.
2014.12.03 17:00:26.755 0: Server shutdown
2014.12.03 17:00:45.655 1: Including fhem.cfg
2014.12.03 17:00:51.960 2: eventTypes: loaded 5840 events from ./log/eventTypes.txt
2014.12.03 17:01:24.502 2: Switched display.cul rfmode to HomeMatic
2014.12.03 17:01:24.653 2: Switched display.cul.IR_Dev irReceive to ON_NR
2014.12.03 17:02:17.112 2: FB_CALLMONITOR: Fritz_Box could not read FritzBox phonebook file: /var/flash/phonebook
2014.12.03 17:02:17.128 2: FB_CALLMONITOR: Fritz_Box read 24 contacts from Cache
2014.12.03 17:02:18.865 1: Including ./log/fhem.save
2014.12.03 17:02:20.278 1: statefile: Undefined value 463
Undefined value 504
2014.12.03 17:02:28.103 2: Error messages while initializing FHEM: statefile: Undefined value 463 Undefined value 504
2014.12.03 17:02:28.106 0: Server started with 226 defined entities (version $Id: fhem.pl 7116 2014-12-02 07:05:00Z rudolfkoenig $, os linux, user fhem, pid 2252)
2014.12.03 17:02:28.551 4: [wz.sd.Vitrine.rt] timings for RandomTimer on wz.sd.Vitrine: 18:30:00(03) - 22:10:00(03)
2014.12.03 17:02:28.554 5: [wz.sd.Vitrine.rt] setting Timer: wz.sd.Vitrine.rt_Exec 03.12.2014 18:30:00
2014.12.03 17:02:28.556 5: [wz.sd.Vitrine.rt] removing Timer: wz.sd.Vitrine.rt_SetTimer
2014.12.03 17:02:28.561 5: [wz.sd.Vitrine.rt] setting Timer: wz.sd.Vitrine.rt_SetTimer 04.12.2014 01:15:15
2014.12.03 17:02:28.648 4: [wz.sd.apfel.rt] timings for RandomTimer on wz.sd.apfel: 17:00:00(04) - 22:00:00(04)
2014.12.03 17:02:28.670 5: [wz.sd.apfel.rt] setting Timer: wz.sd.apfel.rt_Exec 04.12.2014 17:00:00
2014.12.03 17:02:28.672 5: [wz.sd.apfel.rt] removing Timer: wz.sd.apfel.rt_SetTimer
2014.12.03 17:02:28.675 5: [wz.sd.apfel.rt] setting Timer: wz.sd.apfel.rt_SetTimer 04.12.2014 23:15:15
2014.12.03 17:02:31.456 1: Timeout for PRESENCE_DoLocalBluetoothScan reached, terminated process 2435
2014.12.03 17:02:31.460 2: PRESENCE (iPhone6) - device could not be checked (retrying in 10 seconds)
2014.12.03 17:02:34.806 3: Watchdog handy.struc.wd.jemand triggered
2014.12.03 17:02:35.971 2: IT set wz.sd.Media on
2014.12.03 17:02:36.288 2: IT IODev device didn't answer is command correctly: raw => isFFFFFF
2014.12.03 17:02:48.477 2: PRESENCE (iPhone6) - check returned a valid result after 1 unsuccesful retry
2014.12.03 17:05:37.148 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 17:05:37.150 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 17:07:35.138 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1027) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1027) line 1.
2014.12.03 17:07:35.146 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1028) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1028) line 1.
2014.12.03 17:07:35.154 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1029) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1029) line 1.
2014.12.03 17:07:35.873 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1032) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1032) line 1.
2014.12.03 17:07:35.881 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1033) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1033) line 1.
2014.12.03 17:07:35.889 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1034) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1034) line 1.
2014.12.03 17:09:49.133 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1042) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1042) line 1.
2014.12.03 17:09:49.178 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1043) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1043) line 1.
2014.12.03 17:09:49.221 2: Bareword "desired" not allowed while "strict subs" in use at (eval 1044) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 1044) line 1.
2014.12.03 17:21:46.950 2: Bareword "desired" not allowed while "strict subs" in use at (eval 3844) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 3844) line 1.
2014.12.03 17:21:47.000 2: Bareword "desired" not allowed while "strict subs" in use at (eval 3845) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 3845) line 1.
2014.12.03 17:21:47.064 2: Bareword "desired" not allowed while "strict subs" in use at (eval 3846) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 3846) line 1.
2014.12.03 17:25:01.795 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 3869) line 1.
2014.12.03 17:25:13.979 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 4248) line 1.
2014.12.03 17:25:22.122 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 4615) line 1.
2014.12.03 17:25:25.932 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 4642) line 1.
2014.12.03 17:25:42.075 2: ohz.owo.waether Fehler Vorher: 500 read timeout
2014.12.03 17:25:43.999 2: ohz.owo.waether Fehler Nachher: 511 Network Authentication Required
2014.12.03 17:30:02.273 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 4808) line 1.
2014.12.03 17:30:13.948 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 5186) line 1.
2014.12.03 17:30:21.993 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 5553) line 1.
2014.12.03 17:30:26.216 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 5580) line 1.
2014.12.03 17:33:00.043 2: ohz.owo.waether Fehler Vorher: 511 Network Authentication Required
2014.12.03 17:33:01.864 2: ohz.owo.waether Fehler Nachher: 511 Network Authentication Required
2014.12.03 17:35:03.722 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 5752) line 1.
2014.12.03 17:35:16.051 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 6130) line 1.
2014.12.03 17:35:24.142 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 6499) line 1.
2014.12.03 17:35:27.918 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 6526) line 1.
2014.12.03 17:40:05.747 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 6699) line 1.
2014.12.03 17:40:17.931 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 7078) line 1.
2014.12.03 17:40:26.133 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 7446) line 1.
2014.12.03 17:40:29.884 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 7473) line 1.
2014.12.03 17:40:46.131 2: ohz.owo.waether Fehler Vorher: 511 Network Authentication Required
2014.12.03 17:40:57.868 2: ohz.owo.waether Fehler Nachher: 500 Can't connect to api.openweathermap.org:80 (timeout)
2014.12.03 17:42:56.136 2: Bareword "desired" not allowed while "strict subs" in use at (eval 7615) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 7615) line 1.
2014.12.03 17:42:56.182 2: Bareword "desired" not allowed while "strict subs" in use at (eval 7616) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 7616) line 1.
2014.12.03 17:42:56.228 2: Bareword "desired" not allowed while "strict subs" in use at (eval 7617) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 7617) line 1.
Meine Glaskugel ist leider zur Inspektion - das klappt aktuell nicht mit dem Hellsehen.
Spontan würde ich mal darauf tippen, dass Dein Problem aus einem RSS-Layout kommen könnte.
Zitat von: betateilchen am 03 Dezember 2014, 19:41:10
Meine Glaskugel ist leider zur Inspektion - das klappt aktuell nicht mit dem Hellsehen.
Spontan würde ich mal darauf tippen, dass Dein Problem aus einem RSS-Layout kommen könnte.
Deine Glaskugel ist aber schon ganz schön lange zur Inspektion .... was genau möchtest du denn noch wissen ??? Das sind die Meldungen im Logfile.
Zitat von: yogiflop am 03 Dezember 2014, 19:42:54
was genau möchtest du denn noch wissen
nichts, danke.
Es könnte sein, dass selbst gebastelte Notifys mit Perl-Code Fehler werfen. Verdächtige abschalten und nacheinander in Betrieb nehmen. Dann Code untersuchen und bereinigen.
Und vielleicht auch mal stacktrace einschalten, damit man im Logfile (hoffentlich) irgendwas sinnvolles findet.
Vermutlich hast du irgendwo desired verwendt, wo der Perlinterpreter eine Variable erwartet.
Variablen müssen aber mit $, % oder @ beginnen.
Du hast aber mit desired ein Bareword verwendet: nacktes Wort!
Diese Fehler meldet fhem seit dem update im Log - waren vorher schon da, landeten aber im Orcus.
Mit stacktrace kommst du der Ursache vielleicht noch schneller näher.
Es sieht übrigens nach mehreren Fehler aus.
Wenn du den Code mit desired gefunden hast, veröffentliche ihn bitte, dann können wir zügig helfen.
hier habe ich das verwendet:
define display.cul.rg readingsGroup .*.hz.display.cul:desired-temp,measured-temp,batteryLevel,battery
attr display.cul.rg group Heizungsventile
attr display.cul.rg mapping %ALIAS
attr display.cul.rg noheading 1
attr display.cul.rg notime 1
attr display.cul.rg room System,Allgemein
attr display.cul.rg style style="border:0px"
attr display.cul.rg valueFormat { desired-temp => "%.1f °C", measured-temp => "%.1f °C" }
attr display.cul.rg valueIcon {'battery.ok' => 'batterie@green', 'battery.critical' => 'batterie@red'}
da sehe ich erst einmal keinen Fehler
was sagt stacktrace?
attr global verbose 5
attr global stacktrace 1
Achtung recht geschwätzig!!
2014.12.03 20:40:35.473 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:40:35.475 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:40:35.476 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:43:43.795 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17603) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17603) line 1.
2014.12.03 20:43:43.804 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17604) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17604) line 1.
2014.12.03 20:43:43.811 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17605) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17605) line 1.
2014.12.03 20:43:44.550 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17608) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17608) line 1.
2014.12.03 20:43:44.558 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17609) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17609) line 1.
2014.12.03 20:43:44.566 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17610) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17610) line 1.
2014.12.03 20:44:05.210 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17616) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17616) line 1.
2014.12.03 20:44:05.217 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17617) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17617) line 1.
2014.12.03 20:44:05.225 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17618) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17618) line 1.
2014.12.03 20:44:05.972 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17621) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17621) line 1.
2014.12.03 20:44:05.980 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17622) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17622) line 1.
2014.12.03 20:44:05.988 2: Bareword "desired" not allowed while "strict subs" in use at (eval 17623) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 17623) line 1.
2014.12.03 20:45:35.178 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:45:35.180 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:45:35.182 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:50:37.132 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:50:37.133 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:50:37.135 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:52:00.488 2: Bareword "desired" not allowed while "strict subs" in use at (eval 19677) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 19677) line 1.
2014.12.03 20:52:00.533 2: Bareword "desired" not allowed while "strict subs" in use at (eval 19678) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 19678) line 1.
2014.12.03 20:52:00.579 2: Bareword "desired" not allowed while "strict subs" in use at (eval 19679) line 1.
Bareword "measured" not allowed while "strict subs" in use at (eval 19679) line 1.
2014.12.03 20:55:35.785 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:55:35.787 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 20:55:35.788 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:00:35.031 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:00:35.032 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:00:35.034 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:05:38.113 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:05:38.115 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:05:38.116 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:10:35.093 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:10:35.095 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:10:35.096 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:15:35.843 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:15:35.844 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:15:35.846 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:20:36.993 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:20:36.995 1: PERL WARNING: Use of uninitialized value $y in numeric lt (<) at ./FHEM/02_RSS.pm line 275.
2014.12.03 21:20:36.996 1: PERL WARNING: Use of uninitialized value $y in multiplication (*) at ./FHEM/02_RSS.pm line 275.
stacktrace sieht so aus:
2014.11.27 03:15:00 1: PERL WARNING: Argument "asdfghjklM-vM-d" isn't numeric in localtime at fhem.pl line 2643.
2014.11.27 03:15:00 3: stacktrace:
2014.11.27 03:15:00 3: main::__ANON__ called by fhem.pl (2643)
2014.11.27 03:15:00 3: main::FmtDateTime called by ./FHEM/99_Utils_Ort.pm (148)
2014.11.27 03:15:00 3: main::dayCare called by (eval 344) (1)
2014.11.27 03:15:00 3: (eval) called by fhem.pl (899)
2014.11.27 03:15:00 3: main::AnalyzePerlCommand called by fhem.pl (918)
2014.11.27 03:15:00 3: main::AnalyzeCommand called by fhem.pl (851)
2014.11.27 03:15:00 3: main::AnalyzeCommandChain called by ./FHEM/90_at.pm (137)
2014.11.27 03:15:00 3: main::at_Exec called by fhem.pl (2539)
2014.11.27 03:15:00 3: main::HandleTimeout called by fhem.pl (535)
da fehlen die anführungszeichen um die keys:
attr display.cul.rg valueFormat { 'desired-temp' => "%.1f °C", 'measured-temp' => "%.1f °C" }
gruss
andre
Zitat von: justme1968 am 03 Dezember 2014, 21:35:27
da fehlen die anführungszeichen um die keys:
attr display.cul.rg valueFormat { 'desired-temp' => "%.1f °C", 'measured-temp' => "%.1f °C" }
gruss
andre
danke,
das wars ......
alle Fehler raus? kann ich nicht glauben
Ich habe einen ähnlichen Fehler der wohl am FTUI liegt - sowohl das neue FTUI 3, als auch mein bestehendes altes FTUI
2023.01.21 18:16:45 1: ERROR evaluating my $DEVICE= $evalSpecials->{'%DEVICE'};{Device}: Bareword "Device" not allowed while "strict subs" in use at (eval 930) line 1.
2023.01.21 18:16:45 1: ERROR evaluating my $DEVICE= $evalSpecials->{'%DEVICE'};{Device}: Bareword "Device" not allowed while "strict subs" in use at (eval 931) line 1.
eval ist dabei fortlaufend
zuvor kommt der GET von meinem Raspberry mit Display und FTUI im Kiosk
2023.01.21 18:16:45 4: Connection accepted from WEB_192.168.188.xx_55240
2023.01.21 18:16:45 5: GET /fhem/?cmd=jsonlist2+"[b]gefühlt alle Devices und Reading[/b]"&asyncCmd=0&fwcsrf=null&XHR=1 HTTP/1.1
Host: 192.168.188.xxx:8083
Connection: keep-alive
Authorization: Basic bWF4aG9tZV9hZG1pbjpEaXNoNzY6YnV5Ojo=
User-Agent: Mozilla/5.0 (X11; CrOS armv7l 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.98 Safari/537.36
Accept: */*
Referer: http://192.168.188.xxx:8083/fhem/ftui/index.html
Accept-Encoding: gzip, deflate
Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
2023.01.21 18:16:45 4: WEB_192.168.188.xx_55240 GET /fhem/?cmd=jsonlist2+"[b]gefolgt von allen Devices[/b]"&asyncCmd=0&fwcsrf=null&XHR=1; BUFLEN:0
2023.01.21 18:16:45 5: Cmd: >jsonlist2 "[b]gefühlt alle Readings die auf FTUI angezeigt werden[/b]"
Stacktrace habe ich nur zuvor mal gefunden:
2023.01.21 18:14:26 1: stacktrace:
2023.01.21 18:14:26 1: main::__ANON__ called by fhem.pl (1352)
2023.01.21 18:14:26 1: (eval) called by fhem.pl (1351)
2023.01.21 18:14:26 1: main::devspec2array called by ./FHEM/01_FHEMWEB.pm (687)
2023.01.21 18:14:26 1: main::FW_initInform called by ./FHEM/01_FHEMWEB.pm (577)
2023.01.21 18:14:26 1: main::FW_Read called by fhem.pl (3976)
2023.01.21 18:14:26 1: main::CallFn called by fhem.pl (784)
2023.01.21 18:14:26 1: PERL WARNING: Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^( "[b]lange liste von Readings[/b])$/ at fhem.pl line 1352."
Ich glaube nicht, dass Dein Problem auch nur annähernd etwas damit zu tun hat, worum es vor 8 Jahren hier im Thread ging.
Dafür hättest Du diese Leiche nicht ausgraben brauchen.
cmd=jsonlist2+"[b]gefühlt alle Devices und Reading[/b]"
Wo steht denn dieser FHEM Befehl jsonlist2 in Deiner Konfiguration? Der Parameter, der da mitgegeben wird, erscheint mir relativ sinnlos.
Und wenn Du der Meinung bist, es hat was mit FTUI zu tun: auch für Fragen und Probleme zu/mit FTUI gibt es ein "richtiges" Unterforum.