[Click] click-viz error
Eddie Kohler
kohler at cs.ucla.edu
Fri Jan 19 20:19:40 EST 2007
Hi Nicola,
click-viz was based on a sort of cheap Python attempt at parsing the Click
syntax. I rewrote it to use Click's parsing directly, which should avoid this
kind of problem in the future. Additionally, you won't have to use
click-flatten if you don't want to.
Eddie
Nicola Arnoldi wrote:
> Ok guys.
> I found the error.
> Look at line 82.
> Click-viz seems to reject the tcpdump-like syntax of IPClassifier.
> I tried substituting the first argument of the classifier
> "(ip tos != 40 and ip tos != 72 and ip tos != 104)"
> with a "-".
>
> graphviz worked perfectly, then.
>
> Bye
>
> Nicola
> Il giorno sab, 16/12/2006 alle 21.48 +0100, Nicola Arnoldi ha scritto:
>> Dear all,
>> I am developing a new scheduler using click.
>> In order to test it I tried to plot a graph of my router configuration.
>> However I encounter the following error trying to use the command
>> 'click-flatten demo.click | click-viz | dot -Tpng >demo.png'
>>
>> I attach you the lines from my terminal.
>>
>> ~/click/tools/click-flatten/click-flatten test/file.test |
>> ~/click/tools/click-viz
>> digraph stdin {
>> node [shape=record,height=.1]
>> edge [arrowhead=normal,arrowtail=dot]
>> Traceback (most recent call last):
>> File "/home/nicola/click/tools/click-viz", line 102, in ?
>> if m.lastgroup != "end":
>> AttributeError: 'NoneType' object has no attribute 'lastgroup'
>>
>> I send you as an attachment the configuration I am trying to plot.
>>
>> Thanks for any help!
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list