Backup and restore pickle files

Bug #1036554 reported by Izidor Matušov on 2012-08-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
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/", line 114, in main
    ds, req = core_main_init(options, args)
  File "/usr/share/gtg/GTG/", line 141, in core_main_init
    backends_list = BackendFactory().get_saved_backends_list()
  File "/usr/share/gtg/GTG/backends/", line 177, in get_saved_backends_list
  File "/usr/share/gtg/GTG/backends/", line 161, in restore_backend_from_xml
    dic["backend"] = module.Backend(dic)
  File "/usr/share/gtg/GTG/backends/", line 87, in __init__
  File "/usr/share/gtg/GTG/backends/", line 584, in _load_pickled_file
    return pickle.load(file)
  File "/usr/lib/python2.7/", line 1378, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.7/", line 858, in load
  File "/usr/lib/python2.7/", line 880, in load_eof
    raise EOFError

Related branches

Izidor Matušov (izidor) on 2012-08-14
Changed in gtg:
status: Confirmed → In Progress
Izidor Matušov (izidor) on 2012-08-15
description: updated
Izidor Matušov (izidor) on 2012-08-16
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  Edit
Everyone can see this information.

Other bug subscribers