Bug 1993567

Summary: [abrt] komikku: scroll_to_direction(): __init__.py:478:scroll_to_direction:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: johnledezm34 <johnledezm34>
Component: komikkuAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: ego.cordatus, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/71e4f5fa389824090907c56283487f7d7dc6e99c
Whiteboard: abrt_hash:12a734812f471061eb7af248d27fe83862088269;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-25 13:28:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description johnledezm34@gmail.com 2021-08-14 01:17:50 UTC
Description of problem:
Swiped right on the touchscreen of my thinkpad x12 detachable while it was connected to the keyboard. At the time I was attempting to read tower of god in landscape mode.

Version-Release number of selected component:
komikku-0.30.0-1.fc34

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-info.febvre.Komikku-17328.scope
cmdline:        /usr/bin/python3 /usr/bin/komikku
crash_function: scroll_to_direction
exception_type: IndexError
executable:     /usr/bin/komikku
interpreter:    python3-3.9.6-2.fc34.x86_64
kernel:         5.13.9-200.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:478:scroll_to_direction:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/komikku/reader/pager/__init__.py", line 216, in on_single_click
    self.scroll_to_direction('right')
  File "/usr/lib/python3.9/site-packages/komikku/reader/pager/__init__.py", line 478, in scroll_to_direction
    page = self.pages[-1]
IndexError: list index out of range

Local variables in innermost frame:
self: <pager.Pager object at 0x7fe40c050480 (komikku+reader+pager+Pager at 0x560971d7a5e0)>
direction: 'right'

Comment 1 johnledezm34@gmail.com 2021-08-14 01:17:55 UTC
Created attachment 1813921 [details]
File: backtrace

Comment 2 johnledezm34@gmail.com 2021-08-14 01:17:57 UTC
Created attachment 1813922 [details]
File: cpuinfo

Comment 3 johnledezm34@gmail.com 2021-08-14 01:17:59 UTC
Created attachment 1813923 [details]
File: environ

Comment 4 johnledezm34@gmail.com 2021-08-14 01:18:01 UTC
Created attachment 1813924 [details]
File: mountinfo

Comment 5 johnledezm34@gmail.com 2021-08-14 01:18:03 UTC
Created attachment 1813925 [details]
File: namespaces

Comment 6 johnledezm34@gmail.com 2021-08-14 01:18:05 UTC
Created attachment 1813926 [details]
File: open_fds

Comment 7 Ben Cotton 2022-05-12 15:07:32 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Lyes Saadi 2022-05-25 13:28:19 UTC
This was documented upstream here: https://gitlab.com/valos/Komikku/-/issues/152

A commit might have indirectly solved the issue: https://gitlab.com/valos/Komikku/-/commit/48d088430520f1bd38414841024314f55b32f3f6
I'm closing this bug report, please reopen if it still happens.