Bug 2246246

Summary: [abrt] ibus-typing-booster: getFilesToDelete(): __init__.py:1081:handleError:RuntimeError: reentrant call inside <_io.BufferedWriter name='<stderr>'>
Product: [Fedora] Fedora Reporter: Jeff Buhrt <buhrt>
Component: ibus-typing-boosterAssignee: Mike FABIAN <mfabian>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: anish.developer, buhrt, i18n-bugs, mfabian
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1c791757b6af62945c1ddcc0e1725af144b5f41
Whiteboard: abrt_hash:6d2411693b6ba4097e2cc69aa959625eef780015;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-18 13:15:45 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Jeff Buhrt 2023-10-26 00:03:26 UTC
Description of problem:
Restart Fedora 39

Version-Release number of selected component:
ibus-typing-booster-2.24.2-1.fc39

Additional info:
reporter:       libreport-2.17.11
kernel:         6.5.7-300.fc39.x86_64
cmdline:        /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.freedesktop.IBus.session.GNOME.service
uid:            1000
reason:         __init__.py:1081:handleError:RuntimeError: reentrant call inside <_io.BufferedWriter name='<stderr>'>
executable:     /usr/share/ibus-typing-booster/engine/main.py
type:           Python3
package:        ibus-typing-booster-2.24.2-1.fc39
runlevel:       N 5
exception_type: PermissionError
crash_function: getFilesToDelete
interpreter:    python3-3.12.0-1.fc39.x86_64
comment:        Restart Fedora 39

Truncated backtrace:
#1 [/usr/lib64/python3.12/logging/handlers.py:370] getFilesToDelete
#2 [/usr/lib64/python3.12/logging/handlers.py:437] doRollover
#3 [/usr/lib64/python3.12/logging/handlers.py:74] emit

Comment 1 Jeff Buhrt 2023-10-26 00:03:29 UTC
Created attachment 1995490 [details]
File: os_info

Comment 2 Jeff Buhrt 2023-10-26 00:03:30 UTC
Created attachment 1995491 [details]
File: environ

Comment 3 Jeff Buhrt 2023-10-26 00:03:31 UTC
Created attachment 1995492 [details]
File: mountinfo

Comment 4 Jeff Buhrt 2023-10-26 00:03:32 UTC
Created attachment 1995493 [details]
File: open_fds

Comment 5 Jeff Buhrt 2023-10-26 00:03:34 UTC
Created attachment 1995494 [details]
File: namespaces

Comment 6 Jeff Buhrt 2023-10-26 00:03:35 UTC
Created attachment 1995495 [details]
File: backtrace

Comment 7 Jeff Buhrt 2023-10-26 00:03:36 UTC
Created attachment 1995496 [details]
File: cpuinfo

Comment 8 Mike FABIAN 2023-11-13 15:28:10 UTC
> exception_type: PermissionError
> crash_function: getFilesToDelete

What are the permissions for ~/.local/share/ibus-typing-booster/ ? It looks like the debug logs 

~/.local/share/ibus-typing-booster/debug.log*

cannot be rotated because of a permission error.

Comment 9 Parag Nemade 2024-03-18 03:49:44 UTC
Is this still happening on any of F38+ releases? Can you reply to Mike's comment above?

Comment 10 Jeff Buhrt 2024-03-18 13:09:07 UTC
I have not seen this error in a while. From the original report it was on Fedora 38. Fedora 39 seems fine.

Comment 11 Parag Nemade 2024-03-18 13:15:45 UTC
Thank you. I was triaging old bugs hence got mistakenly mentioned here F38.
Let me close this. If this happens again please report fresh bug.