FHEM Forum

FHEM => Sonstiges => Thema gestartet von: schka17 am 24 Dezember 2016, 13:45:48

Titel: (Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: schka17 am 24 Dezember 2016, 13:45:48
Habe diese Meldung im Logfile die ca. alle 30 sec kommt, wie kann ich herausfinden woher die kommt?

[Sat Dec 24 13:04:23 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 210951) line 1.
[Sat Dec 24 13:04:57 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 212114) line 1.
[Sat Dec 24 13:05:33 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 213348) line 1.
[Sat Dec 24 13:06:07 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 214505) line 1.
[Sat Dec 24 13:06:41 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 215644) line 1.
[Sat Dec 24 13:07:15 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 216767) line 1.
[Sat Dec 24 13:07:54 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 217955) line 1.
[Sat Dec 24 13:08:30 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 219104) line 1.
[Sat Dec 24 13:09:05 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 220220) line 1.
[Sat Dec 24 13:09:42 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 221390) line 1.
[Sat Dec 24 13:10:17 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 222530) line 1.
[Sat Dec 24 13:10:53 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 223746) line 1.
[Sat Dec 24 13:11:27 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 224896) line 1.
[Sat Dec 24 13:12:01 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 226045) line 1.
[Sat Dec 24 13:12:39 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 227223) line 1.


Stacktrace ist aktiv, selbst mit verbose level 5 sehe ich keinen Zusammenhang mit irgendeinem Modul, allerdings ist die Informationsfülle dann auch kaum mehr überschaubar.
Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: rudolfkoenig am 25 Dezember 2016, 17:04:58
ZitatStacktrace ist aktiv, selbst mit verbose level 5 sehe ich keinen Zusammenhang mit irgendeinem Modul, allerdings ist die Informationsfülle dann auch kaum mehr überschaubar.
Trotzdem ist das der einzige mir bekannte Weg, das Problem einzugrenzen. Was sind die letzten 5-10 Zeilen vor der Fehlermeldung?
Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: schka17 am 25 Dezember 2016, 17:20:14
Diese Antwort habe ich schon geahnt und befürchtet, jetzt wäre ein grep script cool das genau die 10 Zeilen vor dem Suchpattern auswirft.
Ich probiere mal was und melde mich wieder, hoffentlich mit Ergebnissen.


Sent from my iPad using Tapatalk
Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: schka17 am 28 Dezember 2016, 08:49:11
Also ich komme hier zu keinem eindeutigen Ergebnis, möglicherweise sehe ich auch den Wald vor lauter Bäume nicht.

Im wesentlichen sehen die Meldung bis zu einer sekunde vor der Meldung so aus:

2016.12.27 09:08:56 5: Triggering HEIZUNG_Brenner_RL (1 changes)
2016.12.27 09:08:56 5: Starting notify loop for HEIZUNG_Brenner_RL, 1 event(s), first is temperature: 55.5
2016.12.27 09:08:56 5: myElectricityCalculator : ElectricityCalculator - notify x_sets list: Stromzaehler_total_cnt_EnergyCostDayLast Stromzaehler_total_cnt_PowerDayAver Stromzaehler_total_cnt_PowerDayMax Stromzaehler_total_cnt_EnergyCostYear Stromzaehler_total_cnt_CounterYear1st Stromzaehler_total_cnt_CounterYearLast Stromzaehler_total_cnt_EnergyDay Stromzaehler_total_cnt_EnergyMeter .Stromzaehler_total_cnt_LastDV Stromzaehler_total_cnt_CounterCurrent Stromzaehler_total_cnt_PowerDayMin Stromzaehler_total_cnt_CounterDay1st Stromzaehler_total_cnt_CounterDayLast Stromzaehler_total_cnt_CounterMeterLast Stromzaehler_total_cnt_EnergyCostMonthLast Stromzaehler_total_cnt_EnergyYear Stromzaehler_total_cnt_EnergyCostMeter Stromzaehler_total_cnt_EnergyCostMonth Stromzaehler_total_cnt_CounterMonth1st .Stromzaehler_total_cnt_PrevRead Stromzaehler_total_cnt_EnergyMonth Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_PowerCurrent .Stromzaehler_total_cnt_LastDt Stromzaehler_total_cnt_CounterMeter1st Stromzaehler_total_cnt_EnergyMonthLast .Stromzaehler_total_cnt_PowerDaySum .Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_EnergyDayLast Stromzaehler_total_cnt_FinanceReserve Stromzaehler_total_cnt_CounterMonthLast Stromzaehler_total_cnt_PowerDaySum
2016.12.27 09:08:56 5: myGasCalculator : GasCalculator - notify x_sets list: MYSENSOR_7_pulse_PowerDayMin MYSENSOR_7_pulse_PowerCurrent MYSENSOR_7_pulse_Meter MYSENSOR_7_pulse_PowerDayAver MYSENSOR_7_pulse_EnergyCostYear MYSENSOR_7_pulse_VolLastYear MYSENSOR_7_pulse_VolLastMeter MYSENSOR_7_pulse_VolLastDay MYSENSOR_7_pulse_Vol1stMeter MYSENSOR_7_pulse_EnergyCostMonth MYSENSOR_7_pulse_Vol1stDay MYSENSOR_7_pulse_EnergyMeter .MYSENSOR_7_pulse_LastDV MYSENSOR_7_pulse_PowerDayMax .MYSENSOR_7_pulse_LastDt MYSENSOR_7_pulse_CostMonthLast MYSENSOR_7_pulse_EnergyDay MYSENSOR_7_pulse_VolLastMonth MYSENSOR_7_pulse_Vol1stMonth MYSENSOR_7_pulse_EnergyMonth MYSENSOR_7_pulse_FinanceReserve MYSENSOR_7_pulse_EnergyCostDayLast MYSENSOR_7_pulse_EnergyYear MYSENSOR_7_pulse_EnergyDayLast .MYSENSOR_7_pulse_PowerDayCount .MYSENSOR_7_pulse_PowerDaySum MYSENSOR_7_pulse_EnergyMonthLast MYSENSOR_7_pulse_EnergyCostMeter MYSENSOR_7_pulse_Vol1stYear .MYSENSOR_7_pulse_PrevRead
2016.12.27 09:08:56 5: statistics stat_Gaszaehler: Notify.266 Notification of 'HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: statistics stat_Stromzaehler: Notify.266 Notification of 'HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: HEIZUNG: not on any display, ignoring notify
2016.12.27 09:08:56 5: ORF: ORF hat ein notify von von HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: ORF: HEIZUNG_Brenner_RL EVENT: temperature: 55.5
2016.12.27 09:08:56 5: Sensor_Batterien: not on any display, ignoring notify
2016.12.27 09:08:56 5: Sensor_Batterien_Status: not on any display, ignoring notify
2016.12.27 09:08:56 5: Spiegel: Spiegel hat ein notify von von HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: Triggering c_HEIZUNG_Brenner_RL (1 changes)
2016.12.27 09:08:56 5: Starting notify loop for c_HEIZUNG_Brenner_RL, 1 event(s), first is active
2016.12.27 09:08:56 5: myElectricityCalculator : ElectricityCalculator - notify x_sets list: Stromzaehler_total_cnt_CounterMonth1st Stromzaehler_total_cnt_EnergyMonth .Stromzaehler_total_cnt_PrevRead Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_PowerCurrent .Stromzaehler_total_cnt_LastDt Stromzaehler_total_cnt_CounterMeter1st .Stromzaehler_total_cnt_PowerDaySum .Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_EnergyMonthLast Stromzaehler_total_cnt_FinanceReserve Stromzaehler_total_cnt_EnergyDayLast Stromzaehler_total_cnt_CounterMonthLast Stromzaehler_total_cnt_PowerDaySum Stromzaehler_total_cnt_PowerDayAver Stromzaehler_total_cnt_PowerDayMax Stromzaehler_total_cnt_EnergyCostDayLast Stromzaehler_total_cnt_CounterYear1st Stromzaehler_total_cnt_EnergyCostYear .Stromzaehler_total_cnt_LastDV Stromzaehler_total_cnt_EnergyMeter Stromzaehler_total_cnt_EnergyDay Stromzaehler_total_cnt_CounterYearLast Stromzaehler_total_cnt_CounterCurrent Stromzaehler_total_cnt_PowerDayMin Stromzaehler_total_cnt_CounterDay1st Stromzaehler_total_cnt_CounterDayLast Stromzaehler_total_cnt_CounterMeterLast Stromzaehler_total_cnt_EnergyCostMonthLast Stromzaehler_total_cnt_EnergyYear Stromzaehler_total_cnt_EnergyCostMeter Stromzaehler_total_cnt_EnergyCostMonth
2016.12.27 09:08:56 5: myGasCalculator : GasCalculator - notify x_sets list: MYSENSOR_7_pulse_VolLastMonth MYSENSOR_7_pulse_Vol1stMonth MYSENSOR_7_pulse_FinanceReserve MYSENSOR_7_pulse_EnergyMonth .MYSENSOR_7_pulse_PowerDayCount MYSENSOR_7_pulse_EnergyDayLast MYSENSOR_7_pulse_EnergyCostDayLast MYSENSOR_7_pulse_EnergyYear MYSENSOR_7_pulse_Vol1stYear MYSENSOR_7_pulse_EnergyCostMeter .MYSENSOR_7_pulse_PrevRead .MYSENSOR_7_pulse_PowerDaySum MYSENSOR_7_pulse_EnergyMonthLast MYSENSOR_7_pulse_Meter MYSENSOR_7_pulse_EnergyCostYear MYSENSOR_7_pulse_PowerDayAver MYSENSOR_7_pulse_PowerDayMin MYSENSOR_7_pulse_PowerCurrent MYSENSOR_7_pulse_EnergyCostMonth MYSENSOR_7_pulse_VolLastYear MYSENSOR_7_pulse_VolLastMeter MYSENSOR_7_pulse_VolLastDay MYSENSOR_7_pulse_Vol1stMeter MYSENSOR_7_pulse_EnergyMeter MYSENSOR_7_pulse_Vol1stDay MYSENSOR_7_pulse_PowerDayMax .MYSENSOR_7_pulse_LastDt MYSENSOR_7_pulse_EnergyDay MYSENSOR_7_pulse_CostMonthLast .MYSENSOR_7_pulse_LastDV
2016.12.27 09:08:56 5: statistics stat_Gaszaehler: Notify.266 Notification of 'c_HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: statistics stat_Stromzaehler: Notify.266 Notification of 'c_HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: ORF: ORF hat ein notify von von c_HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: ORF: c_HEIZUNG_Brenner_RL EVENT: active
2016.12.27 09:08:56 5: Sensor_Batterien: not on any display, ignoring notify
2016.12.27 09:08:56 5: Sensor_Batterien_Status: not on any display, ignoring notify
2016.12.27 09:08:56 5: Spiegel: Spiegel hat ein notify von von c_HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: rg_HZ_temp: not on any display, ignoring notify
2016.12.27 09:08:56 5: rg_disabled: not on any display, ignoring notify
2016.12.27 09:08:56 5: temp_rain: not on any display, ignoring notify
2016.12.27 09:08:56 4: cloneDummy: HASH(0x30d1048) D: HEIZUNG_Brenner_RL R: temperature: 55.5
2016.12.27 09:08:56 4: cloneDummy: publish unique <HEIZUNG_Brenner_RL> <c_HEIZUNG_Brenner_RL> <temperature: 55.5>
2016.12.27 09:08:56 5: Triggering c_HEIZUNG_Brenner_RL (1 changes)
2016.12.27 09:08:56 5: Starting notify loop for c_HEIZUNG_Brenner_RL, 1 event(s), first is temperature: 55.5
2016.12.27 09:08:56 5: myElectricityCalculator : ElectricityCalculator - notify x_sets list: Stromzaehler_total_cnt_EnergyCostMeter Stromzaehler_total_cnt_EnergyCostMonth Stromzaehler_total_cnt_EnergyCostMonthLast Stromzaehler_total_cnt_EnergyYear Stromzaehler_total_cnt_CounterMeterLast Stromzaehler_total_cnt_CounterDay1st Stromzaehler_total_cnt_CounterDayLast Stromzaehler_total_cnt_CounterCurrent Stromzaehler_total_cnt_PowerDayMin Stromzaehler_total_cnt_EnergyDay Stromzaehler_total_cnt_EnergyMeter Stromzaehler_total_cnt_CounterYearLast .Stromzaehler_total_cnt_LastDV Stromzaehler_total_cnt_EnergyCostDayLast Stromzaehler_total_cnt_PowerDayMax Stromzaehler_total_cnt_PowerDayAver Stromzaehler_total_cnt_EnergyCostYear Stromzaehler_total_cnt_CounterYear1st Stromzaehler_total_cnt_CounterMonthLast Stromzaehler_total_cnt_PowerDaySum Stromzaehler_total_cnt_EnergyMonthLast .Stromzaehler_total_cnt_PowerDaySum .Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_EnergyDayLast Stromzaehler_total_cnt_FinanceReserve Stromzaehler_total_cnt_CounterMeter1st .Stromzaehler_total_cnt_LastDt Stromzaehler_total_cnt_PowerCurrent .Stromzaehler_total_cnt_PrevRead Stromzaehler_total_cnt_EnergyMonth Stromzaehler_total_cnt_PowerDayCount Stromzaehler_total_cnt_CounterMonth1st
2016.12.27 09:08:56 5: myGasCalculator : GasCalculator - notify x_sets list: .MYSENSOR_7_pulse_LastDV MYSENSOR_7_pulse_PowerDayMax .MYSENSOR_7_pulse_LastDt MYSENSOR_7_pulse_EnergyDay MYSENSOR_7_pulse_CostMonthLast MYSENSOR_7_pulse_Vol1stDay MYSENSOR_7_pulse_EnergyMeter MYSENSOR_7_pulse_VolLastMeter MYSENSOR_7_pulse_VolLastYear MYSENSOR_7_pulse_VolLastDay MYSENSOR_7_pulse_Vol1stMeter MYSENSOR_7_pulse_EnergyCostMonth MYSENSOR_7_pulse_PowerCurrent MYSENSOR_7_pulse_PowerDayMin MYSENSOR_7_pulse_Meter MYSENSOR_7_pulse_EnergyCostYear MYSENSOR_7_pulse_PowerDayAver .MYSENSOR_7_pulse_PowerDaySum MYSENSOR_7_pulse_EnergyMonthLast MYSENSOR_7_pulse_EnergyCostMeter MYSENSOR_7_pulse_Vol1stYear .MYSENSOR_7_pulse_PrevRead MYSENSOR_7_pulse_EnergyCostDayLast MYSENSOR_7_pulse_EnergyYear .MYSENSOR_7_pulse_PowerDayCount MYSENSOR_7_pulse_EnergyDayLast MYSENSOR_7_pulse_EnergyMonth MYSENSOR_7_pulse_FinanceReserve MYSENSOR_7_pulse_VolLastMonth MYSENSOR_7_pulse_Vol1stMonth
2016.12.27 09:08:56 5: statistics stat_Gaszaehler: Notify.266 Notification of 'c_HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: statistics stat_Stromzaehler: Notify.266 Notification of 'c_HEIZUNG_Brenner_RL' received. Device not monitored.
2016.12.27 09:08:56 5: ORF: ORF hat ein notify von von c_HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: ORF: c_HEIZUNG_Brenner_RL EVENT: temperature: 55.5
2016.12.27 09:08:56 5: Sensor_Batterien: not on any display, ignoring notify
2016.12.27 09:08:56 5: Sensor_Batterien_Status: not on any display, ignoring notify
2016.12.27 09:08:56 5: Spiegel: Spiegel hat ein notify von von c_HEIZUNG_Brenner_RL erhalten
2016.12.27 09:08:56 5: rg_HZ_temp: not on any display, ignoring notify
2016.12.27 09:08:56 5: rg_disabled: not on any display, ignoring notify
2016.12.27 09:08:56 5: temp_rain: not on any display, ignoring notify
2016.12.27 09:08:56 5: rg_disabled: not on any display, ignoring notify
2016.12.27 09:08:56 5: temp_rain: not on any display, ignoring notify
2016.12.27 09:08:56 4: WEBtablet_192.168.255.97_44801 GET /fhem/rss/RSS_Status1_1024.png?&t=1482826136508; BUFLEN:0
2016.12.27 09:08:56 4: HttpUtils url=http://192.168.255.51:88/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD
2016.12.27 09:08:57 4: http://192.168.255.51:88/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD: HTTP response code 200
2016.12.27 09:08:57 4: HttpUtils http://192.168.255.51:88/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASSWORD: Got data, length: 227119
[Tue Dec 27 09:08:58 2016] fhem.pl: Argument "?" isn't numeric in numeric gt (>) at (eval 3268810) line 1.


Im Ausschlussverfahren erhalte ich aber nicht bei jeder dieser o.a. Meldungen folgt auch die Fehlermeldung, also ich komme hier nicht weiter.
@Rudi, wenn du die Muse hast mal einen Blick ins angehängte Logfile zu werfen? Habe eine halbe Stunde geloggt, das sind leider mehr als 200k Zeilen....

Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: rudolfkoenig am 28 Dezember 2016, 09:50:04
Das Problem haengt irgendwie mit dem RSS Update zusammen, was alle 35 Sekunden erfolgt, und zuverlaessig die Fehlermeldungen produziert. Ich kenne RSS nicht wirklich, wuerde aber die angezeigten Komponenten eins nach dem anderen ausblenden, bis das Problem nicht mehr auftritt. Als Erstes habe ich das Webcam in Verdacht.
Es gibt auch ein Haufen Meldungen wg. kaputten $defs Eintrag (ohne TYPE/NR/etc), evtl. hat das mit WebViewControl zu tun.
Btw: dein 02_RSS.pm scheint entweder alt oder experimentell zu sein: die Zeilennummer passen nicht.
Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: schka17 am 28 Dezember 2016, 11:38:02
Ah, sorry, habe ich vergessen zu erwähnen, RSS ist nicht nur alt sondern auch modifiziert, ich bin nie dazugekommen die Webseite anzupassen damit der Refresh mit der aktuellen Version funktioniert, und das deswegen weil ich eigentlich auf FTUI umbauen will, so viele Baustellen und so wenig Zeit.
Diese webview einträge kommen von der für die Tablets konfigurierten FHEMWEB instanz, webviewcontrol selbst verwende ich nicht mehr. Ok, danke, ich schau mir mal die beiden Dinge genauer an.

Gruß

Karl


Sent from my iPad using Tapatalk
Titel: Antw:(Gelöst)Wie finde ich heraus woher diese Meldung kommt > fhem.pl: Argument "?" isn't num
Beitrag von: schka17 am 30 Dezember 2016, 10:43:05
Gelöst, es war readingsval abfrage eines nicht mehr existierenden Sensors in einem RSS layout file. Ich wäre da nie darauf gekommen da die  Websiete die ich dafür verwende alle 60s refreshed wird, die Fehlermeldung aber alle 30-35s kommt.

Vielen Dank

Gruß
Karl


Sent from my iPad using Tapatalk