Re: [Discuss-gnuradio] ImportError: cannot import name ais

2010-10-15 Thread Nick Foster
You don't need to set a receiver subdevice if you are loading data from a file. You will also need to set a decimation so the software knows what rate to expect in the file. So, if your recorded data is at 1Msps: ./ais_decode.py -d 64 -F signal_filename I know it's sort of weird to specify a deci

Re: [Discuss-gnuradio] ImportError: cannot import name ais

2010-10-15 Thread Thunder87
changed prefix to /usr instead of default /usr/local ./configure --prefix=/usr Looks like it's working. Can't verify at the moment. I think I saw recorded AIS signals somewhere in the web. Should be able to test package with one of those (if I can find them again). Should be something like './a

Re: [Discuss-gnuradio] ImportError: cannot import name ais

2010-10-15 Thread Thunder87
Oh, found where problem was. Gnuradio is installed into usr/lib/python2.6/dist-packages/gnuradio AIS package was installed into usr/local/lib/python2.6/dist-packages/gnuradio Could this happen because I used sudo su before downloading and installation of package? I'll try and reinstall, hope th

Re: [Discuss-gnuradio] ImportError: cannot import name ais

2010-10-13 Thread Nick Foster
On Wed, 2010-10-13 at 03:06 -0700, Thunder87 wrote: > Installed gr-ais package from cgran: > apt-get install autoconf automake libtool gcc g++ subversion python-dev > svn co https://www.cgran.org/svn/projects/gr-ais/trunk /home/gr-ais > cd /home/gr-ais/trunk > ./bootstrap > ./configure > make insta

[Discuss-gnuradio] ImportError: cannot import name ais

2010-10-13 Thread Thunder87
Installed gr-ais package from cgran: apt-get install autoconf automake libtool gcc g++ subversion python-dev svn co https://www.cgran.org/svn/projects/gr-ais/trunk /home/gr-ais cd /home/gr-ais/trunk ./bootstrap ./configure make install No errors at this point. Only few warnings in make. Then trie