GTG

Repeated error message on tasks with multiple parents

Bug #543632 reported by Bryce Harrington
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Bryce Harrington

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...]

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

There's also a large amount of whitespace between 'because' and 'there' which could be cleaned up better.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

This message is there to see what are the problems with multiple parents. So far, I didn't see any. The full message should be removed before 0.3 release (and bugs should be fixed, of course)

Revision history for this message
Bryce Harrington (bryce) wrote :

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

Changed in gtg:
importance: Undecided → Medium
milestone: none → 0.3
status: New → In Progress
assignee: nobody → Bryce Harrington (bryceharrington)
Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.9
Izidor Matušov (izidor)
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.