[erledigt] [cul-hm] (und weitere) json-probleme

Begonnen von the ratman, 24 Juli 2019, 08:25:15

Vorheriges Thema - Nächstes Thema

the ratman

hiho,

steh wieder mal bei "neustart-warnings" an. als einzige gemeinsamkeit scheint hier irgendwas mit json nicht zu stimmen.
in homematic trag ichs jetzt nur mal ein, weils hm an erster stelle steht. also sorry, falls ich total falsch hier bin, ich weiß es aber nicht besser in dem fall!

kann mir also jemand eventuell sagen, wo und wie ich hier ansetzen muß?2019.07.24 08:12:33 1: update finished, "shutdown restart" is needed to activate the changes.
2019.07.24 08:12:36 1: Server shutdown delayed due to logdb for max 10 sec
2019.07.24 08:12:46 0: Server shutdown
2019.07.24 08:12:47 1: Including fhem.cfg
2019.07.24 08:12:47 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4524, <$fh> line 200.
2019.07.24 08:12:47 1: stacktrace:
2019.07.24 08:12:47 1:     main::__ANON__                      called by fhem.pl (4524)
2019.07.24 08:12:47 1:     main::AttrVal                       called by ./FHEM/10_CUL_HM.pm (9328)
2019.07.24 08:12:47 1:     main::CUL_HM_ActCheck               called by ./FHEM/10_CUL_HM.pm (9211)
2019.07.24 08:12:47 1:     main::CUL_HM_ActAdd                 called by ./FHEM/10_CUL_HM.pm (716)
2019.07.24 08:12:47 1:     main::CUL_HM_Attr                   called by fhem.pl (3753)
2019.07.24 08:12:47 1:     main::CallFn                        called by fhem.pl (2995)
2019.07.24 08:12:47 1:     main::CommandAttr                   called by fhem.pl (1236)
2019.07.24 08:12:47 1:     main::AnalyzeCommand                called by fhem.pl (1089)
2019.07.24 08:12:47 1:     main::AnalyzeCommandChain           called by fhem.pl (1377)
2019.07.24 08:12:47 1:     main::CommandInclude                called by fhem.pl (601)
2019.07.24 08:12:48 1: PERL WARNING: Prototype mismatch: sub main::decode_json ($) vs ($;$) at /usr/share/perl/5.24/Exporter.pm line 66, <$fh> line 542.
2019.07.24 08:12:48 1: stacktrace:
2019.07.24 08:12:48 1:     main::__ANON__                      called by /usr/share/perl/5.24/Exporter.pm (66)
2019.07.24 08:12:48 1:     Exporter::import                    called by ./FHEM/82_LGTV_WebOS.pm (70)
2019.07.24 08:12:48 1:     (eval)                              called by ./FHEM/82_LGTV_WebOS.pm (68)
2019.07.24 08:12:48 1:     (eval)                              called by fhem.pl (2605)
2019.07.24 08:12:48 1:     (eval)                              called by fhem.pl (2604)
2019.07.24 08:12:48 1:     main::CommandReload                 called by fhem.pl (1992)
2019.07.24 08:12:48 1:     main::LoadModule                    called by fhem.pl (2049)
2019.07.24 08:12:48 1:     main::CommandDefine                 called by fhem.pl (1236)
2019.07.24 08:12:48 1:     main::AnalyzeCommand                called by fhem.pl (1089)
2019.07.24 08:12:48 1:     main::AnalyzeCommandChain           called by fhem.pl (1377)
2019.07.24 08:12:48 1:     main::CommandInclude                called by fhem.pl (601)
2019.07.24 08:12:48 1: PERL WARNING: Prototype mismatch: sub FHEM::UWZ::decode_json ($) vs ($;$) at /usr/share/perl/5.24/Exporter.pm line 66, <$fh> line 3267.
2019.07.24 08:12:48 1: stacktrace:
2019.07.24 08:12:48 1:     main::__ANON__                      called by /usr/share/perl/5.24/Exporter.pm (66)
2019.07.24 08:12:48 1:     Exporter::import                    called by ./FHEM/77_UWZ.pm (75)
2019.07.24 08:12:48 1:     (eval)                              called by ./FHEM/77_UWZ.pm (73)
2019.07.24 08:12:48 1:     (eval)                              called by fhem.pl (2605)
2019.07.24 08:12:48 1:     (eval)                              called by fhem.pl (2604)
2019.07.24 08:12:48 1:     main::CommandReload                 called by fhem.pl (1992)
2019.07.24 08:12:48 1:     main::LoadModule                    called by fhem.pl (2049)
2019.07.24 08:12:48 1:     main::CommandDefine                 called by fhem.pl (1236)
2019.07.24 08:12:48 1:     main::AnalyzeCommand                called by fhem.pl (1089)
2019.07.24 08:12:48 1:     main::AnalyzeCommandChain           called by fhem.pl (1377)
2019.07.24 08:12:48 1:     main::CommandInclude                called by fhem.pl (601)
2019.07.24 08:12:49 1: PERL WARNING: Prototype mismatch: sub main::decode_json ($;$) vs ($) at (eval 172) line 1.
2019.07.24 08:12:49 1: stacktrace:
2019.07.24 08:12:49 1:     main::__ANON__                      called by /usr/share/perl/5.24/Carp.pm (169)
2019.07.24 08:12:49 1:     Carp::carp                          called by /usr/share/perl/5.24/Exporter/Heavy.pm (38)
2019.07.24 08:12:49 1:     Exporter::Heavy::__ANON__           called by /usr/share/perl/5.24/Exporter/Heavy.pm (185)
2019.07.24 08:12:49 1:     Exporter::Heavy::heavy_export       called by /usr/share/perl/5.24/Exporter/Heavy.pm (205)
2019.07.24 08:12:49 1:     Exporter::Heavy::heavy_export_to_level called by /usr/share/perl5/JSON.pm (111)
2019.07.24 08:12:49 1:     JSON::import                        called by (eval 172) (1)
2019.07.24 08:12:49 1:     main::BEGIN                         called by (eval 172) (1)
2019.07.24 08:12:49 1:     (eval)                              called by (eval 172) (1)
2019.07.24 08:12:49 1:     (eval)                              called by ./FHEM/72_FRITZBOX.pm (56)
2019.07.24 08:12:49 1:     (eval)                              called by fhem.pl (2605)
2019.07.24 08:12:49 1:     (eval)                              called by fhem.pl (2604)
2019.07.24 08:12:49 1:     main::CommandReload                 called by fhem.pl (1992)
2019.07.24 08:12:49 1:     main::LoadModule                    called by fhem.pl (2049)
2019.07.24 08:12:49 1:     main::CommandDefine                 called by fhem.pl (1236)
2019.07.24 08:12:49 1:     main::AnalyzeCommand                called by fhem.pl (1089)
2019.07.24 08:12:49 1:     main::AnalyzeCommandChain           called by fhem.pl (1377)
2019.07.24 08:12:49 1:     main::CommandInclude                called by fhem.pl (601)
2019.07.24 08:13:01 1: Including ./log/fhem.save
2019.07.24 08:13:10 0: Featurelevel: 5.9

das ganze rennt in einer vm mit nem 08/15 debian, dass auch brav up2date ist.
→do↑p!dnʇs↓shit←

betateilchen

#1
Die Meldungen bezüglich des protoype mismatch kommen aus fhem.pl, dazu solltest Du in der richtigen Forumrubrik für fhem.pl nachfragen.

Die erste Meldung kommt aus Homematic, ist nicht weiter schlimm, sondern nur unschön - und sie wurde schon von anderen Usern gemeldet.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

betateilchen

Sorry, mein erster Satz war natürlich Quatsch. Die Meldung kommt aus perl selbst.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

the ratman

no problem *g*

mir gings eh nur darum, mal rauszufinden, obs gröbere probleme gibt. wenn das einzelne modulprobleme sind, is es mir derzeit egal - ihr richtets dass sicher mal bei zeiten.
wäre nur blöd gewesen, hätte mit z.b. json selber was nicht gestimmt.
→do↑p!dnʇs↓shit←