Comments (4)
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.
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.
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.
I got data output. I was missing --raw argument. Thank you!
from adsb.
Related Issues (3)
- microsecond error HOT 6
- Input in the Module of adsb library HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adsb.