[QGIS-Developer] Refresh attribute form python action

2023-06-13 Thread matteo via QGIS-Developer
Hi all, I'm defining a python action that is triggered in the feature form (as a button or from the menu). The action is retrieving some values from other layers and some of these values will update some form widget, avoiding the user to filling them manually (I really simplified the

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-23 Thread matteo via QGIS-Developer
pplication instance, it shows this warning. Good luck solving your issue Thanks! Some gurus around? :) Cheers Matteo Regards, Richard On 2/21/23 16:41, matteo via QGIS-Developer wrote: Hi devs, I'm raising this email again because I don't know if this a bug/limitation/correct behavior

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-21 Thread matteo via QGIS-Developer
;-warnings. And my feeling is that if some code is fetching references to the QGIS application instance, it shows this warning. Good luck solving your issue Thanks! Some gurus around? :) Cheers Matteo Regards, Richard On 2/21/23 16:41, matteo via QGIS-Developer wrote: Hi devs, I'm raising

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2023-02-21 Thread matteo via QGIS-Developer
Hi devs, I'm raising this email again because I don't know if this a bug/limitation/correct behavior. I also think that the problem is from a thread point of view, at least by the crash that I have. Knowing that a processing algorithm, as suggested by Germàn, can be created with:

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-08 Thread matteo via QGIS-Developer
is not defined is some jquery cdn failing? Regards, Richard Duivenvoorde On 2023-02-08 09:12, matteo via QGIS-Developer wrote: Hi Denis, Is this related to this? https://github.com/qgis/pyqgis/commit/465d91a265e4f1828f0da623d32f8ac7a1de <https://github.com/qgis/pyqgis/com

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-08 Thread matteo via QGIS-Developer
terday and it was working. Has something changed in the last weeks? Cheers Matteo Cheers, Denis Le mer. 8 févr. 2023 à 08:58, matteo via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> a écrit : Hi Richard, I can confirm: searching in master will stay there for

Re: [QGIS-Developer] Pyqgis master api search broken?

2023-02-07 Thread matteo via QGIS-Developer
Hi Richard, I can confirm: searching in master will stay there forever without finding anything. Cheers Matteo On 2/8/23 08:52, Richard Duivenvoorde via QGIS-Developer wrote: Hi, Am I right to conclude something is wrong with PyQGIS api (DOCS build) for master?

Re: [QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-30 Thread matteo via QGIS-Developer
great! On 1/30/23 00:40, Nyall Dawson wrote: On Tue, 10 Jan 2023 at 02:13, matteo via QGIS-Developer wrote: Hi all, maybe that's a silly question, but with all the self compiled QGIS versions that I have (3.22, 3.28, master, ecc) QGIS is not autocompleting the code, not in the console

Re: [QGIS-Developer] [solved] weird RuntimeError: qgis._gui cannot import type '����' from PytQT5.QtCore"

2023-01-30 Thread matteo via QGIS-Developer
Hi Evan, thanks, it works! Cheers Matteo On 1/30/23 15:45, Even Rouault via QGIS-Developer wrote: Hi, just to avoid other people losing a couple hours like me... If you update to latest master on Debian/Ubuntu, and after rebuild, you get a cryptic error like the following when importing

Re: [QGIS-Developer] PyQt db_manager(?) compile error

2023-01-30 Thread matteo via QGIS-Developer
Hi Richard, same here. On Debian with a new folder and a fresh compilation. Did you solved? make[2]: *** [python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/build.make:90: python/plugins/db_manager/ui_DlgCancelTaskQuery.py] Error 1 make[2]: *** Deleting file

Re: [QGIS-Developer] Statistics of QGIS downloads

2023-01-24 Thread matteo via QGIS-Developer
6/16/qgis-userbase-analytics/> Greetings, Andreas On Tue, 24 Jan 2023 at 16:05, matteo via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: Hi all, if I'm not wrong (Tim?) there was kind of dashboard to see the download statistics of QGIS, but I cann

[QGIS-Developer] Statistics of QGIS downloads

2023-01-24 Thread matteo via QGIS-Developer
Hi all, if I'm not wrong (Tim?) there was kind of dashboard to see the download statistics of QGIS, but I cannot find it anymore. Is there a link available? Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

[QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-09 Thread matteo via QGIS-Developer
Hi all, maybe that's a silly question, but with all the self compiled QGIS versions that I have (3.22, 3.28, master, ecc) QGIS is not autocompleting the code, not in the console, editor, Processing script, macros, etc etc. With the QGIS 3.22, but again the version seems not be the problem,

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-29 Thread matteo via QGIS-Developer
/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py <https://github.com/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py> Hope that helps. Regards, Germán El mié, 28 dic 2022 a las 9:58, matteo via QGIS-Developer (<ma

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
ter/asistente_ladm_col/__init__.py> Hope that helps. Regards, Germán El mié, 28 dic 2022 a las 9:58, matteo via QGIS-Developer (<mailto:qgis-developer@lists.osgeo.org>>) escribió: Hi devs, I'm developing a Processing provider plugin that needs some external

Re: [QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
/blob/master/asistente_ladm_col/__init__.py <https://github.com/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py> Hope that helps. Regards, Germán El mié, 28 dic 2022 a las 9:58, matteo via QGIS-Developer (<mailto:qgis-developer@lists.osgeo.org>

[QGIS-Developer] Skip loading plugin if errors

2022-12-28 Thread matteo via QGIS-Developer
Hi devs, I'm developing a Processing provider plugin that needs some external python packages. If these are not installed on the system, when starting QGIS and loading the plugin the error message pops up (of course). Is there a way to have a "more friendly" message without opening the

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-13 Thread matteo via QGIS-Developer
I believe it would require a bit of love to improve this workflow >     and >      > drop the gh-pages branch. >      > >      > I hope this helps a bit. > >     Thanks Denis > >     Matteo >

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-13 Thread matteo via QGIS-Developer
lieve it would require a bit of love to improve this workflow and > drop the gh-pages branch. > > I hope this helps a bit. Thanks Denis Matteo > Cheers, > Denis > > > > Le mar. 13 déc. 2022 à 08:14, matteo

Re: [QGIS-Developer] Building pyqgis doc locally

2022-12-12 Thread matteo via QGIS-Developer
I hope this helps a bit. Thanks Denis Matteo Cheers, Denis Le mar. 13 déc. 2022 à 08:14, matteo via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> a écrit : Hi devs, I've some small ideas to enhance the readthedocs theme of the pyqgis documentation and I want mak

[QGIS-Developer] Building pyqgis doc locally

2022-12-12 Thread matteo via QGIS-Developer
Hi devs, I've some small ideas to enhance the readthedocs theme of the pyqgis documentation and I want make some local test before making a pull request. I've cloned this repository (around 7GB?!): https://github.com/qgis/pyqgis and then I followed the instruction of the Readme file. It

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-12 Thread matteo via QGIS-Developer
tps://github.com/SwissTierrasColombia/LADM-COL-Add-on-Ambiente/blob/master/ladm_col_environment_add_on.py#L140>> > > > El lun, 1 ago 2022 a las 15:23, matteo via QGIS-Developer > (mailto:qgis-developer@lists.osgeo.org> > <mailto:qgis-developer@lists.osgeo.org

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
lugins/processing/tools/general.py#L185> [1] https://github.com/SwissTierrasColombia/LADM-COL-Add-on-Ambiente/blob/master/ladm_col_environment_add_on.py#L140 <https://github.com/SwissTierrasColombia/LADM-COL-Add-on-Ambiente/blob/master/ladm_col_environment_add_on.py#L140> El lun, 1 ago 2

[QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
Hi all, I've a set of custom processing scripts within a plugin (that is both "normal" and processing provider plugin). I'm trying to executing the dialog of these algorithm from one of the main plugin file. I found the processing.createAlgorithmDialog [0], but it is constantly crashing

Re: [QGIS-Developer] QgsVectorLayerSaveAsDialog in python plugin

2022-07-27 Thread matteo via QGIS-Developer
] https://github.com/qgis/QGIS/issues/45538 Il 27/07/2022 11:20, matteo via QGIS-Developer ha scritto: I discovered that the QgsVectorLayerSaveAsDialog is not available in python bindings [0]. ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

[QGIS-Developer] QgsVectorLayerSaveAsDialog in python plugin

2022-07-27 Thread matteo via QGIS-Developer
Hi all, I discovered that the QgsVectorLayerSaveAsDialog is not available in python bindings [0]. I have the need to export vector layers from a plugin with a similar dialog (with few options compared to the QGIS one). Should I create a custom UI and python class or is another way to have

[QGIS-Developer] Selection opacity raster image fill QGIS

2022-03-28 Thread matteo via QGIS-Developer
Hi all, it seems that the opacity of the selection color chosen in the project properties is ignored with a vector layer in raster fill symbology mode. Is this a bug or the expected behavior? Cheers and thanks Matteo ___ QGIS-Developer mailing