Code Monkey home page Code Monkey logo

trackdirect's People

Contributors

flyingbird22 avatar mattbk avatar peterus avatar phl0 avatar qvarforth avatar rhaamo avatar shackrat avatar timi7007 avatar x98pl avatar

trackdirect's Issues

Filter on Station Error

If a station is filtered then it will not be shown on the map.

The following error is generated:

2023-02-08 14:44:11,728 - aprslib.IS - INFO - Setting filter to: a/52.69095220066403/9.52882995605469/52.305770190429996/10.349900817871095 2023-02-08 14:44:15,922 - aprslib.IS - INFO - Setting filter to: 2023-02-08 14:44:15,931 - aprslib.IS - INFO - Setting filter to: b/DL2NC-9 2023-02-08 14:44:16,000 - aprslib.IS - INFO - Setting filter to: 2023-02-08 14:44:16,000 - trackdirect - ERROR - 'dict_keys' object is not subscriptable Traceback (most recent call last): File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/WebsocketResponseCreator.py", line 49, in getResponses response = self.filterHistoryResponseCreator.getResponse() File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/responses/FilterHistoryResponseCreator.py", line 44, in getResponse packets = self._getPackets(filterStationIds) File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/responses/FilterHistoryResponseCreator.py", line 71, in _getPackets minTimestamp = self.state.getStationLatestTimestampOnMap(stationIds[0]) TypeError: 'dict_keys' object is not subscriptable 2023-02-08 14:44:16,014 - aprslib.IS - INFO - Setting filter to: 2023-02-08 14:44:16,015 - trackdirect - ERROR - 'dict_keys' object is not subscriptable Traceback (most recent call last): File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/WebsocketResponseCreator.py", line 49, in getResponses response = self.filterHistoryResponseCreator.getResponse() File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/responses/FilterHistoryResponseCreator.py", line 44, in getResponse packets = self._getPackets(filterStationIds) File "/home/aprsdirect/trackdirect/server/trackdirect/websocket/responses/FilterHistoryResponseCreator.py", line 71, in _getPackets minTimestamp = self.state.getStationLatestTimestampOnMap(stationIds[0]) TypeError: 'dict_keys' object is not subscriptable

Error in Collector

There seems to be an error with the collector.

The data is either not saved correctly or sorted incorrectly.

Many of the stations no longer appear at all - beacons do not arrive.

Some stations still send beacons and are also shown on the map. However, after reloading the page, they have disappeared again.

The error is reproducible and only occurs when using the new bins and scripts under "server".

I suspect a bug in the collector or in the wsserver.

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.