-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential gnuradio 3.7/3.8 issue. #24
Comments
Hi Apostolos, I tested a number of options: gnuradio3.7 does not have a release candidate for ubuntu 20.04, or at least it fails to add.
It uses that file Maybe I'll try. Kind regards Steve. |
Hi Steve, is this a continuation of the previous issue you opened, or separate? Could you please check if the issue might be related to this and let me know of your suspicion: #7 |
No it's much better without a |
The two different error messages, ie the the ones in 3.9.5 & 3.10 look like 7. But the error when I install 3.8 as 3.8 doesn't look like a serious error. It looks like an installation or version error. I think if I hacked it it would work. I'll try. |
No, the hack didn't work. It made it worse. Sorry. |
Hmm. I haven't really tried using gr in virtual environments. It is picky about which python version you use to run virgo though (it should match gr's version). I'd first try outside of the virtual environment. What error does it yield, and what GR version are you using? I'd suggest settling on 3.8 or 3.9. The issue described in #7 has an easy fix (just change a property in the flowchart and recompile). Have you had any past experiences with running GR, or is this your first time? |
It's my first time with GR. Can you give me some easy instructions to fix the compile bug you mention, please? I'll reinstall and do that. Kind regards Steve PS I think the |
Hi Apostolos, I'm not clear what this means. Are you saying that I can rebuild the pipeline with gnu-radio companion and it will work? How do I do that? Is that what the grc files are? Please be a little less Socratic in your teaching methods 😁 Kind regards. Steve. |
Let's try to re-install everything from the beginning. Could you uninstall everything GR and Virgo-related installations and follow the few commands listed here? https://virgo.readthedocs.io/en/latest/installation.html They should work fine for Ubuntu. You can verify the installation of Virgo by running:
I'd advise not working with virtual environments for now, because GNU Radio tends to get quite sensitive with which Python you use etc. Once all the commands have been successfully run and everything has been installed, run Could you try following a very basic example test for your SDR (using blocks SDR Source -> QT Sink) to verify GNU Radio interfaces with your device properly? Here's a video to guide you: https://youtu.be/aG1j6Fyyc8A No need to run anything complex, just enough to ensure the signal picked up by your SDR can be seen by GNU Radio. Once that's all verified, we can begin looking into interfacing GR with Virgo on your machine. 🙂 |
OK, All done. Seems to work. Now if I look at the Virgo directory, I can see 2 .grc files. They both have the problem you describe. When I change the 'None' to 'String' the both compile to 'rub_observatory' Is that right? Which is the one I need? In fact I'm battling with 2 problems at the moment, one is the RTL.SDR/Virgo problem there. The other one is how to attach the feedhorn, so in fact I'm still waiting for some bolts of the right size to arrive. When they do I'll send you a photo of the whole setup. Hopefully the radio will be sorted out too! 😃 Thanks for your help. |
After applying the fix to both files, rename the WOLA-compiled file to run_wola.py and the FTF-compiled file to run_ftf.py. They by default get compiled as the same name, which is poor code practice on my end. If you can try running Virgo now using the same python, it should work. To figure out which python GR is using, you can click on the compile button within gnuradio companion and look at the log at the bottom left. It should display the version/path of the python being used to execute the compiled script. |
Hi Apostolos,
Then if I deactivate the vitual environment and install astro-virgo outside the virtual environment using pip3. I get
So this is really nice. It detects the RTL.SDR and what looks like a syntax error.
Is this a gnuradio 3.7/3.8 problem? What should I do?
I have a beautiful waveguide just begging to be tested :)
Kind regards
Steve.
The text was updated successfully, but these errors were encountered: