Number of Samples Problem

I am getting an error when running the example. I try
to specify the number of samples to collect using the -N option, and I
keep getting an error that the destination is already in use. If I
don’t use the -N option, I don’t get this error and it works fine. The
actual error that I get is shown below:

Traceback (most recent call last):
File “”, line 113, in ?
File “”, line 86, in init
self.connect(self.u, self.head, self.convert2, self.dst2)
line 115, in connect
self._connect (points[i-1], points[i])
line 120, in _connect
self._connect_prim (s, d)
line 127, in _connect_prim
self._check_dst_in_use (dst_endpoint)
line 219, in _check_dst_in_use
raise ValueError, (“destination endpoint already in use: %s” %
ValueError: destination endpoint already in use: <endpoint (<gr_block
head (5)>, 0)>


[email protected] wrote:

I am getting an error when running the example.

Traceback (most recent call last): File “”

The error message shows a different file name–is this something new
that you wrote? Also, the line numbers don’t match the
in the tree.

In general, the ‘destination endpoint in use’ error happens during the
fg.connect call when the block and input port being connected to has
already been used in a prior fg.connect call. From the error traceback
you provided, it’s saying that gr.head input port 0 has already been
part of a connect call. So follow the logic of your script to see how
this could have happened.

Johnathan C.
Corgan Enterprises LLC

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