[Bug 1228366] Missing package for Application:Geo/qgis: causes fatal error std::bad_alloc on loading plugin
https://bugzilla.suse.com/show_bug.cgi?id=1228366 https://bugzilla.suse.com/show_bug.cgi?id=1228366#c2 --- Comment #2 from Grant Pearson <grant.eureka@xtra.co.nz> --- There was nothing to log but the fatal error std::bad_alloc std::bad_alloc didn't allow any traceback and was not caught by the wfs100.py exception handler. I added an exception handler to trap importing from OWSlib but it still could not trap bad_alloc: import logging try: from .owslib.wfs import WebFeatureService except Exception: logging.exception("ERROR: import from .owslib.wfs import WebFeatureService") logging.exception(" : " + error.__class__.__name__ + ": " + error.message) raise ImportError('ERROR: import from .owslib.wfs import WebFeatureService') It looks like a bug within Python3.11 but installing python311-pyproj got around it. It is possible the bad_alloc error came about from originally installing the Python module pyproj using pip as there was no python311-pyproj package for Leap 15.6 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com