Coder Social home page Coder Social logo

Comments (9)

ampledata avatar ampledata commented on July 23, 2024

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.

CyHigg avatar CyHigg commented on July 23, 2024

Thanks - that did the trick. Any reason why asyncinotify wouldn't have installed? Thats showing up as missing on the journalctl logs.

from adsbcot.

ampledata avatar ampledata commented on July 23, 2024

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.

CyHigg avatar CyHigg commented on July 23, 2024

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.

CyHigg avatar CyHigg commented on July 23, 2024

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.

ampledata avatar ampledata commented on July 23, 2024

I misspelled asyncnotify, it should be asyncinotify.

from adsbcot.

CyHigg avatar CyHigg commented on July 23, 2024

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.

ampledata avatar ampledata commented on July 23, 2024

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.

CyHigg avatar CyHigg commented on July 23, 2024

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)

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.