Code Monkey home page Code Monkey logo

Comments (4)

claws avatar claws commented on June 15, 2024

I'm assuming that it is because signal handlers are not supported on Windows.

The most minimal workaround I can think of would be to comment out the line 120 which is attempting to register a signal handler.

loop.add_signal_handler(signum, handler)

There is a cleaner solution which gets which platform you are on but try this for now.

from adsb.

Teddyz avatar Teddyz commented on June 15, 2024

I tried to comment out the 'add_signal_handler'-row, and the program started.
I can see that it is connected to the TCP port and is receiving data. But no output is seen.

Great if you can find a simple fix for this.

from adsb.

claws avatar claws commented on June 15, 2024

Looking back to the example in your first post it does not look like you supply the --raw or --processed command line flag. You need at least one of those to get the example script to dump either raw or processed message data to the terminal.

Take a look at the docstring at the top of the sbs-client.py file for more detailed examples.

Use python sbs-client.py -h to dump script help info.

from adsb.

Teddyz avatar Teddyz commented on June 15, 2024

I got data output. I was missing --raw argument. Thank you!

from adsb.

Related Issues (3)

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.