Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cozy doesn't launch #50029

Closed
meator opened this issue Apr 25, 2024 · 2 comments
Closed

cozy doesn't launch #50029

meator opened this issue Apr 25, 2024 · 2 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@meator
Copy link
Contributor

meator commented Apr 25, 2024

Is this a new report?

Yes

System Info

irellevant

Package(s) Affected

cozy-1.2.1_3

Does a report exist for this bug with the project's home (upstream) and/or another distro?

geigi/cozy#756

Expected behaviour

Program launching.

Actual behaviour

> com.github.geigi.cozy
['/usr/bin/com.github.geigi.cozy']
14:35:11 [MainThread  ] [applicatio] [INFO ]  ('void', 'rolling', 'void')
14:35:11 [MainThread  ] [applicatio] [INFO ]  Starting up cozy 1.2.1
14:35:11 [MainThread  ] [db        ] [INFO ]  SQLite version: 3.45.2
14:35:11 [Thread-1 (ru] [peewee.sql] [INFO ]  writer received shutdown request, exiting.
14:35:11 [MainThread  ] [applicatio] [INFO ]  libhandy version: 1
handle exception
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/cozy/application.py", line 99, in do_activate
    self.app_controller = AppController(self, main_window_builder, self.ui)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cozy/architecture/singleton.py", line 5, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cozy/app_controller.py", line 52, in __init__
    self.whats_new_window: WhatsNewWindow = WhatsNewWindow()
                                            ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cozy/ui/widgets/whats_new_window.py", line 36, in __init__
    self._fill_window()
  File "/usr/lib/python3.12/site-packages/cozy/ui/widgets/whats_new_window.py", line 54, in _fill_window
    last_launched_version = version.parse(self.app_settings.last_launched_version)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/packaging/version.py", line 54, in parse
    return Version(version)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/packaging/version.py", line 200, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'None'

An update to version 1.3.0 should resolve this problem. By the way, I'm not a cozy user, but I've stumbled upon the issue when testing one of its dependencies.

cc @stein

Steps to reproduce

Mentioned above

@meator meator added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Apr 25, 2024
@meator
Copy link
Contributor Author

meator commented Apr 25, 2024

Don't know why the completion failed, meant to ping @steinex

@MIvanchev
Copy link
Contributor

@meator Could you test 1.3.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

3 participants