A quicker way to solve bug #881956. Create backups of pickle file and if needed, automatically restore it from backup file.
Traceback (most recent call last):
File "/usr/bin/gtg", line 69, in <module>
sys.exit(GTG.gtg.main(options, args))
File "/usr/share/gtg/GTG/gtg.py", line 114, in main
ds, req = core_main_init(options, args)
File "/usr/share/gtg/GTG/gtg.py", line 141, in core_main_init
backends_list = BackendFactory().get_saved_backends_list()
File "/usr/share/gtg/GTG/backends/__init__.py", line 177, in get_saved_backends_list
self.restore_backend_from_xml(dic)
File "/usr/share/gtg/GTG/backends/__init__.py", line 161, in restore_backend_from_xml
dic["backend"] = module.Backend(dic)
File "/usr/share/gtg/GTG/backends/backend_rtm.py", line 87, in __init__
SyncEngine())
File "/usr/share/gtg/GTG/backends/genericbackend.py", line 584, in _load_pickled_file
return pickle.load(file)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
EOFError