[nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
Hello, I was thinking about writing a front end that could integrate with Lavi (the way envi does). Right now I'm just playing around with them. Anyone know how to run lavi and connect envi? I tired doing ./nox_core -i ptcp:6633 lavi but envi keeps telling me that it cannot connect. If i do

Re: [nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
Thanks kk, Quick question, I'm getting the following error with getlinks any idea? getnodes works fine though. arosen@laptop ~/devel/nox/src/scripts $ python nox-console.py -n awesome -p 11222 getlinks Traceback (most recent call last): File nox-console.py, line 104, in module print

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
Seems like an invalid JSON string is being returned. See what you get when you print sock.recv(4096). Regards KK On 20 September 2011 21:13, Aaron Rosen aro...@clemson.edu wrote: Thanks kk, Quick question, I'm getting the following error with getlinks any idea?  getnodes works fine though.

Re: [nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
It seems like maybe the string is too long and it's getting truncated. {type:lavi,link_type:sw2sw,links:[{src id:e840026f140a800,dst port:33,dst id:e84002347c8bc00,dst type:switch,src type:switch,src port:32},{src id:e840026f140a800,dst port:33,dst id:e840024a8d24800,dst type:switch,src