On Thu, Feb 23, 2006 at 04:53:34AM -0000, rajenish kumar jain wrote: > Hi Members, > I am executing the howto module after downloading it from the site. I have > the following directory structure > > /home/rkjain/gr-howto-write-a-block-0.4/ > /home/rkjain/gnuradio-core-2.6/ > /usr/local/lib/python2.3/site-packages/gnuradio/ > > I am succesfully able to run ./bootstap and ./configure inside the directory > /home/rkjain/gr-howto-write-a-block-0.4/ > when i run make check I encounter the following problem
Shouldn't matter, but did you run "make" prior to "make check" ? > ----------------------------------------------------------------------- > python: Objects/typeobject.c:1563: type_new: Assertion `args != ((void *)0) > && ( > (args)->ob_type == (&PyTuple_Type) || PyType_IsSubtype((args)->ob_type, > (&PyTupl > e_Type)))' failed. > ./run_tests: line 37: 31816 Aborted $file > FAIL: run_tests What verion of SWIG are you using? > ----------------------------------------------------------------------- > > when i further dig into the problem and run ./qa_howto.py in the > directory /home/rkjain/gr-howto-write-a-block-0.4/src/python/ it > gives me following error message > -------------------------------------------------------------- > Traceback (most recent call last): > File "./qa_howto.py", line 23, in ? > from gnuradio import gr, gr_unittest > File "/home/rkjain/gnuradio-core-2.6/src/python/gnuradio/gr/__init__.py", > line > 27, in ? > from gnuradio_swig_python import * > ImportError: No module named gnuradio_swig_python This is normal. The individual ./qa_*.py files won't execute except when run by ./run_tests or after everything has been installed. Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
