[gelöst][AMAD2, WUNDERLIST, PUSHBULLET] Cannot load Module

Begonnen von yrwyddfa, 05 Januar 2017, 14:24:23

Vorheriges Thema - Nächstes Thema

yrwyddfa

Hallo zusammen,
Seit dem letzten Update (?) laden diese drei Module bei mir nicht mehr: AMAD, wunderlist und Pushbullet. Da ich konfigurationstechnisch nichts geändert habe, was das hätte verursachen können, stehe ich gerade etwas ratlos da, wie ich hier die Fehlersuche gestalten kann. Hat jemand ein ähnliches Problem schon gehabt und beheben könne oder jemand ne Idee, wo ich noch sinnvoll Infos bekommen kann? Danke schon mal!
If every day has its number, Monday would be a zero division.

marvin78

Hier fehlen eine Menge Informationen. Wie oft machst du ein Update, wann war das letzte vor diesem? Hilft ein restore? Was sagt version? Hast du in die Perl-Abhängigkeiten der betroffenen Module geschaut?

Bitte noch einmal darüber informieren, welche Informationen hier für einen reibungslosen Support benötigt werden und auch selbst überlegen, was für den Helfenden sinnvoll sein könnte.

CoolTux

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/
Das TuxNet Wiki:
https://www.cooltux.net

yrwyddfa

Hallo zusammen,

danke für die schnellen Antworten und entschuldigt mein schlampiges Eingangsposting - man sollte sowas nicht von unterwegs machen. Ich habe heute ein update gemacht und das hier ist beim Neustart im Log erschienen:


2017.01.05 14:27:48 1: update finished, "shutdown restart" is needed to activate the changes.
2017.01.05 14:28:05 0: Server shutdown
2017.01.05 14:28:06 1: BlockingInformParent (BlockingStart): Can't connect to localhost:34974: IO::Socket::INET: connect: Connection refused
2017.01.05 14:28:06 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:34974: IO::Socket::INET: connect: Connection refused
2017.01.05 14:28:08 1: Including fhem.cfg
2017.01.05 14:28:08 3: telnetPort: port 7072 opened
2017.01.05 14:28:09 3: WEB: port 8083 opened
2017.01.05 14:28:09 3: WEBphone: port 8084 opened
2017.01.05 14:28:09 3: WEBtablet: port 8085 opened
2017.01.05 14:28:09 2: eventTypes: loaded 927 events from ./log/eventTypes.txt
2017.01.05 14:28:09 3: Opening CUL868MAX device /dev/CUL868_1-1.5
2017.01.05 14:28:09 3: Setting CUL868MAX serial parameters to 9600,8,N,1
2017.01.05 14:28:10 3: CUL868MAX: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2017.01.05 14:28:10 3: CUL868MAX device opened
2017.01.05 14:28:10 2: Switched CUL868MAX rfmode to MAX
2017.01.05 14:28:10 3: CUL_MAX_Check: Detected firmware version 161 of the CUL-compatible IODev
2017.01.05 14:28:10 3: Opening myJeeLink device /dev/ttyUSB0
2017.01.05 14:28:10 3: Setting myJeeLink serial parameters to 57600,8,N,1
2017.01.05 14:28:11 3: myJeeLink device opened
2017.01.05 14:28:11 3: Opening CUL433IT device /dev/serial/by-id/usb-busware.de_CUL433-if00
2017.01.05 14:28:11 3: Setting CUL433IT serial parameters to 38400,8,N,1
2017.01.05 14:28:12 3: CUL433IT: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2017.01.05 14:28:12 3: CUL433IT device opened
2017.01.05 14:28:12 2: Switched CUL433IT rfmode to MAX
2017.01.05 14:28:12 3: Temp_WZ: I/O device is myJeeLink
2017.01.05 14:28:12 3: Temp_Bk: I/O device is myJeeLink
2017.01.05 14:28:12 3: Temp_BD: I/O device is myJeeLink
2017.01.05 14:28:12 3: Temp_SZ: I/O device is myJeeLink

#Ich denke, hier beginnt die Problematik:

2017.01.05 14:28:12 1: PERL WARNING: Backticks found where operator expected at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode/Alias.pm line 213, near "(# Standar`"
2017.01.05 14:28:12 1: PERL WARNING: (Missing semicolon on previous line?)
2017.01.05 14:28:12 1: reload: Error:Modul 74_AMAD deactivated:
Unrecognized character \xA0; marked by <-- HERE after );     !  <-- HERE near column 63 at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode/Alias.pm line 214, <$fh> line 470.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode.pm line 47, <$fh> line 470.
BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode.pm line 47, <$fh> line 470.
Compilation failed in require at ./FHEM/74_AMAD.pm line 37, <$fh> line 470.
BEGIN failed--compilation aborted at ./FHEM/74_AMAD.pm line 37, <$fh> line 470.

2017.01.05 14:28:12 0: Unrecognized character \xA0; marked by <-- HERE after );     !  <-- HERE near column 63 at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode/Alias.pm line 214, <$fh> line 470.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode.pm line 47, <$fh> line 470.
BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.20/Encode.pm line 47, <$fh> line 470.
Compilation failed in require at ./FHEM/74_AMAD.pm line 37, <$fh> line 470.
BEGIN failed--compilation aborted at ./FHEM/74_AMAD.pm line 37, <$fh> line 470.

2017.01.05 14:28:12 1: reload: Error:Modul 74_AMAD deactivated:
Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/74_AMAD.pm line 37, <$fh> line 473.
BEGIN failed--compilation aborted at ./FHEM/74_AMAD.pm line 37, <$fh> line 473.

2017.01.05 14:28:12 0: Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/74_AMAD.pm line 37, <$fh> line 473.
BEGIN failed--compilation aborted at ./FHEM/74_AMAD.pm line 37, <$fh> line 473.

2017.01.05 14:28:12 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2017.01.05 14:28:12 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2017.01.05 14:28:13 1: reload: Error:Modul 70_Pushbullet deactivated:
Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/70_Pushbullet.pm line 30, <$fh> line 630.
BEGIN failed--compilation aborted at ./FHEM/70_Pushbullet.pm line 30, <$fh> line 630.

2017.01.05 14:28:13 0: Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/70_Pushbullet.pm line 30, <$fh> line 630.
BEGIN failed--compilation aborted at ./FHEM/70_Pushbullet.pm line 30, <$fh> line 630.

2017.01.05 14:28:13 1: reload: Error:Modul 98_wunderlist deactivated:
Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10.

2017.01.05 14:28:13 0: Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10.

2017.01.05 14:28:13 1: reload: Error:Modul 98_wunderlist deactivated:
Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10, <$fh> line 675.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10, <$fh> line 675.

2017.01.05 14:28:13 0: Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10, <$fh> line 675.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10, <$fh> line 675.

2017.01.05 14:28:13 1: reload: Error:Modul 98_wunderlist deactivated:
Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10, <$fh> line 678.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10, <$fh> line 678.

2017.01.05 14:28:13 0: Attempt to reload Encode.pm aborted.
Compilation failed in require at ./FHEM/98_wunderlist.pm line 10, <$fh> line 678.
BEGIN failed--compilation aborted at ./FHEM/98_wunderlist.pm line 10, <$fh> line 678.

2017.01.05 14:28:13 3: LaCrosse_Unbekannt: I/O device is myJeeLink
2017.01.05 14:28:13 1: Including ./log/fhem.save
2017.01.05 14:28:14 1: configfile: Cannot load module AMAD
Cannot load module AMAD
Cannot load module Pushbullet
Cannot load module wunderlist
Cannot load module wunderlist
Cannot load module wunderlist



Die Module liefen bis dahin einwandfrei, fehlende Abhängigkeiten hätte ich daher erst mal ausgeschlossen, oder?


Vielen Dank fürs Helfen und vor allem für eure Geduld :)
If every day has its number, Monday would be a zero division.

marvin78

Aus dem Log geht hervor, dass Encode.pm nicht geladen werden kann. Das wird von all diesen Modulen zur UTF8 Codierung verwendet und sollte in jeder Perl Standard-Installation vorhanden sein. Hier solltest du ansetzen.

yrwyddfa

Aah, ok, vielen Dank. Da muss sich das wohl irgendwie beim Update aufgehängt haben. Ich habe es jetzt folgendermaßen gemacht:

Ich bin auf die Shell des Fhemservers (via ssh, läuft bei mir ja über einen Pi), und dann:


$: sudo service fhem stop
$: sudo apt-get remove perl
$: sudo apt-get autoremove
$: sudo apt-get install perl
$: sudo reboot


Jetzt musste ich noch mal die AMAD-CommBridge FhemserverIP neu setzen (Befehl steht im Log) und nun läuft es wieder. Vielen herzlichen Dank!
If every day has its number, Monday would be a zero division.