applet crashes on 'teach me'>'word list order and filters'
Bug #1354548 reported by
SnTahmaz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenTeacher |
Fix Released
|
Medium
|
Marten de Vries |
Bug Description
it doesn't work when i select something in 'word list order and filters' (except random).
tags: | added: words |
To post a comment you must log in.
Thanks for your bug report. Sorry for getting back to you only now. You indeed found a valid bug. The traceback is:
CRITICAL: qt:Traceback (most recent call last): org/openteacher /interfaces/ qt/teachers/ words/words. py", line 196, in _startLesson org/openteacher /logic/ listModifiers/ hardWords/ hardWords. py", line 38, in modifyList self._isHardWor d, indexes) org/openteacher /logic/ listModifiers/ hardWords/ hardWords. py", line 43, in _isHardWord r(self. _list[" items"] [index] ) org/openteacher /logic/ listModifiers/ hardWords/ hardWords. py", line 59, in _resultsFor org/openteacher /logic/ listModifiers/ hardWords/ hardWords. py", line 59, in <lambda>
File "modules/
indexes = modifyList(indexes, self.lesson.list)
File "modules/
newIndexes = filter(
File "modules/
results = self._resultsFo
File "modules/
return filter(lambda result: result["itemId"] == word["id"], results)
File "modules/
return filter(lambda result: result["itemId"] == word["id"], results)
TypeError: string indices must be integers, not str
Fatal Python error: Aborted