Frage zu Log Meldungen zum InfoPanel

Begonnen von moonsorrox, 06 April 2017, 17:17:59

Vorheriges Thema - Nächstes Thema

moonsorrox

Komme grad nach hause und sehe das mein Log regelrecht zugemüllt wird mit folgenden Meldungen.
Diese Meldungen hatte ich bisher nur einmal wenn ich Fhem eingelesen hatte und dann war es vorbei, jetzt aber schreibt er mir alles voll.

EDIT:// ich habe mein Log mal durchsucht und stelle fest es ist seit dem 05.04. das er diese Meldungen ausgibt...!
Ist da irgend etwas verändert worden, da ich nicht denke das es am InfoPanel liegt, denn daran habe ich nichts geändert.


Ich weiß das diese Meldungen fehlerhafte Einträge in meinem Infopanel anzeigen, aber ich habe schon danach gesucht und es gibt diese Einträge nicht. Die Meldung mit dem 100% hatte ich bisher auch nicht.

Ich kann doch in meinen xxx.layout Dateien mit STRG+F auf Suchmodus umstellen und dann z.B. "468pt" suchen oder eben die anderen Meldungen, aber in keiner der Dateien kommt dieses Argument als Parameter.
Wie kann ich diesen Fehler noch finden.?

Ich habe die Datei auch schon komplett in Notepad++ gegeben und gesucht, aber auch hier wird nichts gefunden.

Hier mal die Meldungen:
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "100%" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "100%" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "100%" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "100%" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

#1
ich habe jetzt mal alle meine layout Dateien heraus genommen...!  ::)

Nun bekomme ich noch diese Meldungen im Log

Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.


was mich wundert das die ohne Uhrzeit sind.
Was kann ich jetzt noch machen, ich habe die Dateien nochmal untersucht, aber ich finde keinen solchen Eintrag wie in den obigen Fehlermeldungen.

Die Meldungen sagen mir absolut gar nichts.
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

#2
kann niemand etwas dazu sagen..? Ich wollte das InfoPanel jetzt nicht komplett raus schmeißen, weil dann auf meinem Tablet nichts mehr is.. :-[
mein Log wird langsam immer größer

Ich weiß grad nichts mehr...!  :-\
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

#3
immer noch keiner, ich verzweifel grad....

Im Eventmonitor bekomme ich diese Anzeigen, aber das ist ja kein Fehler.
2017-04-10 14:15:15 InfoPanel InfoPanel Mon Apr 10 14:15:15 2017
2017-04-10 14:15:45 InfoPanel StatusPanel Mon Apr 10 14:15:45 2017
2017-04-10 14:16:19 InfoPanel InfoPanel Mon Apr 10 14:16:19 2017
2017-04-10 14:16:46 InfoPanel StatusPanel Mon Apr 10 14:16:46 2017
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

KölnSolar

Da musst Du mal in Deine Layout-Datei gucken. Ohne die wird Dir kaum jemand helfen können.
Dass das "neu" auftritt, liegt sicherlich an dem feature des Perl-Syntax-Checks.
Grüße Markus
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

moonsorrox

ich habe meine Layout Datei schon hoch und runter geschaut, es gibt keinen dieser Einträge...! Ich habe diese Problem seit dem Update welches ich am 05.04.2017 gemacht.
Es bringt auch nichts meine Backup Dateien von davor rein zu spielen, es ändert sich nichts

Ich denke vllt wegen dieser Perl-Syntax-Checks ist das ja wohl auch gekommen, denn ich hatte diese Fehler Meldungen einmal wenn ich ein Update gemacht habe und nach dem Shutdown Restart und dann war es gut, aber jetzt hört das ja nicht auf.

Hat sich denn an diese Perl-Syntax-Checks in letzter Zeit etwas geändert..?
Meine inforss.layout ist ein riesen langes Teil, wenn ich diese hier rein stelle das tut sich niemand an sie durchzulesen
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

KölnSolar

ich hätte wohl schreiben sollen:
an dem geänderten feature des Perl-Syntax-Checks.

Wenn ich es im source code richtig überflogen hab, dann hängt der Fehler mit einem Bild/icon zusammen, welches Du im layout skalierst.

Da würd ich die images mal sukzessive auskommentieren, um dem Übeltäter auf die Spur zu kommen...
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

moonsorrox

Ich habe den gesamten Inhalt der layout Datei schon mit Notepad++ durch sucht und nichts gefunden.
OK ich werde mal alle img auskommentieren, mal schauen was es bringt.
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

So ich habe mal alle img auskommentiert, dann bekomme ich immer noch diese Meldungen, die anderen mit den Größen skalieren sind weg.

Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.


jetzt stelle ich hier mal ein paar Textstellen aus dem InfoPanel dar mit den Bildern, aber ich weiß nicht was an dem Code falsch sein soll, denn sie werden ja angezeigt.

# Textbox für Wetterwarnung
#pt 19
moveby -27 30
condition {(ReadingsVal('Unwetterzentrale','WarnCount','') eq '0')}
img - x y .12 "" file {"/opt/fhem/www/images/default/eigene/ok.svg"}

condition 1

#####   Rollläden - Wohnzimmer   ###########################################################

condition {(ReadingsVal('du_RolloWZmodus','state','') eq 'FHEM')}
img - -68 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_auto_green.svg"

condition {(ReadingsVal('du_RolloWZmodus','state','') eq 'Beschattung')}
img - -72 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_beschattung_blau.svg"

condition {(ReadingsVal('du_RolloWZmodus','state','') eq 'Aus')}
img - -72 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_aus_gelb.svg"



#####   Rollläden - Schlafzimmer   ##########################################################

condition {(ReadingsVal('du_RolloSZmodus','state','') eq 'FHEM')}
img - 14 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_auto_green.svg"

condition {(ReadingsVal('du_RolloSZmodus','state','') eq 'Beschattung')}
img - 14 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_beschattung_blau.svg"

condition {(ReadingsVal('du_RolloSZmodus','state','') eq 'Nachtschicht')}
img - 10 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_nachtschicht_rot.svg"

condition {(ReadingsVal('du_RolloSZmodus','state','') eq 'Aus')}
img - 14 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_aus_gelb.svg"

Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

Benni

Verwendest du in deinem InfoPanel ein Hintergrundbild?
Falls ja könnte es auch eventuell daran liegen.

Michael

Moin moonsorrox

Ich Versuch mich mal.  :) :-[

Auszug :
#####   Rollläden - Wohnzimmer   ###########################################################

condition {(ReadingsVal('du_RolloWZmodus','state','') eq 'FHEM')}
img - -68 142 .13 "" file "/opt/fhem/www/images/default/eigene/rollo_auto_green.svg"

Fehlt da nicht Überall ein condition 1.
Gruß, Michael

FHEM 6.0 auf RPi 3
CUL V3 868 Mhz | JeeLink LaCrosse & PCA301 | CCU3
BMP085(180) | 14x TX29DTH-IT | 5x PCA 301 | SMA Peripheries | MobileAlerts MA-10(100,120PRO,200,251,410,650,660,800) | HM IP

Benni

Zitat von: Michael am 11 April 2017, 12:03:29
Fehlt da nicht Überall ein condition 1.

Nein!

"condition 1" benötigt man nur, wenn der nachfolgende Block immer kommen soll und der vorangegangene Block bereits per condition ausgewählt wurde.

Eine condition wirkt immer nur bis zur nächsten condition unabhängig davon, wie deren Auswertung dann ausfällt.

moonsorrox

Zitat von: Benni am 11 April 2017, 05:22:32
Verwendest du in deinem InfoPanel ein Hintergrundbild?
Falls ja könnte es auch eventuell daran liegen.
Danke Benni für die Mithilfe, du nutzt ja auch das InfoPanel denn von dir hatte ich ja seinerzeit einige Anregungen
ja ich verwende eines..!

wird bei mir in der cfg Datei wie folgt dargestellt, beispielhaft wird meine Hauptseite mit 4 Feldern für ein 10" Tablet zum hin und her wischen dargestellt deshalb so groß.

define InfoPanel InfoPanel ./FHEM/inforss.layout
attr InfoPanel bgcenter 0
attr InfoPanel bgcolor "1C1C1C"
attr InfoPanel bgdir "/opt/fhem/www/InfoPanel/2560x1600"
attr InfoPanel refresh 180
attr InfoPanel size 2560x1600
attr InfoPanel title FHEM - Statusmonitor - Geräte


also was ich festgestellt habe, wenn ich das Hintergrundbild mal auskommentiere ist diese Fehleranzeige weg:
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.


Umso mehr verwundert es mich das es bei anderen nicht vorkommt und ich habe echt ewige Zeiten an meinem Layout nichts verändert.
Das ist schon lange so fertig und alles funktionierte wunderbar, bis ich am 05.04 ein Update gemacht habe.


Zitat von: Michael am 11 April 2017, 12:03:29
Moin moonsorrox
Fehlt da nicht Überall ein condition 1.

Nein, da ich den Code erstens auch nur Auszugsweise dargestellt habe wie ich die img skaliere und zweitens hat Benni ja auch schon geantwortet.
Und sicher ist da eine condition1 an einigen Stellen, nur die habe ich wenn... dann nicht mit hier her geschrieben weil ich nur die img Skalierung zeigen wollte
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

#13
so da mir ja das alles keine Ruhe lässt und ich morgen für 8 Tage nicht da bin habe ich noch ein wenig etwas probiert.
1. bekomme ich jetzt diese Warnmeldungen:

Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.


2. Ich habe jetzt mal nur ein "img" drin, in diesem Code gibt es diese Stelle "468pt" gar nicht, also denke ich wird irgend ein Wert als Anzeige raus geschmissen.

aktueller Code vom img:

# Textbox für Wetterwarnung
moveby -27 30
condition {(ReadingsVal('Unwetterzentrale','WarnCount','') eq '0')}
img - x y w50 "" file "/opt/fhem/www/images/default/eigene/ok.svg"

condition 1


ich habe extra nochmal in die commandref und im demo.layout geschaut und die Größe so "w50" skaliert anstatt ".16" dann habe ich ohne geschweifte Klammer gemacht, aber ich bekomme wieder die Fehleranzeigen.

3. kommentiere ich das img jetzt raus sind die Meldungen weg..!  :-\ ich verstehe es nicht...!  :-\

Was ist nun an obigen Code vom img  falsch..?


ich habe jetzt noch ein img aktivert, für meine Müllanzeige, hier bekomme ich keinen Fehler angezeigt
condition {ReadingsVal('abfallkalender','tomorrow','none') =~ m/gelber/}
pt 20
rgb "00FA9A" # MediumSpringGreen
img - 1170 140 .08 "" file "/opt/fhem/www/images/default/eigene/bag_gelb.svg"

moveby 20 -65
text - x y "Morgen"

condition 1



EDIT:// aber irgendwie hagelt es einige Perl Fehler momentan... gehört hier zwar nicht her, aber ich zeige sie mal
Use of uninitialized value in concatenation (.) or string at ./FHEM/57_ABFALL.pm line 105.
Use of uninitialized value in concatenation (.) or string at ./FHEM/57_ABFALL.pm line 105.
^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE $/ at ./FHEM/01_FHEMWEB.pm line 2647.
^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE $/ at ./FHEM/01_FHEMWEB.pm line 2647.

Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

ich habe jetzt einmal weiter gesucht um die Fehler mit dem InfoPanel einzugrenzen und zu finden.

hier mal die 4 Fehlermeldungen, warum es 4 sind verstehe ich nicht, denn ich habe nur das eine Icon unten aktiviert.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.
Argument "470pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 505.
Argument "468pt" isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 504.


Stellvertretend für die Fehlermeldungen hier mein Code, aktiviere ich die svg kommen die oben genannten Fehler, mit den png Icon funktioniert es ohne Fehler (also lasse ich das "png" erst einmal drin)
Der einzige Unterschied ist das ich das png größer darstellen muss, alles andere bleibt ja gleich
condition {(ReadingsVal('du_Beleuchtung_aussen','state','') eq 'Dämmerung')}
#img - -68 275 .12 "" file "/opt/fhem/www/images/default/eigene/licht_aussen_green.svg"
img - -68 275 .55 "" file "/opt/fhem/www/images/default/eigene/licht_aussen_green.png"


Evtl. kann mir einer etwas dazu sagen, ich weiß es nicht mehr. Ich habe noch viele weitere svg Icons im Einsatz (z. Teil selbst gebaut) bei denen kommt kein Fehler.
Ich bin jetzt etwas ratlos...!
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

moonsorrox

ich habe jetzt durch Zufall den Fehler gefunden...!

Das oder besser die SVG Icons die ich nutze sind ja in Fhem enthalten, wenn man einmal mit Notepad++ in die Icons schaut findet man hier die Höhen und Weitenangaben, genau diese werden mir als Fehler angezeigt...!  :D

Hier mal ein Iconcode
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   version="1.0"
   width="468pt"
   height="470pt"
   viewBox="0 0 468 470"
   id="svg2"
   inkscape:version="0.48.4 r9939"
   sodipodi:docname="rollo_auto_green_1.svg">
  <sodipodi:namedview
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1"
     objecttolerance="10"
     gridtolerance="10"
     guidetolerance="10"
     inkscape:pageopacity="0"
     inkscape:pageshadow="2"
     inkscape:window-width="1240"
     inkscape:window-height="881"
     id="namedview3007"
     showgrid="false"
     inkscape:zoom="0.70468085"
     inkscape:cx="292.5"
     inkscape:cy="236.98671"
     inkscape:window-x="659"
     inkscape:window-y="411"
     inkscape:window-maximized="0"
     inkscape:current-layer="g3011" />
  <defs
     id="defs20" />
  <metadata
     id="metadata4">
Created by potrace 1.8, written by Peter Selinger 2001-2007
<rdf:RDF>
  <cc:Work
     rdf:about="">
    <dc:format>image/svg+xml</dc:format>
    <dc:type
       rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    <dc:title></dc:title>
  </cc:Work>
</rdf:RDF>
</metadata>
  <g
     id="g3011"
     style="fill:#00ff00">
    <path
       d="M 8.383345,2.7137959 C 2.8760922,5.6144516 2.0893775,8.3624536 2.0893775,26.22423 1.931835,40.879994 2.2469068,42.101341 5.8657239,45.612595 c 2.0455319,2.137336 4.5631401,3.816628 5.5071741,3.816628 2.674927,0 1.730893,3.816628 -1.5734427,5.801311 -4.4057419,2.595281 -4.4057419,10.991856 0,12.060482 4.2483697,1.068627 4.2483697,7.480603 0,8.549229 -4.4057419,1.068627 -4.4057419,9.465202 0,12.060483 4.0910637,2.442695 4.0910637,6.717284 0,8.854604 -4.2484357,2.137252 -4.2484357,9.923158 0,12.518508 4.0910637,2.44263 4.0910637,6.7172 0,8.85454 -4.2484357,2.13732 -4.2484357,9.77058 0,12.67115 2.8322467,1.98468 2.9896447,4.42731 3.4616557,58.47062 0.471866,63.96653 0.471866,63.96653 12.745241,69.46245 6.293902,2.74794 12.745176,2.90066 163.956968,2.90066 151.21178,0 157.66307,-0.1526 163.95703,-2.90066 12.27316,-5.49592 12.27316,-5.34326 12.74518,-69.76776 l 0.47187,-56.63866 3.77636,-1.67931 c 5.50724,-2.44262 5.50724,-10.38117 0,-12.8238 -4.87778,-2.13732 -5.0351,-6.1066 -0.31435,-8.09128 2.36023,-1.06863 3.61904,-3.0533 3.93374,-6.4119 0.47187,-4.121931 -0.15753,-5.343278 -3.46165,-6.869933 -5.03515,-2.137253 -5.34986,-6.106534 -0.47187,-8.091201 2.36022,-1.068626 3.61896,-3.053309 3.93367,-6.564562 0.47186,-4.122003 -0.15753,-5.19063 -3.46166,-6.411977 -5.03515,-1.831945 -5.34985,-6.411909 -0.47187,-8.396508 2.51761,-1.068694 3.46165,-2.748002 3.46165,-6.106602 0,-3.358599 -0.94404,-5.037975 -3.46165,-6.106601 -3.93374,-1.679309 -4.87777,-5.343283 -1.5735,-5.343283 1.2588,0 3.61902,-1.526638 5.50724,-3.511254 3.14695,-3.205946 3.46165,-5.190629 3.46165,-20.457057 0,-14.350541 -0.47188,-17.4038332 -2.98963,-20.4571425 L 372.01604,1.3398624 192.0095,1.0347068 C 42.685928,0.72955125 11.530939,1.0347068 8.3839882,2.7140151 z M 179.73569,52.482532 c 0,1.068626 -25.17573,1.526655 -72.38022,1.526655 -47.204563,0 -72.380289,-0.457742 -72.380289,-1.526655 0,-1.068626 25.175726,-1.526655 72.380289,-1.526655 47.20449,0 72.38022,0.457742 72.38022,1.526655 z m 165.21577,0 c 0,1.068626 -25.17573,1.526655 -72.38023,1.526655 -47.20448,0 -72.38028,-0.457742 -72.38028,-1.526655 0,-1.068626 25.1758,-1.526655 72.38028,-1.526655 47.2045,0 72.38023,0.457742 72.38023,1.526655 z M 179.73569,70.802337 c 0,3.053225 -1.10142,3.053225 -72.38022,3.053225 -71.27887,0 -72.380289,0 -72.380289,-3.053225 0,-3.053292 1.101419,-3.053292 72.380289,-3.053292 71.2788,0 72.38022,0 72.38022,3.053292 z m 165.21577,0 c 0,3.053225 -1.10143,3.053225 -72.38023,3.053225 -71.27879,0 -72.38028,0 -72.38028,-3.053225 0,-3.053292 1.10149,-3.053292 72.38028,-3.053292 71.2788,0 72.38023,0 72.38023,3.053292 z M 179.73569,92.175385 c 0,3.053292 -1.10142,3.053292 -72.38022,3.053292 -71.27887,0 -72.380289,0 -72.380289,-3.053292 0,-3.05331 1.101419,-3.05331 72.380289,-3.05331 71.2788,0 72.38022,0 72.38022,3.05331 z m 165.21577,0 c 0,3.053292 -1.10143,3.053292 -72.38023,3.053292 -71.27879,0 -72.38028,0 -72.38028,-3.053292 0,-3.05331 1.10149,-3.05331 72.38028,-3.05331 71.2788,0 72.38023,0 72.38023,3.05331 z M 179.73569,113.54841 c 0,3.05331 -1.10142,3.05331 -72.38022,3.05331 -71.27887,0 -72.380289,0 -72.380289,-3.05331 0,-3.05329 1.101419,-3.05329 72.380289,-3.05329 71.2788,0 72.38022,0 72.38022,3.05329 z m 165.21577,0 c 0,3.05331 -1.10143,3.05331 -72.38023,3.05331 -71.27879,0 -72.38028,0 -72.38028,-3.05331 0,-3.05329 1.10149,-3.05329 72.38028,-3.05329 71.2788,0 72.38023,0 72.38023,3.05329 z m -168.36272,20.30443 c -7.71009,3.81662 -7.71009,16.9458 0,18.9304 2.98963,0.76333 3.14695,2.28997 3.14695,44.12016 l 0,43.35674 -72.38022,0 -72.380289,0 0,-54.19596 0,-54.19596 72.852299,0 c 59.32035,0 71.90821,0.45774 68.76126,1.98462 z m 168.36272,52.21134 0,54.19596 -72.38023,0 -72.38028,0 0,-42.74607 0,-42.74615 3.77635,-1.52665 c 8.9689,-3.20595 9.12621,-15.41915 0.47188,-19.23578 -4.40576,-1.67931 4.72045,-1.98462 67.81714,-2.13727 l 72.695,0 0,54.19596 z"
       id="path8"
       inkscape:connector-curvature="0"
       style="fill:#00ff00;stroke:none" />
    <path
       d="m 401.3813,252.50895 c -3.30434,2.59528 -3.77643,4.57995 -4.56315,17.09846 -0.6294,10.68648 -1.10142,13.12917 -1.88814,9.4652 -1.57351,-6.86992 -5.97926,-8.54923 -24.86109,-9.31255 -25.96244,-1.06862 -31.62699,2.74792 -31.62699,20.45706 l 0,7.78591 -4.56308,-4.27459 c -4.40575,-4.42729 -4.56314,-4.42729 -24.23169,-4.42729 -29.58147,0 -30.6829,1.52665 -29.26678,39.99814 0.94412,29.0063 -0.15753,27.78502 26.43453,28.39562 21.39938,0.45774 26.59185,-0.76332 29.4241,-6.86985 1.41619,-3.35867 1.57351,-3.35867 5.66456,1.52659 l 4.24843,4.88532 18.40975,0.45774 c 21.08466,0.61031 26.90654,-0.91597 29.89617,-7.78591 l 1.88822,-4.42729 1.73082,4.7326 c 2.36023,6.56463 6.9233,7.78589 28.79476,7.78589 17.93772,0 19.03914,-0.1526 22.65818,-3.81661 l 3.93367,-3.66391 0,-46.71543 0,-46.71544 -3.93367,-3.66397 c -3.61904,-3.66391 -4.56315,-3.81655 -24.07431,-3.81655 -17.7804,0 -20.92735,0.45774 -24.07429,2.90057 z m 37.92089,50.53199 0,39.69283 -13.37457,0 -13.37459,0 0,-39.69283 0,-39.69279 13.37459,0 13.37457,0 0,39.69279 z m -58.21885,10.68655 0,29.00628 -13.37465,0 -13.37457,0 0,-29.00628 0,-29.00629 13.37457,0 13.37465,0 0,29.00629 z m -58.21892,9.92323 0,19.08305 -13.37457,0 -13.37466,0 0,-19.08305 0,-19.08314 13.37466,0 13.37457,0 0,19.08314 z"
       id="path12"
       inkscape:connector-curvature="0"
       style="fill:#00ff00;stroke:none" />
    <text
       xml:space="preserve"
       style="font-size:95.89161682px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#00ff00;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
       x="47.349777"
       y="452.57602"
       id="text3026"
       sodipodi:linespacing="125%"
       transform="scale(1.0137323,0.98645372)"><tspan
         sodipodi:role="line"
         id="tspan3028"
         x="47.349777"
         y="452.57602"
         style="font-size:95.89161682px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:Sans;-inkscape-font-specification:Sans Bold">AUTO</tspan><tspan
         sodipodi:role="line"
         x="47.349777"
         y="572.44055"
         id="tspan6144" /></text>
  </g>
</svg>


aber was kann man da machen das mit das InfoPanel Modul diesen Fehler nicht mehr anzeigt.?
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

betateilchen

Zitat von: moonsorrox am 24 April 2017, 13:42:38
aber was kann man da machen das mit das InfoPanel Modul diesen Fehler nicht mehr anzeigt.?

Warten, bis ich mal Zeit und Lust habe, mir das anzuschauen. Im Moment habe ich beides nicht.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

moonsorrox

@betateilchen
das ist überhaupt kein Problem, ich komme ja mit den PNG Icons klar...!  ;)

Anmerkung dazu von mir.
Ich bin überhaupt erst einmal froh das ich diesen ganzen Fehlermeldungen jetzt auf die Spur gekommen bin, denn es wurde ja immer geschrieben es liegt an meinen layout Dateien, in der diese ganzen Angaben drin sein sollten, dass es nun an den Icons liegt verstehe ich nicht, aber es ist nun mal so.
Wieder etwas gelernt  ;)
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

betateilchen

Zitat von: moonsorrox am 24 April 2017, 15:24:51
dass es nun an den Icons liegt verstehe ich nicht, aber es ist nun mal so.

Das Problem ist, dass InfoPanel zwar die Größenangaben schon von Anfang an filtert, aber das nur auf "px" prüft.
Zusätzlich habe ich jetzt eine Prüfung auf "pt" eingebaut. Ab morgen sollte die Meldung verschwinden.

Zitat von: moonsorrox am 24 April 2017, 15:24:51
denn es wurde ja immer geschrieben es liegt an meinen layout Dateien

von mir wurde das nicht geschrieben ;)
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

moonsorrox

#19
Zitat von: betateilchen am 25 April 2017, 12:16:33
Das Problem ist, dass InfoPanel zwar die Größenangaben schon von Anfang an filtert, aber das nur auf "px" prüft.
Zusätzlich habe ich jetzt eine Prüfung auf "pt" eingebaut. Ab morgen sollte die Meldung verschwinden.
nun bist du ja doch sehr schnell dabei gewesen  ;) vielen Dank
Auf Grund der ganzen Probleme habe ich mir mal so einige Icons angeschaut, es gibt auch welche die z.B. "100%" oder auch "mm" drin stehen haben Würden die dann ebenfalls ein Fehler raus schmeißen..?
z. B. das Icon alexa.svg hat "mm" drin, das mit 100% hatte ich auch mal gefunden, aber gerade eben finde ich keins..!
Aber egal ist auch nur als Hinweis von mir gedacht, wollte dich nicht beschäftigen  ;) :D

Zitat von: betateilchen am 25 April 2017, 12:16:33
von mir wurde das nicht geschrieben ;)
habe ich auch nicht behauptet, es war vom jeweiligen User auch nur als eine mögliche Ursache angedacht  ;)

Noch eine weitere Frage zu dem Background Icon, sind die auf eine bestimmte Größe begrenzt, denn ich habe meine jetzt raus genommen weil die auch Fehler verursachen.
Nehme ich das Background Icon rein, kommt dieser Fehler
Use of uninitialized value within @_ in list assignment at ./FHEM/55_InfoPanel.pm line 433.
Odd number of elements in hash assignment at ./FHEM/55_InfoPanel.pm line 433.


diese beiden attr habe ich drin:
attr InfoPanel bgcenter 0
attr InfoPanel bgdir "/srv/2560x1600"
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

betateilchen

Zitat von: moonsorrox am 25 April 2017, 12:46:01
Noch eine weitere Frage

ich hätte es einfach nicht tun sollen...
da reicht man den kleinen Finger, und schon ist die Hand ab.

Ich hab Urlaub. Es ist mir grade ziemlich wurscht, ob Hintergrundbilder funktionieren oder nicht. Irgendwann baue ich die sowieso aus.

-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

moonsorrox

#21
Zitat von: betateilchen am 25 April 2017, 13:50:04
Ich hab Urlaub.
kann ich ja nicht riechen...! Auch ich habe Urlaub, mußt mich deshalb nicht gleich anmachen  ;)

EDIT:// ich habe das jetzt einmal mit einigen SVG-Icons ausprobiert und einfach per Notepad++ die Größenangaben ob nun "pt" oder "%" heraus genommen und mir diese Icons in einem eigenen Ordner abgespeichert und die richtige Pfadangabe eingetragen und schon machen sie keine Probleme mehr.

Evtl. hilft es hier ja jemanden der ebenfalls InfoPanel als seine Tabletoberfläche nutzt
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM