[QGIS-Developer] Authentication seems broken in master
Andreas Neumann
a.neumann at carto.net
Thu Nov 2 07:18:17 PDT 2017
Hi Alessandro,
Already at the start of QGIS I get two times the error message:
WARNING: Auth db query exec() FAILED
WARNING: Auth db query exec() FAILED
This happens during startup of QGIS without any user interaction.
I had a look at the permissions of $HOME/.qgis3/qgis-auth.db - and they
seem fine to me.
Perhaps, if I/we can fix this, the other subsequent error message go
away as well?
Thanks,
Andreas
On 2017-11-02 15:04, Alessandro Pasotti wrote:
> On Thu, Nov 2, 2017 at 2:54 PM, Andreas Neumann <a.neumann at carto.net> wrote:
>
>> Hi Alessandro,
>>
>> Thank you for your reply.
>>
>> I don't know what I need to do to fix the auth-db issues. I keep getting tons of error messages like
>>
>> Auth DB query exec failed()
>>
>> for existing connections.
>>
>> This is for access through the GUI, not through Python.
>>
>> Also, when I try to create a new auth config entry, it doesn't know my master password anymore and can't create a new one. Pretty broken currently.
>>
>> Does this mean that my auth-db is corrupt and that I need to remove it and create a new one?
>
> I've honestly no idea: it is not broken for me, I'm using the auth manager right now on master with no issues and the authmanager tests are all green (and there are quite a few).
>
> I suggest you to file a bug report with some more details that can help to reproduce the issue.
>
> Thanks!
>
> Thanks for your reply,
>
> Andreas
>
> On 2017-11-02 14:38, Alessandro Pasotti wrote:
>
> On Thu, Nov 2, 2017 at 2:19 PM, Andreas Neumann <a.neumann at carto.net> wrote:
>
> Same for me. Very annoying.
>
> Bernhard please file a ticket and assign it to Alessandro or Luigi.
>
> Thanks,
>
> Andreas
>
> Hi,
> the API has changed and the singleton has been removed.
>
> Auth manager instance is now accessible through the QgsApplication as QgsApplication.authManager()
>
> Please file a ticket for filling the API break document that the lazy coder forgot to do (blame on him!).
>
> btw, the lazy coder did not forget to fill the API break document for the `get` removal, see
>
> https://qgis.org/api/api_break.html#qgis_api_break_3_0_QgsAuthManager [1]
>
> On 2017-11-02 14:05, Bernhard Ströbl wrote:
> Hi all,
>
> I cannot convince freshly compiled current master 1ffc3fd to save an authentication database.
> Furthermore the Python access to QgsAuthManager via QgsAuthManager.instance() seems broken, too:
> "type object 'QgsAuthManager' has no attribute 'instance'"
>
> Both already worked in a former version (compiled about 2 weeks ago)
>
> any hints?
> shall I file tickets?
>
> regards
> Bernhard
>
> __________ Information from ESET Mail Security, version of virus signature database 16343 (20171102) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer [2]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer [2]
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer [2]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer [2]
>
> --
> Alessandro Pasotti
> w3: www.itopen.it [3]
--
Alessandro Pasotti
w3: www.itopen.it [3]
Links:
------
[1]
https://qgis.org/api/api_break.html#qgis_api_break_3_0_QgsAuthManager
[2] https://lists.osgeo.org/mailman/listinfo/qgis-developer
[3] http://www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171102/7cc7f838/attachment.html>
More information about the QGIS-Developer
mailing list