GTG

Backup and restore pickle files

Bug #1036554 reported by Izidor Matušov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Critical
Izidor Matušov

Bug Description

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

Related branches

Izidor Matušov (izidor)
Changed in gtg:
status: Confirmed → In Progress
Izidor Matušov (izidor)
description: updated
Izidor Matušov (izidor)
Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.