Bug 2232291
| Summary: | [abrt] cozy: _fill_window(): whats_new_window.py:58:_fill_window:AttributeError: module 'packaging.version' has no attribute 'LegacyVersion' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Sklenar <psklenar> | ||||||||||||||||
| Component: | cozy | Assignee: | Artur Frenszek-Iwicki <fedora> | ||||||||||||||||
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | adscvr, fedora, psklenar | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/411fc2e19e0706ecaca4b1d5383fd239bcb6775 | ||||||||||||||||||
| Whiteboard: | abrt_hash:6ac11bc5106295dafe9f55cc285aff72933611a6;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 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: |
|
||||||||||||||||||
Created attachment 1983513 [details]
File: environ
Created attachment 1983514 [details]
File: namespaces
Created attachment 1983515 [details]
File: backtrace
Created attachment 1983516 [details]
File: cpuinfo
Created attachment 1983517 [details]
File: os_info
Created attachment 1983518 [details]
File: open_fds
Created attachment 1983519 [details]
File: mountinfo
> package: cozy-1.2.1-3.fc38 This should be fixed in cozy-1.2.1-4.fc38. Please upgrade the package via "dnf upgrade --enablerepo=updates cozy". https://bodhi.fedoraproject.org/updates/FEDORA-2023-d99a6bc068 |
Description of problem: only start Version-Release number of selected component: cozy-1.2.1-3.fc38 Additional info: reporter: libreport-2.17.10 interpreter: python3-3.11.3-1.fc38.x86_64 type: Python3 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.github.geigi.cozy-45865.scope uid: 1000 kernel: 6.2.15-300.fc38.x86_64 executable: /usr/bin/com.github.geigi.cozy runlevel: N 5 reason: whats_new_window.py:58:_fill_window:AttributeError: module 'packaging.version' has no attribute 'LegacyVersion' exception_type: AttributeError cmdline: /usr/bin/python3 /usr/bin/com.github.geigi.cozy package: cozy-1.2.1-3.fc38 comment: only start crash_function: _fill_window Truncated backtrace: whats_new_window.py:58:_fill_window:AttributeError: module 'packaging.version' has no attribute 'LegacyVersion' 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' Local variables in innermost frame: self: <whats_new_window.WhatsNewWindow object at 0x7f708df5e7c0 (WhatsNew at 0x5618c3d25c00)> last_launched_version: <Version('1.2.0')>