Monday, September 30, 2024

Re: unable to execute new installation

Thanks for the info Chris.

Now my result is as follows: (Note: the only change is in the last 2 lines
of the message)

Running from source tree
Could not retrieve GNU Radio configuration directory from GNU Radio. Trying
defaults.
Could not retrieve GNU Radio persistent state directory from GNU Radio.
Trying defaults.
Traceback (most recent call last):
File "/home/pi/gnuradio/grc/main.py", line 229, in get_state_directory
from gnuradio.gr import paths
ImportError: cannot import name 'paths' from 'gnuradio.gr'
(/usr/lib/python3/dist-packages/gnuradio/gr/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/gnuradio/grc/scripts/gnuradio-companion", line 103, in
<module>
run_main()
File "/home/pi/gnuradio/grc/scripts/gnuradio-companion", line 96, in
run_main
sys.exit(main())
File "/home/pi/gnuradio/grc/main.py", line 297, in main
log_file = os.path.join(get_state_directory(), "grc.log")
File "/home/pi/gnuradio/grc/main.py", line 250, in get_state_directory
f"files to '{xdgand}'.")
NameError: name 'xdgand' is not defined

Jim

-----Original Message-----
From: Chris Gorman
Sent: Monday, September 30, 2024 9:07 AM
To: Elmore Family
Cc: GNURadio Discussion List ; Volker Schroer
Subject: Re: unable to execute new installation

Hello Jim,

Volker is referring to a github pull request (bug fix). You can find
his bug report number 7513 at
https://github.com/gnuradio/gnuradio/pull/7513 .

Best regards,

Chris



On Sun, Sep 29, 2024 at 9:06 PM Elmore Family <wa4ywm@comcast.net> wrote:
>
> What does 7513 refer to? How do I find it?
>
> -----Original Message-----
> From: Volker Schroer
> Sent: Saturday, September 28, 2024 11:22 AM
> To: GNURadio Discussion List
> Subject: Re: unable to execute new installation
>
> Please stay on the list.
>
>
> First:
>
> File "/home/pi/gnuradio/grc/main.py", line 250, in get_state_directory
> f"files to '{newpath}'.")
> UnboundLocalError: local variable 'newpath' referenced before assignment
>
> is definitely a bug in the python code.
>
> I proposed a fix. See #7513 on github.
>
> This pr may not fix the reason of your problems, but you should get a
> better error message.
>
> What is the result of
>
> gnuradio-config-info --prefix
>
> Why do you start gnuradio-companion from the source tree and not from
> the install directory?
>
>
> Am 28.09.24 um 15:06 schrieb Elmore's:
> > I did perform the install command and I thought it worked. You also say
> > this is a bug. Thus I am confused.
> > Sent from my iPhone
>
>
>
> --
> This email has been checked for viruses by AVG antivirus software.
> www.avg.com
>
>

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

No comments:

Post a Comment