s8un3no
Active member
Schermata verde sulla finestra script, crash log:
EN Green screen on the script window, crash log:
ho modificato il file BpGreen.py alla riga 198 così:
EN I edited the BpGreen.py file on line 198 like this:
Con questa modifica ho trovato 2 file che davano errore, uno aveva una à ( a accentata), tolta quella non da più errore. Il secondo file non ho capito cosa aveva, ho tolto la prima riga #!/bin/sh l'ho riscritta, non ha più dato errore.
Altra cosa, meno importante, e che nella directory si cercano solo i file con estensione .sh ma io ne ho alcuni senza estensione, si dovrebbero cercare tutti i file eseguibili
Traslate google
With this modification I found 2 files that gave an error, one had an à (accented a), removed the one no longer gives an error. The second file I did not understand what it had, I removed the first line #! / Bin / sh I rewrote it, it no longer gave an error.
Another thing, less important, is that in the directory you are only looking for files with .sh extension but I have some without extension, you should look for all executable files
EN Green screen on the script window, crash log:
Code:
< 7717.0047> File "/usr/lib/enigma2/python/Screens/BpGreen.py", line 175, in __init__
< 7717.0052> self.populateSL()
< 7717.0052> File "/usr/lib/enigma2/python/Screens/BpGreen.py", line 198, in populateSL
< 7717.0057> for line in f.readlines():
< 7717.0057> File "/usr/lib/python3.9/codecs.py", line 322, in decode
< 7717.0064> (result, consumed) = self._buffer_decode(data, self.errors, final)
< 7717.0065> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 457: invalid start byte
EN I edited the BpGreen.py file on line 198 like this:
Code:
try:
for line in f.readlines():
if line.find('#DESCRIPTION=') != -1:
line = line.strip()
desc = line[13:]
except:
print("[s813!] nomefile: ", fil2)
Altra cosa, meno importante, e che nella directory si cercano solo i file con estensione .sh ma io ne ho alcuni senza estensione, si dovrebbero cercare tutti i file eseguibili
Traslate google
With this modification I found 2 files that gave an error, one had an à (accented a), removed the one no longer gives an error. The second file I did not understand what it had, I removed the first line #! / Bin / sh I rewrote it, it no longer gave an error.
Another thing, less important, is that in the directory you are only looking for files with .sh extension but I have some without extension, you should look for all executable files