Use of uninitialized value $dev in hash element at fhem.pl

Begonnen von Maergsche, 19 August 2015, 15:00:14

Vorheriges Thema - Nächstes Thema

Maergsche

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

blueberry63

FHEM auf BBB mit Wheezy: 1x CUL_HM_HM_SCI_3_FM, 1x INSTAR CAM3010, 1x HM-LC-SW1-PL2, 1x HM-LC-Bl1PBU-FM, 1x HM-Sen-MDIR-O, Viessmann Heizung, Gaszähler via GPIO, Klingel via HM-LC-Bl1PBU-FM an FBox, Mailcheck, AVR, XBMC, NanoCUL 433+668 an Raspi per Ethernet, Funksteckdosen (Pollin, IT), Automower

thomas.lunkwitz

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

psycho160

Habe seit dem letzten Update auch

CUL_HM protstate undeviced hash to set CMDs_done

Konnte noch nicht nachvollziehen wann es genau auftritt... :-\h
- 2013@FHEM - 2020 Setup: Pi 4 4GB Systeme: Shelly, Tasmota, Zigbee und mittlerweile nur noch wenig Homematic. Entwicker von: tado-FHEM Modul (perlcritic 3 ^^)(https://git.wolfmajer.at/Public/FHEM-Tado)
- 2024@HomeAssistant, FHEM nur noch als legacy System per MQTT von HA versorgt

martinp876

der Fehler sollte behoben sein - es kommt ein log. Den trigger suche ich noch

Maergsche

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

Corrado

Grüße,

ich würde mich da mal anschließen. Habe seit gestern ebenfalls diese Meldungen.

Mihca

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.
Viele Grüße
Achim
__________
Kein Fehler ist so dumm, dass man ihn nicht machen könnte.
Raspi Ubuntu 24.04 Perl 5.38.2, Rollo-, Sonnen-, Licht-, Heizungs-, Poolsteuerung, Energiebilanzen -- HomeMatic, FS20, ESP/Tasmota/ESPEasy, CUL868v3 USB, MAX! Cube LAN mit CUL-Firmware HomeMatic

martinp876


RadioJames

Hallo Martin,

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

Grüße James
There are 10 kind of people. Those who understand binary and those who don't.

Mihca

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
Viele Grüße
Achim
__________
Kein Fehler ist so dumm, dass man ihn nicht machen könnte.
Raspi Ubuntu 24.04 Perl 5.38.2, Rollo-, Sonnen-, Licht-, Heizungs-, Poolsteuerung, Energiebilanzen -- HomeMatic, FS20, ESP/Tasmota/ESPEasy, CUL868v3 USB, MAX! Cube LAN mit CUL-Firmware HomeMatic

martinp876


Mihca

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!
Viele Grüße
Achim
__________
Kein Fehler ist so dumm, dass man ihn nicht machen könnte.
Raspi Ubuntu 24.04 Perl 5.38.2, Rollo-, Sonnen-, Licht-, Heizungs-, Poolsteuerung, Energiebilanzen -- HomeMatic, FS20, ESP/Tasmota/ESPEasy, CUL868v3 USB, MAX! Cube LAN mit CUL-Firmware HomeMatic

martinp876


Mihca

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
Viele Grüße
Achim
__________
Kein Fehler ist so dumm, dass man ihn nicht machen könnte.
Raspi Ubuntu 24.04 Perl 5.38.2, Rollo-, Sonnen-, Licht-, Heizungs-, Poolsteuerung, Energiebilanzen -- HomeMatic, FS20, ESP/Tasmota/ESPEasy, CUL868v3 USB, MAX! Cube LAN mit CUL-Firmware HomeMatic