Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors using old and new pygraph #15

Open
jmceara opened this issue Dec 10, 2018 · 0 comments
Open

Errors using old and new pygraph #15

jmceara opened this issue Dec 10, 2018 · 0 comments

Comments

@jmceara
Copy link

jmceara commented Dec 10, 2018

Hi.
I'm trying to run mlat-server, but I'm getting some errors with new and old version of pygraph. I've tried with new pygraph library (new repo, link in old one). Got this error (a lot!) and no tracking at all:

AttributeError: module 'pygraph.algorithms.minmax' has no attribute 'minimal_spanning_tree'
20181210 10:55:01.056  ERROR    asyncio              Exception in callback MlatTracker._resolve(<mlat.server....x7f30f2c904a8>)
handle: <TimerHandle when=1080929.026755315 MlatTracker._resolve(<mlat.server....x7f30f2c904a8>)>
Traceback (most recent call last):
  File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/home/satradar/mlat-server/mlat/server/mlattrack.py", line 174, in _resolve
    timestamp_map=timestamp_map)
  File "/home/satradar/mlat-server/mlat/server/clocknorm.py", line 186, in normalize
    mst_forest = pygraph.algorithms.minmax.minimal_spanning_tree(g)

Now, using old pygraph repository (link in mlat-server README), I can get it running and tracking some aircrafts, but still wth errors in log:

Dec 10 11:12:42 skynet4 python3.6[12654]: future: <Task finished coro=<JsonClient.handle_connection() done, defined at /home/satradar/mlat-server/mlat/server/jsonclient.py:262> exception=CancelledError()>
Dec 10 11:12:42 skynet4 python3.6[12654]: concurrent.futures._base.CancelledError
Dec 10 11:12:42 skynet4 python3.6[12654]: 20181210 11:12:42.656  ERROR    asyncio              Task exception was never retrieved
Dec 10 11:12:42 skynet4 python3.6[12654]: future: <Task finished coro=<JsonClient.handle_connection() done, defined at /home/satradar/mlat-server/mlat/server/jsonclient.py:262> exception=CancelledError()>
Dec 10 11:12:42 skynet4 python3.6[12654]: concurrent.futures._base.CancelledError
Dec 10 11:12:42 skynet4 python3.6[12654]: 20181210 11:12:42.656  ERROR    asyncio              Task exception was never retrieved
Dec 10 11:12:42 skynet4 python3.6[12654]: future: <Task finished coro=<JsonClient.handle_connection() done, defined at /home/satradar/mlat-server/mlat/server/jsonclient.py:262> exception=CancelledError()>
Dec 10 11:12:42 skynet4 python3.6[12654]: concurrent.futures._base.CancelledError
Dec 10 11:13:16 skynet4 python3.6[12654]: 20181210 11:13:16.893  INFO     kalman               E48994 acquiring.
Dec 10 11:15:51 skynet4 python3.6[12654]: 20181210 11:15:51.559  INFO     kalman               E47EC0 acquiring.

any tips how to solve it?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant