index error in pyqtconfig with QListWidget

Axel Rau Axel.Rau at Chaos1.DE
Tue Jul 20 20:11:28 BST 2021

I’m getting
  File "/Users/ajr/Projects/NET/zad/zad/views/", line 178, in setup
    sc.add_handler("gen/ignored_nets", sd.ignoredListWidget)
  File "/usr/local/py_env/zad/lib/python3.9/site-packages/pyqtconfig/", line 877, in add_handler
  File "/usr/local/py_env/zad/lib/python3.9/site-packages/pyqtconfig/", line 428, in _set_QListWidget
IndexError: list index out of range
This happens if the list corresponding to the QListWidget is not empty.
I’m using pyqtconfig.QSettingsManager() and do not touch the QListWidget.
Instead I modify the settings by replacing the complete list with a modified (per GUI) one.

Did anybody succeed with pyqtconfig and lists?

Any help appreciated,
PGP-Key: CDE74120  ☀  computing @ chaos claudius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <>

More information about the PyQt mailing list