Backun unfinished due to error in date.decode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Released
|
High
|
Germar |
Bug Description
I am using backintim v1.1.2 under kubuntu 14.04. I run it with kdesudo which was successful with older versions. Now the backup does not complete. Here is the relevant output of "kdesudo backintime-qt4".
INFO: Save config file
INFO: Command "cp /root/.
INFO: Save permissions
Traceback (most recent call last):
File "/usr/share/
start_app()
File "/usr/share/
ret = take_snapshot( cfg, True )
File "/usr/share/
ret = snapshots.
File "/usr/share/
ret_val, ret_error = self._take_
File "/usr/share/
output = find.communicat
File "/usr/lib/
stdout, stderr = self._communica
File "/usr/lib/
self.
File "/usr/lib/
data = data.decode(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 22496141: invalid continuation byte
INFO: [qt4systrayicon] begin loop
INFO: [qt4systrayicon] end loop
mountpoint: /root/.
Back In Time
Version: 1.1.2
A quick google search reveals that this might be related to the locale setting.
kdesudo locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=de_DE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=de_DE.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Related branches
Changed in backintime: | |
status: | Fix Committed → Fix Released |
First of all with 1.1.2 I switched from kdesudo to PolicyKit/pkexec to become root because kdesudo/gksudo is deprecated and shouldn't be used anymore. So please use 'pkexec backintime-qt4'.
I wasn't able to reproduce this here but I don't think this is related to your locale. At least not the locale on your local machine. It might be related to the locale on your remote host. But I think it's because of a special character in one filename. The command that was processed in there is something like (all in one line):
ssh -p 22 -o ServerAliveInte rval=240 USER@REMOTEHOST find path/to/ remote/ backintime/ einstein/ root/1/ new_snapshot/ backup/ -name \* -print
The byte '0xe4' stated in the exception indicate that it is a Chinese/ Japanese/ Korean Character. Do you have (new) files with CJK Characters? If so, could you please post the filename so I could try to fix this?