Bug 2160936 - [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)
Summary: [abrt] fonts-tweak-tool: __font_changed(): fonts-tweak-alias.py:132:__font_ch...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fonts-tweak-tool
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bc03989b0c667801da50b5ed1e8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-14 14:35 UTC by liegemarcins
Modified: 2023-06-19 02:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-06-19 02:38:19 UTC
Type: ---
Embargoed:
liegemarcins: needinfo-


Attachments (Terms of Use)
File: os_info (770 bytes, text/plain)
2023-01-14 14:35 UTC, liegemarcins
no flags Details
File: environ (3.09 KB, text/plain)
2023-01-14 14:35 UTC, liegemarcins
no flags Details
File: mountinfo (3.69 KB, text/plain)
2023-01-14 14:35 UTC, liegemarcins
no flags Details
File: open_fds (2.54 KB, text/plain)
2023-01-14 14:36 UTC, liegemarcins
no flags Details
File: namespaces (171 bytes, text/plain)
2023-01-14 14:36 UTC, liegemarcins
no flags Details
File: backtrace (1.22 KB, text/plain)
2023-01-14 14:36 UTC, liegemarcins
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2023-01-14 14:36 UTC, liegemarcins
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.