← Back to team overview

gtg team mailing list archive

[Bug 543632] Re: Repeated error message on tasks with multiple parents

 

This at least makes the message only print out a little, so that error
messages don't end up scrolling out of your buffer.

** Patch added: "quell_multi_parents.patch"
   http://launchpadlibrarian.net/45247773/quell_multi_parents.patch

** Changed in: gtg
   Importance: Undecided => Medium

** Changed in: gtg
       Status: New => In Progress

** Changed in: gtg
    Milestone: None => 0.3

** Changed in: gtg
     Assignee: (unassigned) => Bryce Harrington (bryceharrington)

-- 
Repeated error message on tasks with multiple parents
https://bugs.launchpad.net/bugs/543632
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: In Progress

Bug description:
I upgraded my tasks to the 0.3 branch today.  After installing it, on starting it up it prints a slew of warnings:

Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.

It would probably be sufficient to print it out a few times and then just indicate that the warning repeats.  E.g. something like:

Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
Warning : get_parent will return one random parent because                     there are multiple parents.
[Last warning repeats 42 times...]





References