https://bugzilla.redhat.com/show_bug.cgi?id=2543438



--- Comment #6 from Filipe Rosset <[email protected]> ---
I sent this PR to fix the symlink in python-QtAwesome

https://src.fedoraproject.org/rpms/python-QtAwesome/pull-request/9

or maybe just symlink the .woff to .ttf files inside fontawesome-fonts

opc@testing:~$ ls -latr
/usr/lib/python3.15/site-packages/qtawesome/fonts/fontawesome5-regular-webfont-5.15.4.ttf
lrwxrwxrwx. 1 root root 50 Jul 15 21:00
/usr/lib/python3.15/site-packages/qtawesome/fonts/fontawesome5-regular-webfont-5.15.4.ttf
-> /usr/share/fontawesome/webfonts/fa-regular-400.ttf

opc@testing:~$ ls -latr /usr/share/fontawesome/webfonts/fa-regular-400*
-rw-r--r--. 1 root root 19548 Jul 14 21:00
/usr/share/fontawesome/webfonts/fa-regular-400.woff2

and then... the stack trace in spyder:
$ spyder
No matching fbConfigs or visuals found
glx: failed to create drisw screen
Traceback (most recent call last):
  File "/usr/bin/spyder", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.15/site-packages/spyder/app/start.py", line 281, in
main
    mainwindow.main(options, args)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/spyder/app/mainwindow.py", line 1405,
in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "/usr/lib/python3.15/site-packages/spyder/app/utils.py", line 369, in
create_window
    main.setup()
    ~~~~~~~~~~^^
  File "/usr/lib/python3.15/site-packages/spyder/app/mainwindow.py", line 684,
in setup
    internal_plugins = find_internal_plugins()
  File "/usr/lib/python3.15/site-packages/spyder/app/find_plugins.py", line 45,
in find_internal_plugins
    mod = importlib.import_module(entry_point.module)
  File "/usr/lib64/python3.15/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1389, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1353, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1249, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 857, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 751, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/usr/lib/python3.15/site-packages/spyder/plugins/pylint/plugin.py",
line 25, in <module>
    from spyder.plugins.pylint.confpage import PylintConfigPage
  File "/usr/lib/python3.15/site-packages/spyder/plugins/pylint/confpage.py",
line 16, in <module>
    from spyder.plugins.pylint.main_widget import (MAX_HISTORY_ENTRIES,
                                                   MIN_HISTORY_ENTRIES,
                                                   PylintWidget)
  File
"/usr/lib/python3.15/site-packages/spyder/plugins/pylint/main_widget.py", line
94, in <module>
    class CategoryItem(QTreeWidgetItem):
    ...<42 lines>...
            self.setIcon(0, icon)
  File
"/usr/lib/python3.15/site-packages/spyder/plugins/pylint/main_widget.py", line
106, in CategoryItem
    'icon': ima.icon("convention")
            ~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/spyder/utils/icon_manager.py", line
457, in icon
    return qta.icon(*args, **kwargs)
           ~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/qtawesome/__init__.py", line 268, in
icon
    return _instance().icon(*names, **kwargs)
           ~~~~~~~~~^^
  File "/usr/lib/python3.15/site-packages/qtawesome/__init__.py", line 162, in
_instance
    _resource["iconic"] = IconicFont(*_BUNDLED_FONTS)
                          ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.15/site-packages/qtawesome/iconic_font.py", line 368,
in __init__
    self.load_font(*fargs)
    ~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.15/site-packages/qtawesome/iconic_font.py", line 409,
in load_font
    with open(os.path.join(directory, ttf_filename), "rb") as font_data:
         ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/lib/python3.15/site-packages/qtawesome/fonts/fontawesome5-regular-webfont-5.15.4.ttf'


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2543438

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202543438%23c6

-- 
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to