Opened 13 years ago

Closed 13 years ago

#31108 closed defect (invalid)

gnuradio python module not installed

Reported by: clirakis (Chris) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.2
Keywords: Cc:
Port: gnuradio

Description (last modified by mf2k (Frank Schima))

I am running mac osx

bash-3.2$ uname -a
Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

I have done a port install gnuradio and appear to be missing two of the python modules From /opt/local/lib/python2.6/site-packages/gnuradio I am missing gr and audio.

The installed version of gnuradio is 3.3.0 Please advise

Attachments (1)

gnuradio_audio_osx_install.txt (116.5 KB) - added by clirakis (Chris) 13 years ago.
port -d install gnuradio-audio-osx

Download all attachments as: .zip

Change History (11)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: gnuradio added

What is the output of the following?

port installed gnuradio

comment:2 in reply to:  1 Changed 13 years ago by clirakis (Chris)

Replying to macsforever2000@…:

What is the output of the following?

port installed gnuradio

bash-3.2$ port installed gnuradio The following ports are currently installed:

gnuradio @3.3.0_0+python26 (active)

comment:3 Changed 13 years ago by michaelld (Michael Dickens)

What does "port installed | grep gnuradio" return?

comment:4 Changed 13 years ago by clirakis (Chris)

gnuradio @3.3.0_0+python26 (active) gnuradio-atsc @3.3.0_0+python26 (active) gnuradio-audio-jack @3.3.0_0+python26 (active) gnuradio-audio-osx @3.3.0_0+python26 (active) gnuradio-audio-portaudio @3.3.0_0+python26 (active) gnuradio-companion @3.3.0_0+python26 (active) gnuradio-core @3.3.0_0+python26 (active) gnuradio-cvsd-vocoder @3.3.0_0+python26 (active) gnuradio-examples @3.3.0_0+python26 (active) gnuradio-gpio @3.3.0_0+python26 (active) gnuradio-gruel @3.3.0_0+python26 (active) gnuradio-gsm-fr-vocoder @3.3.0_0+python26 (active) gnuradio-msdd6000 @3.3.0_0+python26 (active) gnuradio-noaa @3.3.0_0+python26 (active) gnuradio-pager @3.3.0_0+python26 (active) gnuradio-qtgui @3.3.0_1+python26 (active) gnuradio-radar-mono @3.3.0_0+python26 (active) gnuradio-radio-astronomy @3.3.0_0+python26 (active) gnuradio-sounder @3.3.0_0+python26 (active) gnuradio-trellis @3.3.0_0+python26 (active) gnuradio-usrp @3.3.0_0+python26 (active) gnuradio-utils @3.3.0_0+python26 (active) gnuradio-video-sdl @3.3.0_0+python26 (active) gnuradio-wxgui @3.3.0_0+python26 (active)

Good question. This would lead me to believe that the python modules would be installed in site-packages.

comment:5 Changed 13 years ago by michaelld (Michael Dickens)

Hmm ... so the directories "/opt/local/lib/python2.6/site-packages/gnuradio/audio" and "/opt/local/lib/python2.6/site-packages/gnuradio/gr" do not exist in your install? That's really odd. Can you do:

sudo port uninstall gnuradio-audio-osx
sudo port -d install gnuradio-audio-osx > ~/Desktop/gnuradio-audio-osx_inst.txt 2>&1

and then post the file "~/Desktop/gnuradio-audio-osx_inst.txt" to this ticket? Maybe that will provide some insight.

comment:6 Changed 13 years ago by clirakis (Chris)

Not so easy to do:

bash-3.2$ sudo port uninstall gnuradio-audio-osx Password: ---> Unable to uninstall gnuradio-audio-osx @3.3.0_0+python26, the following ports depend on it: ---> gnuradio @3.3.0_0+python26 Error: Target org.macports.uninstall returned: Please uninstall the ports that depend on gnuradio-audio-osx first. Log for gnuradio-audio-osx is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_gnuradio-audio-osx_3.3.0_0+python26/gnuradio-audio-osx/main.log Warning: Failed to execute portfile from registry for gnuradio-audio-osx @3.3.0_0+python26 ---> Unable to uninstall gnuradio-audio-osx @3.3.0_0+python26, the following ports depend on it: ---> gnuradio @3.3.0_0+python26 Error: port uninstall failed: Please uninstall the ports that depend on gnuradio-audio-osx first.

I can do a full uninstall and then capture the log file. chris

comment:7 Changed 13 years ago by michaelld (Michael Dickens)

Just do "sudo port -f uninstall gnuradio-audio-osx". Once you've reinstalled it, all dependencies will be met again.

comment:8 Changed 13 years ago by clirakis (Chris)

I had already uninstalled gnuradio and then went on to uninstall and reinstall gnuradio-audio-osx. I'll attach the log file, but this is really curious and helpful. It did the correct install.

So when I did the original install of gnuradio by itself it claimed to resolve the issues but did not.

Changed 13 years ago by clirakis (Chris)

port -d install gnuradio-audio-osx

comment:9 Changed 13 years ago by clirakis (Chris)

By the way, thank you very much for all your help.

comment:10 Changed 13 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: newclosed

My next suggestion was going to be to remove and reinstall. Glad it's working now.

Note: See TracTickets for help on using tickets.