← Back to team overview

gtg team mailing list archive

Re: [Question #196249]: Restore xml file

 

Question #196249 on Getting Things GNOME! changed:
https://answers.launchpad.net/gtg/+question/196249

    Status: Answered => Open

Niels is still having a problem:
Dear Bertrand,

i followed you're instructions and produced an error. 
i gues it must have been the same error that started the problem but i am not sure.


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/liblarch/processqueue.py", line 43, in process_queue
    func(*action[1:])
  File "/usr/lib/python2.7/dist-packages/liblarch/tree.py", line 214, in _add_node
    self._callback("node-added", node_id)
  File "/usr/lib/python2.7/dist-packages/liblarch/tree.py", line 78, in _callback
    func(node_id)
  File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 130, in __external_modify
    return self.__update_node(node_id,direction="both")
  File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 219, in __update_node
    self.send_add_tree(node_id, parent_id)
  File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 282, in send_add_tree
    self.callback('added', node_id, path)
  File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 125, in callback
    func(node_id,path)
  File "/usr/lib/python2.7/dist-packages/liblarch/__init__.py", line 245, in __emit
    func(node_id,path)
  File "/usr/lib/python2.7/dist-packages/liblarch_gtk/treemodel.py", line 140, in add_task
    value = access_method(node)
  File "/usr/lib/python2.7/dist-packages/liblarch_gtk/__init__.py", line 283, in <lambda>
    return lambda node: func(node, default)
  File "/usr/share/gtg/GTG/gtk/browser/treeview_factory.py", line 90, in task_bg_color
    return colors.background_color(tags,bg)
  File "/usr/share/gtg/GTG/gtk/colors.py", line 32, in background_color
    for my_tag in tags:
TypeError: iteration over non-sequence


i have trouble interpreting this and hope you may have an idea on what is going wrong.


I have also tried reinstalling gtg. This results in a second .local\share\gtg directory
i have tried putting the xxx-xxx.xml and project.xml file from the old dir in the new one and (after the first one failed) copied the content from the old xxxx-xxx.xml file in the new. 

In both these cases i didn't get the error i mentioned above but i also
didn't get my old tasks back even though they are visible in the xml
file when i open these in a text editor.

-- 
You received this question notification because you are a member of Gtg
developers, which is an answer contact for Getting Things GNOME!.