discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] binary installer gnuradio-2.5cvs.win32.exe for wi


From: mjam01
Subject: Re: [Discuss-gnuradio] binary installer gnuradio-2.5cvs.win32.exe for windows
Date: Wed, 27 Jul 2005 14:40:09 +0100

thanks eric, that solved that bit... now here's the next one. i've
tried running various sample codes and this error happens everytime.

--------------------------------
Traceback (most recent call last):
  File "C:\mikes\gnuradio-mikes\gnuradio-mikes\tvrx_wfm_rcv_gui.py",
line 100, in ?
    app = stdgui.stdapp (wfm_rx_graph, "WFM RX")
  File "C:\Python24\lib\site-packages\gnuradio\wxgui\stdgui.py", line
35, in __init__
    wx.App.__init__ (self)
  File "C:\Python24\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py",
line 6151, in __init__
    self._BootstrapApp()
  File "C:\Python24\Lib\site-packages\wx-2.6-msw-ansi\wx\_core.py",
line 5803, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\Python24\lib\site-packages\gnuradio\wxgui\stdgui.py", line
38, in OnInit
    frame = stdframe (self.flow_graph_maker, self.title)
  File "C:\Python24\lib\site-packages\gnuradio\wxgui\stdgui.py", line
59, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File "C:\Python24\lib\site-packages\gnuradio\wxgui\stdgui.py", line
80, in __init__
    self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
  File "C:\mikes\gnuradio-mikes\gnuradio-mikes\tvrx_wfm_rcv_gui.py",
line 36, in __init__
    src = usrp.source_c (0, decim, 1, gru.hexint(0xf0f0f0f2), 0)
  File "C:\Python24\lib\site-packages\gnuradio\usrp.py", line 86, in source_c
    return ((usrp0.source_c,
usrp1.source_c)[look_for_usrp(which)])(which, *args, **kwargs)
  File "C:\Python24\lib\site-packages\gnuradio\usrp1.py", line 1263, in source_c
    return _usrp1.source_c(*args)
RuntimeError: std::runtime_error

----------------------

any ideas on this one?

cheers,

mike
m0mik.org/gnuradio/



On 7/27/05, Eric Blossom <address@hidden> wrote:
> On Tue, Jul 26, 2005 at 10:57:46AM +0100, mjam01 wrote:
> > hey, thanks for the new installer. the _usrp0.dll gets past the previous 
> > errors.
> >
> > i'm now getting this error, i wonder if you have any ideas?
> >
> > --------------------------------------------------------------
> >
> > Traceback (most recent call last):
> >   File "C:\mikes\gnuradio-mikes\gnuradio-mikes\samples\tvrx_am_rcv.py",
> > line 118, in ?
> >     main (sys.argv[1:])
> >   File "C:\mikes\gnuradio-mikes\gnuradio-mikes\samples\tvrx_am_rcv.py",
> > line 111, in main
> >     fg = build_graph (filename, freq_offset_khz)
> >   File "C:\mikes\gnuradio-mikes\gnuradio-mikes\samples\tvrx_am_rcv.py",
> > line 56, in build_graph
> >     src = usrp.source_c (0, usrp_decim, 1, 0xf0f0f0f2, 0)
> >   File "C:\Python24\Lib\site-packages\gnuradio\usrp.py", line 86, in 
> > source_c
> >     return ((usrp0.source_c,
> > usrp1.source_c)[look_for_usrp(which)])(which, *args, **kwargs)
> >   File "C:\Python24\Lib\site-packages\gnuradio\usrp1.py", line 1263, in 
> > source_c
> >     return _usrp1.source_c(*args)
> > NotImplementedError: No matching function for overloaded 'source_c'
> >
> > -------------------------
> >
> > the usrp is plugged in and recognised.
> >
> > cheers,
> >
> > mike
> > m0mik.org/gnuradio
> 
> I'm guessing that you are using Python 2.4.
> 
> If so, you need to change this line:
> 
>   src = usrp.source_c (0, usrp_decim, 1, 0xf0f0f0f2, 0)
> 
> to this:
> 
>   src = usrp.source_c (0, usrp_decim, 1, gru.hexint(0xf0f0f0f2), 0)
> 
> 
> [Under 2.4, 0xf0f0f0f2 is treated as a bignum, which doesn't fit in an int.]
> 
> Eric
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]