[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backup Wiederherstellung scheitert



Hi,

On Wed, 20 Apr 2022 09:28:53 +0000
Real Malatesta <realmalatesta@gmail.com> wrote:

(...)
> Der Prozess startet.
> Und dann die Fehlermeldung, die niemand sehen will: "Wiederherstellung
> fehlgeschlagen".
> Mit unbekanntem Fehler.
> Der Output sieht so aus:
(...)
>   File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
>     return codecs.utf_8_decode(input, errors, True)
>  UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 78:
> invalid start byte
> 
> Ich gehe davon aus, dass die letzte Zeile die Wesentliche ist. Aber wie
> komme ich hier weiter? Hat jemand hier einen hilfreichen Tip, der mich
> aus dem Tal des Elends herausfuehren koennte?

habe hier mal ein kleines Experiment im Python-Interpreter gestartet:

>>> s='\xf6'
>>> print(s)
ö
>>> s.decode('utf8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 0:
invalid start byte
>>> s.decode('iso-8859-1')
u'\xf6'
>>> print(s.decode('iso-8859-1'))
ö
>>> ss='ö'
>>> ss.decode('utf8')
u'\xf6'
>>> print(ss.decode('utf8'))
ö
>>> 

(UTF-8 ist hier natürlich Systemweite Standardkodierung)

Ist jetzt nur geraten (von "Déjà Dup" habe ich keine Ahnung), aber es
sieht für mich ein wenig so aus, als wäre die betreffende Datei auf einem
System mit Latin-1 oder etwas ähnlichem als Systemkodierung erstellt
worden und deshalb klemmt es jetzt beim Versuch, sie auf einem System mit
UTF-8 als Systemkodierung zu entpacken. Kann das sein?

Gruss

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

You are an excellent tactician, Captain.  You let your second in
command attack while you sit and watch for weakness.
		-- Khan Noonian Singh, "Space Seed", stardate 3141.9


Reply to: