Hallo,
Heute morgen musste ich mein FHEM neustarten, weil es sich aufgehangen hatten und nun bekomme ich die Fehlermeldung, dass das KVPUDP Modul nicht geladen werden kann:
2017.11.07 08:06:54 1: reload: Error:Modul 36_KVPUDP deactivated:
Unrecognized character \x0E; marked by <-- HERE after nterFace"
<-- HERE near column 73 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/IO/Socket/Multicast.pm line 89, <$fh> line 1328.
Compilation failed in require at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
BEGIN failed--compilation aborted at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
2017.11.07 08:06:54 0: Unrecognized character \x0E; marked by <-- HERE after nterFace"
<-- HERE near column 73 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/IO/Socket/Multicast.pm line 89, <$fh> line 1328.
Compilation failed in require at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
BEGIN failed--compilation aborted at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
2017.11.07 08:06:55 1: Including ./log/fhem.save
2017.11.07 08:06:56 1: configfile: Cannot load module KVPUDP
Hat jemand eine Idee, wo das her kommt?
Gruß
Stefan
Filesystem beschädigt?
Gute Frage.
Ich hoffe nicht. Ich hab jetzt mal das Multicast Modul neu installiert und auf einmal geht es wieder.
Komisch.
Muss wohl doch mal ein Backup der kompletten SD Karte machen.
Kann man das Filesystem irgendwie prüfen?
Zitat von: gloob am 07 November 2017, 08:09:12
2017.11.07 08:06:54 1: reload: Error:Modul 36_KVPUDP deactivated:
Unrecognized character \x0E; marked by <-- HERE after nterFace"
<-- HERE near column 73 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/IO/Socket/Multicast.pm line 89, <$fh> line 1328.
Compilation failed in require at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
BEGIN failed--compilation aborted at ./FHEM/36_KVPUDP.pm line 31, <$fh> line 1328.
in Zeile 31 in 36_KVPUDP.pm wird die Bibliothek IO::Socket::Multicast eingebunden.
In dieser gibt es in Zeile 89 den compile-Fehler (ggf. auch nur wieder etwas importiertes).
Hallo zusammen,
ich habe ein Raspberry mit Buster aufgesetzt, läuft alles bis auf KVPUDP:
2019.12.18 22:07:01 1: reload: Error:Modul 36_KVPUDP deactivated:
Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 168, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 168, near "}) "
Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 186, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 186, near "}) "
Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 333, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 333, near "}) "
2019.12.18 22:07:01 0: Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 168, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 168, near "}) "
Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 186, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 186, near "}) "
Experimental keys on scalar is now forbidden at ./FHEM/36_KVPUDP.pm line 333, <$fh> line 1980.
Type of arg 1 to keys must be hash or array (not hash element) at ./FHEM/36_KVPUDP.pm line 333, near "}) "
Unter Jessie gibt es keine Probleme.
Irgendeine Idee?
Grüße
Rainer
welche perl-Version läuft auf dem jeweiligen System?
Hallo habeIchVergessen,
pi@RaspiFHEM - ~ perl -v
This is perl 5, version 28, subversion 1 (v5.28.1) built for arm-linux-gnueabihf-thread-multi-64int
(with 61 registered patches, see perl -V for more detail)
Copyright 1987-2018, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Grüße
Rainer
auf meinem cubietruck läuft auch v5.28.1. allerdings "nur" unter debian stretch.
root@cubietruck:~# perl -v
This is perl 5, version 28, subversion 1 (v5.28.1) built for arm-linux-gnueabihf-thread-multi-64int
(with 61 registered patches, see perl -V for more detail)
Copyright 1987-2018, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
hab mal ein raspi buster aufgesetzt und fhem via .deb (http://fhem.de/fhem-5.9.deb) installiert. da war ein Sack voll perl-Libs mit zu installieren.
apt-get install libdevice-serialport-perl libwww-perl libio-socket-ssl-perl libcgi-pm-perl libjson-perl sqlite3 libdbd-sqlite3-perl libtext-diff-perl libio-socket-multicast-perl libhtml-parser-perl perl-dbdabi-94 libnet-ssleay-perl liburi-perl libencode-locale-perl libfile-listing-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libnet-http-perl libtry-tiny-perl libwww-robotrules-perl libdata-dump-perl libhtml-form-perl libhtml-format-perl libhttp-daemon-perl libmailtools-perl libfont-afm-perl libtimedate-perl libio-html-perl libio-interface-perl libnet-smtp-ssl-perl perl-openssl-abi-1.1
36_KVPUDP.pm vom cubietruck kopiert (md5: 73d052df3de243459603cfca8e234ffc; size: 11.874) und in fhem Device angelegt
fhem> define myKVPUDP KVPUDP
fhem> list myKVPUDP
Internals:
Clients :KeyValueProtocol
FD 8
FUUID 5dfba8ff-f33f-ddce-a5e3-9b5b01cdaf43ad7f
MSGCNT 10
NAME myKVPUDP
NR 16
RAWMSG OK VALUES NodeMCU 0 20=4,22=-83,21=ok,4=0.00,5=236,9=-1,
STATE Opened
TIME 2019-12-19 16:45:09
TYPE KVPUDP
MatchList:
1:KeyValueProtocol ^OK\sVALUES\s
PEERS:
192.x.x.x:
ChipID 00xxxxx
Dictionary 1=Temperature,2=Pressure,18=GasResistance,3=Humidity,4=WindSpeed,5=WindDirection,6=WindGust,7=WindGustRef,8=RainTipCount,9=RainSecs,10=Solar,11=VoltageSolar,12=VoltageCapacitor,13=SoilLeaf,14=UV,15.1=SoilTemperature.1,16.1=SoilMoisture.1,17.1=LeafWetness.1,15.2=SoilTemperature.2,16.2=SoilMoisture.2,17.2=LeafWetness.2,15.3=SoilTemperature.3,16.3=SoilMoisture.3,15.4=SoilTemperature.4,16.4=SoilMoisture.4,20=Channel,21=Battery,22=RSSI,255=PacketDump,
IP 192.x.x.x
MSGCNT 10
RAWMSG OK VALUES NodeMCU 0 20=4,22=-83,21=ok,4=0.00,5=236,9=-1,
TIME 2019-12-19 16:45:09
Version NodeMCU.0.8b
Attributes:
version nach einem Update von FHEM
fhem> version
Latest Revision: 20780
File Rev Last Change
fhem.pl 20651 2019-12-03 08:39:54Z rudolfkoenig
98_autocreate.pm 19372 2019-05-11 15:13:59Z rudolfkoenig
91_eventTypes.pm 14888 2017-08-13 12:07:12Z rudolfkoenig
01_FHEMWEB.pm 20540 2019-11-19 08:25:23Z rudolfkoenig
92_FileLog.pm 20537 2019-11-18 21:28:30Z rudolfkoenig
36_KeyValueProtocol.pm 20300 2019-10-03 18:47:47Z HCS
36_KVPUDP.pm 0 2017-11-00 00:00:00Z habeIchVergessen
91_notify.pm 19374 2019-05-11 17:48:03Z rudolfkoenig
99_SUNRISE_EL.pm 18732 2019-02-25 13:15:34Z rudolfkoenig
98_telnet.pm 17529 2018-10-14 12:57:06Z rudolfkoenig
99_Utils.pm 18920 2019-03-16 09:58:52Z rudolfkoenig
98_version.pm 15140 2017-09-26 09:20:09Z markusbloch
AttrTemplate.pm 20425 2019-10-30 08:33:31Z rudolfkoenig
Blocking.pm 17553 2018-10-17 15:56:35Z rudolfkoenig
DevIo.pm 20174 2019-09-16 18:04:03Z rudolfkoenig
HttpUtils.pm 20375 2019-10-17 22:52:43Z rudolfkoenig
RTypes.pm 10476 2016-01-12 21:03:33Z borisneubert
SetExtensions.pm 19208 2019-04-17 19:27:09Z rudolfkoenig
TcpServerUtils.pm 19138 2019-04-07 10:17:21Z rudolfkoenig
Zitat
hab mal ein raspi buster aufgesetzt und fhem via .deb installiert. da war ein Sack voll perl-Libs mit zu installieren.
Stimmt, musste ich auch. Ich habe den obigen Befehl nochmal ausgeführt:
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
md5 und Dateigröße von 36_KVPUDP.pm?
Gerne:
pi@RaspiFHEM - /opt/fhem/FHEM ll *KVP*.pm
-rwxr-xr-x 1 fhem dialout 11504 Dez 17 22:08 36_KVPUDP.pm
pi@RaspiFHEM - /opt/fhem/FHEM md5sum 36_KVPUDP.pm
b26f768a2ddfc34ce114d02fa4d0a045 36_KVPUDP.pm
pi@RaspiFHEM - /opt/fhem/FHEM
Grüße
Rainer
probier bitte mal die letzte Version von hier (https://forum.fhem.de/index.php/topic,45545.msg889384.html#msg889384).
Das war es, jetzt läuft alles.
Vielen Dank, schöne Festtage und guten Rutsch!
Grüße
Rainer