Bug 2210539 - Cozy refuses to start
Summary: Cozy refuses to start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cozy
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-28 09:52 UTC by Emmanuel Seyman
Modified: 2023-06-06 01:44 UTC (History)
2 users (show)

Fixed In Version: cozy-1.2.1-4.fc38
Clone Of:
Environment:
Last Closed: 2023-06-06 01:44:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Emmanuel Seyman 2023-05-28 09:52:53 UTC
Cozy refuses to start, either when launched from the icon or from the terminal.



Reproducible: Always

Steps to Reproduce:
1. Run the command "/usr/bin/com.github.geigi.cozy" from the terminal prompt

Actual Results:  
['/usr/bin/com.github.geigi.cozy']
11:51:03 [MainThread  ] [applicatio] [INFO ]  ('fedora', '38', 'Workstation Edition')
11:51:03 [MainThread  ] [applicatio] [INFO ]  Starting up cozy 1.2.1
11:51:03 [MainThread  ] [db        ] [INFO ]  SQLite version: 3.40.1
11:51:03 [Thread-1 (ru] [peewee.sql] [INFO ]  writer received shutdown request, exiting.
11:51:04 [MainThread  ] [applicatio] [INFO ]  libhandy version: 1
handle exception
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/cozy/application.py", line 99, in do_activate
    self.app_controller = AppController(self, main_window_builder, self.ui)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cozy/architecture/singleton.py", line 5, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cozy/app_controller.py", line 52, in __init__
    self.whats_new_window: WhatsNewWindow = WhatsNewWindow()
                                            ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cozy/ui/widgets/whats_new_window.py", line 36, in __init__
    self._fill_window()
  File "/usr/lib/python3.11/site-packages/cozy/ui/widgets/whats_new_window.py", line 58, in _fill_window
    if type(last_launched_version) is version.LegacyVersion:
                                      ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'packaging.version' has no attribute 'LegacyVersion'


Expected Results:  
Cozy should start, allowing me to listen to my audiobooks

Comment 1 Fedora Update System 2023-05-28 10:40:46 UTC
FEDORA-2023-d99a6bc068 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d99a6bc068

Comment 2 Fedora Update System 2023-05-29 02:09:00 UTC
FEDORA-2023-d99a6bc068 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d99a6bc068`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d99a6bc068

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-06-06 01:44:58 UTC
FEDORA-2023-d99a6bc068 has been pushed to the Fedora 38 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.