No, that should not happen. gr_modtool is as much part of GNU Radio as is the gnuradio-companion.

This sounds like you might have mixed multiple installations of GNU Radio.
Greetings,
Marcus

On 11/10/2014 02:22 PM, Julián Andrés Quenardelle wrote:
Thanks Marcus, i found out a wierd thing, gr-modtool is not running at my
laptop, i though it was installed with gnuradio, could i install only
gr_modtool or i have tu remove and reinstall the whole gnuradio companion
program?

2014-11-10 10:06 GMT-03:00 Marcus Müller <[email protected]>:

  Hi Julian,

blind guess: gr-pyserial is from 2012 and thus likely uses GNU Radio
3.6.something, whereas you're trying to use it with a more modern version
of GNU Radio, whose python block object doesn't have the num... argument.
I think the easiest (and most sensible) solution to this is honoring
jmalsbury's work by using an up-to-date version of GNU Radio, employing
"gr_modtool nm" to make a new module, add a new block to that using
"gr_modtool -l python add" and then copy&paste over most of the code into
the skeleton you've just created.

Best regards,
Marcus


On 11/10/2014 01:49 PM, Julián Andrés Quenardelle wrote:

Hi all! I'm working with gr-pyserial but when i run my blocks i get the
following:

Loading: "/home/iua/gr-pyserial-master/examples/vsp_connect.grc"

   Done

   Showing: "/home/iua/gr-pyserial-master/examples/vsp_connect.grc"

Generating: "/home/iua/gr-pyserial-master/examples/vsp_connect.py"

   Warning: This flow graph may not have flow control: no audio or usrp

   blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU
congestion.

Executing: "/home/iua/gr-pyserial-master/examples/vsp_connect.py"

linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.004.003-175-g09de3c07

Traceback (most recent call last):
   File "/home/iua/gr-pyserial-master/examples/vsp_connect.py", line 50, in
<module>
     tb = vsp_connect()
   File "/home/iua/gr-pyserial-master/examples/vsp_connect.py", line 32, in
__init__
     self.serial_port_1_0 =
grpyserial.serial_port("/dev/tty1",0,9600,0,1,True)
   File "/usr/local/lib/python2.7/dist-packages/grpyserial/serial_port.py",
line 62, in __init__
     num_msg_outputs = 1,
TypeError: __init__() got an unexpected keyword argument 'num_msg_inputs'


Some who maybe has any experience with gr-pyserial could help me? Is there
a code error or is something wrong with gnuradio?

Thanks all for your help




_______________________________________________
Discuss-gnuradio mailing 
[email protected]https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to