Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Matthias Kuhn
Hi The mapCanvas has already been mocked into the testing iface, it should be fairly simple to do the same for the temporal controller. See here for reference https://github.com/qgis/QGIS/blob/master/python/testing/mocked.py#L58-L60 To complete the comments by Alessandro, there are also

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Alessandro Pasotti
On Tue, Jan 12, 2021 at 12:38 PM Richard Duivenvoorde wrote: > > On 1/12/21 12:32 PM, Alessandro Pasotti wrote: > > On Tue, Jan 12, 2021 at 11:51 AM Richard Duivenvoorde > >> but... one of my docs (temporal navigator) PR's is still failing: > >>

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Richard Duivenvoorde
On 1/12/21 12:32 PM, Alessandro Pasotti wrote: > On Tue, Jan 12, 2021 at 11:51 AM Richard Duivenvoorde >> but... one of my docs (temporal navigator) PR's is still failing: >> https://travis-ci.org/github/qgis/QGIS-Documentation/builds/739861175 >> >> NOT image related, but if somebody finds some

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Alessandro Pasotti
On Tue, Jan 12, 2021 at 11:51 AM Richard Duivenvoorde wrote: > > On 1/12/21 10:55 AM, DelazJ wrote: > > Hi, > > > > Back to green. Thanks, Matthias. > > Yes, big THANKS!!! > > ... > > but... one of my docs (temporal navigator) PR's is still failing: >

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Richard Duivenvoorde
On 1/12/21 10:55 AM, DelazJ wrote: > Hi, > > Back to green. Thanks, Matthias. Yes, big THANKS!!! ... but... one of my docs (temporal navigator) PR's is still failing: https://travis-ci.org/github/qgis/QGIS-Documentation/builds/739861175 NOT image related, but if somebody finds some time to

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread Alessandro Pasotti
Thank you Matthias! Just a side note: this is the second time that a failing test in the documentation helps to discover an unnoticed issue on QGIS master, it means that the documentation tests are also useful for the general purpose of QA in QGIS itself and not only for documentation. On Tue,

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-12 Thread DelazJ
Hi, Back to green. Thanks, Matthias. Harrissou Le dim. 10 janv. 2021 à 22:12, Matthias Kuhn a écrit : > Part 3 : make sure if the build fails docker images are not published in > the future > > On Sun, Jan 10, 2021 at 6:07 PM Matthias Kuhn wrote: > >> Hi, >> >> It seems that something is

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-10 Thread Matthias Kuhn
Part 3 : make sure if the build fails docker images are not published in the future On Sun, Jan 10, 2021 at 6:07 PM Matthias Kuhn wrote: > Hi, > > It seems that something is broken in building the "custom widgets qt > creator plugin" and that our CI didn't detect that. > > Part 1 : make sure

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-10 Thread Matthias Kuhn
Hi, It seems that something is broken in building the "custom widgets qt creator plugin" and that our CI didn't detect that. Part 1 : make sure this doesn't happen again. The ci builds now with customwidgets: https://github.com/qgis/QGIS/pull/40929 Part 2 : fix the build Matthias On Sun, Jan

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2021-01-10 Thread DelazJ
Hi devs, Just to report that the master code tests infrastructure in QGIS-Documentation seems broken. This is likely not due to some sample codes in the docs since we did not change code recently, and the tests not just run I suspect it's something in QGIS code or in the docker image; the setup

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-10-09 Thread DelazJ
Hi Matteo, I had opened an issue report to provide instructions on how to build the doctest (https://github.com/qgis/QGIS-Documentation/issues/6064). And I just noticed (sorry!) that Alessandro provided some feedback (in substance, "docker is the best route now"). regards, Harrissou Le jeu. 8

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-10-08 Thread matteo
Hi Harrissou, I don't have any answer for that, but it is the SAME error I have on my local machine with a compiled version (or even the installation from package) of QGIS. The only way for me to run the tests locally if using docker. I'm taking advantages of your mail to raise this problem

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-10-07 Thread DelazJ
Hi devs, QGIS-Documentation master build is failing due to "ModuleNotFoundError: No module named 'qgis'" (see https://travis-ci.org/github/qgis/QGIS-Documentation/builds/733643360#L2217) So I wonder if there's any issue with the docker build. BTW, going to the code repo readme, the docker build

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-09-07 Thread DelazJ
Hi devs, A gentle ping to help us fix doc travis reports (actually PyQGIS Cookbook tests infrastructure in). Unless there's some ongoing efforts I'm not aware of. Thanks. Harrissou Le mar. 1 sept. 2020 à 13:11, DelazJ a écrit : > Hi, > > Like Matteo, I can't locally test the doctest build so

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-09-01 Thread DelazJ
Hi, Like Matteo, I can't locally test the doctest build so travis/docker are the masters and last resort here. I gave a look to the travis reports and the code testing parts of the docs are the reasons for failure. But I'm not sure the recent broken master docker is the only reason. I tried to

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
Hi Richard, > in is in the conf.py: > > https://github.com/qgis/QGIS-Documentation/blob/master/conf.py#L343 > oh right my fault.. but tests are still failing with a compiled version of QGIS. Can I ask you how you user.mk file looks like? Cheers and thanks Matteo

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread Richard Duivenvoorde
On 8/28/20 10:35 AM, matteo wrote: >> where is start_qgis defined? I don't find it in QGIS sources. > I thought it is in the output folder (QGIS_PREFIX_PATH = > /home/matteo/dev/qgis-master/output) > > do you have any hint where it is or should be? in is in the conf.py:

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
> where is start_qgis defined? I don't find it in QGIS sources. I thought it is in the output folder (QGIS_PREFIX_PATH = /home/matteo/dev/qgis-master/output) do you have any hint where it is or should be? > No. Looking on docker hub, the image is around 1.8gb (still a lot though) >

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread Denis Rouzaud
Le ven. 28 août 2020 à 09:12, matteo a écrit : > Hi Denis, > > > The Docker has indeed been fixed for about 2 days (and PyQGIS API docs > > are being built again since this morning). > > > > Regarding the segmentation you mention, I don't see this is related to > > the Docker image. > > It's a

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-28 Thread matteo
Hi Denis, > The Docker has indeed been fixed for about 2 days (and PyQGIS API docs > are being built again since this morning). > > Regarding the segmentation you mention, I don't see this is related to > the Docker image. > It's a bit hard to know from this what is happening from the log. > >

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-26 Thread Denis Rouzaud
Hi Matteo, The Docker has indeed been fixed for about 2 days (and PyQGIS API docs are being built again since this morning). Regarding the segmentation you mention, I don't see this is related to the Docker image. It's a bit hard to know from this what is happening from the log. Can you run it

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-26 Thread matteo
Hi Denis, I restarted a build but it is still failing do due a segmentation fault: https://travis-ci.org/github/qgis/QGIS-Documentation/builds/720594748#L1128 Is it sill work in progress? Cheers and thanks Matteo ___ QGIS-Developer mailing list

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread matteo
Hi Denis, thanks for the update and for the fix. Will restart the checks during the afternoon when the fix is pushed Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread Mathieu Pellerin
Denis, Thanks for all the work improving and fixing this. Math On Tue, Aug 25, 2020 at 3:12 PM Denis Rouzaud wrote: > Hi, > > Sorry, I am somehow responsible for the failure of the recent Docker > images on master (release branches were apparently not affected). > > The images were apparently

Re: [QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread Denis Rouzaud
Hi, Sorry, I am somehow responsible for the failure of the recent Docker images on master (release branches were apparently not affected). The images were apparently not updated for a bit (which I didn't notice). I moved the Docker images creation from Travis to Github actions, and due to a

[QGIS-Developer] Travis failing in QGIS-Documentation

2020-08-25 Thread matteo
Hi all, sorry for cross posting and sorry if I missed some existing discussion on this topic. I don't think anybody introduced some strange commit but it seems that the Travis check is always failing even with PR that don't code snippet at all. The error seems related directly with the