Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
[Addon] UPS PIco
#14
Gibt einen Fehler



Code:
18:04:12 581.709167 T:1577047072  NOTICE: UPS PIco: /home/osmc/.kodi/addons/service.ups_pico_beta
18:04:14 583.632935 T:1577047072  NOTICE: UPS PIco: --- RTC data ---
18:04:14 583.633301 T:1577047072  NOTICE: UPS PIco: 2000-01-01 Mon 05:03:30 /00
18:04:14 583.715637 T:1577047072  NOTICE: UPS PIco: --- Status registers ---
18:04:14 583.715820 T:1577047072  NOTICE: UPS PIco: Mode Bat_lvl RPi_lvl Temp
18:04:14 583.719299 T:1577047072   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xb0' in position 34: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/service.ups_pico_beta/default.py", line 136, in <module>
                                                updateWindow()
                                              File "/home/osmc/.kodi/addons/service.ups_pico_beta/default.py", line 115, in updateWindow
                                                log(MODE+"\t\t"+BATLEVEL+"\t\t"+RPILEVEL+"\t\t"+TMPCELS+"\n")
                                              File "/home/osmc/.kodi/addons/service.ups_pico_beta/default.py", line 18, in log
                                                print "UPS PIco: " + logline
                                              File "<string>", line 7, in write
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 34: ordinal not in range(128)
                                            -->End of Python script error report<--
EDIT: 
Hab jetzt mal von der UPSForum den Code genommen als .py gespeichert und ausgeführt, gibt den gleichen fehler.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E39-525D
RaspberryPi 2 
Zitieren


Nachrichten in diesem Thema
[Addon] UPS PIco - von harryberlin - 06.12.2015, 23:07
RE: UPS PIco Addon für Kodi - von NeoRagnarok - 06.12.2015, 23:54
RE: UPS PIco Addon für Kodi - von harryberlin - 07.12.2015, 00:13
RE: UPS PIco Addon für Kodi - von NeoRagnarok - 07.12.2015, 00:25
RE: UPS PIco Addon für Kodi - von harryberlin - 07.12.2015, 00:28
RE: UPS PIco Addon für Kodi - von b3m3 - 07.12.2015, 10:40
RE: UPS PIco Addon für Kodi - von harryberlin - 07.12.2015, 11:30
RE: UPS PIco Addon für Kodi - von NeoRagnarok - 07.12.2015, 11:55
RE: UPS PIco Addon für Kodi - von b3m3 - 07.12.2015, 11:56
RE: UPS PIco Addon für Kodi - von harryberlin - 14.12.2015, 18:59
RE: UPS PIco Addon für Kodi - von b3m3 - 16.12.2015, 08:03
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 18:59
RE: [Addon] UPS PIco - von harryberlin - 22.12.2015, 19:02
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 19:10
RE: [Addon] UPS PIco - von harryberlin - 22.12.2015, 19:17
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 19:24
RE: [Addon] UPS PIco - von harryberlin - 22.12.2015, 19:27
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 19:40
RE: [Addon] UPS PIco - von harryberlin - 22.12.2015, 19:41
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 20:20
RE: [Addon] UPS PIco - von harryberlin - 22.12.2015, 20:23
RE: [Addon] UPS PIco - von NeoRagnarok - 22.12.2015, 20:33

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste