Bug 2160936

Summary: [abrt] fonts-tweak-tool: __font_changed(): fonts-tweak-alias.py:132:__font_changed:gi.repository.GLib.GError: g-file-error-quark: Failed to create file “/home/liuk/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf.W4L4Y1”: No such file or directory (4)
Product: [Fedora] Fedora Reporter: liegemarcins
Component: fonts-tweak-toolAssignee: Akira TAGOH <tagoh>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: i18n-bugs, petersen, pwu, tagoh
Target Milestone: ---Flags: liegemarcins: needinfo-
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/da1fe2271227e9f09fa96dbbc06c433ce1fbcac
Whiteboard: abrt_hash:bc03989b0c667801da50b5ed1e8bc195a34442d4;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-19 02:38: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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description liegemarcins 2023-01-14 14:35:53 UTC
Version-Release number of selected component:
fonts-tweak-tool-0.4.6-2.fc38

Additional info:
reporter:       libreport-2.17.6
kernel:         6.2.0-0.rc3.20230111git7dd4b804e080.26.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/fonts-tweak-tool
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-97ece290-4178-4702-9907-810e8209d4af.scope
uid:            1000
reason:         fonts-tweak-alias.py:132:__font_changed:gi.repository.GLib.GError: g-file-error-quark: Failed to create file “/home/liuk/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf.W4L4Y1”: No such file or directory (4)
executable:     /usr/bin/fonts-tweak-tool
type:           Python3
package:        fonts-tweak-tool-0.4.6-2.fc38
runlevel:       N 5
exception_type: gi.repository.GLib.GError
crash_function: __font_changed
interpreter:    python3-3.11.1-3.fc38.i686

Truncated backtrace:
fonts-tweak-alias.py:132:__font_changed:gi.repository.GLib.GError: g-file-error-quark: Failed to create file “/home/liuk/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf.W4L4Y1”: No such file or directory (4)

Traceback (most recent call last):
  File "/usr/lib64/python3.11/site-packages/fontstweak/ui/fonts-tweak-alias.py", line 175, in on_combobox_emoji_changed
    self.__font_changed(widget, 'emoji')
  File "/usr/lib64/python3.11/site-packages/fontstweak/ui/fonts-tweak-alias.py", line 132, in __font_changed
    self.config.save()
gi.repository.GLib.GError: g-file-error-quark: Failed to create file “/home/liuk/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf.W4L4Y1”: No such file or directory (4)

Local variables in innermost frame:
self: <fonts-tweak-alias.FontsTweakAliasUI object at 0x7f475c3bbd00 (fontstweak+ui+fonts-tweak-alias+FontsTweakAliasUI at 0x561f21116290)>
widget: <Gtk.ComboBox object at 0x7f475c3f3a00 (GtkComboBox at 0x561f2110d1c0)>
alias: 'emoji'
model: <Gtk.ListStore object at 0x7f475c3f36c0 (GtkListStore at 0x561f2104d6c0)>
iter: <Gtk.TreeIter object at 0x7f47561444d0 (GtkTreeIter at 0x561f2211ce40)>
lang: ''
font: 'Symbola'
a: <Easyfc.Alias object at 0x7f47561455b0 (EzfcAlias at 0x561f2210dc10)>

Comment 1 liegemarcins 2023-01-14 14:35:56 UTC
Created attachment 1938065 [details]
File: os_info

Comment 2 liegemarcins 2023-01-14 14:35:58 UTC
Created attachment 1938066 [details]
File: environ

Comment 3 liegemarcins 2023-01-14 14:35:59 UTC
Created attachment 1938067 [details]
File: mountinfo

Comment 4 liegemarcins 2023-01-14 14:36:01 UTC
Created attachment 1938068 [details]
File: open_fds

Comment 5 liegemarcins 2023-01-14 14:36:02 UTC
Created attachment 1938069 [details]
File: namespaces

Comment 6 liegemarcins 2023-01-14 14:36:03 UTC
Created attachment 1938070 [details]
File: backtrace

Comment 7 liegemarcins 2023-01-14 14:36:05 UTC
Created attachment 1938071 [details]
File: cpuinfo

Comment 8 Akira TAGOH 2023-01-16 06:31:14 UTC
fonts-tweak-tool is supposed to create a directory if not available though, apparently it failed for some reason and failed to open a temporary file to write.  Do you have a right access to that directory?

Comment 9 Ben Cotton 2023-02-07 15:05:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 10 Akira TAGOH 2023-06-19 02:38:19 UTC
Please reopen and provide more information if you still see this issue.