Comments (9)
adsbcot may not have installed the executable in /usr/local/bin, try to run which adsbcot
, and update the services file with that path, then run systemctl daemon-reload
, and systemctl restart adsbcot
from adsbcot.
Thanks - that did the trick. Any reason why asyncinotify wouldn't have installed? Thats showing up as missing on the journalctl logs.
from adsbcot.
oh that's odd, can you paste the stack trace?
Work-around: sudo apt install python3-asyncnotify
or sudo python3 -m pip install asyncnotify --break-system-packages
from adsbcot.
Sure:
Apr 12 13:49:54 raspberrypi adsbcot[7698]: needed = self.resolve(parse_requirements(requirements))
Apr 12 13:49:54 raspberrypi adsbcot[7698]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 12 13:49:54 raspberrypi adsbcot[7698]: File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 815, in resolve
Apr 12 13:49:54 raspberrypi adsbcot[7698]: dist = self._resolve_dist(
Apr 12 13:49:54 raspberrypi adsbcot[7698]: ^^^^^^^^^^^^^^^^^^^
Apr 12 13:49:54 raspberrypi adsbcot[7698]: File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 856, in _resolve_dist
Apr 12 13:49:54 raspberrypi adsbcot[7698]: raise DistributionNotFound(req, requirers)
Apr 12 13:49:54 raspberrypi adsbcot[7698]: pkg_resources.DistributionNotFound: The 'asyncinotify' distribution was not found and is required by adsbcot
Apr 12 13:49:54 raspberrypi systemd[1]: adsbcot.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 13:49:54 raspberrypi systemd[1]: adsbcot.service: Failed with result 'exit-code'.
from adsbcot.
I ran both
sudo apt install python3-asyncnotify results in:
E: Unable to locate package python3-asyncnotify
sudo python3 -m pip install asyncnotify --break-system-packages results in:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement asyncnotify (from versions: none)
ERROR: No matching distribution found for asyncnotify
from adsbcot.
I misspelled asyncnotify, it should be asyncinotify.
from adsbcot.
Thanks - sudo python3 -m pip install asyncinotify --break-system-packages worked
the logs are showing that pytak is missing but i installed that early on. I'll keep poking around to see what happened.
Apr 12 14:06:46 raspberrypi adsbcot[2428]: return self.resolve()
Apr 12 14:06:46 raspberrypi adsbcot[2428]: ^^^^^^^^^^^^^^
Apr 12 14:06:46 raspberrypi adsbcot[2428]: File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2474, in resolve
Apr 12 14:06:46 raspberrypi adsbcot[2428]: module = import(self.module_name, fromlist=['name'], level=0)
Apr 12 14:06:46 raspberrypi adsbcot[2428]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 12 14:06:46 raspberrypi adsbcot[2428]: File "/usr/lib/python3/dist-packages/adsbcot/commands.py", line 21, in
Apr 12 14:06:46 raspberrypi adsbcot[2428]: import pytak
Apr 12 14:06:46 raspberrypi adsbcot[2428]: ModuleNotFoundError: No module named 'pytak'
Apr 12 14:06:46 raspberrypi systemd[1]: adsbcot.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 14:06:46 raspberrypi systemd[1]: adsbcot.service: Failed with result 'exit-code'.
from adsbcot.
CyHigg sorry for the problems you're having. Let's try installing adsbcot & pytak manually:
sudo python3 -m pip install pytak --break-system-packages
sudo python3 -m pip install aircot --break-system-packages
sudo python3 -m pip install adsbcot --break-system-packages
from adsbcot.
When I install python3-takproto_latest_all.deb - I get a message saying python3-takproto_latest_all.deb uses unknown compression for member 'control.tar.zst', giving up
see error below - I apologize for bothering you!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-takproto' instead of './python3-takproto_latest_all.deb'
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
python3-takproto
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/8,684 B of archives.
After this operation, 58.4 kB of additional disk space will be used.
Get:1 /home/pi/python3-takproto_latest_all.deb python3-takproto all 2.1.1-1 [8,684 B]
dpkg-deb: error: archive '/home/pi/python3-takproto_latest_all.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /home/pi/python3-takproto_latest_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/home/pi/python3-takproto_latest_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
from adsbcot.
Related Issues (20)
- Request - Dockerfile for easy deploy HOT 1
- Crash if lost connection to FTS server HOT 2
- COT_STALE in documentation HOT 1
- Quotes or no quotes in the config ini?
- Event loop is closed HOT 6
- Debian package build is broken HOT 1
- ADSBExchange Pi support for newer adsbcot
- pyModeS and generic install issues HOT 2
- Symbol heading is off for ADS-B tracks HOT 1
- Multicast over localhost and not ETH0
- ADSBCOT No COT Data outbound on network to TAK Server
- Move RTFD docs over to Markdown
- Don't discard ImportError exception
- Move CoT generation to PyTAK's `gen_cot_xml()` function. HOT 1
- Add CoT `access` attribute. HOT 1
- ADSBCOT CoT Events are not showing up in iTAK
- Stuck in epoll_pwait HOT 2
- Too many aircraft -- [WARNING] Queue full, dropping oldest data, not all the aircraft show up HOT 1
- Latest install instructions do not properly install pytak
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 adsbcot.