[Qgis-user] Python error upon loading and in every project
Stefan Giese (WhereGroup)
stefan.giese at wheregroup.com
Sun Oct 10 01:56:02 PDT 2021
I suppose that your profile is corrupted by a plugin obviously by
qgis_resource_sharing
You can start with a new profile or you can try to delete the plugin
directly from your profile path:
Go to the folder:
C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins
and delete the subfolder
qgis_resource_sharing
Am 10.10.2021 um 10:49 schrieb David Addy:
>
> I have not needed to consult the QGIS users Mailing List for some
> time, but after changing my computer I had an issue with loading
> 3.16.11 to the new machine. Upon opening an existing project QGIS
> omitted to display the thumbnails of recent projects and flagged an
> issue with Python. If anyone can throw any light on how to fix this I
> would be very grateful.
>
> Python Error an error has occurred while executing Python Code. See
> message log for details.
>
> ==========================================================
>
> STACK LIST
>
> *IndexError: list index out of range *
>
> Traceback (most recent call last):
> File
> "C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\script\ScriptAlgorithmProvider.py",
> line 112, in loadAlgorithms
> folder = ScriptUtils.resetScriptFolder(folder)
> File
> "C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\script\ScriptUtils.py",
> line 114, in resetScriptFolder
> commonSettingPath = os.path.join(paths[appIndex], paths[profileIndex])
> IndexError: list index out of range
>
>
> *Python version:* 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52)
> [MSC v.1928 64 bit (AMD64)]
> *QGIS version:* 3.16.11-Hannover Hannover, 26cc1c76
>
> *Python Path:***
>
> ·C:\Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TomBio
>
> ·C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python
>
> ·C:/Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python
>
> ·C:/Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
>
> ·C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins
>
> ·C:\Program Files\QGIS 3.16.11\bin\python39.zip
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\DLLs
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\lib
>
> ·C:\Program Files\QGIS 3.16.11\bin
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\lib\site-packages
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\lib\site-packages\win32
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\lib\site-packages\win32\lib
>
> ·C:\PROGRA~1\QGIS31~1.11\apps\Python39\lib\site-packages\Pythonwin
>
> ·C:/Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python
>
> ·C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
>
> ·C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools
>
> ·C:\Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_resource_sharing
>
> ·C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing
>
> C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing\ext_libs
>
> ==============================================================================
>
> LOG
>
> 2021-09-28T16:15:33 WARNING dir =
> C:/Users/daves/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools
>
> 2021-09-28T16:15:40 INFO Application state:
> QGIS_PREFIX_PATH env var:
> C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr
> Prefix: C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr
> Plugin Path: C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/plugins
> Package Data Path: C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/.
> Active Theme Name: default
> Active Theme Path:
> C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./resources/themes\default\icons/
> Default Theme Path: :/images/themes/default/
> SVG Search Paths:
> C:/Users/DJAddy/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/
> D:/My Pictures/QGIS Projects/Mapbox svg
> icons/mapbox-maki-6.2.0-0-ga6d16d4
> C:/PROGRA~1/QGIS3~1.10/apps/qgis/./svg/
> C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./svg/
> C:/PROGRA~1/QGIS3~1.16/apps/qgis/./svg/
> C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./svg/
> C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./svg/
> C:/Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/
> User DB Path:
> C:/PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./resources/qgis.db
> Auth DB Path:
> C:/Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/qgis-auth.db
>
>
> _______________________________________________
> 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
--
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
------------------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Webinare und Online-Schulungen
bei der www.foss-academy.com
------------------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany
Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11
stefan.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211010/2b40cb0a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211010/2b40cb0a/attachment.sig>
More information about the Qgis-user
mailing list