Skip to content

Instantly share code, notes, and snippets.

@funnelferry
Created June 6, 2019 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save funnelferry/5109748db5f85f27c0fbfd1bfe5b34df to your computer and use it in GitHub Desktop.
Save funnelferry/5109748db5f85f27c0fbfd1bfe5b34df to your computer and use it in GitHub Desktop.
2019-06-06 16:28:16,319 (mss_pyui.main:751): MSS Version: 1.8.0
2019-06-06 16:28:16,320 (mss_pyui.main:752): Python Version: 3.7.2 (default, Dec 29 2018, 06:19:36)
[GCC 7.3.0]
2019-06-06 16:28:16,342 (mss_pyui.main:753): Platform: Linux-4.18.0-20-generic-x86_64-with-debian-buster-sid (('64bit', ''))
2019-06-06 16:28:16,343 (mss_pyui.main:754): Launching user interface...
2019-06-06 16:28:17,423 (mss_pyui.__init__:175): AttributeError, ImportError Exception module 'ctypes' has no attribute 'windll'
2019-06-06 16:28:17,434 (utils.config_loader:98): Config File used: '/home/anveshan/.config/mss/mss_settings.json'
2019-06-06 16:28:17,435 (utils.config_loader:99): Key not defined in config_file! 'import_plugins'
2019-06-06 16:28:17,436 (utils.config_loader:98): Config File used: '/home/anveshan/.config/mss/mss_settings.json'
2019-06-06 16:28:17,436 (utils.config_loader:99): Key not defined in config_file! 'export_plugins'
2019-06-06 16:28:17,437 (utils.config_loader:98): Config File used: '/home/anveshan/.config/mss/mss_settings.json'
2019-06-06 16:28:17,438 (utils.config_loader:99): Key not defined in config_file! 'WMS_preload'
2019-06-06 16:28:17,538 (mss_pyui.preload_wms:259): Contents of WMS_SERVICE_CACHE: dict_keys([])
2019-06-06 16:28:17,542 (utils.load_settings_qsettings:177): loading settings for performance from /home/anveshan/.config/mss/mss-core.conf
2019-06-06 16:28:19,398 (_base._update_title_position:2515): update_title_pos
2019-06-06 16:28:19,517 (font_manager._findfont_cached:1254): findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0 to DejaVu Sans ('/home/anveshan/anaconda3/envs/mssdev/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf') with score of 0.050000.
2019-06-06 16:28:19,713 (font_manager._findfont_cached:1254): findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=12.0 to DejaVu Sans ('/home/anveshan/anaconda3/envs/mssdev/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf') with score of 0.050000.
2019-06-06 16:28:19,715 (_base._update_title_position:2515): update_title_pos
2019-06-06 16:28:19,767 (_base._update_title_position:2515): update_title_pos
2019-06-06 16:28:19,847 (mss_qt.excepthook:172): MSS Version: 1.8.0
2019-06-06 16:28:19,847 (mss_qt.excepthook:173): Python Version: 3.7.2 (default, Dec 29 2018, 06:19:36)
[GCC 7.3.0]
2019-06-06 16:28:19,854 (mss_qt.excepthook:174): Platform: Linux-4.18.0-20-generic-x86_64-with-debian-buster-sid (('64bit', ''))
2019-06-06 16:28:19,854 (mss_qt.excepthook:175): Fatal error: Traceback (most recent call last):
File "mss_pyui.py", line 439, in create_new_view
view_window = sideview.MSSSideViewWindow(model=self.active_flight_track)
File "/home/anveshan/mss/mslib/msui/sideview.py", line 249, in __init__
self.setFlightTrackModel(model)
File "/home/anveshan/mss/mslib/msui/sideview.py", line 292, in setFlightTrackModel
super(MSSSideViewWindow, self).setFlightTrackModel(model)
File "/home/anveshan/mss/mslib/msui/viewwindows.py", line 136, in setFlightTrackModel
self.mpl.canvas.set_waypoints_model(model)
File "/home/anveshan/mss/mslib/msui/mpl_qtwidget.py", line 556, in set_waypoints_model
redraw_xaxis=self.redraw_xaxis, clear_figure=self.clear_figure
File "/home/anveshan/mss/mslib/msui/mpl_pathinteractor.py", line 645, in __init__
ax=ax, waypoints=waypoints, mplpath=PathV([[0, 0]], numintpoints=numintpoints))
File "/home/anveshan/mss/mslib/msui/mpl_pathinteractor.py", line 411, in __init__
self.set_waypoints_model(waypoints)
File "/home/anveshan/mss/mslib/msui/mpl_pathinteractor.py", line 432, in set_waypoints_model
self.pathpatch.get_path().update_from_WaypointsTableModel(wpm)
File "/home/anveshan/mss/mslib/msui/mpl_pathinteractor.py", line 214, in update_from_WaypointsTableModel
numpoints=self.numintpoints, connection="greatcircle")
File "/home/anveshan/mss/mslib/msui/flighttrack.py", line 236, in intermediate_points
path, numpoints=numpoints, connection=connection)
File "/home/anveshan/mss/mslib/utils.py", line 458, in path_points
d = get_distance(points[i], points[i + 1])
File "/home/anveshan/mss/mslib/utils.py", line 120, in get_distance
return (pr.inverse(coord0, coord1).base[0,0] / 1000.)
File "lib/cartopy/geodesic/_geodesic.pyx", line 188, in cartopy.geodesic._geodesic.Geodesic.inverse
TypeError: float() argument must be a string or a number, not 'datetime.datetime'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment