[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] how_to_square_error
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] how_to_square_error |
Date: |
Sun, 25 Feb 2007 15:49:30 -0800 |
User-agent: |
Mutt/1.5.9i |
On Sun, Feb 25, 2007 at 11:36:14PM +0100, Vincenzo Pellegrini wrote:
> In my previous installation, still on fedora core 6 I did not experience
> this but right now,
> when make checking into the src/python directory after having compiled the
> gr-howto-write-a-block stuff
>
> I get this error:
Have you recently compiled and installed the main gnuradio code?
If it passes "make check" then I suggest that you
$ cd .../gr-howto-write-a-block
$ make clean
$ ./bootstrap && ./configure && make && make check
Also, it looks like you're running all this as root...
Eric
> ERROR: test_002_square2_ff (__main__.qa_howto)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./qa_howto.py", line 52, in test_002_square2_ff
> self.fg.connect (src, sqr)
> File
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 115, in connect
> self._connect (points[i-1], points[i])
> File
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 120, in _connect
> self._connect_prim (s, d)
> File
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 126, in _connect_prim
> self._check_valid_dst_port (dst_endpoint)
> File
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 225, in _check_valid_dst_port
> self._check_port (dst_endpoint.block.input_signature(),
> dst_endpoint.port)
> File
> "/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
> line 230, in _check_port
> if signature.max_streams () == -1: # infinite
> AttributeError: 'PySwigObject' object has no attribute 'max_streams'
>
> ----------------------------------------------------------------------
> Ran 2 tests in 0.020s
>
> FAILED (errors=2)
> FAIL: run_tests
> ===================
> 1 of 1 tests failed
> ===================
> make[1]: *** [check-TESTS] Error 1
> make[1]: Leaving directory `/root/Desktop/gr-howto-write-a-block/src/python'
> make: *** [check-am] Error 2
> address@hidden python]#
> address@hidden python]#
>
> which I cannot understand
>
> any suggestion?
>
> thanks
> --
> Vincenzo Pellegrini