Hauptmenü

Fehler in der Meta.pm?

Begonnen von Jörg, 01 Oktober 2020, 20:13:43

Vorheriges Thema - Nächstes Thema

Jörg

Hallo,
seit einiger Zeit habe ich beim starten von FHEM immer die Fehlermeldung:
PERL WARNING: Use of uninitialized value in concatenation (.) or string at /opt/fhem/FHEM/Meta.pm line 2040.

Die Meldung kommt immer direkt nach "HMLAN1 device opened".

Habe ich da was falsch gemacht, oder liegt es an der Meta.pm?


LG Jörg

australien

#1
Ich häng mich da mal mit an, bekomme die Gleiche Fehlermeldung bezüglich Meta.pm.
Das ganze sicher seit ca 2 Wochen, seitem friert auch fhem unregelmäßig ein.

das sind meine Meldungen
2020.10.26 13:39:57 1: PERL WARNING: Subroutine import redefined at FHEM/Meta.pm line 654, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine InitMod redefined at FHEM/Meta.pm line 670, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine Load redefined at FHEM/Meta.pm line 706, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine SetInternals redefined at FHEM/Meta.pm line 878, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine Get redefined at FHEM/Meta.pm line 901, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine GetModuleSourceOrigin redefined at FHEM/Meta.pm line 919, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine GetKeywordDesc redefined at FHEM/Meta.pm line 940, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine ModuleIsCore redefined at FHEM/Meta.pm line 956, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine ModuleIsInternal redefined at FHEM/Meta.pm line 961, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine GetModuleFilepath redefined at FHEM/Meta.pm line 993, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine ModuleIsPerlCore redefined at FHEM/Meta.pm line 1049, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __CopyMetaToInternals redefined at FHEM/Meta.pm line 1085, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __PutMetadata redefined at FHEM/Meta.pm line 1096, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GetMetadata redefined at FHEM/Meta.pm line 1121, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GenerateKeywordsFromSupportCommunity redefined at FHEM/Meta.pm line 2426, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GetPackages redefined at FHEM/Meta.pm line 2521, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GetMaintainerdata redefined at FHEM/Meta.pm line 2556, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GetSupportForum redefined at FHEM/Meta.pm line 2770, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __GetUpdatedata redefined at FHEM/Meta.pm line 2956, <$fh> line 2130.
2020.10.26 13:39:57 1: PERL WARNING: Subroutine __SetXVersion redefined at FHEM/Meta.pm line 3206, <$fh> line 2130.
raspberry pi3
signalduino, Shelly1, Shelly2, Sonos, Unifi
Amazon Fire Tablet 7 | Noname Android Tablet 10"

amenomade

@Jörg: aktiviere Stacktrace, vielleicht siehst Du besser von welchem Device die Fehlermeldung kommt

@australien: wo ist "die gleiche Fehlermeldung" wie Jörg? Was Du hier hast ist nur ein Perl Warning, wenn man z.B. ein Modul neu lädt (mit reload o.ä)
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Dr. Ulfi

Ich bekomme beim reboot von FHEM die gleichen PERL WARNING wie bei australien, nur mit <$fh> line 1024.
Raspi
CUBE/CUNO a-culfw, Signalduino 433Mhz, Sonoff/Tasmota, EnOceanPI, Meross Smart Plug (IFTTT), ESP8266 Projekte,
MAX!-Heizungssteuerung, Intertechno IT-1500-Steckdosen, Velux KLF200 mit Somfy io

Wzut

das sind aber lediglich redefined , es geht hier aber um Jörgs  uninitialized value in concatenation :)
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

KyleK

Hallo,

ich hab die gleiche Fehlermeldung, allerdings bei einem XiaomiBTLESens device:

2020.12.26 00:24:56 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at /opt/fhem/FHEM/Meta.pm line 2040.
2020.12.26 00:24:56 1: stacktrace:
2020.12.26 00:24:56 1:     main::__ANON__                      called by /opt/fhem/FHEM/Meta.pm (2030)
2020.12.26 00:24:56 1:     FHEM::Meta::__GetMetadata           called by /opt/fhem/FHEM/Meta.pm (643)
2020.12.26 00:24:56 1:     (eval)                              called by /opt/fhem/FHEM/74_XiaomiBTLESens.pm (45)
2020.12.26 00:24:56 1:     FHEM::XiaomiBTLESens::BEGIN         called by /opt/fhem/FHEM/Meta.pm (0)
2020.12.26 00:24:56 1:     (eval)                              called by /opt/fhem/FHEM/Meta.pm (0)
2020.12.26 00:24:56 1:     (eval)                              called by fhem.pl (2644)
2020.12.26 00:24:56 1:     (eval)                              called by fhem.pl (2643)
2020.12.26 00:24:56 1:     main::CommandReload                 called by fhem.pl (2017)
2020.12.26 00:24:56 1:     main::LoadModule                    called by fhem.pl (2074)
2020.12.26 00:24:56 1:     main::CommandDefine                 called by fhem.pl (1250)
2020.12.26 00:24:56 1:     main::AnalyzeCommand                called by fhem.pl (1101)
2020.12.26 00:24:56 1:     main::AnalyzeCommandChain           called by fhem.pl (1388)
2020.12.26 00:24:56 1:     main::CommandInclude                called by fhem.pl (612)


Dieser Stacktrace kommt immer beim Neustart von FHEM.
FHEM on Futro S940
CUL868
7x MAX! Thermostat, 8x MAX! Fensterkontakte
Conbee II + deConz, TradFri Lampen, Osram Smart+ Steckdosen

Prof. Dr. Peter Henning

Erstens handelt es sich nicht um Fehlermeldungen, sondern nur um Warnungen - die kann man ignorieren.
Zweitens kann man Stacktrace auch de-aktivieren.

LG

pah