Autor Thema: Meta.pm - PERL WARNING, stacktrace ...  (Gelesen 517 mal)

Offline HomeAuto_User

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1052
Meta.pm - PERL WARNING, stacktrace ...
« am: 19 Mai 2021, 22:45:38 »
Hallo @loredo,

wir sind im Besitz eines Modules https://github.com/RFD-FHEM/SIGNALduino_TOOL/blob/pre-release/FHEM/88_SIGNALduino_TOOL.pm wo ich die Metadaten eingebunden habe.
Lange habe ich nach der Ursache gesucht von folgendem Fehler

2021.05.19 22:37:31 1: PERL WARNING: Use of uninitialized value in string ne at FHEM/Meta.pm line 1875.
2021.05.19 22:37:31 1: stacktrace:
2021.05.19 22:37:31 1:     main::__ANON__                      called by FHEM/Meta.pm (1875)
2021.05.19 22:37:31 1:     FHEM::Meta::__GetMetadata           called by FHEM/Meta.pm (1109)
2021.05.19 22:37:31 1:     FHEM::Meta::__PutMetadata           called by FHEM/Meta.pm (673)
2021.05.19 22:37:31 1:     FHEM::Meta::InitMod                 called by ./FHEM/88_SIGNALduino_TOOL.pm (123)
2021.05.19 22:37:31 1:     main::SIGNALduino_TOOL_Initialize   called by fhem.pl (2692)
2021.05.19 22:37:31 1:     (eval)                              called by fhem.pl (2675)
2021.05.19 22:37:31 1:     main::CommandReload                 called by fhem.pl (2037)
2021.05.19 22:37:31 1:     main::LoadModule                    called by fhem.pl (2102)
2021.05.19 22:37:31 1:     main::CommandDefine                 called by fhem.pl (1265)
2021.05.19 22:37:31 1:     main::AnalyzeCommand                called by fhem.pl (1116)
2021.05.19 22:37:31 1:     main::AnalyzeCommandChain           called by fhem.pl (1403)
2021.05.19 22:37:31 1:     main::CommandInclude                called by fhem.pl (619)
2021.05.19 22:37:31 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/Meta.pm line 2115.
2021.05.19 22:37:31 1: stacktrace:
2021.05.19 22:37:31 1:     main::__ANON__                      called by FHEM/Meta.pm (2115)
2021.05.19 22:37:31 1:     FHEM::Meta::__GetMetadata           called by FHEM/Meta.pm (1109)
2021.05.19 22:37:31 1:     FHEM::Meta::__PutMetadata           called by FHEM/Meta.pm (673)
2021.05.19 22:37:31 1:     FHEM::Meta::InitMod                 called by ./FHEM/88_SIGNALduino_TOOL.pm (123)
2021.05.19 22:37:31 1:     main::SIGNALduino_TOOL_Initialize   called by fhem.pl (2692)
2021.05.19 22:37:31 1:     (eval)                              called by fhem.pl (2675)
2021.05.19 22:37:31 1:     main::CommandReload                 called by fhem.pl (2037)
2021.05.19 22:37:31 1:     main::LoadModule                    called by fhem.pl (2102)
2021.05.19 22:37:31 1:     main::CommandDefine                 called by fhem.pl (1265)
2021.05.19 22:37:31 1:     main::AnalyzeCommand                called by fhem.pl (1116)
2021.05.19 22:37:31 1:     main::AnalyzeCommandChain           called by fhem.pl (1403)
2021.05.19 22:37:31 1:     main::CommandInclude                called by fhem.pl (619)
2021.05.19 22:37:31 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/Meta.pm line 2393.
2021.05.19 22:37:31 1: stacktrace:
2021.05.19 22:37:31 1:     main::__ANON__                      called by FHEM/Meta.pm (2393)
2021.05.19 22:37:31 1:     FHEM::Meta::__GetMetadata           called by FHEM/Meta.pm (1109)
2021.05.19 22:37:31 1:     FHEM::Meta::__PutMetadata           called by FHEM/Meta.pm (673)
2021.05.19 22:37:31 1:     FHEM::Meta::InitMod                 called by ./FHEM/88_SIGNALduino_TOOL.pm (123)
2021.05.19 22:37:31 1:     main::SIGNALduino_TOOL_Initialize   called by fhem.pl (2692)
2021.05.19 22:37:31 1:     (eval)                              called by fhem.pl (2675)
2021.05.19 22:37:31 1:     main::CommandReload                 called by fhem.pl (2037)
2021.05.19 22:37:31 1:     main::LoadModule                    called by fhem.pl (2102)
2021.05.19 22:37:31 1:     main::CommandDefine                 called by fhem.pl (1265)
2021.05.19 22:37:31 1:     main::AnalyzeCommand                called by fhem.pl (1116)
2021.05.19 22:37:31 1:     main::AnalyzeCommandChain           called by fhem.pl (1403)
2021.05.19 22:37:31 1:     main::CommandInclude                called by fhem.pl (619)
2021.05.19 22:37:31 1: PERL WARNING: Use of uninitialized value in string ne at FHEM/Meta.pm line 2396.
2021.05.19 22:37:31 1: stacktrace:
2021.05.19 22:37:31 1:     main::__ANON__                      called by FHEM/Meta.pm (2393)
2021.05.19 22:37:31 1:     FHEM::Meta::__GetMetadata           called by FHEM/Meta.pm (1109)
2021.05.19 22:37:31 1:     FHEM::Meta::__PutMetadata           called by FHEM/Meta.pm (673)
2021.05.19 22:37:31 1:     FHEM::Meta::InitMod                 called by ./FHEM/88_SIGNALduino_TOOL.pm (123)
2021.05.19 22:37:31 1:     main::SIGNALduino_TOOL_Initialize   called by fhem.pl (2692)
2021.05.19 22:37:31 1:     (eval)                              called by fhem.pl (2675)
2021.05.19 22:37:31 1:     main::CommandReload                 called by fhem.pl (2037)
2021.05.19 22:37:31 1:     main::LoadModule                    called by fhem.pl (2102)
2021.05.19 22:37:31 1:     main::CommandDefine                 called by fhem.pl (1265)
2021.05.19 22:37:31 1:     main::AnalyzeCommand                called by fhem.pl (1116)
2021.05.19 22:37:31 1:     main::AnalyzeCommandChain           called by fhem.pl (1403)
2021.05.19 22:37:31 1:     main::CommandInclude                called by fhem.pl (619)

bis ich dahinter kam, wenn ich das Modul umbenenne in 88_SIGNALduinoTOOL.pm mit Namensanpassungen, so erhalte ich den Fehler nicht.

Kann es durhaus sein, das du in deinem Modul eine Syntaxprüfung via RegEx oder so durchführst wo der Modulname mit Unterstrich durchfällt?

Ich erbitte Mithilfe um die PERL WARNING zu bereinigen.

Mfg Marco
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Offline HomeAuto_User

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1052
Antw:Meta.pm - PERL WARNING, stacktrace ...
« Antwort #1 am: 31 Mai 2021, 21:42:25 »
Hier scheint wohl die Luft raus zu sein bei dem Modul?  ???
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Online CoolTux

  • Developer
  • Hero Member
  • ****
  • Beiträge: 27061
Antw:Meta.pm - PERL WARNING, stacktrace ...
« Antwort #2 am: 01 Juni 2021, 05:59:27 »
Julian ist in der Tat aktuell nicht aktiv. Du kannst auf github/fhem ein PR einreichen, eventuell bekommt er das mit.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Mein Dokuwiki:
https://www.cooltux.net