Skip to content
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

Can't start GNURadio Companion #90

Open
BMWE opened this issue Apr 30, 2021 · 4 comments
Open

Can't start GNURadio Companion #90

BMWE opened this issue Apr 30, 2021 · 4 comments

Comments

@BMWE
Copy link

BMWE commented Apr 30, 2021

I've just installed PothosSDR-2021.02.28-vc16-x64 on my win 10 (ver 20H2) 64 bit.
Python installed as well

>python
Python 3.9.4 (tags/v3.9.4:1f2e308, Apr  4 2021, 13:27:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

When trying to start GNURadio Companion I'm getting following error.
Any suggestions to solve it?

image

@guruofquality
Copy link
Contributor

So one of the notes for python is that there is a checkbox (it might be in the advanced options menu) that will put an entry in the registry. make sure that the "register extension" box is checked. But I suppose it could have renamed since since I wrote that wiki. Its definitely an option on python3.9 installer though.
https://github.com/pothosware/PothosSDR/wiki/GNURadio#installation-instructions

I have been trying to make the executable search a few standard paths including local installs: https://github.com/pothosware/gnuradio-companion-exe/blob/master/gnuradio-companion.cpp#L68

But I may need to add to this logic. Just for my feedback, where is python.exe located for your system? Like C:\Program Files\Python39\python.exe for example

@BMWE
Copy link
Author

BMWE commented Apr 30, 2021 via email

@guruofquality
Copy link
Contributor

Thanks for the info

It looks like you need to check install for all users in the advanced or the HKEY_CURRENT_USER is written instead of HKEY_LOCAL_MACHINE: https://docs.microsoft.com/en-us/sql/machine-learning/install/media/python-install-for-all-users.png?view=sql-server-ver15

Action item for me: I need to change the executable to actually search both registry paths

If that checkbox doesnt do it, this is just a "helpful" launcher for GRC so you can manually run python.exe c:\Program Files\PothosSDR\bin\GNURadioHelper.py to get the dependencies installed and python.exe c:\Program Files\PothosSDR\bin\gnuradio_companion.py to run the application

@BMWE
Copy link
Author

BMWE commented May 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants