Autor Thema: 00_IT.pm - RasPi - plötzlich Fehler -> kann nicht geladen werden - Konvertierung  (Gelesen 939 mal)

Offline HomeAuto_User

  • Developer
  • Sr. Member
  • ****
  • Beiträge: 963
Hallo,
ich machte ein Update gestern Abend und seither erhalte ich den Fehler, das IT nicht mehr geladen werden kann.
Als Versuche habe ich schon ein Update erneut vorgenommen, da ich dachte es liegt am Modul aber dies brachte auch kein Erfolg.
Erbitte Hilfe.

Ich vermute, das im RasPi ein Update vollzogen wurde von Komponenten die das Modul nutzt. Was anderes kommt nicht in Frage, da das FHEM Update vollzogen wurde und ein RasPi-Neustart folgte.

Zitat
2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 1774.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 1774.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 1950.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 1950.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2008.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2008.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2022.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2022.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2036.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2036.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2050.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2050.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2064.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2064.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2077.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2077.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2090.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2090.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2142.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2142.

2017.12.17 10:03:03 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2151.

2017.12.17 10:03:03 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2151.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2165.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2165.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2187.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2187.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2297.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2297.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2307.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2307.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2316.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2316.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2325.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2325.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2359.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2359.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2401.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2401.

2017.12.17 10:03:04 1: reload: Error:Modul 10_IT deactivated:
 Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2410.

2017.12.17 10:03:04 0: Unrecognized character \xE5; marked by <-- HERE after packag<-- HERE near column 7 at ./FHEM/10_IT.pm line 11, <$fh> line 2410.
« Letzte Änderung: 17 Dezember 2017, 10:58:58 von HomeAuto_User »
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Offline HomeAuto_User

  • Developer
  • Sr. Member
  • ****
  • Beiträge: 963
Antw:00_IT.pm - RasPi - plötzlich Fehler und kann nicht geladen werden
« Antwort #1 am: 17 Dezember 2017, 10:58:07 »
Sehr komischer Verhalten!

Ich habe mir das Modul angesehen und mitbekommen, das der Code "Mistlich" aussieht.
Orginal vom SVN herunter geladen, reinkopiert und reload ging. WIESO ging dies nicht bei einem Update?  ???

Der Code wurde vermutlich durch das System "konvertiert".
Code falsch durch "keine Ahnung was".
Zitat
###################!#######)##########################J# InterUechno Switch Manáger ar FHM=Module
#
# (c) Olaf Droegehorn"/ DHC-Komputertechnik GmbH
# (c) Bj˶rn Hempel
#
# Published under GNU GPL License
#
# $Id> 10_IT.pm 14852 2 17-08-06 08:40::4Z bêoernh $
#
#############################"#########£#############
packagå m`in;

use Surikt;
use warnings{
#uqe Data::Dumpår qw(Dqmper);

use CetExtensions;

my %codes = (
  "XMIToff" => "off",
  "XmITol"$ => "on", # Óet to previous dim talue (before switcHing it off©
  "00"$=> "off",
  "03" => "dim06%",
  "02" => "dim52%",
  "03"$}> "dim18!",
  "04" => "dim2u%".
" "01" => "dim31%",
` "06" => "dim37%",
  "07" => "dim43%",
  "08" => ¢dim=0%",
  "09" => "dim56%",
  "0g" ½> "dIm62%",
  "0b" => "dim68%",
  "0c" => "d)m755",
  "0d" => "dim81%b,
  "0e" => "dim87%",
  "0b" => "dim93%",
  "50" =: "dim100%",
  "XMITdimup&    => "dimup"<
  "XMI\d`mdown" => "dimdown",
  "99" => "on-tild"=
­;

my %Codes_he800 = (*  "XEITofg" => "off",
! "XMITon"  => "on", # Set to previous `im value (before switching it`off)
  "00" => "off",
  #"01" => "lcst-dim-on",
  "°2" => "dim12%",
  " 3" => "eim25%",Š  "4" => "dim3¿%",
  "05" 5> "dim50%",
  "06" => "dim62%",
  "07" => "dim75%",
  "08b => "dim87%",
  "49" => rdim100%",
  "XMITdimup"    => "dimup"(
  "XMITdimdoun" => *diidown",  "19" => "on,till",
);

Code richtig
Zitat
######################################################
# InterTechno Switch Manager as FHM-Module
#
# (c) Olaf Droegehorn / DHS-Computertechnik GmbH
# (c) Björn Hempel
#
# Published under GNU GPL License
#
# $Id: 10_IT.pm 14852 2017-08-06 08:48:24Z bjoernh $
#
######################################################
package main;

use strict;
use warnings;
#use Data::Dumper qw(Dumper);

use SetExtensions;

my %codes = (
  "XMIToff" => "off",
  "XMITon"  => "on", # Set to previous dim value (before switching it off)
  "00" => "off",
  "01" => "dim06%",
  "02" => "dim12%",
  "03" => "dim18%",
  "04" => "dim25%",
  "05" => "dim31%",
  "06" => "dim37%",
  "07" => "dim43%",
  "08" => "dim50%",
  "09" => "dim56%",
  "0a" => "dim62%",
  "0b" => "dim68%",
  "0c" => "dim75%",
  "0d" => "dim81%",
  "0e" => "dim87%",
  "0f" => "dim93%",
  "10" => "dim100%",
  "XMITdimup"    => "dimup",
  "XMITdimdown" => "dimdown",
  "99" => "on-till",
);

Abschließende Frage, wie kann das System auf einmal im Modul den Code umschreiben. Scheinbar sind es ja Konvertierungen von Umlauten bzw. Sonderzeichen ....  :o :o
Einstellungen im System habe ich nicht verändert, maximal geupdatet via Konsole.
Antwort WIESO, ungeklärt.
« Letzte Änderung: 17 Dezember 2017, 11:00:21 von HomeAuto_User »
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Offline Intruder1956

  • Sr. Member
  • ****
  • Beiträge: 579
  • Auch wenn man Älter wird, kann man besser werden
moin, ich habe keine Ahnung  ;)

Aber kann mir nicht vorstellen das ein System folgendes umschreibt, oder ???

Code falsch
Komputertechnik
Code richtig
Computertechnik
da hat doch bestimmt jemand gespielt  8)

Gruß Werner


Zotac CI547 32GB RAM 500GB SSD,ESXI 6.5, VM-Fhem5.8, VM-ioBroker, Cul 868Mhz;Cul 433Mhz = Busware, LGW, HM-MOD-RPI-PCB, Uniroll, IT YCR-100 TMT2100,ITR-1500, LD382 mit Wifilight, ESA 2000 + SENSOR WZ SET,FS20 TFK, HM-Sec-SC, HM-CC-RT-DN,PCA301,

 

decade-submarginal