Skip to content
New issue

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

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

Already on GitHub? # to your account

problem in gcpoints_path #2456

Closed
ReimarBauer opened this issue Aug 10, 2024 · 1 comment
Closed

problem in gcpoints_path #2456

ReimarBauer opened this issue Aug 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working msui mswms
Milestone

Comments

@ReimarBauer
Copy link
Member

With some of our data I get

Fatal error in MSS 9.0.0 on Linux-6.5.0-10043-tuxedo-x86_64-with-glibc2.35
Python 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:40:35) [GCC 12.3.0]

Please report bugs in MSS to https://github.com/Open-MSS/MSS

Information about the fatal error:

Traceback (most recent call last):
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/multiple_flightpath_dockwidget.py", line 764, in set_flag
    self.draw_inactive_operations()
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/multiple_flightpath_dockwidget.py", line 898, in draw_inactive_operations
    patch = MultipleFlightpath(self.view.map,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/multiple_flightpath_dockwidget.py", line 71, in __init__
    self.draw()
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/multiple_flightpath_dockwidget.py", line 110, in draw
    x, y = self.compute_xy(lon, lat)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/multiple_flightpath_dockwidget.py", line 78, in compute_xy
    x, y = self.map.gcpoints_path(lon, lat)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reimar/PycharmProjects/2024/rohit2p/MSS/mslib/msui/mpl_map.py", line 723, in gcpoints_path
    assert len(lons) > 1
           ^^^^^^^^
@ReimarBauer ReimarBauer added the bug Something isn't working label Aug 10, 2024
@ReimarBauer ReimarBauer added this to the 9.1.1 milestone Aug 10, 2024
@ReimarBauer
Copy link
Member Author

we can import an ftml file without waypoints e.g.

  <FlightTrack version="9.1.0">
    <ListOfWaypoints/>
  </FlightTrack>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working msui mswms
Projects
None yet
Development

No branches or pull requests

1 participant