tests could be blocked by a ExpatError condition

Issue #572 wontfix
Reimar Bauer created an issue

during tests we got on these lines completly blocking tests by a “press the OK button” This may happen also on other calls.

def load_from_xml_data(self, xml_content, name="Flight track"):
        try:
            doc = xml.dom.minidom.parseString(xml_content)
        except xml.parsers.expat.ExpatError as ex:
            raise SyntaxError(str(ex))

Comments (2)

  1. Reimar Bauer reporter

    automated test in

    mslib/msui/_tests/test_topview.py s....

    Fatal error in MSS 1.9.5. on Linux-4.15.0-118-generic-x86_64-with-debian-buster-sid
    Python 3.7.7 (default, Mar 26 2020, 15:48:22)
    [GCC 7.3.0]

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

    Information about the fatal error:

    Traceback (most recent call last):
    File "/home/user/miniconda3/envs/mssdev/lib/python3.7/site-packages/matplotlib/backends/backend_qt5.py", line 296, in enterEvent
    def enterEvent(self, event):
    KeyboardInterrupt

  2. Log in to comment