[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] email threading - tree vs. graph



On Sun, 21 Feb 2010 08:42:49 -0500, "W. Trevor King" <wking@drexel.edu> wrote:
> On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
[...]
> > Have a pointer to code?
> 
> My code is currently stuffed into an in-transition BE project, but it
> should be easy to separate.  Grab the whole repo with Bazaar:
>   bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be.mailing-list
> Graphing module is libbe/util/graph.py.  My very minimal browser is
> misc/mailbox-tools/mailgraph.py.  Set up the BE version file with
>   cd be.mailing-list
>   make libbe/_version.py
> and run the browser with
>   misc/mailbox-tools/mailgraph.py *.mbox
> Press 'h' for help.

I've tried your program on a 100 messages mbox and got this:

missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
missing Message-ID: <HIDDEN>
Traceback (most recent call last):
  File "misc/mailbox-tools/mailgraph.py", line 194, in <module>
    app.run()
  File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 487, in run
    return curses.wrapper(self._run, list(keys))
  File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 494, in _run
    self._run_init(stdscr)
  File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 520, in _run_init
    window.initialize()
  File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 172, in initialize
    self._setup_buffer()
  File "misc/mailbox-tools/mailgraph.py", line 51, in _setup_buffer
    self._buffer = self._graph.ascii_graph().splitlines()
  File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 379, in ascii_graph
    for row,node in self.graph_rows():
  File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 367, in graph_rows
    self.topological_sort()
  File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 355, in topological_sort
    % (orig_len - final_len, orig_len))
libbe.util.graph.CyclicGraph: 3 of 100 elements not reachable from tips

Best regards,

-- 
Nicolas Pouillard
http://nicolaspouillard.fr
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel