[QGIS-Developer] Tests failing since 2 days ago using docker qgis/qgis:stable
Paolo Tormene
paolo.tormene at globalquakemodel.org
Tue Feb 25 02:12:44 PST 2025
Dear QGIS developers,
we have some tests that ceased to work two days ago, running on docker
qgis/qgis:stable, giving the following traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/testing/__init__.py", line
1103, in start_app
QGISAPP
NameError: name 'QGISAPP' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 175, in __run_test
File "<string>", line 70, in __get_test_function
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in
_call_with_frames_removed
File
"/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/svir/test/integration/test_drive_oq_engine.py",
line 58, in <module>
QGIS_APP = start_app()
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qgis/testing/__init__.py", line
1130, in start_app
QGISAPP.initQgis()
TypeError: _qgis_app_init_qgis() takes 0 positional arguments but 1 was
given
The same tests run without issues using docker qgis/qgis:ltr.
Do you have any suggestions about this? Do you have any documentation about
what changed in the stable docker two days ago, so we can have some hints
on what we could further investigate?
Thank you very much,
Paolo
--
*PAOLO TORMENE* senior software developer +39 0382 5169882
*GLOBAL EARTHQUAKE MODEL * working together to assess risk
*GEM -* globalquakemodel.org <http://www.globalquakemodel.org> *T -*
@GEMwrld <http://twitter.com/GEMwrld> *F -* GEMwrld
<http://www.facebook.com/GEMwrld>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20250225/035e396c/attachment.htm>
More information about the QGIS-Developer
mailing list