[QGIS-Developer] Failing docker build for 3.34?

2023-11-06 Thread Harrissou s. via QGIS-Developer
Hi devs,

Today's pyqgis docs for 3.34 didn't make it, and indeed, watching [0] reveals 
that the build somehow failed yesterday and there was no attempt to rebuild 
today. Likewise the latest version of 3.34 in docker hub [1] is from yesterday 
instead of a few hours ago.

[0] https://github.com/qgis/pyqgis/commits/gh-pages
[1] https://hub.docker.com/qgis/qgis/tags

Regards,
Harrissou___
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] Build QGIS with PDAL on Debian bookworm: missing libpdalcpp.so

2023-08-17 Thread Harrissou s. via QGIS-Developer
Hi,

SHAME ON ME and sorry for the noise. I indeed skipped the last command to build 
PDAL, thinking somehow that installing it was optional and for people that 
actually need to run pdal commands directly.
After a sudo ninja install and adjusting path to pdal library options, building 
QGIS with PDAL works just fine.

Thanks Werner and Richard for showing the missing step.

Kind regards,
Harrissou

Le 17 août 2023 11:50:12 GMT+02:00, Werner Macho  a 
écrit :
>Hi Harrissou,
>What I see missing from your PDAL approach is the "make install" at the
>end..
>This is how the built pdal gets distributed on your OS and afterwards it
>should be available to QGIS cmake process.
>regards
>Werner
>
>On Thu, Aug 17, 2023 at 11:47 AM Harrissou s.  wrote:
>
>> Hi Werner,
>>
>> I'm not on the machine I did the build earlier so I'll get back to you
>> probably tonight.
>> As for the process, I just did what is in the docs, aka:
>> - clone the repo
>> - create a build folder
>> - cd build
>> - run cmake -G Ninja ..
>> - run ninja
>> And I got no errors reported.
>> Is this different from your process?
>>
>> I was expecting to have the files in the build/lib folder within the pdal
>> repository (what I understood from the docs). I also checked /usr/lib. I
>> confess I didn't check that /usr/local/lib folder. Will do later today.
>>
>> Thanks,
>> Harrissou
>>
>>
>> Le 17 août 2023 08:41:00 GMT+02:00, Werner Macho 
>> a écrit :
>>
>>> Hi Harrissou,
>>>
>>> I have self compiled PDAL and QGIS running on debian bookworm.
>>> It worked without any problems.
>>> First I compiled and installed PDAL
>>> Everything (including libpdalcpp.so) gets installed under /usr/local/lib
>>> and afterwards I used
>>> -DWITH_PDAL=ON
>>> to include PDAL.
>>>  Everything worked smoothly.
>>> What is your workflow?
>>>
>>> regards
>>> Werner
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Aug 17, 2023 at 7:42 AM Harrissou s. via QGIS-Developer <
>>> qgis-developer@lists.osgeo.org> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm trying to build QGIS with PDAL on Debian bookworm and I'm failing.
>>>> As far as I can tell, Bookworm dropped support of libpdal-dev [0] so I
>>>> tried to build PDAL locally following instructions in their documentation
>>>> [1].
>>>> Everything seems to work nicely. I have the bin/pdal and tests are OK
>>>> with it, but still no lib/libpdalcpp* on my machine.
>>>>
>>>> Trying to build QGIS logically ends with:
>>>> ninja: error: '/lib/libpdalcpp.so', needed by
>>>> 'output/lib/libqgis_core.so.3.33.0', missing and no known rule to make it
>>>>
>>>> Anyone knows how I can fix this?
>>>>
>>>> Thanks in advance,
>>>> Harrissou
>>>>
>>>> [0] https://packages.debian.org/bullseye/libpdal-dev (exists in
>>>> bullseye but not bookworm)
>>>> [1]
>>>> https://pdal.io/en/latest/development/compilation/unix.html#using-ninja-on-linux-or-osx
>>>>
>>>>
>>>> ___
>>>> 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 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] Build QGIS with PDAL on Debian bookworm: missing libpdalcpp.so

2023-08-17 Thread Harrissou s. via QGIS-Developer
Hi Werner,

I'm not on the machine I did the build earlier so I'll get back to you probably 
tonight.
As for the process, I just did what is in the docs, aka:
- clone the repo
- create a build folder
- cd build
- run cmake -G Ninja ..
- run ninja
And I got no errors reported.
Is this different from your process?

I was expecting to have the files in the build/lib folder within the pdal 
repository (what I understood from the docs). I also checked /usr/lib. I 
confess I didn't check that /usr/local/lib folder. Will do later today.

Thanks,
Harrissou


Le 17 août 2023 08:41:00 GMT+02:00, Werner Macho  a 
écrit :
>Hi Harrissou,
>
>I have self compiled PDAL and QGIS running on debian bookworm.
>It worked without any problems.
>First I compiled and installed PDAL
>Everything (including libpdalcpp.so) gets installed under /usr/local/lib
>and afterwards I used
>-DWITH_PDAL=ON
>to include PDAL.
> Everything worked smoothly.
>What is your workflow?
>
>regards
>Werner
>
>
>
>
>
>On Thu, Aug 17, 2023 at 7:42 AM Harrissou s. via QGIS-Developer <
>qgis-developer@lists.osgeo.org> wrote:
>
>> Hello,
>>
>> I'm trying to build QGIS with PDAL on Debian bookworm and I'm failing.
>> As far as I can tell, Bookworm dropped support of libpdal-dev [0] so I
>> tried to build PDAL locally following instructions in their documentation
>> [1].
>> Everything seems to work nicely. I have the bin/pdal and tests are OK with
>> it, but still no lib/libpdalcpp* on my machine.
>>
>> Trying to build QGIS logically ends with:
>> ninja: error: '/lib/libpdalcpp.so', needed by
>> 'output/lib/libqgis_core.so.3.33.0', missing and no known rule to make it
>>
>> Anyone knows how I can fix this?
>>
>> Thanks in advance,
>> Harrissou
>>
>> [0] https://packages.debian.org/bullseye/libpdal-dev (exists in bullseye
>> but not bookworm)
>> [1]
>> https://pdal.io/en/latest/development/compilation/unix.html#using-ninja-on-linux-or-osx
>>
>>
>> ___
>> 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 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] Build QGIS with PDAL on Debian bookworm: missing libpdalcpp.so

2023-08-16 Thread Harrissou s. via QGIS-Developer
Hello,

I'm trying to build QGIS with PDAL on Debian bookworm and I'm failing.
As far as I can tell, Bookworm dropped support of libpdal-dev [0] so I tried to 
build PDAL locally following instructions in their documentation [1].
Everything seems to work nicely. I have the bin/pdal and tests are OK with it, 
but still no lib/libpdalcpp* on my machine.

Trying to build QGIS logically ends with:
ninja: error: '/lib/libpdalcpp.so', needed by 
'output/lib/libqgis_core.so.3.33.0', missing and no known rule to make it

Anyone knows how I can fix this?

Thanks in advance,
Harrissou

[0] https://packages.debian.org/bullseye/libpdal-dev (exists in bullseye but 
not bookworm)
[1] 
https://pdal.io/en/latest/development/compilation/unix.html#using-ninja-on-linux-or-osx
 

___
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] Issue with qgis Docker images starting from qgis:final-3_22_10

2022-11-19 Thread Harrissou s. via QGIS-Developer
Hi,
Any chance someone looks into this issue, please? Thanks.

And generally speaking, should the LTR branding not also concern the docker 
image we output? This 3.22 docker image is broken for weeks (or almost 2 months 
according to others)...

Regards,
Harrissou

Le mer. 9 nov. 2022 à 18:06, Etienne Trimaille via QGIS-Developer <
qgis-developer@lists.osgeo.org> a écrit :

> Yes it is. Thanks for linking to an existing ticket.
>
> By the way, as we are quite a few using this image for testing QGIS 
> plugin, does anyone have some plans to make a smaller docker image for 
> testing plugins ? (It's nearly 9gb right now).
>
> Le mer. 9 nov. 2022 à 17:39, Nicolas Godet  a 
> écrit :
>
>> Hi,
>>
>> Is this the same issue as described here 
>> https://github.com/qgis/QGIS/issues/50729 ?
>>
>> Le 9 nov. 2022 à 14:30, Sergio Alexander Ramírez Navarro via 
>> QGIS-Developer  a écrit :
>>
>>  
>> 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@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@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@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  *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 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 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 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 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 mailing list

Re: [QGIS-Developer] Broken coordinate/distance/area calculation tests

2022-10-30 Thread Harrissou s. via QGIS-Developer
Hi,

So nobody knows why the tests that used to pass and succeeded on Thursday, 
suddenly failed on Friday? Or should I just adjust the tests outputs and stop 
bothering?!?

https://github.com/qgis/QGIS-Documentation/actions/workflows/doctest.yml

Greetings,
Harrissou S.


Le 28 octobre 2022 08:10:19 GMT+02:00, "Harrissou s."  a 
écrit :
>Hi,
>I am wondering if the method for area/distance calculation has changed again 
>in master or if the issue is in some transformation accuracy changes.
>
>In QGIS docs, we are getting failing tests for calculation we did not touch 
>the underlying data for years.
>See starting from 
>https://github.com/qgis/QGIS-Documentation/actions/runs/3339628288/jobs/5530428647#step:6:703
>
>Regards,
>Harrissou
___
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] Broken coordinate/distance/area calculation tests

2022-10-28 Thread Harrissou s. via QGIS-Developer
Hi,
I am wondering if the method for area/distance calculation has changed again in 
master or if the issue is in some transformation accuracy changes.

In QGIS docs, we are getting failing tests for calculation we did not touch the 
underlying data for years.
See starting from 
https://github.com/qgis/QGIS-Documentation/actions/runs/3339628288/jobs/5530428647#step:6:703

Regards,
Harrissou
___
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] Questions of a newbie starting with QGIS Server

2022-04-20 Thread Harrissou s. via QGIS-Developer
Hi QGISers (sorry for cross-posting)

I'm trying to setup a QGIS Server... on Windows and I'd like to share some 
suggestions/issues I faced in the process and ultimately ask for help on a 
bigger issue.
I'm following the QGIS documentation instructions [0] and took the 
opportunity to update the docs[1][2], given that osgeo4w provides means to 
install apache. Review welcome, thanks.

In the docs, it is suggested to add at the end of the httpd.conf file a 
set of variables. But I notice that *most* of them are already set in the 
httpd_qgis.conf file that is #included at the end of the httpd.conf file. I 
hence ignored the addition but, Questions:
- are the GDAL_DATA and QGIS_AUTH_DB_DIR_PATH necessary for any purpose?
- If so, for what? And is it possible (does it make sense) to add them to the 
httpd_qgis.conf file also?

- Issue report: I think there is a typo in the httpd_qgis.conf file 
setting PATH and QT_PLUGIN_PATH. It mentions apps/qt5/ while it should be 
apps/Qt5/ (uppercase Q).

In my process, I didn't set the gdal or db paths above, I fixed the 
uppercase typo and when I tested I could get a reply for GetCapabilities as in 
the docs. Using the QGIS training project, I could do a GetMap which 
successfully returned my map canvas image. Good! My server is OP!
Well, this is where I got lost. I thought the request would output in the 
browser some image i could zoom in, pan, maybe identify... But NO, I got a 
plain, static image. What am I supposed to do next? How can I make my 
project queryable, zoomable, pannable, anythingable... in a web browser?
I might have overlooked, but the docs does not seem t provide any information 
for 
newbies like me, for the next step. Where should I look now? Your help to 
get out of this trouble would be much appreciated. Thanks.

Regards,
Harrissou

[0] 
https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows
[1] reading: 
https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst
[2] pull-request: https://github.com/qgis/QGIS-Documentation/pull/7508___
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