Bug#1008496: fbless: exits with exception
Package: fbless
Version: 0.2.3-5
Severity: normal
Dear Maintainer,
sometimes fbless throws an exception.
This error is repeatedly occured at the same place inside a file.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 915, in get
line = par.lines[line_index]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/fbless", line 23, in <module>
MainWindow().main_loop()
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 88, in __init__
self.redraw_scr()
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 230, in redraw_scr
s, type = self.content.get(_par_index, _line_index)
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 919, in get
return self.get(par_index, line_index)
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 913, in get
self._split_par(par)
File "/usr/lib/python3/dist-packages/fbless_lib/main.py", line 1011, in _split_par
par.split_string()
File "/usr/lib/python3/dist-packages/fbless_lib/paragraph.py", line 155, in split_string
offsets.sort() # sort by offsets
TypeError: '<' not supported between instances of 'tuple' and 'int'
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (185, 'stable-updates'), (185, 'stable-security'), (185, 'stable'), (175, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages fbless depends on:
ii hyphen-de 1:7.1.0~rc3-3
ii hyphen-en-us 2.8.8-7
ii hyphen-es 1:7.1.0~rc3-3
ii hyphen-fr 1:7.1.0~rc3-3
ii hyphen-it 1:7.1.0~rc3-3
ii hyphen-ru 20030310-1.1
ii hyphen-uk 1:7.1.0~rc3-3
ii python3 3.9.2-3
ii python3-xdg 0.27-2
fbless recommends no packages.
fbless suggests no packages.
-- no debconf information
Reply to: