Fehlermeldung "PERL WARNING" nach update

Begonnen von cornelius fillmore, 20 April 2015, 07:21:47

Vorheriges Thema - Nächstes Thema

Otto123

Zitat von: Dietmar63 am 04 Mai 2015, 10:27:08
sieh dir mal die unterste Zeile des logs an:
wo kommt FileLog_FHT_Bad her?!
Und diesen Eintrag hast Du noch?
Weil:Deine fhem.save ist offenbar von heute. Wie gesagt einmal Neustart und die fhem.save ist relativ neu.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

cornelius fillmore

#46
Zitat von: stromer-12 am 05 Mai 2015, 21:29:14
Gebe mal in der fhem-Kommandozeile folgendes ein:

{ join(",", grep { !defined($defs{$_}{TYPE}) } keys %defs) }

mal sehen was dabei herauskommt.

Siehe da:

,SVG_7,weblink_FHT_Bad,FileLog_FHT_Essen,FileLog_FHT_Moritz,weblink_FHT_Essen,FileLog_FHT_WZ,SVG_1,FileLog_CUL_FHTTK_b067f9,weblink_FHT_WZ,FileLog_FHT_Bad,SVG_3,SVG_0,weblink_FHT_Moritz,SVG_CUL_FHTTK_b067f9


Bedeutet nun was?
3 x Fhem 5.9 mit RPI

cornelius fillmore

3 x Fhem 5.9 mit RPI

stromer-12

Hast du diese angezeigten Definitionen schn mal versucht per delete zu löschen?
FHEM (SVN) auf RPi1B mit HMser | ESPLink
FHEM (SVN) virtuell mit HMLAN | HMUSB | CUL

cornelius fillmore

#49
Zitat von: stromer-12 am 08 Mai 2015, 10:41:31
Hast du diese angezeigten Definitionen schn mal versucht per delete zu löschen?

Danke für den Tipp.
Ich teste mal und melde mich

Na ja, anbei der Log, nachdem ich versucht habe mit delete zu löschen
2015.05.10 07:18:34 0: Strange call for typeless FileLog_FHT_Bad: UndefFn
2015.05.10 07:18:34 0: Strange call for typeless FileLog_FHT_Bad: DeleteFn
2015.05.10 07:18:35 1: Error:  has no TYPE
2015.05.10 07:18:35 1: Error: weblink_FHT_Bad has no TYPE
2015.05.10 07:18:55 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
2015.05.10 07:18:56 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
2015.05.10 07:19:27 1: Error:  has no TYPE
2015.05.10 07:19:27 1: Error: weblink_FHT_Bad has no TYPE
2015.05.10 07:19:32 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
2015.05.10 07:19:33 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
2015.05.10 07:20:04 0: Strange call for typeless weblink_FHT_Bad: UndefFn
2015.05.10 07:20:04 0: Strange call for typeless weblink_FHT_Bad: DeleteFn
2015.05.10 07:20:05 1: Error:  has no TYPE
2015.05.10 07:20:08 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
2015.05.10 07:20:09 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.


Dies bedeutet doch für mich, dass neben der Fhem.cfg noch aus einer anderen Quelle, Befehe bzw. Daten eingelesen werden.
Wie heißt diese denn?
und wie läßt sich diese denn editieren?
3 x Fhem 5.9 mit RPI

cornelius fillmore

#50
Problem doch nicht gelöst:
Selbst nachdem ich es mit update force erzwungen habe kommen die selben Fehlermeldungen
3 x Fhem 5.9 mit RPI

cornelius fillmore

3 x Fhem 5.9 mit RPI

genius30mc

Ich hatte auch diese Probleme mit
PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4216.
Error:  has no TYPE

Ich bin von 5.6  zurück auf 5.5 und alle Probleme sind weg.

Gruss Heinz

RaspberryPI A und B
A für  Viesmann Heizung
B für 3xFHT80B

cornelius fillmore

O.K. Hört sich gut an
Und wie hast du dies gemacht?
3 x Fhem 5.9 mit RPI

genius30mc

Ich hatte auf einem 2. RPI fhem 5.5 und habe einfach die /opt/fhem  mit scp  auf den RPI kopiert.

Aber ich denke wenn du fhem neu installierst, kannst du angeben ob du 5.5 oder 5.6 willst.

# fhem-X.Y.deb bitte mit der aktuellsten, stabilen Version ersetzen
wget  http://fhem.de/fhem-X.Y.deb
sudo dpkg -i fhem-X.Y.deb

aus http://www.fhemwiki.de/wiki/Raspberry_Pi
RaspberryPI A und B
A für  Viesmann Heizung
B für 3xFHT80B

cornelius fillmore

Zitat von: genius30mc am 26 Mai 2015, 16:05:07
Ich hatte auf einem 2. RPI fhem 5.5 und habe einfach die /opt/fhem  mit scp  auf den RPI kopiert.

Aber ich denke wenn du fhem neu installierst, kannst du angeben ob du 5.5 oder 5.6 willst.


So, auch das hat nicht funktioniert.
Ich habe erst mit
sudo nano /var/lib/dpkg/status

den kompletten "fhem-Block" gelöscht und dann mit
sudo apt-get update && apt-get upgrade
sudo dpkg -i fhem-5..deb

neu installiert

Auch mit fhem 5.5 habe ich folgende Fehlermeldung
2015.05.27 07:33:20 1: Error: FileLog_CUL_FHTTK_b067f9 has no TYPE
2015.05.27 07:33:20 1: Error: FileLog_FHT_Bad has no TYPE
2015.05.27 07:33:20 1: Error: FileLog_FHT_Moritz has no TYPE
2015.05.27 07:33:20 1: Error: FileLog_FHT_WZ has no TYPE
2015.05.27 07:33:20 1: Error: SVG_CUL_FHTTK_b067f9 has no TYPE
2015.05.27 07:33:20 1: Error: weblink_FHT_Bad has no TYPE
2015.05.27 07:33:20 1: Error: weblink_FHT_Essen has no TYPE
2015.05.27 07:33:20 1: Error: weblink_FHT_Moritz has no TYPE
2015.05.27 07:33:20 1: Error: weblink_FHT_WZ has no TYPE
2015.05.27 07:33:26 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:33:40 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:34:03 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:34:16 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:34:39 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:34:53 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:35:16 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:35:29 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:35:53 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:36:06 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:36:29 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.
2015.05.27 07:36:42 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4217.


Alle "Errors hatte ich versucht mit delete zu löschen, aber wohl auch ohne Erfolg.
Genauso wenig wie ein update force

Noch einer eine Idee was ich tun kann um dieses Dilema abzustellen?
3 x Fhem 5.9 mit RPI

cornelius fillmore

So nun habe ich fhem noch mal komplett neu installiert.
Mit völlig jungfreulicher fhem.cfg
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global statefile ./log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global updateInBackground 1
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create


und trotzdem quillt des log mit Fehler über
2015.05.27 18:29:32 1: UPD FHEM/FhemUtils/update-20130127-001
2015.05.27 18:29:32 1: UPD FHEM/FritzBoxUtils.pm
2015.05.27 18:29:32 1: UPD FHEM/GPUtils.pm
2015.05.27 18:29:32 1: UPD FHEM/HMConfig.pm
2015.05.27 18:29:40 1: http://fhem.de/fhemupdate/FHEM/HMConfig.pm: Select timeout/error:
2015.05.27 18:31:35 1: No Logdevice FileLog_FHT_Moritz
2015.05.27 18:33:39 1: Error: FileLog_CUL_FHTTK_b067f9 has no TYPE
2015.05.27 18:33:53 1: No Logdevice FileLog_FHT_Bad
2015.05.27 18:34:05 1: Error: FileLog_CUL_FHTTK_b067f9 has no TYPE
2015.05.27 18:35:22 1: Error: FileLog_CUL_FHTTK_b067f9 has no TYPE
2015.05.27 18:37:11 1: PERL WARNING: Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1228.
2015.05.27 18:37:11 0: Strange call for typeless FileLog_CUL_FHTTK_b067f9: UndefFn
2015.05.27 18:37:11 1: Including fhem.cfg
2015.05.27 18:37:11 3: telnetPort: port 7072 opened
2015.05.27 18:37:11 3: WEB: port 8083 opened
2015.05.27 18:37:11 3: WEBphone: port 8084 opened
2015.05.27 18:37:11 3: WEBtablet: port 8085 opened
2015.05.27 18:37:11 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2015.05.27 18:37:11 1: Including ./log/fhem.save
2015.05.27 18:39:09 1: No Logdevice FileLog_FHT_Essen


Das bedeutet doch das sich das fhem irgendwo Befehle her zaubert.

Hat da einer eine Lösung zu?
3 x Fhem 5.9 mit RPI