[QGIS-Developer] QGIS docker images for python plugin testing

2024-05-02 Thread Paolo Tormene via QGIS-Developer
Hello. We have been using QGIS docker images in CI tests for our python
plugin. In particular, we downloaded versions tagged as qgis:release-3_36,
qgis:latest and similar. In the past we noticed there was no qgis:ltr, but
it was recently added. Recently the qgis:latest version ceased to work,
because it stopped right after running it. After some checks, we found out
that in previous versions the docker CMD launched a supervisor that kept
the container running, but this is not the case anymore.
"Cmd": [
"/usr/bin/supervisord",
"-c",
"/etc/supervisor/supervisord.conf"
],
In qgis:latest and qgis:ltr we see:
 "Cmd": [
"/bin/bash"
],
In addition to this, since April 28, when running unit tests for our plugin
via pytest, all tests are green, but then we get an exit code 139. Doing
the same while executing the docker in interactive mode, we see that it has
a segmentation fault after finishing running the tests:
== 80 passed, 1 warning in 1.38s ==
Segmentation fault (core dumped)

Has anyone else experienced the same issues? Do you have any suggestions?
Thanks,
Paolo

-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Plugin publication

2023-11-23 Thread Paolo Tormene via QGIS-Developer
Dear QGIS developers,
I published https://plugins.qgis.org/plugins/svir/version/3.17.4/ on
November 6, but I see it is still not approved. Probably it was
accidentally missed.
Please, may you check it?
Thanks very much,
Paolo

On Wed, Nov 15, 2023 at 2:21 PM Paolo Tormene <
paolo.torm...@globalquakemodel.org> wrote:

> Hello. Please, may someone approve this?
> https://plugins.qgis.org/plugins/svir/version/3.16.4/
> Thank you very much,
> Paolo
>
> On Mon, Oct 23, 2023 at 10:31 AM Paolo Tormene <
> paolo.torm...@globalquakemodel.org> wrote:
>
>> Hello. I'm writing to notify you that on October 11 I uploaded to
>> https://plugins.qgis.org/plugins/svir/ a "stable" and an "experimental"
>> version of my plugin and so far only the experimental one has been approved
>> and made available for downloading. I suppose the other version was
>> neglected by accident. May you check, please?
>> Thank you in advance,
>> Paolo
>> --
>>
>> *PAOLO TORMENE* senior software developer +39 0382 5169882
>>
>> *GLOBAL EARTHQUAKE MODEL * working together to assess risk
>>
>> *GEM -* globalquakemodel.org  *T -*
>> @GEMwrld  *F -* GEMwrld
>> 
>>
>
>
> --
>
> *PAOLO TORMENE* senior software developer +39 0382 5169882
>
> *GLOBAL EARTHQUAKE MODEL * working together to assess risk
>
> *GEM -* globalquakemodel.org  *T -*
> @GEMwrld  *F -* GEMwrld
> 
>


-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Plugin publication

2023-11-15 Thread Paolo Tormene via QGIS-Developer
Hello. Please, may someone approve this?
https://plugins.qgis.org/plugins/svir/version/3.16.4/
Thank you very much,
Paolo

On Mon, Oct 23, 2023 at 10:31 AM Paolo Tormene <
paolo.torm...@globalquakemodel.org> wrote:

> Hello. I'm writing to notify you that on October 11 I uploaded to
> https://plugins.qgis.org/plugins/svir/ a "stable" and an "experimental"
> version of my plugin and so far only the experimental one has been approved
> and made available for downloading. I suppose the other version was
> neglected by accident. May you check, please?
> Thank you in advance,
> Paolo
> --
>
> *PAOLO TORMENE* senior software developer +39 0382 5169882
>
> *GLOBAL EARTHQUAKE MODEL * working together to assess risk
>
> *GEM -* globalquakemodel.org  *T -*
> @GEMwrld  *F -* GEMwrld
> 
>


-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Plugin publication

2023-10-23 Thread Paolo Tormene via QGIS-Developer
Hello. I'm writing to notify you that on October 11 I uploaded to
https://plugins.qgis.org/plugins/svir/ a "stable" and an "experimental"
version of my plugin and so far only the experimental one has been approved
and made available for downloading. I suppose the other version was
neglected by accident. May you check, please?
Thank you in advance,
Paolo
-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] SpatialJoinSummary

2023-10-03 Thread Paolo Tormene via QGIS-Developer
Hello. I noticed that the processing algorithm
https://github.com/qgis/QGIS/blob/release-3_32/python/plugins/processing/algs/qgis/SpatialJoinSummary.py
is not present in master (see
https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/SpatialJoinSummary.py).
Was it intentionally removed? If so, was it replaced by anything similar?
Thank you in advance,
Paolo

-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] No module named 'qgslayoutchecker' using "qgis/qgis:latest"

2023-05-01 Thread Paolo Tormene via QGIS-Developer
Dear QGIS people,
I am running continuous integration tests for a plugin using the
'qgis/qgis:latest' docker and, since 4 days ago, I am getting the following
error:

from qgis.testing import start_app
usr/lib/python3/dist-packages/qgis/utils.py:888: in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
usr/lib/python3/dist-packages/qgis/testing/__init__.py:56: in 
from qgslayoutchecker import QgsLayoutChecker
usr/lib/python3/dist-packages/qgis/utils.py:888: in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
E   ModuleNotFoundError: No module named 'qgslayoutchecker'

Please note that the same tests run without issues using the
'qgis/qgis:release-3_22' docker instead.
Has anyone experienced the same problem?

Thank you and best regards,
Paolo

-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Problems with matplotlib with QGIS LTR on MacOS

2023-01-11 Thread Paolo Tormene via QGIS-Developer
Hello everybody,
I was experiencing issues installing a QGIS Python plugin on MacOS 12.6
and, after some investigation, I found out that the problem seems to happen
only with the current QGIS-LTR (3.22) and not with the latest release
(3.28.2-Firenze).
The problem occurs for instance when attempting to do something like the
following from the QGIS Python console:
from matplotlib import pyplot

Traceback (most recent call last):
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/code.py",
line 90, in runcode
exec(code, self.locals)
  File "", line 1, in 
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/pyplot.py",
line 36, in 
import matplotlib.colorbar
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/colorbar.py",
line 44, in 
import matplotlib.contour as contour
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/contour.py",
line 17, in 
import matplotlib.text as text
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/text.py",
line 16, in 
from .textpath import TextPath  # Unused, but imported by others.
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/textpath.py",
line 11, in 
from matplotlib.mathtext import MathTextParser
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg/matplotlib/mathtext.py",
line 27, in 
from PIL import Image
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/Image.py",
line 94, in 
from . import _imaging as core
  File
"/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError:
dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_
imaging.cpython-38-darwin.so, 0x0002): Library not loaded:
'/opt/X11/lib/libxcb.1.dylib'
  Referenced from:
'/Applications/QGIS-LTR.app/Contents/Resources/python/site-packages/pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_
imaging.cpython-38-darwin.so'
  Reason: tried: '/opt/X11/lib/libxcb.1.dylib' (no such file),
'/usr/local/lib/libxcb.1.dylib' (no such file), '/usr/lib/libxcb.1.dylib'
(no such file)

Cheers,
Paolo
-- 

*PAOLO TORMENE* senior software developer +39 0382 5169882

*GLOBAL EARTHQUAKE MODEL * working together to assess risk

*GEM -* globalquakemodel.org  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


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

2022-11-07 Thread Paolo Tormene via QGIS-Developer
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  *T -*
@GEMwrld  *F -* GEMwrld

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer