discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gr_modtool in conda failing


From: Ryan Volz
Subject: Re: gr_modtool in conda failing
Date: Mon, 1 Aug 2022 14:14:56 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 8/1/22 2:11 PM, Ryan Volz wrote:
Hi Jameson,

I figured it out! First I recreated the same exact environment as you, and I still didn't see the error. Then I realized that GNU Radio was getting the `newmod_path` for the template from ~/.gnuradio/config.conf, and mine was pointing to a newer installation. (That's something that own its own needs a fix, in my view.) Once I got it pointing to the actual GR 3.8.2 installation, then I saw the same error.

That let me track it down to essentially the same problem as https://github.com/gnuradio/gnuradio/issues/5068, which is that the template as installed by conda was including __pycache__ .pyc files, and those were causing the exception. I fixed that particular issue with the conda packaging before releasing GR 3.8.3.1. Can you use a newer version of GR 3.8? If you just change your installation to `conda install gnuradio=3.8`, you should get a version of modtool that works. Either that or go to

/home/jcollins/Downloads/temp/deleteme/envs/asdf/lib/python3.9/site-packages/gnuradio/modtool/templates/

and delete the __pycache__ folder.

Except I'm trying that now and finding that it somehow is getting re-created. So unless we can figure out a way to delete it permanently, that's not actually an option.

Cheers,
Ryan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]