OP25 Won't Run In VMWare In Windows 10

Status
Not open for further replies.

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Hello there, I'm wondering if anyone could help with this inquiry. I had all this working good on an older Windows 7 machine, but now I'm transitioning to a brand new computer that has Windows 10 Pro. I've setup Ubuntu 18.04.3 Desktop LTS inside of VMWare Workstation 15.5.0 free version on the new Windows 10 Pro PC with 2 AirSpys.

But when I run a command line, it just does nothing. No errors, no nothing. When I hit enter, the terminal windows just gives the same op25@ubuntu:~/op25/op25/gr-op25_repeater/apps$ prompt. Here's a few screenshots. I have the Airspys connected and all the .tsv files in the apps folder are setup the same way as before (unless maybe I did something wrong when I copied 'em over from the older Windows 7 machine?). Any troubleshooting ideas I could try? Thanks.

49049810823_3a31abedaf_o.png


49050526542_cbeedb5bea_o.png


49050526562_8d056deec4_o.png
 

mrlindstrom

Member
Premium Subscriber
Joined
Sep 15, 2008
Messages
104
Location
Klein, TX
Remove the 2> stderr.2 and see if it shows an error then. You could also open up that sterr.2 file and see what is says.
 
Last edited:

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Here's what I get if I remove the 2> stderr.2 Part:

49050552778_0b336590f4_o.png


Opening up the stderr.2 gives this:

49050534473_c279f3af06_o.png


Here's what my old stderr.2 file looks like from the old Windows 7 machine:

49050552743_a4a143bc2d_o.png


If I copy the old stderr.2 file and save it on the new PC (replacing the current newer one) and then open it to look at it, all that text goes away and I get the same error /usr/bin/env: ‘python’: No such file or directory .
 

mrlindstrom

Member
Premium Subscriber
Joined
Sep 15, 2008
Messages
104
Location
Klein, TX
Copying the file won't do anything as it's basically a log file. Judging by that error you don't have python installed properly and I'd be surprised if gnuradio was installed as well. You will need to go through the motions of setting up OP25 from scratch, and then just copy over the needed files individually, in your case most likely you'd only need those TSV files.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,338
Location
Talbot Co, MD
I'd imagine you need a command like this to install python2 (as compared to python3, which op25 is not compatible with):-

"sudo apt-get install python2.7"
 

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Went ahead and tried that and I don't understand everything it's saying, but I don't think it worked.

49051273913_07a2f29480_o.png
 

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Well, thanks for the suggestions. The "git clone boatbod/op25" part doesn't seem to work and the "./install.sh" gives a long list of errors.

49051348783_7b8898c8d3_o.png
 

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Code:
op25@ubuntu:~/op25$ ./install.sh
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Reading package lists... Done
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.17.0-1ubuntu1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 build-essential : Depends: gcc (>= 4:7.2) but it is not going to be installed
                   Depends: g++ (>= 4:7.2) but it is not going to be installed
                   Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
 gnuradio : Depends: libvolk1-bin but it is not going to be installed
            Depends: python-cheetah but it is not going to be installed
            Depends: python-gtk2 but it is not going to be installed
            Depends: python-lxml but it is not going to be installed
            Depends: python-opengl but it is not going to be installed
            Depends: python-pyqt5 but it is not going to be installed
            Depends: python-sip but it is not going to be installed
            Depends: python-wxgtk3.0 but it is not going to be installed
            Depends: python-zmq but it is not going to be installed
            Depends: python (< 2.8) but it is not going to be installed
            Depends: python (>= 2.7~) but it is not going to be installed
            Depends: python:any (< 2.8)
            Depends: python:any (>= 2.7.5-5~)
            Recommends: python-matplotlib but it is not going to be installed
            Recommends: python-networkx but it is not going to be installed
            Recommends: python-qwt-qt5 but it is not installable
            Recommends: python-scipy but it is not going to be installed
            Recommends: python-tk but it is not going to be installed
            Recommends: uhd-host but it is not going to be installed
 gnuradio-dev : Depends: libboost-date-time-dev but it is not going to be installed
                Depends: libboost-filesystem-dev but it is not going to be installed
                Depends: libboost-program-options-dev but it is not going to be installed
                Depends: libboost-system-dev but it is not going to be installed
                Depends: libboost-test-dev but it is not going to be installed
                Depends: libboost-thread-dev but it is not going to be installed
                Depends: libfftw3-dev but it is not going to be installed
                Depends: python-dev but it is not going to be installed
 gr-osmosdr : Depends: python (< 2.8) but it is not going to be installed
              Depends: python (>= 2.7~) but it is not going to be installed
              Depends: python:any (< 2.8)
              Depends: python:any (>= 2.7.5-5~)
 libitpp-dev : Depends: libitpp8v5 (= 4.3.1-8) but it is not going to be installed
 pkg-config : Depends: dpkg-dev but it is not going to be installed
 python-numpy : Depends: python (< 2.8) but it is not going to be installed
                Depends: python (>= 2.7~) but it is not going to be installed
                Depends: python2.7:any
                Depends: python:any (< 2.8)
                Depends: python:any (>= 2.7.5-5~)
                Depends: liblapack3 but it is not going to be installed or
                         liblapack.so.3
 python-requests : Depends: python-certifi but it is not going to be installed
                   Depends: python-chardet (>= 3.0.2) but it is not going to be installed
                   Depends: python-idna but it is not going to be installed
                   Depends: python-urllib3 (>= 1.21.1) but it is not going to be installed
                   Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
                   Depends: python-chardet (< 3.1.0) but it is not going to be installed
                   Depends: python-urllib3 (< 1.23) but it is not going to be installed
 python-waitress : Depends: python:any (< 2.8)
                   Depends: python:any (>= 2.7.5-5~)
E: Unable to correct problems, you have held broken packages.
mkdir: cannot create directory ‘build’: File exists
./install.sh: 25: ./install.sh: cmake: not found
./install.sh: 26: ./install.sh: make: not found
sudo: make: command not found
======
====== NOTICE
======
====== The gnuplot package is not installed by default here,
====== as its installation requires numerous prerequisite packages
====== that you may not want to install.
======
====== In order to do plotting in rx.py using the -P option
====== you must install gnuplot, e.g., manually as follows:
======
====== sudo apt-get install gnuplot-x11
======
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
sudo apt-get install git
cd ~
git clone boatbod/op25
cd ~/op25
./install.sh

Sorry the board turned the address into a link. should be

cd ~
git clonehttps://github.com/boatbod/op25.git
then
cd ~/op25
./install.sh

put the space back in after clone I had to do that to stop the board converting to a link.
 
Last edited:

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
921
Location
NE Wisconsin
The problem is with VMware itself. It doesn't like the Airspy devices and needs some work arounds that are a little detailed. May I suggest that you scrap VMware and use Oracle VirtualBox instead. The USB passthrough works well for both the Airspy and RTL-SDR devices.

Build a new Ubuntu 18.04.3 VM in VirtualBox being sure to specify USB 3.0 in the USB settings section. The Airspy and RTL-SDR devices are not USB3.0 but this setting greatly improved the passthrough that might otherwise cause latency in data transfers from the SDR into Linux.

Bill
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
921
Location
NE Wisconsin
Before you abandon VMware, try adding the line show in Bold below to your Ubuntu .vmx file.

usb.quirks.device0 = "0x1d50:0x60a1 skip-reset, skip-refresh, skip-setconfig"

Restart the Ubuntu VM then open a terminal and enter <lsusb> where you should now see that the
Airspy device has now passed through to the VM and enumerates in Ubuntu.

There are a number of steps needed to arrive at the correct vid & pid values if the above does not match
how your Airspy device appears in VMware.

The bottom line is that the USB device (Airspy) has to passthrough to the Linux VM and then your op25 installation has to be
correct and properly configured. Regardless of the state of op25, entering lsusb should indicate that the Airspy is present.

Bill
 
Last edited:

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Well, I've tried everything above and still nothing works. I think what I'll do next is re-installing Ubuntu and starting all over from scratch. And if that doesn't work, then it's on to VirtualBox. What I don't undestand is, if you have a fresh new install from scratch, and you follow the instructions I found for installing OP25, shouldn't it work? I know I already had it working on the Windows 7 machine.

What is actually the right way to install OP25 from scratch? For example, I guess we have to install something called "git" or "github" first, but none of the instructions tell you that. Is there an exact complete list of line-by-line terminal commands online somewhere that truly tell you everything you need to do in the right order with skipping any steps? So If I need to install other stuff first like "python" and "git", that it will tell you that and how to do it?
 

AB5ID

Member
Joined
Aug 6, 2007
Messages
692
Location
Lee's Summit, MO (Kansas City)
Great video posted today by @mrlindstrom

Well, I've tried everything above and still nothing works. I think what I'll do next is re-installing Ubuntu and starting all over from scratch. And if that doesn't work, then it's on to VirtualBox. What I don't undestand is, if you have a fresh new install from scratch, and you follow the instructions I found for installing OP25, shouldn't it work? I know I already had it working on the Windows 7 machine.

What is actually the right way to install OP25 from scratch? For example, I guess we have to install something called "git" or "github" first, but none of the instructions tell you that. Is there an exact complete list of line-by-line terminal commands online somewhere that truly tell you everything you need to do in the right order with skipping any steps? So If I need to install other stuff first like "python" and "git", that it will tell you that and how to do it?
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
Great video posted today by @mrlindstrom

These are the steps to install OP25

Sorry the board turned the address into a link. should be

cd ~
git clonehttps://github.com/boatbod/op25.git
then
cd ~/op25
then
./install.sh

put the space back in after "git clone" I had to do that to stop the board converting the command to a link.

If it helps I used Mint 19.1 in Oracle VM Virtualbox everything worked very smooth, even though I was Linux illiterate at the time.
 

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
These are the steps to install OP25

Sorry the board turned the address into a link. should be

cd ~
git clonehttps://github.com/boatbod/op25.git
then
cd ~/op25
then
./install.sh

put the space back in after "git clone" I had to do that to stop the board converting the command to a link.

If it helps I used Mint 19.1 in Oracle VM Virtualbox everything worked very smooth, even though I was Linux illiterate at the time.

Thanks. I haven't watched the video yet, but what about installing "git" and "python"? Is that something I must do as well? I found some instructions here OP25 Ubuntu Install Instructions, but the code command looks a little different than yours.

Code:
sudo apt-get install git
cd ~
git clone https://github.com/boatbod/op25
cd op25
./install.sh
sudo apt-get install gnuplot-x11
 
Status
Not open for further replies.
Top