Yeah sorry, I should have mentioned before. The monitorsui component doesn't exist in 0.5. The documentation is updated in git but not online. I would just use pyswitch to begin with.

.martin

When I ran that, I found that it's still compiled with python 2.6.
Removed all the build files, and recompiled.

ppad...@ppadala-desktop:~/noxcore/build/src$ ./nox_core pyloop
NOX 0.5.0~full~beta (nox_core), compiled Oct 14 2009 12:59:37
Compiled with OpenFlow 0x97 (exp)
Python 2.5.4 (r254:67916, Apr 4 2009, 18:12:40) [GCC 4.3.3] on linux2

Now make check works fine, but when I run

sudo ./nox_core -v -i ptcp:2525 monitorsui switchstatsws pyswitch
pyauthenticator

I get the error

00027|nox|ERR:Application 'monitorsui' description not found.

Thanks,
Pradeep

-----Original Message-----
From: Martin Casado [mailto:[email protected]]
Sent: Wednesday, October 14, 2009 10:31 AM
To: Pradeep Padala
Cc: [email protected]
Subject: Re: make check fails "Import by filename is not supported"

Can you run pyloop to ensure it was compiled against the correct
python?
badwater:~/nox/noxcore/build/src> ./nox_core pyloop
NOX 0.5.0~full~beta (nox_core), compiled Oct 13 2009 16:17:43
Compiled with OpenFlow 0x97 (exp)
Python 2.5.2 (r252:60911, Jan  4 2009, 18:00:02)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
 >>>


Alright, I got the Python2.5 package, and compiled it.

make check still fails, do I need to pass an option somewhere to
make
sure that the apps are using Python2.5 instead of the regular python
version?

./nox_core -v -i ptcp:2525 monitorsui switchstatsws pyswitch
pyauthenticator
Fails with the same error I pasted earlier.

00027|nox|ERR:Application 'monitorsui' description not found.

Pradeep


-----Original Message-----
From: Martin Casado [mailto:[email protected]]
Sent: Wednesday, October 14, 2009 9:47 AM
To: Pradeep Padala
Cc: [email protected]
Subject: Re: make check fails "Import by filename is not supported"

This is a Python2.6 issue.  Some cosmetic porting is required to
get
2.6

compliance which have never been pushed to the public repo.  I'd

suggest



_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to