millsapjohn / qgis_paramhist

QGIS plugin to easily view past processing algorithm parameters
GNU General Public License v3.0
0 stars 0 forks source link

Couldn't load plugin 'ParamHist' due to an error when calling its classFactory() method #1

Open sivansakthi opened 6 days ago

sivansakthi commented 6 days ago

Couldn't load plugin 'ParamHist' due to an error when calling its classFactory() method

IndexError: child index out of range Traceback (most recent call last): File "C:\PROGRA~1/QGIS33~4.3/apps/qgis/./python\qgis\utils.py", line 426, in _startPlugin plugins[packageName] = package.classFactory(iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/sivansakthi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ParamHist__init.py", line 4, in classFactory return ParamHistPlugin(iface) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/sivansakthi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ParamHist\paramhist.py", line 18, in init__ self.parsed_history = parseHistory(self.raw_history) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/sivansakthi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ParamHist\hist_connect.py", line 94, in parseHistory for child in root[2][3]:


IndexError: child index out of range
millsapjohn commented 6 days ago

Thanks for posting. Does the file "C:\Users\sivansakthi\AppData\Roaming\QGIS\QGIS3\profiles\default\user-history.db" exist on your machine? If so, could you attach that file so I can take a look?

sivansakthi commented 5 days ago

user-history.zip Here is the file

millsapjohn commented 19 hours ago

fixed in #c12a400 - you should see the update in the Plugin Manager in a day or two.