Bug 2182220

Summary: [abrt] cozy: __init__(): version.py:197:__init__:packaging.version.InvalidVersion: Invalid version: 'None'
Product: [Fedora] Fedora Reporter: Gareth Waite <gdw77>
Component: cozyAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: adscvr, fedora, gdw77
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4f7c0f7c7fb2199a9962d1a25e9faa81801cfbd
Whiteboard: abrt_hash:fb4a2a0b039475febeceedb92f08044f42ebeea9;VARIANT_ID=workstation;
Fixed In Version: cozy-1.2.1-2.fc36 cozy-1.2.1-2.fc37 cozy-1.2.1-3.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-06 01:26:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo
none
File: environ none

Description Gareth Waite 2023-03-27 23:23:11 UTC
Version-Release number of selected component:
cozy-1.2.1-2.fc38

Additional info:
reporter:       libreport-2.17.9
kernel:         6.2.8-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/com.github.geigi.cozy
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-flatpak-org.gnome.World.Secrets-2300.scope
uid:            1000
reason:         version.py:197:__init__:packaging.version.InvalidVersion: Invalid version: 'None'
executable:     /usr/bin/com.github.geigi.cozy
type:           Python3
package:        cozy-1.2.1-2.fc38
runlevel:       N 5
exception_type: packaging.version.InvalidVersion
crash_function: __init__
interpreter:    python3-3.11.2-1.fc38.x86_64

Truncated backtrace:
version.py:197:__init__:packaging.version.InvalidVersion: Invalid version: 'None'

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 54, in _fill_window
    last_launched_version = version.parse(self.app_settings.last_launched_version)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/packaging/version.py", line 52, in parse
    return Version(version)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/packaging/version.py", line 197, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'None'

Local variables in innermost frame:

Comment 1 Gareth Waite 2023-03-27 23:23:14 UTC
Created attachment 1954046 [details]
File: os_info

Comment 2 Gareth Waite 2023-03-27 23:23:16 UTC
Created attachment 1954047 [details]
File: mountinfo

Comment 3 Gareth Waite 2023-03-27 23:23:17 UTC
Created attachment 1954048 [details]
File: open_fds

Comment 4 Gareth Waite 2023-03-27 23:23:18 UTC
Created attachment 1954049 [details]
File: namespaces

Comment 5 Gareth Waite 2023-03-27 23:23:20 UTC
Created attachment 1954050 [details]
File: backtrace

Comment 6 Gareth Waite 2023-03-27 23:23:21 UTC
Created attachment 1954051 [details]
File: cpuinfo

Comment 7 Gareth Waite 2023-03-27 23:23:23 UTC
Created attachment 1954052 [details]
File: environ

Comment 8 Fedora Update System 2023-03-28 06:15:13 UTC
FEDORA-2023-87b33587f1 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-87b33587f1

Comment 9 Fedora Update System 2023-03-28 06:30:27 UTC
FEDORA-2023-796c505e68 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-796c505e68

Comment 10 Fedora Update System 2023-03-28 06:37:34 UTC
FEDORA-2023-47c4f6c1ab has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-47c4f6c1ab

Comment 11 Fedora Update System 2023-03-29 02:01:37 UTC
FEDORA-2023-87b33587f1 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-87b33587f1

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

Comment 12 Fedora Update System 2023-03-29 02:39:01 UTC
FEDORA-2023-47c4f6c1ab has been pushed to the Fedora 36 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-47c4f6c1ab`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-47c4f6c1ab

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

Comment 13 Fedora Update System 2023-03-29 03:55:26 UTC
FEDORA-2023-796c505e68 has been pushed to the Fedora 37 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-796c505e68`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-796c505e68

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

Comment 14 Fedora Update System 2023-04-06 01:26:24 UTC
FEDORA-2023-47c4f6c1ab has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-04-06 01:53:52 UTC
FEDORA-2023-796c505e68 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-04-15 02:02:40 UTC
FEDORA-2023-87b33587f1 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.