FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: od0001 am 04 Juni 2014, 18:28:16

Titel: Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 18:28:16
Hallo,
ich erhalte bei beim define eines mailcheck, z.B.
define mailcheck mailcheck imap.xyz.com xyz@me.com
diese Fehlermeldung.
Cannot load module mailcheck
Was muss ich machen, um das Modul einzubinden?
Danke
Oliver
Titel: Antw:Cannot load module mailcheck
Beitrag von: marvin78 am 04 Juni 2014, 18:29:52
Wie alt ist deine FHEM Version? Wann hast du zuletzt ein Update gemacht?
Titel: Antw:Cannot load module mailcheck
Beitrag von: Puschel74 am 04 Juni 2014, 18:32:17
Hallo,

ZitatWas muss ich machen, um das Modul einzubinden?

Wie marvin78 schon geschrieben hat - mach mal ein update.

Aber das ist wieder so ein Beitrag mit keiner Aussagekraft.
http://forum.fhem.de/index.php/topic,16311.0.html (http://forum.fhem.de/index.php/topic,16311.0.html)
Wenn alle Stricke reissen und man wirklich nicht weiß was man an Info noch posten soll kann man immer noch ein version eingeben und diesen Output in den Beitrag werfen.

Grüße
Titel: Antw:Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 18:33:11
heute - Release  : 5.5
Titel: Antw:Cannot load module mailcheck
Beitrag von: marvin78 am 04 Juni 2014, 18:35:01
Puh...

version

eingeben und Ausgabe hier posten. Am besten in Code-Tags.
Titel: Antw:Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 18:36:45
Fhem info:
  Release  : 5.5
  Branch   : DEVELOPMENT
  OS       : linux
  Arch     : mips-linux
  Perl     : v5.12.2
  uniqueID : 4984234355e1950d06ce6911c702441a
  upTime   : 01:52:33

so besser?
Titel: Antw:Cannot load module mailcheck
Beitrag von: Puschel74 am 04 Juni 2014, 18:37:12
Hallo,

ZitatRelease  : 5.5
sagt so erstmal nichts aus.

Release 5.5 war aktuell zum Zeitpunkt der Veröffentlichung und ist mittlerweile schon wieder veraltet.
FHEM kann nur und ausschliesslich per update aktuell gehalten werden.

Zitatheute
Heute was?
Installiert?
Update gemacht?

Wenn du heute ein update gemacht hast dann schau mal ins Logfile und biete uns mal mehr an Infos an.
U.a. fehlt mir z.B. die Hardware auf der fhem läuft.
Also nochmal:
http://forum.fhem.de/index.php/topic,16311.0.html (http://forum.fhem.de/index.php/topic,16311.0.html)

Grüße
Titel: Antw:Cannot load module mailcheck
Beitrag von: betateilchen am 04 Juni 2014, 18:46:18
Ich tippe einfach mal, dass die für den Betrieb von mailcheck notwendigen Voraussetzungen (zusätzliche perl Module) nicht erfüllt sind. Welche zusätzlichen Module benötigt werden, steht in der commandref zu mailcheck.
Titel: Antw:Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 18:57:46
Habe jetzt eben nochmal updatefhem abgesetzt, hier das log.

2014.06.04 18:32:41 3: update get http://fhem.de/fhemupdate4/svn/controls_fhem.txt
2014.06.04 18:39:14 3: update get http://fhem.de/fhemupdate4/svn/FHEM/FhemUtils/release.pm
2014.06.04 18:39:14 1: update check Releases => local: Fhem 5.5 (DEVELOPMENT) remote: Fhem 5.5 (DEVELOPMENT)
2014.06.04 18:39:14 3: update get http://fhem.de/fhemupdate4/svn/controls_fhem.txt
2014.06.04 18:39:16 1: update saving statefile
2014.06.04 18:39:16 2: Backup with command: tar -cf - fhem.cfg ./log/fhem.save ./CHANGED ./configDB.pm ./dfu-programmer ./docs ./FHEM ./fhem.cfg ./fhem.pl ./lib ./log ./perl ./startfhem ./startfhemAsRoot ./unused ./www |gzip > ./backup/FHEM-20140604_183916.tar.gz
2014.06.04 18:48:41 1: backup done: FHEM-20140604_183916.tar.gz (14976953 Bytes)
2014.06.04 18:48:41 3: update get http://fhem.de/fhemupdate4/svn/./CHANGED
2014.06.04 18:48:42 3: update get http://fhem.de/fhemupdate4/svn/FHEM/10_CUL_HM.pm
2014.06.04 18:48:42 3: update get http://fhem.de/fhemupdate4/svn/FHEM/33_readingsGroup.pm
2014.06.04 18:48:42 3: update get http://fhem.de/fhemupdate4/svn/FHEM/36_JeeLink.pm
2014.06.04 18:48:42 3: update get http://fhem.de/fhemupdate4/svn/FHEM/42_SYSMON.pm
2014.06.04 18:48:43 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_HMinfo.pm
2014.06.04 18:48:43 3: update get http://fhem.de/fhemupdate4/svn/FHEM/98_statistics.pm
2014.06.04 18:48:43 3: update get http://fhem.de/fhemupdate4/svn/FHEM/HMConfig.pm
2014.06.04 18:48:43 3: update get http://fhem.de/fhemupdate4/svn/FHEM/HttpUtils.pm
2014.06.04 18:48:43 3: update get http://fhem.de/fhemupdate4/svn/docs/commandref.html
2014.06.04 18:48:45 3: update get http://fhem.de/fhemupdate4/svn/docs/commandref_DE.html
2014.06.04 18:48:46 3: update get http://fhem.de/fhemupdate4/svn/www/gplot/SM_FS_root.gplot
2014.06.04 18:48:46 3: update get http://fhem.de/fhemupdate4/svn/www/gplot/SM_FS_usb1.gplot
2014.06.04 18:48:46 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/ios6dashboard.css
2014.06.04 18:48:46 3: update get http://fhem.de/fhemupdate4/svn/www/pgm2/ios6touchpadstyle.css
2014.06.04 18:48:46 1: update 15 file(s) have been updated.

bei Eingabe des oben genannte  define erhalte ich diese Meldung im log:

2014.06.04 18:52:19 1: reload: Error:Modul 32_mailcheck deactivated:
Can't locate Mail/IMAPClient.pm in @INC (@INC contains: /var/InternerSpeicher/fhem/lib/perl5/site_perl/5.12.2/mips-linux /var/InternerSpeicher/fhem/lib/perl5/site_perl/5.12.2/mips-linux /var/InternerSpeicher/fhem/lib/perl5/site_perl/5.12.2 /var/InternerSpeicher/fhem/lib/perl5/5.12.2/mips-linux /var/InternerSpeicher/fhem/lib/perl5/5.12.2/mips-linux /var/InternerSpeicher/fhem/lib/perl5/5.12.2 /opt/lib/perl5/site_perl/5.12.2/mips-linux /opt/lib/perl5/site_perl/5.12.2 /opt/lib/perl5/5.12.2/mips-linux /opt/lib/perl5/5.12.2 . ./FHEM) at ./FHEM/32_mailcheck.pm line 11.
BEGIN failed--compilation aborted at ./FHEM/32_mailcheck.pm line 11.
Titel: Antw:Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 19:01:09
Hardware ist FB 7390
Titel: Antw:Cannot load module mailcheck
Beitrag von: justme1968 am 04 Juni 2014, 19:01:53
ZitatCan't locate Mail/IMAPClient.pm in @INC ...

dir fehlt das perl modul Mail::IMAPClient. das kannst du z.b. mit cpan install Mail::IMAPClientauf betriebsystem ebene nachinstallieren.

gruss
  andre
Titel: Antw:Cannot load module mailcheck
Beitrag von: justme1968 am 04 Juni 2014, 19:02:20
ZitatFB 7390

da gibt es kein cpan. schau mal ins wiki.
Titel: Antw:Cannot load module mailcheck
Beitrag von: Puschel74 am 04 Juni 2014, 19:04:21
Hallo,

ZitatCan't locate Mail/IMAPClient.pm
bringt mich dazu
http://fhem.de/commandref.html#mailcheck (http://fhem.de/commandref.html#mailcheck)

Nun such ich den Link für die commandref schon raus  :o

@andre
Danke

Grüße
Titel: Antw:Cannot load module mailcheck
Beitrag von: od0001 am 04 Juni 2014, 19:24:00
@andre:
danke für den Hinweis. Aber wenn du diese Seite meinst - http://www.fhemwiki.de/wiki/Cpan_auf_Fritzbox - das überfordert mich leider ein wenig.
gruß
oliver