[QGIS-Developer] Issue with qgis Docker images starting from qgis:final-3_22_10

Sergio Alexander Ramírez Navarro seralra96 at gmail.com
Wed Nov 9 05:30:31 PST 2022


I found that since version 3_22_10 the plugins folder is no longer located
in /usr/share/qgis/python/plugins but now in /qgis/python/plugins , this
may have caused the issue.

Regards,


Sergio

El mié, 9 nov 2022 a la(s) 08:19, Etienne Trimaille via QGIS-Developer (
qgis-developer at lists.osgeo.org) escribió:

> Thanks for raising this issue.
> I can also confirm the regression in unit testing plugins with QGIS 3.22
> with QGIS docker images.
>
> With the tag qgis/qgis:final-3_22_9 and different branches such as 3.16,
> 3.28, master, everything works fine.
> Starting with qgis/qgis:final-3_22_10, tests are not loaded anymore :
>
> """
> Running test tests.runner.test_package ...
> ERROR: no output from the test runner! (exit code: 0)
> """
>
> I didn't check if it was also linked to a ModuleNotFoundError under the
> hood.
>
> Regards
>
> Le lun. 7 nov. 2022 à 11:47, DelazJ via QGIS-Developer <
> qgis-developer at lists.osgeo.org> a écrit :
>
>> Hi,
>>
>> I also confirm this issue for the QGIS 3.22 documentation (
>> https://github.com/qgis/QGIS-Documentation/issues/7858) but afaict,
>> tests were still passing mid october (hence with 3.22.11).
>>
>> Regards,
>> Harrissou
>>
>> Le lun. 7 nov. 2022 à 11:15, Paolo Tormene via QGIS-Developer <
>> qgis-developer at lists.osgeo.org> a écrit :
>>
>>> Hello. I use qgis docker images to run tests for a plugin. Recently my
>>> tests started to fail when attempting to import qgis ("ModuleNotFoundError:
>>> No module named 'qgis'").
>>> I normally run tests using images qgis/qgis:latest and
>>> qgis/qgis:release-3_22, in order to check compatibility with both the
>>> latest release and the current LTR.
>>> With qgis/qgis:latest everything works, but with qgis/qgis:release-3_22
>>> it produces the error described above.
>>> While investigating the problem, I also tried to use older versions:
>>> qgis:final-3_22_12 -> KO
>>> qgis:final-3_22_11 -> KO
>>> qgis:final-3_22_10 -> KO
>>> qgis:final-3_22_9 -> OK (it seems to work as expected until this version)
>>> Were there any significant changes between 3_22_9 and 3_22_10 that might
>>> have caused this? Do you have any suggestions?
>>> Thank you,
>>> 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>
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221109/43859661/attachment.htm>


More information about the QGIS-Developer mailing list