<div dir="ltr"><div>Andreas,<br><br>Would you mind using the hub for bug reporting?</div><div><br></div><div>Also, please add all possible details, as I said, I cannot reproduce this (and I've run  literaly hundreds of manual tests on authentication lately).</div><div> <br></div><div><br></div>Thanks<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 2, 2017 at 3:18 PM, Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Alessandro,</p>
<p>Already at the start of QGIS I get two times the error message:</p>
<p>WARNING: Auth db query exec() FAILED</p>
<p>WARNING: Auth db query exec() FAILED</p>
<p>This happens during startup of QGIS without any user interaction.</p>
<p>I had a look at the permissions of $HOME/.qgis3/qgis-auth.db - and they seem fine to me.</p>
<p>Perhaps, if I/we can fix this, the other subsequent error message go away as well?</p>
<p>Thanks,</p>
<p>Andreas</p><div><div class="h5">
<p><br></p>
<p>On 2017-11-02 15:04, Alessandro Pasotti wrote:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div dir="ltr">On Thu, Nov 2, 2017 at 2:54 PM, Andreas Neumann <span><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Alessandro,</p>
<p>Thank you for your reply.</p>
<p>I don't know what I need to do to fix the auth-db issues. I keep getting tons of error messages like </p>
<p>Auth DB query exec failed()</p>
<p>for existing connections.</p>
<p>This is for access through the GUI, not through Python.</p>
<p>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.</p>
<p>Does this mean that my auth-db is corrupt and that I need to remove it and create a new one?</p>
</div>
</blockquote>
<div> </div>
<div> </div>
<div>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).</div>
<div> </div>
<div>I suggest you to file a bug report with some more details that can help to reproduce the issue.</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Thanks for your reply,</p>
<p>Andreas</p>
<div>
<div class="m_-4942675094085659162h5">
<p>On 2017-11-02 14:38, Alessandro Pasotti wrote:</p>
<blockquote style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div dir="ltr"><br>
<div class="gmail_extra">On Thu, Nov 2, 2017 at 2:19 PM, Andreas Neumann <span><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Same for me. Very annoying.</p>
<p>Bernhard please file a ticket and assign it to Alessandro or Luigi.</p>
<p>Thanks,</p>
</div>
</blockquote>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Andreas</p>
</div>
</blockquote>
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">
<p><br></p>
<p>Hi,</p>
</div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">the API has changed and the singleton has been removed.</div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5"> </div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">Auth manager instance is now accessible through the QgsApplication as QgsApplication.authManager()</div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5"> </div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">Please file a ticket for filling the API break document that the lazy coder forgot to do (blame on him!).</div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5"> </div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">btw, the lazy coder did not forget to fill the API break document for the `get` removal, see</div>
<div class="m_-4942675094085659162m_3272199223638964148gmail-h5">
<p><a href="https://qgis.org/api/api_break.html#qgis_api_break_3_0_QgsAuthManager" rel="noopener noreferrer" target="_blank">https://qgis.org/api/api_break<wbr>.html#qgis_api_break_3_0_QgsAu<wbr>thManager</a></p>
<p><br></p>
<p>On 2017-11-02 14:05, Bernhard Ströbl wrote:</p>
<blockquote style="padding:0px 0.4em;border-left:2px solid #1010ff;margin:0px">
<div class="m_-4942675094085659162m_3272199223638964148gmail-m_-6385063204924078553pre" style="margin:0px;padding:0px;font-family:monospace"><span style="white-space:nowrap">Hi all,</span><br> <br> I cannot convince freshly compiled current master 1ffc3fd to save an authentication database.<br> Furthermore the Python access to QgsAuthManager via QgsAuthManager.instance() seems broken, too:<br> <span style="white-space:nowrap">"type object 'QgsAuthManager' <wbr>has no attribute 'instance'"</span><br> <br> <span style="white-space:nowrap">Both already worked in a forme<wbr>r version (compiled about 2 we<wbr>eks ago)</span><br> <br> <span style="white-space:nowrap">any hints?</span><br> <span style="white-space:nowrap">shall I file tickets?</span><br> <br> regards<br> Bernhard<br> <br> <br> <span style="white-space:nowrap">__________ Information from ES<wbr>ET Mail Security, version of v<wbr>irus signature database 16343 <wbr>(20171102) __________</span><br> <br> <span style="white-space:nowrap">The message was checked by ESE<wbr>T Mail Security.</span><br> <span style="white-space:nowrap"><a href="http://www.eset.com" rel="noopener noreferrer" target="_blank">http://www.eset.com</a></span><br> <br> <br> ______________________________<wbr>_________________<br> <span style="white-space:nowrap">QGIS-Developer mailing list</span><br> <span style="white-space:nowrap"><a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a></span><br> <span style="white-space:nowrap">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noopener noreferrer" target="_blank">https://lists.osgeo<wbr>.org/mailman/listinfo/qgis-dev<wbr>eloper</a></span><br> <span style="white-space:nowrap">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noopener noreferrer" target="_blank">https://lists.osg<wbr>eo.org/mailman/listinfo/qgis-d<wbr>eveloper</a></span></div>
</blockquote>
<p><br></p>
</div>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex"><br>______________________________<wbr>_________________<br> QGIS-Developer mailing list<br> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a></blockquote>
</div>
<br><br clear="all"><br>-- <br>
<div class="m_-4942675094085659162m_3272199223638964148gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" rel="noopener noreferrer" target="_blank">www.itopen.it</a></div>
</div>
</div>
</blockquote>
<p><br></p>
</div>
</div>
</div>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>
<div class="m_-4942675094085659162gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" rel="noopener noreferrer" target="_blank">www.itopen.it</a></div>
</div>
</div>
</blockquote>
<p><br></p>

</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>