[Click] click-viz error

Nicola Arnoldi nicola.arnoldi at dit.unitn.it
Sat Dec 16 16:06:18 EST 2006


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



More information about the click mailing list