Re: [QGIS-Developer] QGIS disables plugin on loading problem

2020-12-08 Thread Alister Hood
I know the thread's a few days old now, but maybe it's worth mentioning
that I see the opposite problem - i.e. plugins loading when they are
supposed to be disabled.

For example, I think it is QAD that loads (toolbars and all), even if it is
disabled in the plugin manager.

There are other plugins that do the same thing, and it is particularly
annoying if they are and producing errors for whatever reason.  QGIS
continues to try to load them at every startup - it doesn't seem possible
to disable them, only to uninstall them.

At least some plugins (crayfish I think was the one where I noticed it)
produce errors if they are installed but not supported by your QGIS
version, even though they don't claim to be supported.  i.e. crayfish (I
think) claims to require QGIS 3.13, but if you have it installed and you
start QGIS 3.12 for some reason that still tries to load crayfish, and
produces an error.  Surely QGIS should ignore the plugin if it doesn't
claim to be compatible it, or at most show a notification about it,
instead  of erroring

These behaviours make me think there is something wrong with the way QGIS
loads plugins, but may they are normal.  Do they indicate problems with the
plugin, not with QGIS?

Regards,
Alister

Date: Thu, 3 Dec 2020 08:21:20 +0100
> From: Luca Manganelli 
> To: QGIS Developer List 
> Subject: [QGIS-Developer] QGIS disables plugin on loading problem
> Message-ID:
> <
> cagkduj1jjekgcqhrd13uy-hbpf9jnm8gyfervrcuzh5eusz...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> by default behavoiur, QGIS disables plugin when there's a loading problem
> with it.
>
> In a corporate environment, we have custom plugins that are loaded for a
> shared local network folder. If the network is down and one user loads
> QGIS, it disables the plugin loaded from the local network now and in the
> future.
>
> Is there any way to disable this behaviour? (QGIS 2 doesn't do 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] QGIS disables plugin on loading problem

2020-12-06 Thread Luca Manganelli
Il giorno ven 4 dic 2020 alle ore 11:10 uclaros  ha
scritto:
> I am doing the same thing with no issues by setting QGIS_PLUGINPATH to a
> shared network path. Users connect to the network via VPN and the plugin
is
> loaded automatically. If the VPN is down while QGIS is starting, the
plugin
> is not loaded, but connecting to the VPN and restarting QGIS brings
> everything to normal.

Strange. Not happening here: at following startups the plugin is never
re-enabled. I must re-enable it from the plugin list.
___
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] QGIS disables plugin on loading problem

2020-12-04 Thread uclaros
Hi,
I am doing the same thing with no issues by setting QGIS_PLUGINPATH to a
shared network path. Users connect to the network via VPN and the plugin is
loaded automatically. If the VPN is down while QGIS is starting, the plugin
is not loaded, but connecting to the VPN and restarting QGIS brings
everything to normal.




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.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] QGIS disables plugin on loading problem

2020-12-04 Thread Ismail Sunni
I guess it's like a watchdog to see which plugin that probably makes QGIS
crash. If there is a plugin like that, QGIS tries to help the user by
disabling it. CMIIW.

related PR: https://github.com/qgis/QGIS/pull/36603

On Fri, Dec 4, 2020 at 7:42 AM Luca Manganelli <
luca.mangane...@comune.trento.it> wrote:

> [bump]
>
> I've seen in the windows version of QGIS3.ini that in the [Plugins]
> section there are watchdogs:
>
> watchdog/PLUGINNAME=true or false
>
> what is the purpose of these watchdogs? There's no documentation about 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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
ismailsunni.wordpress.com
___
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] QGIS disables plugin on loading problem

2020-12-03 Thread Luca Manganelli
[bump]

I've seen in the windows version of QGIS3.ini that in the [Plugins] section
there are watchdogs:

watchdog/PLUGINNAME=true or false

what is the purpose of these watchdogs? There's no documentation about 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] QGIS disables plugin on loading problem

2020-12-02 Thread Luca Manganelli
Hello,

by default behavoiur, QGIS disables plugin when there's a loading problem
with it.

In a corporate environment, we have custom plugins that are loaded for a
shared local network folder. If the network is down and one user loads
QGIS, it disables the plugin loaded from the local network now and in the
future.

Is there any way to disable this behaviour? (QGIS 2 doesn't do 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