Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] cozy doesn't launch
Date: Mon, 29 Apr 2024 22:50:30 +0200	[thread overview]
Message-ID: <20240429205030.641DB2138D@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50029@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]

Closed issue by meator on void-packages repository

https://github.com/void-linux/void-packages/issues/50029

Description:
### 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?

https://github.com/geigi/cozy/issues/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

      parent reply	other threads:[~2024-04-29 20:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-25 12:43 [ISSUE] " meator
2024-04-25 12:45 ` meator
2024-04-25 15:24 ` MIvanchev
2024-04-29 20:50 ` cinerea0 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240429205030.641DB2138D@inbox.vuxu.org \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).