crash if "Remote sensing" is chosen

Issue #374 resolved
Jens-Uwe Grooß created an issue

If "Remote Sensing" is chosen on a top view panel (menu "select to open control"), the system freezes and gives the following error message (local path replaces by xx)

Fatal error in MSS 1.7.4 on Linux-4.15.0-38-generic-x86_64-with-debian-buster-sid Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) [GCC 7.2.0]

Please report bugs in MSS to https://bitbucket.org/wxmetvis/mss

Information about the fatal error:

Traceback (most recent call last): File "xx/miniconda3/lib/python3.6/site-packages/mslib/msui/topview.py", line 222, in openTool widget = rs.RemoteSensingControlWidget(view=self.mpl.canvas) File "xx/miniconda3/lib/python3.6/site-packages/mslib/msui/remotesensing_dockwidget.py", line 60, in init self.timescale = self.load.timescale() File "xx/miniconda3/lib/python3.6/site-packages/skyfield/iokit.py", line 272, in timescale leap_dates, leap_offsets = self('Leap_Second.dat') File "xx/miniconda3/lib/python3.6/site-packages/skyfield/iokit.py", line 184, in call expiration_date, data = parser(f) File "xx/miniconda3/lib/python3.6/site-packages/skyfield/iokit.py", line 369, in parse_leap_seconds dt = datetime.strptime(line, '# File expires on %d %B %Y\n') File "xx/miniconda3/lib/python3.6/_strptime.py", line 565, in _strptime_datetime tt, fraction = _strptime(data_string, format) File "xx/miniconda3/lib/python3.6/_strptime.py", line 362, in _strptime (data_string, format)) ValueError: time data '# File expires on 28 June 2019\n' does not match format '# File expires on %d %B %Y\n'

Comments (12)

  1. Jens-Uwe Grooß reporter

    yes, it is a language issue. Setting the environment variable LC_ALL=en_US solves the problem

  2. Joern Ungermann

    skyfield will hopefully solve this internally. The issue is open and a solver has been assigned. Interesting that we and they notice this issue rather close in time. The issue is open only since two weeks.

  3. Joern Ungermann

    Has been solved and another issues in skyfield has also been solved in the meantime. This issue can be closed.

  4. Log in to comment