How_to_square_error

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:

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
[[email protected] python]#
[[email protected] python]#

which I cannot understand

any suggestion?

thanks

On Sun, Feb 25, 2007 at 11:36:14PM +0100, Vincenzo P. 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

Vincenzo P. 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

Not certain, but this may be a symptom of the linking breakage that was
recently introduced in the trunk (and 3.0.3rc1), by, ahem, me. I’m
fixing that now.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs