[Qgis-user] Python error upon loading and in every project

David Addy davesgrandad at gmail.com
Sun Oct 10 01:49:58 PDT 2021


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\Sc
riptAlgorithmProvider.py", line 112, in loadAlgorithms
    folder = ScriptUtils.resetScriptFolder(folder)
  File
"C:\PROGRA~1/QGIS31~1.11/apps/qgis-ltr/./python/plugins\processing\script\Sc
riptUtils.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\To
mBio

*                     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\Di
gitizingTools\tools

*
C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Di
gitizingTools

*
C:\Users/daves/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qg
is_resource_sharing

*
C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qg
is_resource_sharing

C:\Users\daves\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qg
is_resource_sharing\ext_libs

 

 

============================================================================
==

LOG

 

2021-09-28T16:15:33     WARNING    dir =
C:/Users/daves/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/Di
gitizingTools

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

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211010/a76db621/attachment-0001.html>


More information about the Qgis-user mailing list