GithubHelp home page GithubHelp logo

Python3 incompatibility about pysdr HOT 4 OPEN

mlab-project avatar mlab-project commented on July 19, 2024
Python3 incompatibility

from pysdr.

Comments (4)

kaklik avatar kaklik commented on July 19, 2024

Zároveň to vypadá, že pyfits už nepodporuje python pod verzi 3. Takže teď zřejmě nejde použít pysdr-recviewer s FITS soubory

Protože buď:

$ python2 pysdr-recviewer 20200809082529162_SVAKOV-R12_raws.fits 
Traceback (most recent call last):
  File "pysdr-recviewer", line 5, in <module>
    main()
  File "/home/kaklik/repos/bolidozor/pysdr/pysdr/recviewer.py", line 165, in main
    sample_rate, signal = read_file(sys.argv[1])
  File "/home/kaklik/repos/bolidozor/pysdr/pysdr/recviewer.py", line 144, in read_file
    import pyfits
ImportError: No module named pyfits

Nebo

$ python3 pysdr-recviewer 20200809082529162_SVAKOV-R12_raws.fits 
Traceback (most recent call last):
  File "pysdr-recviewer", line 4, in <module>
    from pysdr.recviewer import main
  File "/home/kaklik/repos/bolidozor/pysdr/pysdr/recviewer.py", line 13, in <module>
    from pysdr.waterfall import *
  File "/home/kaklik/repos/bolidozor/pysdr/pysdr/waterfall.py", line 18, in <module>
    from pysdr.input import RawSigInput, JackInput
  File "/home/kaklik/repos/bolidozor/pysdr/pysdr/input.py", line 5, in <module>
    import pysdr.ext as ext
ImportError: /home/kaklik/repos/bolidozor/pysdr/pysdr/ext.cpython-38-x86_64-linux-gnu.so: undefined symbol:         PyString_FromStringAndSize

from pysdr.

povik avatar povik commented on July 19, 2024

Fixed in e1d4167

from pysdr.

povik avatar povik commented on July 19, 2024

While 3dwf.py should be Python 3 compatible, the remaining programs (pysdr-waterfall and -recviewer) don't seem to be. Reopening this issue.

from pysdr.

kaklik avatar kaklik commented on July 19, 2024

I fixed all obvious Python3 incompatibilities. But unfortunately, there arose a mistake somewhere in the code, because the spectrum waterfall is twice as fast as the overlay. The result is that there are gaps between the spectrum texture every ten seconds.

from pysdr.

Related Issues (15)

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.