How do I check my version of swig? I'm not sure. On Wed, Jul 14, 2010 at 4:19 PM, Martin Casado <cas...@nicira.com> wrote:
> It looks like swig is throwing an assert when it tries to convert > storage.i. I can't imagine this has anything to do with your installing > numpy. What version of swig are you using? > > > A more complete error message is below: >> >> make[8]: Entering directory >> `/home/mininet/ripcord-nox/build/src/nox/netapps/storage' >> /usr/bin/swig -c++ -python \ >> -I../../../../../src/nox/netapps/storage/../ \ >> -outdir ./. \ >> -o pystorage_wrap.cc \ >> -c++ -python -module pystorage >> ../../../../../src/nox/netapps/storage/storage.i >> swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' >> failed. >> make[8]: *** [pystorage.py] Aborted >> make[8]: Leaving directory >> `/home/mininet/ripcord-nox/build/src/nox/netapps/storage' >> >> On Wed, Jul 14, 2010 at 3:02 PM, Albert Wu <awu123...@gmail.com <mailto: >> awu123...@gmail.com>> wrote: >> >> I tried to do this and re-build NOX. >> The commands I used to install numpy was: >> >> sudo apt-get install python-numpy >> >> The error in NOX was: >> >> swig: Modules/lang.css:330: Language::Language(): Assertion >> '!this_' failed. >> >> Do you know what this means? >> >> Thanks, >> Albert >> >> >> On Wed, Jul 14, 2010 at 12:40 PM, Martin Casado <cas...@nicira.com >> <mailto:cas...@nicira.com>> wrote: >> >> Yeah, we've run into this problem before. I believe the >> segfault is in numpy and we got around it by compiling against >> a more recent version of numpy. >> >> Hey, >> >> I put this line of code >> >> import matplotlib >> >> into my NOX module (Python graphing utility). >> Now, when I start NOX, it exits on a segmentation fault. >> >> Does anyone know why this is happening? >> >> Thanks, >> >> Albert >> >> ------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> nox-dev mailing list >> nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org> >> >> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org >> >> >> >> >> >
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org