[Qgis-user] QGIS 3.4.12 python error on open plugins list manager
Walter Lorenzetti
lorenzetti at gis3w.it
Fri Sep 27 03:56:18 PDT 2019
I try to clear QGIS3.ini file form custom settings and clear python
profile folder, but Now I otain this:
Si è verificato un errore durante l'esecuzione delle istruzioni
seguenti: pyplugin_installer.instance().showPluginManagerWhenReady()
Traceback (most recent call last): File "", line 1, in File
"/usr/share/qgis/python/pyplugin_installer/installer.py", line 252, in
showPluginManagerWhenReady
self.fetchAvailablePlugins(reloadMode=False) File
"/usr/share/qgis/python/pyplugin_installer/installer.py", line 120, in
fetchAvailablePlugins repositories.requestFetching(key) File
"/usr/share/qgis/python/pyplugin_installer/installer_data.py", line 325,
in requestFetching
self.mRepositories[key]["QRequest"].setAttribute(QNetworkRequest.FollowRedirectsAttribute,
True) AttributeError: type object 'QNetworkRequest' has no attribute
'FollowRedirectsAttribute'
Versione Python: 3.5.2 (default, Jul 10 2019, 11:58:48) [GCC 5.4.0 20160609]
I tried to create a new profile but same error.
I'll try to reinstall qgis
W
Il 27/09/19 11:02, Borys Jurgiel ha scritto:
> The debug output doesn't want to help, indeed...
>
> Could you try to start a new fresh user profile? It would eliminate two
> possible causes: all the user settings (especially the QGIS3.ini file) and all
> user-installed Python stuff from
> ~/.local/share/QGIS/QGIS3/profiles/default/python
>
> Borys
>
>
> Dnia piątek, 27 września 2019 09:10:42 CEST Walter Lorenzetti pisze:
>> Hi Borys,
>>
>> it's strange because Python Console working normally, also current
>> plugins installed.
>>
>> I haven't many installed plugins, only DBManager and Quickmpaservices..
>>
>> Running QGIS by shell, on bootstrap I obtain this:
>>
>> Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already
>> tracking action "Search QMS" under id 288
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>> Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const
>> QStringList&) const: Condition failed: action
>>
>> and on opening plugins manager window this:
>>
>> "<font color=\"red\">Si è verificato un errore durante l'esecuzione
>> delle istruzioni
>> seguenti:<br><tt>pyplugin_installer.instance().showPluginManagerWhenReady()<
>> /tt></font><br><pre><br>traceback.print_exception() failed<br></pre>Versione
>> Python:<br><br><br>Versione di
>> QGIS:<br>3.4.12-Madeira 'Madeira', 625767347a<br><br>Percorso Python:<br>"
>>
>> W
>>
>> Il 26/09/19 19:59, Borys Jurgiel ha scritto:
>>> Not really, except something wrong happens in Python.
>>>
>>> The plugin manager window is C++ itself, however, when you click to open
>>> it, it calls that Python function from your first error message to fetch
>>> Python plugins from the repository. When the plugin list is ready, Python
>>> calls back the C++ API to open the window.
>>>
>>> Apparently something bad happens in Python when it tries to fetch new
>>> plugins. Are Python plugins generally work for you (hopefully you had
>>> some enabled, at least Processing or DB Manager)? Does the
>>> Plugins->Python console seem to work? Another idea is maybe running QGIS
>>> from the command line would give some debug messages.
>>>
>>> Borys
>>>
>>> Dnia czwartek, 26 września 2019 15:46:12 CEST Walter Lorenzetti pisze:
>>>> Hi list,
>>>>
>>>> I'm on QGIS 3.4.12 on Ubuntu desktop, today on opening the list plugins
>>>> window manager, I obtain the seguent error:
>>>>
>>>> pyplugin_installer.instance().showPluginManagerWhenReady()
>>>>
>>>> traceback.print_exception() failed
>>>>
>>>> Any idea about it?
>>>>
>>>> Thanks in adavance.
>>>>
>>>> W
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
--
Walter Lorenzetti phD email: lorenzetti at gis3w.it skype: aiki74
twitter:w_lorenzetti <https://twitter.com/w_lorenzetti> g+:aiki74
<https://plus.google.com/117055903318462447104/> Tel/Cell: (+39)
347-6597931 Viale Verdi 24 - 51016 Montecatini Terme (PT) Nuovi corsi
QGIS e GFOSS <http://gis3w.it/it/calendario-corsi-software-geografici>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190927/d427639c/attachment-0001.html>
More information about the Qgis-user
mailing list