Bug 1975639

Summary: [abrt] hydrapaper: require_version(): __init__.py:129:require_version:ValueError: Namespace Gtk not available for version 4.0
Product: [Fedora] Fedora Reporter: Daniel <magmadk>
Component: hydrapaperAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: ego.cordatus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/23f488283f4ecbcf73b1bff1932229a5135beb29
Whiteboard: abrt_hash:35624de5225e759a90f3456cb8953d42d51d065f;VARIANT_ID=workstation;
Fixed In Version: hydrapaper-2.0.3-4.fc34 hydrapaper-2.0.3-4.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-02 01:08:48 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: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Daniel 2021-06-24 06:22:44 UTC
Description of problem:
I just start the program HydraPaper, after a few sec I get this error message.
I have 2 external monitors, and one from my Laptop.
I switch 2 times a week from my home setup, to my work setup, at my workplace where
there is a docking station.
At the work place, I have 3 external monitors, and my laptop screen / lid, are closed.

Before I put it in to the docking station, the laptop is powered off.
At times, I take the laptop out of the docking station, before I power it off.

Version-Release number of selected component:
hydrapaper-3.0.0-1.fc33

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app-gnome-org.gabmus.hydrapaper-22488.scope
cmdline:        /usr/bin/python3 /usr/bin/hydrapaper
crash_function: require_version
exception_type: ValueError
executable:     /usr/bin/hydrapaper
interpreter:    python3-3.9.5-2.fc33.x86_64
kernel:         5.12.11-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:129:require_version:ValueError: Namespace Gtk not available for version 4.0

Traceback (most recent call last):
  File "/usr/bin/hydrapaper", line 60, in <module>
    gi.require_version('Gtk', '4.0')
  File "/usr/lib64/python3.9/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace Gtk not available for version 4.0

Local variables in innermost frame:
namespace: 'Gtk'
version: '4.0'
repository: <gi.Repository object at 0x7f45daacea10>
available_versions: ['2.0', '3.0']

Comment 1 Daniel 2021-06-24 06:22:47 UTC
Created attachment 1793746 [details]
File: backtrace

Comment 2 Daniel 2021-06-24 06:22:48 UTC
Created attachment 1793747 [details]
File: cpuinfo

Comment 3 Daniel 2021-06-24 06:22:50 UTC
Created attachment 1793748 [details]
File: environ

Comment 4 Daniel 2021-06-24 06:22:51 UTC
Created attachment 1793749 [details]
File: mountinfo

Comment 5 Daniel 2021-06-24 06:22:53 UTC
Created attachment 1793750 [details]
File: namespaces

Comment 6 Daniel 2021-06-24 06:22:54 UTC
Created attachment 1793751 [details]
File: open_fds

Comment 7 Fedora Update System 2021-06-24 15:01:48 UTC
FEDORA-2021-ca46bba85e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ca46bba85e

Comment 8 Fedora Update System 2021-06-24 15:01:57 UTC
FEDORA-2021-2527e01321 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2527e01321

Comment 9 Artem 2021-06-24 15:06:44 UTC
Thanks for reporting. Please test new update with downgrade to 2.0.3. New version requires 'libadwaita' which is not packaged currently[1].

Sorry for inconvenience. I can't physically test myself all updates and Bodhi didn't help much this time.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1975845

Comment 10 Fedora Update System 2021-06-24 16:55:49 UTC
FEDORA-2021-2527e01321 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2527e01321`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2527e01321

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

Comment 11 Fedora Update System 2021-06-24 17:38:34 UTC
FEDORA-2021-ca46bba85e has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ca46bba85e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ca46bba85e

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

Comment 12 Fedora Update System 2021-07-02 01:08:48 UTC
FEDORA-2021-2527e01321 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-07-02 01:20:45 UTC
FEDORA-2021-ca46bba85e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.