A right click in time field in search file condition generate a python script exception
Exception:
IndexError
Python 3.8.1: /usr/bin/python3
Sun Aug 28 19:28:47 2022
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/home/grum/.local/share/krita/pykrita/bulicommander/pktk/widgets/woperatorinput.py in __contextMenuEvent1(self=<bulicommander.pktk.widgets.woperatorinput.WOperatorInputTime object>, event=<PyQt5.QtGui.QContextMenuEvent object>)
350 def __contextMenuEvent1(self, event):
351 """Manage context menu event for input 1"""
352 self._contextMenuEvent(self._input1, event)
353
354 def __contextMenuEvent2(self, event):
self = <bulicommander.pktk.widgets.woperatorinput.WOperatorInputTime object>
self._contextMenuEvent = <bound method WOperatorBaseInput._contextMenuEve...idgets.woperatorinput.WOperatorInputTime object>>
self._input1 = <PyQt5.QtWidgets.QTimeEdit object>
event = <PyQt5.QtGui.QContextMenuEvent object>
/home/grum/.local/share/krita/pykrita/bulicommander/pktk/widgets/woperatorinput.py in _contextMenuEvent(self=<bulicommander.pktk.widgets.woperatorinput.WOperatorInputTime object>, input=<PyQt5.QtWidgets.QTimeEdit object>, event=<PyQt5.QtGui.QContextMenuEvent object>, display=True)
388 menu=QMenu()
389
390 fAction=menu.actions()[0]
391
392 if len(self.__predefinedConditions)==0 and display:
fAction undefined
menu = <PyQt5.QtWidgets.QMenu object>
menu.actions = <built-in method actions of QMenu object>
IndexError: list index out of range
__cause__ = None
__class__ = <class 'IndexError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of IndexError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of IndexError object>
__doc__ = 'Sequence index out of range.'
__eq__ = <method-wrapper '__eq__' of IndexError object>
__format__ = <built-in method __format__ of IndexError object>
__ge__ = <method-wrapper '__ge__' of IndexError object>
__getattribute__ = <method-wrapper '__getattribute__' of IndexError object>
__gt__ = <method-wrapper '__gt__' of IndexError object>
__hash__ = <method-wrapper '__hash__' of IndexError object>
__init__ = <method-wrapper '__init__' of IndexError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of IndexError object>
__lt__ = <method-wrapper '__lt__' of IndexError object>
__ne__ = <method-wrapper '__ne__' of IndexError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of IndexError object>
__reduce_ex__ = <built-in method __reduce_ex__ of IndexError object>
__repr__ = <method-wrapper '__repr__' of IndexError object>
__setattr__ = <method-wrapper '__setattr__' of IndexError object>
__setstate__ = <built-in method __setstate__ of IndexError object>
__sizeof__ = <built-in method __sizeof__ of IndexError object>
__str__ = <method-wrapper '__str__' of IndexError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('list index out of range',)
with_traceback = <built-in method with_traceback of IndexError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/home/grum/.local/share/krita/pykrita/bulicommander/pktk/widgets/woperatorinput.py", line 352, in __contextMenuEvent1
self._contextMenuEvent(self._input1, event)
File "/home/grum/.local/share/krita/pykrita/bulicommander/pktk/widgets/woperatorinput.py", line 390, in _contextMenuEvent
fAction=menu.actions()[0]
IndexError: list index out of range
A right click in time field in search file condition generate a python script exception
Exception: