Skip to content

Errors using old and new pygraph #15

@jmceara

Description

@jmceara

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?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions