Use of uninitialized value in string ne at fhem.pl line 2709. fhem.pl 2203 2012-11-27

356 views
Skip to first unread message

Martin Mauser

unread,
Nov 28, 2012, 2:53:17 PM11/28/12
to fhem-...@googlegroups.com
Nabend zusammen, 

habe gerade ein update auf

Server started (version Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 2203 2012-11-27 07:47:41Z rudolfkoenig $, pid 20447

gemacht und seit dem füllt sich mein LOG ca. alle drei Sekunden mit so einen Eintrag:
Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709. Use of uninitialized value in string ne at fhem.pl line 2709.

ohne das ich wüsste warum und wo bzw. wie ich nach einem Fehler suchen sollte.

Wie debuged man das?

Dank Euch

Martin

Rudolf Koenig

unread,
Nov 29, 2012, 12:11:09 PM11/29/12
to fhem-...@googlegroups.com
> Use of uninitialized value in string ne at fhem.pl line 2709.
...
> Wie debuged man das?

Indem man in fhem.pl direkt vor der Zeile 2709 folgendes einfuegt:

if(!defined($rname) ||
!defined($val) ||
!defined($hash->{READINGS}{$rname})) {
Log 1, "setReadingsVal problem: $hash->{NAME}/$rname/$val";
}

und fhem neu startet.

Das Ergebnis wuerde mich auch interessieren.

Martin Mauser

unread,
Nov 29, 2012, 1:27:05 PM11/29/12
to fhem-...@googlegroups.com

Gesagt getan:

2012.11.29 19:20:39 0: Server started (version Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 2203 2012-11-27 07:47:41Z rudolfkoenig $, pid 20790)
2012.11.29 19:21:11 1: setReadingsVal problem: ActionDetector/state/check_performed
Use of uninitialized value in string ne at fhem.pl line 2716.
2012.11.29 19:21:26 1: Including fhem.cfg
2012.11.29 19:21:34 1: Including ./log/fhem.save
2012.11.29 19:22:07 1: setReadingsVal problem: ActionDetector/state/check_performed
Use of uninitialized value in string ne at fhem.pl line 2716.
2012.11.29 19:22:37 1: setReadingsVal problem: ActionDetector/state/check_performed
Use of uninitialized value in string ne at fhem.pl line 2716.

Der action detector wurde - glaube ich - automatisch erzeugt (entweder Thermostat oder Rauchmelder).

Der Code dazu auf fhem.cfg

define ActionDetector CUL_HM 000000
attr ActionDetector room X_Sonst
define FileLog_ActionDetector FileLog ./log/ActionDetector-%Y.log ActionDetector
attr FileLog_ActionDetector logtype text
attr FileLog_ActionDetector room X_Sonst

Das Log des ActionDetectors ist leer....

Jetzt neu: => Problem auf die Zeile 2716

Martin Mauser

unread,
Nov 29, 2012, 1:28:42 PM11/29/12
to fhem-...@googlegroups.com
PS: 2716 ist jetzt die neue 2709.

Und über das Update wurde der Code von mir nicht geändert - vorher lief alles ohne nix Probleme

Martin

Martin Mauser

unread,
Nov 29, 2012, 1:34:20 PM11/29/12
to fhem-...@googlegroups.com
PPS: Da kommt jetzt noch einer

Use of uninitialized value in subtraction (-) at ./FHEM/00_CUL.pm line 681.

Rudolf Koenig

unread,
Dec 1, 2012, 4:48:01 AM12/1/12
to fhem-...@googlegroups.com
> Use of uninitialized value in string ne at fhem.pl line 2716.

(Willis Patch) Gefixed und eingecheckt

> Use of uninitialized value in subtraction (-) at ./FHEM/00_CUL.pm line 681.

(Martins Patch) Gefixed und eingecheckt.

Maik

unread,
Dec 1, 2012, 11:30:53 AM12/1/12
to fhem-...@googlegroups.com
Hallo,

ich habe das gleiche Problem seit heute nacht :(

Den log fix habe ich eingefügt und folgendes bekommen.

2012.12.01 17:24:41 1: setReadingsVal problem: ActionDetector/state/check_performed
Use of uninitialized value in string ne at fhem.pl line 2714.
2012.12.01 17:25:11 1: setReadingsVal problem: ActionDetector/state/check_performed
Use of uninitialized value in string ne at fhem.pl line 2714.

update hatte ich schon ausgeführt.

thot...@gmx.net

unread,
Dec 1, 2012, 12:26:14 PM12/1/12
to fhem-...@googlegroups.com
Hallo und guten Abend,
evtl. hat es noch mehr " zersemmelt"?
Seit dem update heute Nacht erzeugt auch das Modul 93_FHEM2FHEM ein Use of uninitialized value ..... line 146
Auch fhem.pl in line 2709 besteht noch. Mein letztes update habe ich heute um 10:45 durchgeführt, in der Hoffnung, dass schon gefixt wurde.

VG

inf...@koeniglich.de

unread,
Dec 1, 2012, 12:55:27 PM12/1/12
to fhem-...@googlegroups.com


>update hatte ich schon ausgeführt.

Einchecken == update klappt ab morgen 7:45

Maik

unread,
Dec 2, 2012, 3:56:05 AM12/2/12
to fhem-...@googlegroups.com
Hallo Rudolf,

danke für den Fix scheint jetzt nicht mehr aufzutreten, allerdings habe ich beim starten noch 2 mal den fehler

2012.12.02 09:45:08 3: HMLAN1 device opened
Use of uninitialized value in subtraction (-) at ./FHEM/00_HMLAN.pm line 378, <$fh> line 57.
Use of uninitialized value in subtraction (-) at ./FHEM/00_HMLAN.pm line 378, <$fh> line 57.
2012.12.02 09:45:19 1: Including ./log/fhem.save

im log file, scheint aber alles ohne Probleme zu funktionieren.

Schönen Sontag noch.

Maik

Rudolf Koenig

unread,
Dec 2, 2012, 4:44:12 AM12/2/12
to fhem-...@googlegroups.com
> danke f�r den Fix scheint jetzt nicht mehr aufzutreten, allerdings habe ich
> beim starten noch 2 mal den fehler
>
> 2012.12.02 09:45:08 3: HMLAN1 device opened
> Use of uninitialized value in subtraction (-) at ./FHEM/00_HMLAN.pm line 378, <$fh> line 57.
> Use of uninitialized value in subtraction (-) at ./FHEM/00_HMLAN.pm line 378, <$fh> line 57.
> 2012.12.02 09:45:19 1: Including ./log/fhem.save

Mag sein, aber das hat mit dem Subject nichts zu tun, und ist die Baustelle von dem HM-Martin :)

Andreas Schaller

unread,
Dec 2, 2012, 9:41:20 AM12/2/12
to fhem-...@googlegroups.com
Hallo,

nur zur Info :

nach dem heutigen Update taucht bei mir folgende die Fehlermeldung auf 

Use of uninitialized value in string lt at fhem.pl line 1803, <$fh> line 265.

Nur bei mir?

Danke
Andreas


Am Sonntag, 2. Dezember 2012 10:44:12 UTC+1 schrieb Rudolf Koenig:
> danke f�r den Fix scheint jetzt nicht mehr aufzutreten, allerdings habe ich
Reply all
Reply to author
Forward
0 new messages