QTodoTxt / QTodoTxt2

Rewrite of GUI code of QTodoTxt using qml.
http://qtodotxt.org
174 stars 34 forks source link

crash: IndexError: string index out of range #154

Open luntik2012 opened 1 year ago

luntik2012 commented 1 year ago

task content rec: 1w

error:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/qtodotxt2/lib/tasklib.py", line 156, in text
    self._parse(txt)
  File "/usr/lib/python3.10/site-packages/qtodotxt2/lib/tasklib.py", line 147, in _parse
    self._parseWord(word)
  File "/usr/lib/python3.10/site-packages/qtodotxt2/lib/tasklib.py", line 193, in _parseWord
    self._parseKeyword(word)
  File "/usr/lib/python3.10/site-packages/qtodotxt2/lib/tasklib.py", line 206, in _parseKeyword
    self._parseRecurrence(word)
  File "/usr/lib/python3.10/site-packages/qtodotxt2/lib/tasklib.py", line 219, in _parseRecurrence
    if word[4] == '+':
IndexError: string index out of range
fish: Job 1, 'qtodotxt2' terminated by signal SIGABRT (Abort)

app version: 20220704-1 (AUR)