Bug 2401190 - Variety throws exception on start on F43
Summary: Variety throws exception on start on F43
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: variety
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-03 01:43 UTC by Martin Jackson
Modified: 2025-10-09 08:39 UTC (History)
2 users (show)

Fixed In Version: variety-0.8.13-7.fc44
Clone Of:
Environment:
Last Closed: 2025-10-09 08:39:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources variety pull-request 3 0 None None None 2025-10-09 08:09:31 UTC
Github varietywalls variety issues 795 0 None open Variety crashes on start on Python 3.14 2025-10-04 13:14:40 UTC

Description Martin Jackson 2025-10-03 01:43:45 UTC
For example:

% variety       
Traceback (most recent call last):
  File "/usr/bin/variety", line 66, in <module>
    variety.main()
    ~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/variety/__init__.py", line 239, in main
    window.start(arguments)
    ~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/variety/VarietyWindow.py", line 116, in start
    self.prepare_config_folder()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/variety/VarietyWindow.py", line 253, in prepare_config_folder
    varietyconfig.get_data_file("config", "variety.conf"),
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/variety_lib/varietyconfig.py", line 42, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
                        ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/variety_lib/varietyconfig.py", line 58, in get_data_path
    raise project_path_not_found
variety_lib.varietyconfig.project_path_not_found

Reproducible: Always

Steps to Reproduce:
1. Run variety, either from command line or from desktop file
2.
3.
Actual Results:
Crash as seen above

Expected Results:
variety starts and processes

Comment 1 Miro Hrončok 2025-10-04 13:31:47 UTC
My best guess is this started with the conversion to %pyproject macros. See my comment in https://github.com/varietywalls/variety/issues/795#issuecomment-3368237509

Comment 2 Fedora Update System 2025-10-09 08:36:13 UTC
FEDORA-2025-7dd117dd39 (variety-0.8.13-7.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7dd117dd39

Comment 3 Fedora Update System 2025-10-09 08:39:36 UTC
FEDORA-2025-7dd117dd39 (variety-0.8.13-7.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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