FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: Maergsche am 19 August 2015, 15:00:14

Titel: Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Maergsche am 19 August 2015, 15:00:14
Hallo, muss ich mir wegen der Meldung im Log sorgen machen?

15.08.19 14:55:11 0: Server started with 342 defined entities (version $Id: fhem.pl 9091 2015-08-18 06:07:48Z rudolfkoenig $, os linux, user fhem, pid 15270)
2015.08.19 14:55:12 1: HMLAN_Parse: CUL_HM new condition ok
2015.08.19 14:55:17 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.19 14:55:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 5992.
2015.08.19 14:55:17 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3381.

Fhem ist auf dem neusten Stand !

Gruß Marc
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: blueberry63 am 20 August 2015, 11:29:54
Ich habe auch solche Zeilen im LOG
Gruß
Blueberry63
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: thomas.lunkwitz am 20 August 2015, 16:40:13
Hi,

Ich habe leider auch derartige Meldungen im Log. Mal kommen die gehäuft, dann wieder eine ganze Weile nicht. Heute morgen erst das letzte Update gemacht.

Zitat2015.08.20 16:27:09 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.20 16:24:08 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.20 15:35:07 2: CUL_HM protstate undeviced hash to set CMDs_done

Zitat$Id: fhem.pl 9091 2015-08-18 06:07:48Z rudolfkoenig $
# $Id: 10_CUL_HM.pm 9082 2015-08-16 17:25:29Z martinp876 $
# $Id: 72_FB_CALLLIST.pm 9001 2015-07-28 20:57:40Z markusbloch $
# $Id: 72_FB_CALLMONITOR.pm 8791 2015-06-21 11:23:23Z markusbloch $
# $Id: 01_FHEMWEB.pm 9079 2015-08-16 10:43:51Z rudolfkoenig $
# $Id: 92_FileLog.pm 9065 2015-08-13 18:09:42Z rudolfkoenig $
# $Id: 00_HMLAN.pm 9012 2015-08-02 08:41:25Z martinp876 $
# $Id: 98_HourCounter.pm 7336 2014-12-27 20:00:00Z john $
# $Id: 73_PRESENCE.pm 8638 2015-05-26 19:34:04Z markusbloch $
# $Id: 99_SUNRISE_EL.pm 6765 2014-10-14 18:24:29Z rudolfkoenig $
# $Id: 98_SVG.pm 8965 2015-07-14 13:56:38Z rudolfkoenig $
# $Id: 42_SYSMON.pm 8998 2015-07-28 08:54:05Z hexenmeister $
# $Id: 32_SYSSTAT.pm 8914 2015-07-07 16:58:36Z justme1968 $
# $Id: 59_Twilight.pm 8743 2015-06-14 12:14:57Z dietmar63 $
# $Id: 99_Utils.pm 7914 2015-02-08 11:14:10Z rudolfkoenig $
# $Id: 98_WOL.pm 8905 2015-07-06 17:32:56Z dietmar63 $
# $Id: 59_Weather.pm 8937 2015-07-11 12:56:21Z borisneubert $
# $Id: 98_WeekdayTimer.pm 8907 2015-07-06 17:41:47Z dietmar63 $
# $Id: 90_at.pm 8326 2015-03-29 13:30:57Z rudolfkoenig $
# $Id: 98_autocreate.pm 9096 2015-08-19 10:29:16Z rudolfkoenig $
# $Id: 98_average.pm 5443 2014-04-05 06:37:49Z rudolfkoenig $
# $Id: 98_dummy.pm 8809 2015-06-23 18:02:33Z rudolfkoenig $
# $Id: 91_eventTypes.pm 8725 2015-06-10 09:50:06Z rudolfkoenig $
# $Id: 99_myUtils.pm 0001 2014-11-10 13:07 ThomasLunkwitz $
# $Id: 91_notify.pm 8953 2015-07-13 15:13:06Z rudolfkoenig $
# $Id: 33_readingsGroup.pm 8980 2015-07-26 08:03:43Z justme1968 $
# $Id: 98_restore.pm 6451 2014-08-24 11:46:10Z rudolfkoenig $
# $Id: 98_structure.pm 8330 2015-03-29 16:14:59Z rudolfkoenig $
# $Id: 98_telnet.pm 8952 2015-07-13 12:30:26Z rudolfkoenig $
# $Id: 98_update.pm 8574 2015-05-14 07:59:32Z rudolfkoenig $

Gruß
Thomas
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: psycho160 am 20 August 2015, 21:10:27
Habe seit dem letzten Update auch

CUL_HM protstate undeviced hash to set CMDs_done

Konnte noch nicht nachvollziehen wann es genau auftritt... :-\h
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: martinp876 am 22 August 2015, 07:39:46
der Fehler sollte behoben sein - es kommt ein log. Den trigger suche ich noch
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Maergsche am 26 August 2015, 08:55:06
Nach einen Update heute (2015-08-26 08:30:00) bekomme ich nun folgende Meldungen...

Zitat
2015.08.26 08:31:33 0: Server started with 354 defined entities (version $Id: fhem.pl 9118 2015-08-23 12:43:56Z rudolfkoenig $, os linux, user fhem, pid 20066)
2015.08.26 08:31:33 3: CUL_HM set Flur_Dings statusRequest
2015.08.26 08:31:34 1: HMLAN_Parse: CUL_HM new condition ok
2015.08.26 08:31:37 3: CUL_HM set Garten_Bums_Sw statusRequest
2015.08.26 08:31:38 3: CUL_HM set Garten_Bums_Pwr statusRequest
2015.08.26 08:31:38 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.26 08:31:38 1: CUL_HM error removing pending commands
2015.08.26 08:31:38 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3389.
2015.08.26 08:31:40 3: CUL_HM set HM_38B578_Sw statusRequest
2015.08.26 08:31:40 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.26 08:31:40 1: CUL_HM error removing pending commands
2015.08.26 08:31:41 3: CUL_HM set HM_38B578_Pwr statusRequest
2015.08.26 08:31:42 3: CUL_HM set HM_38B894_Sw statusRequest
2015.08.26 08:31:43 3: CUL_HM set HM_38B894_Pwr statusRequest
2015.08.26 08:31:45 3: CUL_HM set Keller_Waschmaschiene_Sw statusRequest
2015.08.26 08:31:46 3: CUL_HM set Klingel statusRequest
2015.08.26 08:31:48 3: CUL_HM set Kueche_Lampe_Sw statusRequest
2015.08.26 08:31:48 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.26 08:31:48 1: CUL_HM error removing pending commands
2015.08.26 08:31:49 3: CUL_HM set Kueche_Lampe_Pwr statusRequest
2015.08.26 08:31:50 3: CUL_HM set Schlafzimmer_SteckdoseTV_Sw statusRequest
2015.08.26 08:31:51 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.26 08:31:51 1: CUL_HM error removing pending commands
....


Evtl. Evtl hat folgendes Thema ja was mit der anpassung deses Themas zu tun?
http://forum.fhem.de/index.php?topic=40315.0

Gruß Marc
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Corrado am 27 August 2015, 06:59:53
Grüße,

ich würde mich da mal anschließen. Habe seit gestern ebenfalls diese Meldungen.
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Mihca am 28 August 2015, 08:55:55
Guten Mogen zusammen,
ich habe ebenfalls seit etwa 2 Wochen dies Fehlermeldungen:
2015.08.28 08:48:26 2: CUL_HM protstate undeviced hash to set CMDs_done
2015.08.28 08:48:26 1: CUL_HM error removing pending commands
2015.08.28 08:48:26 1: PERL WARNING: Use of uninitialized value $dev in hash element at fhem.pl line 3389.
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: martinp876 am 28 August 2015, 23:07:03
nach update noch einmal testen bitte
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: RadioJames am 29 August 2015, 11:58:17
Hallo Martin,

danke für das Update. Ich bekomme die Meldungen nun nicht mehr.

Grüße James
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Mihca am 29 August 2015, 18:02:55
Hallo Martin,

bei mir kommt die Meldung nach heutigem update leider immer noch.

2015.08.29 09:23:52 1: PERL WARNING: Use of uninitialized value in string ne at fhem.pl line 3894.
2015.08.29 11:42:25 2: CUL_HM protstate undeviced hash to set CMDs_done


bisher kommt allerdings nicht mehr die Meldung:

2015.08.29 07:43:23 1: CUL_HM error removing pending commands

Vielen Dank vorab für die Hilfe!!

Mihca
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: martinp876 am 29 August 2015, 19:39:42
sollte schon neuere Versionen geben - immer noch?
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Mihca am 30 August 2015, 08:50:47
ja, der Auszug von gestern war aus dem Log der Version vom 29.08.  Mit dem heutigen Update wird 10_CUL_HM beim Start mit einer langen Fehlermeldung deaktiviert. Hier der Auszug der ersen Zeilen:

2015.08.30 08:36:42 1: reload: Error:Modul 10_CUL_HM deactivated:
Global symbol "$nAttr" requires explicit package name at ./FHEM/10_CUL_HM.pm line 6232, <$fh> line 248.
Global symbol "$nAttr" requires explicit package name at ./FHEM/10_CUL_HM.pm line 6233, <$fh> line 248.
BEGIN not safe after errors--compilation aborted at ./FHEM/10_CUL_HM.pm line 6451, <$fh> line 248.


Bei Bedarf kann ich gerne mehr aus dem Logfile posten. Danke vorab!
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: martinp876 am 30 August 2015, 15:48:11
sorry - schlechte Version. ist korrigiert
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Mihca am 31 August 2015, 19:00:41
vielen Dank! 2 der 3 Fehlermeldungen sind jetzt behoben. Es bleibt aber die Meldung

2015.08.31 08:38:48 1: PERL WARNING: Use of uninitialized value in string ne at fhem.pl line 3894.

die einmalig etwa 10-30 Min nach dem Neustart erscheint. Gibt es dafür eine Lösung oder einen Verdacht, was es sein könnte.

Danke vorab!!

Grüße Mihca
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: frank am 31 August 2015, 19:11:22
habe vorhin ein update gemacht und kann es nicht bestätigen. im gegenteil, seit wochen keine warnings oder andere meldungen mehr (zumindestens bis 2h nach reboot).
Titel: Antw:Use of uninitialized value $dev in hash element at fhem.pl
Beitrag von: Mihca am 01 September 2015, 10:16:17
ich habe mir die fhem.pl mal in der betreffenden Zeile 3894 angesehen und dann auf Verdacht bei dem vorhandenen WMBUS Stromzaehler, der auf event-on-change-reading .* stand, auf jederzeit loggen umgestellt. Dann taucht der Fehler nicht mehr auf.