<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 9/17/19 4:05 PM, Alessandro Pasotti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL5Q6731=8aSNXfs_Se4LHvwk7zEXFcE43X3OOPhXv6pnhETBg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Sep 17, 2019 at 3:59
PM Sandro Santilli <<a href="mailto:strk@kbt.io"
moz-do-not-send="true">strk@kbt.io</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">While chasing a [crash at
startup](<a href="https://github.com/qgis/QGIS/issues/31350"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/qgis/QGIS/issues/31350</a>)<br>
I found that the --noplugins commandline switch does not
prevent QGIS<br>
from loading provider plugins from the plugins directory.<br>
<br>
This mail is to ask if you think it should skip those
plugins as well.<br>
<br>
In my case a set of old/invalid plugins resulted in such
crash.<br>
<br>
So, what do you think, should I enhance --noplugins to skip
those<br>
loads as well ?<br>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>I think that the root of the confusion is that we call
"plugins" three different objects:</div>
<div>- python plugins</div>
<div>- data providers</div>
<div>- C++ plugins</div>
<div><br>
</div>
<div>I think that --noplugins should only skip python (and
C++?) plugins and frankly I don't see a use case for not
loading data providers.<br>
</div>
</div>
</div>
</blockquote>
<p>Agreed.</p>
<p>QGIS is still pretty powerful without plugins. Whereas QGIS is
pretty much useless without providers.</p>
<p>Broken plugins are quite common. Broken providers something that
only ever happens on a few dev machines.<br>
</p>
<p>I think disabling providers would turn something that is
currently a last resort backup plan into a "break my QGIS
completely" option.<br>
</p>
<p>If anything, a --noproviders option could be added, but I wonder
if it's really worth the effort.</p>
<p>Best regards<br>
Matthias<br>
</p>
</body>
</html>