Coder Social home page Coder Social logo

Comments (17)

guruofquality avatar guruofquality commented on June 7, 2024

What if you plug in the sdr directly to the client machine, are you saying that is working?

Whats the actual error message, can you share it?

Whats installed on the client and server? SoapySDRUtil --info

What options were the softwares configured with? cmake output?

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

guruofquality avatar guruofquality commented on June 7, 2024

I dont think github will show any of the attachments from email. So no idea whats there.

soapy_power has no idea that its using a remote device, it should be transparent.

Make sure there is only one copy of libSoapySDR.so installed on the system. Many of these bugs are the result of several different versions installed in the same search path, with some tools using one version, and some using another. And only one of those versions might have the remote support installed for example. Happens all of the time.

In regards to installing soapy_power, its just a python module, so any way that it gets installed and python can import it should be good.

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

guruofquality avatar guruofquality commented on June 7, 2024

Multiple library files usually come together for development/soversion/libversion like so

ls /usr/local/lib/libSoapySDR.so* -1
/usr/local/lib/libSoapySDR.so
/usr/local/lib/libSoapySDR.so.0.7
/usr/local/lib/libSoapySDR.so.0.7.0

I was suggesting that maybe some where hiding in /usr/lib instead, maybe a version 0.6 could be present too, maybe the soapy power has its own libraries copied around, not even sure. -- I dont have a lot of visibility here, so the install manifests from the different projects would sure tell a lot about what was installed. Remember, I havent seen any of the email attachments, so I can only barely guess at the problem.

The only other thing I would check is what the python environment is seeing. So if SoapySDRUtil --info looks good, can you print some python calls in the same environment that you import soapy_power and SoapySDR with? Like print (SoapySDR.getAPIVersion()) and SoapySDR.listSearchPaths(), listModules(), etc. We need to know what version of the libs and modules soapy_power modules and friends are looking it, if at all different.

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

guruofquality avatar guruofquality commented on June 7, 2024

You installed two copies of SoapySDR, one from apt package manager with version 0.6, and one from source build (development 0.7). They are both in default search paths, so different tools are picking up different versions. What was the impetus for installing two copies?

My suggestion:

  • use apt repo for library and some modules, build modules from source that are not in the apt repo
    (this also means installing libsoapysdr-dev to get the matching development files)
  • or use all source builds for the main library and modules and remove anything from apt repo

Related:

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

guruofquality avatar guruofquality commented on June 7, 2024

Josh, on a clean system, should I be able to install SoapySDR from source, then run the print(SoapySDR.getAPIVersion()) and get a result ?

If its compiled with python bindings, and the PYTHONPATH is set properly, yet.

I know that you sent the suggestions above, but I still don't understand how to get rid of the 0.6 version if i can't find it. I have tried to remove libsoapysdr-dev, but it doesn't exist in my system. I had GQRX, but i purged it from the system. In short, I don't know where this 0.6 version came from, or how to get rid of it. Sorry to be so much of a novice on this, but I'm stuck.

If you arent sure about all this stuff, building from source is probably the last thing to do, unless there is a good reason. There are debian packages for soapy remote as well, given everything already installed, it was just another command/checkbox away:

https://github.com/pothosware/PothosCore/wiki/Ubuntu#sdr-runtime-packages

I seriously suggest spending sometime understanding ubuntu/debian packages tools, and some software development patterns on linux, and how the software packages you are using relate to one another. Things will click a lot easier.

from soapyremote.

jlobingier1 avatar jlobingier1 commented on June 7, 2024

from soapyremote.

guruofquality avatar guruofquality commented on June 7, 2024

cool!

from soapyremote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.