Bug 1514263

Summary: taskcoach PyGIWarning: Notify was imported without specifying a version first
Product: [Fedora] Fedora Reporter: Peter "Pessoft" Kolínek <pessoft>
Component: taskcoachAssignee: Scott Talbert <swt>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: swt, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: taskcoach-1.4.3-7.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 23:50:29 UTC Type: Bug
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
Workaround/fix that works for me none

Description Peter "Pessoft" Kolínek 2017-11-16 23:03:01 UTC
Created attachment 1353873 [details]
Workaround/fix that works for me

Description of problem:
Every time TaskCoach is launched, it generates PyGlWarning during start. When started on command line, warning is sent to console. When started via launch icon, message is shown when closing TaskCoach that errors have occurred and were saved to log ($HOME/taskcoachlog.txt) and warning is then in the log.

This is the warning:
/usr/lib/python2.7/site-packages/taskcoachlib/notify/notifier_libnotify.py:31: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  import gi.repository.Notify

Version-Release number of selected component (if applicable):
taskcoach-1.4.3-6.fc27.noarch
I've seen this occurring for TaskCoach at least since Fedora 25.

How reproducible:
Every start of TaskCoach reproduces the warning.

Steps to Reproduce:
1. Open TaskCoach via application icon.
2. Close TaskCoach in standard way ( File - Quit ).

Actual results:
Message about errors appears when closing TaskCoach or PyGlWarning warning is shown in the console.

Expected results:
Clean exit from TaskCoach.

Comment 1 Fedora Update System 2017-11-18 21:26:30 UTC
taskcoach-1.4.3-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e9c30a364

Comment 2 Fedora Update System 2017-11-28 23:50:29 UTC
taskcoach-1.4.3-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.