[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread mj
hi guys,

the non wxpython scripts run fine, but running
usrp_oscope.py and usrp_fft.py gives these errors:

usrp: found usrp rev2
Traceback (most recent call last):
  File ./usrp_oscope.py, line 26, in ?
from gnuradio.wxgui import stdgui, fftsink,
scopesink
  File
/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/fftsink.py,
line 89, in ?
EVT_DATA_EVENT = wx.PyEventBinder (myDATA_EVENT,
0)
AttributeError: 'module' object has no attribute
'PyEventBinder'


any ideas? i've looked everywhere and have even
upgraded to gcc-3.4.3 and re-compiled everything.

cheers,

=
mj - m0mik
hotstudent.com [are you hot enough?!



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread Krzysztof Kamieniecki
Your wxPython is out of date, you need 2.5 . I had the same problem, I am
running debian and I fixed this by getting the unstable wxPython package. 

Quoting mj [EMAIL PROTECTED]:
 hi guys,
 
 the non wxpython scripts run fine, but running
 usrp_oscope.py and usrp_fft.py gives these errors:
 
 usrp: found usrp rev2
 Traceback (most recent call last):
   File ./usrp_oscope.py, line 26, in ?
 from gnuradio.wxgui import stdgui, fftsink,
 scopesink
   File
 /usr/local/lib/python2.3/site-packages/gnuradio/wxgui/fftsink.py,
 line 89, in ?
 EVT_DATA_EVENT = wx.PyEventBinder (myDATA_EVENT,
 0)
 AttributeError: 'module' object has no attribute
 'PyEventBinder'
 
 
 any ideas? i've looked everywhere and have even
 upgraded to gcc-3.4.3 and re-compiled everything.
 
 cheers,
 
 =
 mj - m0mik
 hotstudent.com [are you hot enough?!
 
 
   
 __ 
 Do you Yahoo!? 
 Yahoo! Mail - Find what you need with new enhanced search.
 http://info.mail.yahoo.com/mail_250
 
 
 ___
 Discuss-gnuradio mailing list
 Discuss-gnuradio@gnu.org
 http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
 




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] mic audio input

2005-02-14 Thread Thomas Traber
 Gnurus:

I am not adressed, but answering anyway.

 Does audio mic input work with audio.source() ?

Yes, it seems so.

When using from gnuradio import audio 
gnuradio tries to load alsa driver. 
With alsa driver I
can not change sampling rate. Got the
following message:
---
audio_alsa_source[hw:0,0]: unable to
support sampling rate 24000
  card requested 48000 instead.
---

Therefore I use:
 from gnuradio import audio_oss as
audio

The oss driver allows to change sampling
rate.

Thomas


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Re: mic audio input

2005-02-14 Thread James Smith
Dear Chuck,
The problem you describe seems similar to a problem
that I had when using btaudio with gr_audio_oss.  The
analog interface on btaudio can sample at 448Khz, but
only in mono.  Eventually I figured that the samples
were being split among two channels, but I was only
using one.  If your mic input can only output mono
samples, they may be being split into two channels. 
You may want to try programming your code to assume
that the samples are coming at half of the rate you
programmed.  If you are using gr_audio_alsa I don't
think this would be a problem.



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread Eric Blossom
On Mon, Feb 14, 2005 at 06:26:54AM -0800, mj wrote:
 hi guys,
 
 the non wxpython scripts run fine, but running
 usrp_oscope.py and usrp_fft.py gives these errors:
 
 usrp: found usrp rev2
 Traceback (most recent call last):
   File ./usrp_oscope.py, line 26, in ?
 from gnuradio.wxgui import stdgui, fftsink,
 scopesink
   File
 /usr/local/lib/python2.3/site-packages/gnuradio/wxgui/fftsink.py,
 line 89, in ?
 EVT_DATA_EVENT = wx.PyEventBinder (myDATA_EVENT,
 0)
 AttributeError: 'module' object has no attribute
 'PyEventBinder'
 
 
 any ideas? i've looked everywhere and have even
 upgraded to gcc-3.4.3 and re-compiled everything.

Are you using wxPython 2.5.2.7 or later?

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] USRP OSX

2005-02-14 Thread Eric Blossom
On Mon, Feb 14, 2005 at 03:03:10PM -0600, Ryan Pape wrote:
 Is anyone using the USRP with MacOSX?  I have followed the threads
 regarding issues getting gnuradio up and running on OSX, but have not
 seen anything specific to the USRP.

There are a few folks who have done some experimenting with the USRP
and OSX.  At this point what it's going to take to get it working is
somebody who's willing to do a bit of IOKit hacking, most likely in
user-mode, to build the functional equivalent of fusb_linux for darwin.

The current darwin libusb implementation fires off an asynchronous
read or write and then immediately blocks waiting for it to complete.

If this sounds like something you're interested in, I have additional
info and suggestions as to how to proceed.

The basic issues are the same as discussed in the message yesterday
about NetBSD and the USRP. 
http://lists.gnu.org/archive/html/discuss-gnuradio/2005-02/msg00143.html


Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] mic audio input

2005-02-14 Thread Chuck Swiger
At 08:19 PM 2/14/2005 +0100, you wrote:
 Does audio mic input work with audio.source() ?
Yes, it seems so.
Therefore I use:
 from gnuradio import audio_oss as
audio
The oss driver allows to change sampling
rate.
Thomas
Tks Thomas - that works.
--Chuck

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Weaver vs. Hilbert

2005-02-14 Thread Thomas Traber
In hardware a Weaver modulator avoids
the need for the phase shifting baseband
filters.
What is the reason for using a Weaver
modulator
(http://webpages.charter.net/cswiger/weaver_gen.py)
in an SDR?
Is it faster than an Hilbert
transformer?
(http://comsec.com/wiki?SingleSideBandModulator)

Thomas





___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio