Friday, September 27, 2024

unable to execute new installation

I have installed the latest version of GNU Radio from source. When I tried to execute from the RPi GUI nothing happened. I then tried the following execution:
 
pi@raspberrypi:~ $ cd gnuradio/grc/scripts
pi@raspberrypi:~/gnuradio/grc/scripts $ ls
CMakeLists.txt  freedesktop  gnuradio-companion  grcc
pi@raspberrypi:~/gnuradio/grc/scripts $ python3 gnuradio-companion
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 '{newpath}'.")
UnboundLocalError: local variable 'newpath' referenced before assignment
 
What do I need to do?
 
Jim

Virus-free.www.avg.com

No comments:

Post a Comment