在备份未完成时意外关闭计算机后,Back in Time 无法再次启动,我还使用 python 安装和卸载了一些程序。这是我收到的错误消息:
frank@VaioVGN-FE21H:~$ backintime-qt4
Back In Time
Version: 1.1.20
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
> Traceback (most recent call last):
File
> "/usr/share/backintime/qt4/app.py", line 1509, in <module>
> cfg = backintime.start_app( 'backintime-qt4' )
File "/usr/share/backintime/common/backintime.py", line 463, in start_app
> return getConfig(args, False)
File "/usr/share/backintime/common/backintime.py", line 584, in getConfig
> cfg = config.Config(args.config)
File "/usr/share/backintime/common/config.py", line 189, in __init__
> self.append( self._LOCAL_CONFIG_PATH )
File "/usr/share/backintime/common/configfile.py", line 393, in append
> super(ConfigFileWithProfiles, self).append(filename)
File "/usr/share/backintime/common/configfile.py", line 115, in append
> lines = f.readlines()
File "/usr/lib/python3.5/codecs.py", line 321, in decode
> (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9a in position
> 1: invalid start byte
更多信息可能有助于分析问题:
- 我运行的是 Lubuntu 16.04.2,在旧的 Vaio 上内核是 4.4.0-77-generic
- Synaptic 包管理器提示没有依赖问题
- 回到过去以 ROOT 身份开始
- 我卸载并重新安装了该程序
谢谢你的帮助!弗兰克
答案1
您的/root/.config/backintime/config
文件已损坏。请将其删除sudo rm /root/.config/backintime/config
并重新启动 BackInTime。它会询问您是否要恢复您的配置。确认恢复并选择要从中恢复的最后一个快照文件夹。