[QGIS-Developer] Plugin approval question

2020-09-24 Thread Statto Redistricting
Sorry if this isn't the best place to ask this, but I've been waiting on
approval for a plugin for a week now and haven't heard anything - is there
a way to check the plugin approval backlog to see how long it will take?

Plugin is located here if anyone is interested:
https://plugins.qgis.org/plugins/qgis3redistricter-master/version/2.1/

Thank you
John Holden
___
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] DB Manager crash in master

2020-09-24 Thread Sandro Santilli
On Thu, Sep 24, 2020 at 04:09:52PM +0200, Paolo Cavallini wrote:
> Fine, thanks a lot Alessandro. I use DB Manager quite extensively, both
> for training and for real work, so probably I can offer a reasonable
> user POV; I'm available for testing and discussion as needed.

I thought I'd mention: I'm using DBManager for its TopoViewer plugin.
Not sure where would that belong (does browser support plugins?)

--strk;
___
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] DB Manager crash in master

2020-09-24 Thread Paolo Cavallini
Fine, thanks a lot Alessandro. I use DB Manager quite extensively, both
for training and for real work, so probably I can offer a reasonable
user POV; I'm available for testing and discussion as needed.
Cheers.

Il 24/09/20 16:02, Alessandro Pasotti ha scritto:
> On Thu, Sep 24, 2020 at 3:40 PM Paolo Cavallini  wrote:
>>
>> Hi Ale,
>> I see in the ticket it is taken for granted that DB Manager is endo of
>> life.
> 
> Don't worry, it will be maintained until we get feature parity.
> 
>> IMHO there is a considerable number of functions without which
>> users will suffer. I believe it would be good to have a minimum set of
>> functions to be ported, and a roadmap for it. Perhaps a QEP would be
>> good here.
> 
> It was discussed several times during the last years, but here is at least 
> one:
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/171
> 
> Then we have n. 3 here:
> http://blog.qgis.org/2020/02/23/reports-from-the-winning-grant-proposals-2019/
> 
> There is no roadmap because the work is long but here is a list of DB
> manager features that are already available today in QGIS master in
> the browser tree context menus:
> 
> - create a new schema
> - delete a schema
> - rename a schema
> - create a new table/layer
> - rename table/layer
> - delete a table/layer
> - truncate a table/layer
> - refresh a materialized view
> - list fields for a table/view
> - add a new field
> - delete a field
> 
> Also, some parts of DB-manager are using the new core QGIS connections
> API instead of relying on Python packages, this is another important
> step for the porting to C++.
> 
> Kind regards.
> 
> 
>> Cheers.
>>
>> Il 24/09/20 08:53, Alessandro Pasotti ha scritto:
>>> On Thu, Sep 24, 2020 at 8:50 AM Paolo Cavallini  
>>> wrote:

 it looks like, thanks.
 maybe it is worth the while to discuss about the future of integration
 pg-qgis?
>>>
>>> Which is what?
>>>
>>> This bug is about PyQGIS bindings in general and it is probably
>>> upstream in SIP, it's not related  to PG or DB-manager.
>>>
>>>
 cheers.

 Il 24/09/20 08:49, Alessandro Pasotti ha scritto:
> On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  
> wrote:
>>
>> Hi all,
>> I just compiled master, to test the patch on DB Manager from yesterday,
>> but now qgis crashes systematically when I try to open a connection from
>> DB Manager. No problem when opening from the browser.
>> Does anyone confirm, or is it a local effect?
>
> Hi Paolo,
>
> You may be hitting this unresolved bug:
> https://github.com/qgis/QGIS/issues/38393
>
>

 --
 Paolo Cavallini
 www.faunalia.eu - QGIS.org
 training, support, development on QGIS, PostGIS and more
>>>
>>>
>>>
>>
>> --
>> Paolo Cavallini
>> www.faunalia.eu - QGIS.org
>> training, support, development on QGIS, PostGIS and more
>> ___
>> 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
> 
> 
> 

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
___
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] DB Manager crash in master

2020-09-24 Thread Alessandro Pasotti
On Thu, Sep 24, 2020 at 3:40 PM Paolo Cavallini  wrote:
>
> Hi Ale,
> I see in the ticket it is taken for granted that DB Manager is endo of
> life.

Don't worry, it will be maintained until we get feature parity.

> IMHO there is a considerable number of functions without which
> users will suffer. I believe it would be good to have a minimum set of
> functions to be ported, and a roadmap for it. Perhaps a QEP would be
> good here.

It was discussed several times during the last years, but here is at least one:
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/171

Then we have n. 3 here:
http://blog.qgis.org/2020/02/23/reports-from-the-winning-grant-proposals-2019/

There is no roadmap because the work is long but here is a list of DB
manager features that are already available today in QGIS master in
the browser tree context menus:

- create a new schema
- delete a schema
- rename a schema
- create a new table/layer
- rename table/layer
- delete a table/layer
- truncate a table/layer
- refresh a materialized view
- list fields for a table/view
- add a new field
- delete a field

Also, some parts of DB-manager are using the new core QGIS connections
API instead of relying on Python packages, this is another important
step for the porting to C++.

Kind regards.


> Cheers.
>
> Il 24/09/20 08:53, Alessandro Pasotti ha scritto:
> > On Thu, Sep 24, 2020 at 8:50 AM Paolo Cavallini  
> > wrote:
> >>
> >> it looks like, thanks.
> >> maybe it is worth the while to discuss about the future of integration
> >> pg-qgis?
> >
> > Which is what?
> >
> > This bug is about PyQGIS bindings in general and it is probably
> > upstream in SIP, it's not related  to PG or DB-manager.
> >
> >
> >> cheers.
> >>
> >> Il 24/09/20 08:49, Alessandro Pasotti ha scritto:
> >>> On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  
> >>> wrote:
> 
>  Hi all,
>  I just compiled master, to test the patch on DB Manager from yesterday,
>  but now qgis crashes systematically when I try to open a connection from
>  DB Manager. No problem when opening from the browser.
>  Does anyone confirm, or is it a local effect?
> >>>
> >>> Hi Paolo,
> >>>
> >>> You may be hitting this unresolved bug:
> >>> https://github.com/qgis/QGIS/issues/38393
> >>>
> >>>
> >>
> >> --
> >> Paolo Cavallini
> >> www.faunalia.eu - QGIS.org
> >> training, support, development on QGIS, PostGIS and more
> >
> >
> >
>
> --
> Paolo Cavallini
> www.faunalia.eu - QGIS.org
> training, support, development on QGIS, PostGIS and more
> ___
> 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



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
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] DB Manager crash in master

2020-09-24 Thread Paolo Cavallini
Hi Ale,
I see in the ticket it is taken for granted that DB Manager is endo of
life. IMHO there is a considerable number of functions without which
users will suffer. I believe it would be good to have a minimum set of
functions to be ported, and a roadmap for it. Perhaps a QEP would be
good here.
Cheers.

Il 24/09/20 08:53, Alessandro Pasotti ha scritto:
> On Thu, Sep 24, 2020 at 8:50 AM Paolo Cavallini  wrote:
>>
>> it looks like, thanks.
>> maybe it is worth the while to discuss about the future of integration
>> pg-qgis?
> 
> Which is what?
> 
> This bug is about PyQGIS bindings in general and it is probably
> upstream in SIP, it's not related  to PG or DB-manager.
> 
> 
>> cheers.
>>
>> Il 24/09/20 08:49, Alessandro Pasotti ha scritto:
>>> On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  
>>> wrote:

 Hi all,
 I just compiled master, to test the patch on DB Manager from yesterday,
 but now qgis crashes systematically when I try to open a connection from
 DB Manager. No problem when opening from the browser.
 Does anyone confirm, or is it a local effect?
>>>
>>> Hi Paolo,
>>>
>>> You may be hitting this unresolved bug:
>>> https://github.com/qgis/QGIS/issues/38393
>>>
>>>
>>
>> --
>> Paolo Cavallini
>> www.faunalia.eu - QGIS.org
>> training, support, development on QGIS, PostGIS and more
> 
> 
> 

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
___
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] (QGIS 2020 Grant Report) QGIS MacOS Package Improvements

2020-09-24 Thread Peter Petrik
Hi PSC, devs,

I want to announce a detailed report for MacOS packages described in
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/177

We have addressed the tasks from the proposal except the notarization
process. We underestimated the work to be done in the grant and therefore
we spent all time (and much more) to address critical bugs in projection,
grass, saga, gdal, python and other parts of the MacOS packages. It looks
like the internal testing and tests by power users are becoming finally
positive, so I hope QGIS 3.16 MacOS package will be really stable and
useful. We added the note to the QGIS.org webpage about the workaround for
notarization for now.

The work resulted in these improvements for users coming in QGIS 3.16 MacOS
Packages:
 - Refactored and finalized the QGIS-Mac-Packager to work without homebrew
dependencies.
 - Update to GDAL3, PROJ6, GRASS 7.8.2
 - Fix Grass, Saga, GDAL providers loading
 - Fix the bundle relocation. User would be able to move the installed QGIS
bundle to an alternative location (e.g. ~/Applications instead of root
/Application folder)
 - Fix issues related to _iconv library symbols when running GDAL
processing or other
 - Add QtDesigner executable into bundle, so users would be able to design
QGIS forms
- Inclusion of pip in the bundled python environment so users could easily
install additional Python packages into the bundled Python environment

On top of the grant tasks, we have added to the all-in-one bundle
 - qgis_process
 - qgis_mapserver (QGIS server)

The QGIS nightly builds are from today (
qgis_nightly_master_20200924_035824.dmg
)
based
on the qgis-deps, as described in the grant proposal. Also QGIS 3.16 PR
will be released with this new system, so please test the nightly builds
and report any issues in the QGIS bug tracker, so we can address them
before the official release date.

Kind regards,
Peter
___
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] numeric values in text edit widget (forms)

2020-09-24 Thread Alessandro Pasotti
On Thu, Sep 24, 2020 at 12:01 PM Thomas Schüttenberg  wrote:
>
> Hi!
>
> I just realized that numeric values (from a PostGIS table) are not displayed 
> by a text edit widget in an attribute form, everything that is instead shown 
> is 0 [zero].
>
> I switched from the default range widget to text edit widget, because I just 
> want to show the attributes, read only, and this way it looks nicer to me. 
> (BTW, the min/max values of the randfe widget are quite tremendous, see 
> https://github.com/qgis/QGIS/issues/24725)
>
> To me this seems to be a bug and I suspect it to be related to localization 
> (de_DE) issues which are themselves numerous. Therefore I wanted to check if 
> anybody here knows an already existing/open bug report on this, because I did 
> not find something exactly fitting. - Otherwise I will file a new one.

Please file a new ticket, can you also check if with en_US locale the
issue is still there?


>
> I tested on Windows with QGIS 3.4.12, 3.10.9 and 3.14.1.
>
> Cheers
> Thomas
> ___
> 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



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
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] numeric values in text edit widget (forms)

2020-09-24 Thread Thomas Schüttenberg
Hi!

I just realized that numeric values (from a PostGIS table) are not displayed by 
a text edit widget in an attribute form, everything that is instead shown is 0 
[zero]. 

I switched from the default range widget to text edit widget, because I just 
want to show the attributes, read only, and this way it looks nicer to me. 
(BTW, the min/max values of the randfe widget are quite tremendous, see 
https://github.com/qgis/QGIS/issues/24725)

To me this seems to be a bug and I suspect it to be related to localization 
(de_DE) issues which are themselves numerous. Therefore I wanted to check if 
anybody here knows an already existing/open bug report on this, because I did 
not find something exactly fitting. - Otherwise I will file a new one.

I tested on Windows with QGIS 3.4.12, 3.10.9 and 3.14.1.

Cheers
Thomas
___
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] Heads-up: PyQt6 removes pyrcc

2020-09-24 Thread Richard Duivenvoorde
Hi Nyall and python devs,

I had to lookup what pyrcc was doing, because apparently I did not use it 
anymore...

I think this is the most clear:
https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/pyrcc.html

It is/was a way to bundle several resources (images etc) into ONE (in our case 
python) file.

According to the "discussion on the PyQt list", there is actually not so much 
benefit for python (for C++ it is) and it is just easier to load images itself 
in a python way (and create QIcons with the image directly instead of using a 
'resource path'), see link above about how.

Thanks Nyall for looking into the future :-)

Regards,

Richard Duivenvoorde

PS I create a Feature Request in Plugin Builder plugin to remove pyrcc in 
future, as in my experience a lot of people start of their first plugin with 
the Plugin Builder, and it is/was actually using pyrcc.


On 9/24/20 12:24 AM, Nyall Dawson wrote:
> Hi list,
> 
> Just a quick heads up that PyQt6 is REMOVING the pyrcc tool (see
> download page at
> https://riverbankcomputing.com/software/pyqt/download).
> 
> While this will take some time to impact QGIS, if you're a plugin
> developer and still using this legacy tool then it's something to be
> aware of, and start adapting for!
> 
> You can (and should!) already remove the use of this tool from your
> plugins. There's better approaches to achieve everything that the tool
> used to do, and moving to these will make your plugins more portable
> and easier to develop.
> 
> More related discussion on the PyQt list:
> https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043209.html
___
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] DB Manager crash in master

2020-09-24 Thread Alessandro Pasotti
On Thu, Sep 24, 2020 at 8:50 AM Paolo Cavallini  wrote:
>
> it looks like, thanks.
> maybe it is worth the while to discuss about the future of integration
> pg-qgis?

Which is what?

This bug is about PyQGIS bindings in general and it is probably
upstream in SIP, it's not related  to PG or DB-manager.


> cheers.
>
> Il 24/09/20 08:49, Alessandro Pasotti ha scritto:
> > On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  
> > wrote:
> >>
> >> Hi all,
> >> I just compiled master, to test the patch on DB Manager from yesterday,
> >> but now qgis crashes systematically when I try to open a connection from
> >> DB Manager. No problem when opening from the browser.
> >> Does anyone confirm, or is it a local effect?
> >
> > Hi Paolo,
> >
> > You may be hitting this unresolved bug:
> > https://github.com/qgis/QGIS/issues/38393
> >
> >
>
> --
> Paolo Cavallini
> www.faunalia.eu - QGIS.org
> training, support, development on QGIS, PostGIS and more



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
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] DB Manager crash in master

2020-09-24 Thread Paolo Cavallini
it looks like, thanks.
maybe it is worth the while to discuss about the future of integration
pg-qgis?
cheers.

Il 24/09/20 08:49, Alessandro Pasotti ha scritto:
> On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  wrote:
>>
>> Hi all,
>> I just compiled master, to test the patch on DB Manager from yesterday,
>> but now qgis crashes systematically when I try to open a connection from
>> DB Manager. No problem when opening from the browser.
>> Does anyone confirm, or is it a local effect?
> 
> Hi Paolo,
> 
> You may be hitting this unresolved bug:
> https://github.com/qgis/QGIS/issues/38393
> 
> 

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
___
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] DB Manager crash in master

2020-09-24 Thread Alessandro Pasotti
On Thu, Sep 24, 2020 at 8:10 AM Paolo Cavallini  wrote:
>
> Hi all,
> I just compiled master, to test the patch on DB Manager from yesterday,
> but now qgis crashes systematically when I try to open a connection from
> DB Manager. No problem when opening from the browser.
> Does anyone confirm, or is it a local effect?

Hi Paolo,

You may be hitting this unresolved bug:
https://github.com/qgis/QGIS/issues/38393


-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
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] DB Manager crash in master

2020-09-24 Thread Paolo Cavallini
Hi all,
I just compiled master, to test the patch on DB Manager from yesterday,
but now qgis crashes systematically when I try to open a connection from
DB Manager. No problem when opening from the browser.
Does anyone confirm, or is it a local effect?
Thanks.
-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more
___
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