[1] MLD-6.x / General / Fernbedienung: yausbir.service: Failed with result 'exit-code'.
 

Offline uwe67

  • Newbie
  • *
  • Posts: 11
    • View Profile
Hallo, ich versuche gerade meinen ;D alten yaUSBir zu reaktivieren.

Im Log Steht:
yausbir.service: Failed with result 'exit-code'.

Wenn ich es manuell Aufrufe:
Code: [Select]
root@dvb16:~# /usr/lib/yausbir/yaUsbir.py -s /var/run/lirc/lircd-yausbir -k /etc/yausbir.conf
enabled protocols: ['RC-5', 'RC-6', 'NEC', 'SAMSUNG']
reading keymap /etc/yausbir.conf
Traceback (most recent call last):
  File "/usr/lib/yausbir/yaUsbir.py", line 76, in <module>
    output = Output(options.socket, 'lirc', options.keymap)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/yausbir/output.py", line 15, in __init__
    self.keymap = Keymap(keymap)
                  ^^^^^^^^^^^^^^
  File "/usr/lib/yausbir/output.py", line 110, in __init__
    self.parser = configparser.SafeConfigParser(delimiters=(" ","\t"))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Auch der Pfad /var/run/lirc ist nicht vorhanden.

Gibt's da ein yaUsbir.py Update ?

Gruß Uwe
MLD 5.3 - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs
yaVDR ansible - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20677
    • View Profile
    • ClausMuus.de
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #1 on: February 10, 2025, 13:52:33 »
Die Letzte Zeile Deines Logs beschreibt das Problem. Demnach enthält Deine Config Datei eine Zeile die nicht verstanden wird.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 6.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 22TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline uwe67

  • Newbie
  • *
  • Posts: 11
    • View Profile
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #2 on: February 10, 2025, 14:10:57 »
Hallo,

ich habe gestern 6.x frisch installiert, somit sind die Dateien original.
Somit ist yausbir.conf unverändert.

Oder welche Datei meinst du?

Gruß Uwe
« Last Edit: February 10, 2025, 14:20:38 by uwe67 »
MLD 5.3 - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs
yaVDR ansible - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20677
    • View Profile
    • ClausMuus.de
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #3 on: February 10, 2025, 14:26:00 »
Ja, genau die meine ich. Demnach passt die Voreinstellung in der Datei nicht. Das musst Du mal korrigieren.
Ich verwende zwar auch yausbir allerdings eine andere Variante der Anbindung, da die von Dir verwendete leider nicht mit sehr langen IR Zuleitungen zurecht kommt.
Wenn Du den Fehler beheben konntest, teile mir Bitte mit was geändert werden muss, damit ich das Paket korrigieren kann.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 6.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 22TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline uwe67

  • Newbie
  • *
  • Posts: 11
    • View Profile
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #4 on: February 10, 2025, 14:48:12 »
Ich kenne mich nicht mit der yausbir.conf oder yaUsbir.py aus, ist nicht von mir.

Der Fehler ist in der yaUsbir.py, ab Python 3.2 gibt es kein SafeConfigParser.

Gruß Uwe

MLD 5.3 - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs
yaVDR ansible - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20677
    • View Profile
    • ClausMuus.de
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #5 on: February 12, 2025, 12:39:23 »
Dann muss ich mir dass noch mal anschauen. Als ich das Paket erstellt hatte, ging das noch...
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 6.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 22TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20677
    • View Profile
    • ClausMuus.de
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #6 on: February 12, 2025, 13:24:10 »
Ich habe einen Patch erstellt der den Fehler behebt. Bitte teste das neue Paket.
Für den x86'er gibt es das schon jetzt, für alle anderen Plattformen Morgen.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 6.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 22TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline uwe67

  • Newbie
  • *
  • Posts: 11
    • View Profile
Fernbedienung: yausbir.service: Failed with result 'exit-code'.
« Reply #7 on: February 12, 2025, 17:12:42 »
Danke schön, werde ich am Wochenende testen.  :D
MLD 5.3 - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs
yaVDR ansible - lirc yaUsbIR - AT3IONT-I 4GB - TBS 5990 USB Dual DVBs

[1] MLD-6.x / General / Fernbedienung: yausbir.service: Failed with result 'exit-code'.
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.