bytedeez Posted July 21, 2014 Share Posted July 21, 2014 Hi, All When trying to run the test capture file to check if everything is good. I run into ImportError: No module named _gsm Anyone else run into this and was able to concur it? Quote Link to comment Share on other sites More sharing options...
no42 Posted July 21, 2014 Share Posted July 21, 2014 try: apt-get --reinstall install gnuradio then try again Quote Link to comment Share on other sites More sharing options...
cooper Posted July 21, 2014 Share Posted July 21, 2014 What software (program, os, etc) do you use? Quote Link to comment Share on other sites More sharing options...
bytedeez Posted July 22, 2014 Author Share Posted July 22, 2014 Cooper Kali 1.0.6 Gnuradio companion 3.6.5.x Midnitsnake Will try that and let you know. I started to attempt this on a fresh install and when it comes to Linux I'm novice at best. Quote Link to comment Share on other sites More sharing options...
bytedeez Posted July 22, 2014 Author Share Posted July 22, 2014 After reinstall gnuradio it still returns the same error: root@kali:/airprobe/gsm-receiver/src/python# ./go.sh capture_941.8M_112.cfile Traceback (most recent call last): File "./gsm_receive.py", line 12, in <module> import gsm File "../lib/gsm.py", line 26, in <module> _gsm = swig_import_helper() File "../lib/gsm.py", line 18, in swig_import_helper import _gsm ImportError: No module named _gsm Quote Link to comment Share on other sites More sharing options...
cooper Posted July 22, 2014 Share Posted July 22, 2014 (edited) The only gsm.py file I can find referenced online is this github entry which suggests it's a part of something called python-smpplib. Perhaps you can see if something like that has been installed on your system and if so you either can upgrade or reinstall it in the hope that might fix things. Edited July 22, 2014 by Cooper Quote Link to comment Share on other sites More sharing options...
no42 Posted July 22, 2014 Share Posted July 22, 2014 ok failing that : apt-get update apt-get --reinstall install gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy I did have the same error as you? all i did was reinstall some packages and i got it working, can't remember which package exactly maybe it was the gnuradio-dev not the gnuradio? Quote Link to comment Share on other sites More sharing options...
bytedeez Posted July 23, 2014 Author Share Posted July 23, 2014 unfortunately that did not work either...hmmm Quote Link to comment Share on other sites More sharing options...
no42 Posted July 23, 2014 Share Posted July 23, 2014 (edited) What was the kali source that you used? - live dvd or vm, I worked from the vm-image download. If that makes any difference??? Edited July 24, 2014 by midnitesnake Quote Link to comment Share on other sites More sharing options...
bytedeez Posted July 23, 2014 Author Share Posted July 23, 2014 Hmmm... I am working from a VM but the original image is an .iso Quote Link to comment Share on other sites More sharing options...
barry99705 Posted July 24, 2014 Share Posted July 24, 2014 Check your apt sources. I've had to edit mine every time I install Kali from dvd. For some reason not all of them are there. Quote Link to comment Share on other sites More sharing options...
bytedeez Posted July 24, 2014 Author Share Posted July 24, 2014 Will check into it but I wouldn't think that would be an issue because I didn't have any problems installing anything in the guide or hak5 tutorial. Quote Link to comment Share on other sites More sharing options...
lawn dart Posted October 13, 2014 Share Posted October 13, 2014 Alas, I'm getting the same thing after following the tutorial. Did anyone get a fix for this? I do see that the directory structure on my kali is different. In the demo the libosmocore directory contains the airprobe directory but on my system both sub-directories oare in the /root directory. I've no idea if this is making a difference though. Anyone help? Quote Link to comment Share on other sites More sharing options...
Develectron Posted December 10, 2014 Share Posted December 10, 2014 hi i also got this problemroot@kali:/airprobe/gsm-receiver/src/python# ./go.sh capture_941.8M_112.cfileTraceback (most recent call last):File "./gsm_receive.py", line 12, in <module>import gsmFile "../lib/gsm.py", line 26, in <module>_gsm = swig_import_helper()File "../lib/gsm.py", line 18, in swig_import_helperimport _gsmImportError: No module named _gsmanyone got a solution yet ?Or do i just need to start over And does it only work with older Kali or also with the new 1.0.9 ?Thanks in advance Quote Link to comment Share on other sites More sharing options...
fugu Posted December 18, 2014 Share Posted December 18, 2014 Just for shitz n' giggles, can you try to make a pentoo livecd/liveusb and try and run right from that? ([WARN] don't use VirtualBox, too slow) Quote Link to comment Share on other sites More sharing options...
Develectron Posted December 19, 2014 Share Posted December 19, 2014 i got this fixed now! i was working an a kali 1.09a and there was even no gnuradio or rtl packages in this distro :s don't know why but afterwards i tried it with a kali 1.0.6 and came up with the same problem of no module gsm then did apt-get install gnuradio gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy and did rerun ./bootstrap on gsm-receiver and now it's all working :) Love this :) Quote Link to comment Share on other sites More sharing options...
Develectron Posted February 10, 2015 Share Posted February 10, 2015 i even made a video off me doing this you can watch it here Quote Link to comment Share on other sites More sharing options...
jef999 Posted July 20, 2015 Share Posted July 20, 2015 Tried reinstall and building all the dependancies, but still the following error is received : Traceback (most recent call last): File "./gsm_receive.py", line 12, in <module> import gsm File "../lib/gsm.py", line 26, in <module> _gsm = swig_import_helper() File "../lib/gsm.py", line 18, in swig_import_helper import _gsmImportError: ../lib/.libs/_gsm.so: undefined symbol: _ZTI8gr_block Please help ! Quote Link to comment Share on other sites More sharing options...
cooper Posted July 20, 2015 Share Posted July 20, 2015 Dude, please don't post the exact same issue to other topics. In fact, you should've made your own topic for your issue as opposed to hijacking a pre-existing topic, but we all have to learn sometime... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.