PyGIWarning : Gtk&AppIndicator3 were imported without specifying a version first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-cpufreq |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
i'm using :
Ubuntu 16.04.3 LTS
4.10.0-42-generic #46~16.04.1-Ubuntu SMP x86_64
indicator-cpufreq 0.2.2-0ubuntu2 all
when launching indicator-cpufreq from terminal, following warnings are displayed :
/usr/lib/
from gi.repository import Gtk
/usr/lib/
from gi.repository import AppIndicator3 as appindicator
to get rid of them, i had to apply the warning suggestions by editing /usr/lib/
and change :
from gi.repository import GLib
from gi.repository import Gtk
from gi.repository import AppIndicator3 as appindicator
to
from gi.repository import GLib
import gi
gi.require_
from gi.repository import Gtk
gi.require_
from gi.repository import AppIndicator3 as appindicator
does it exist a cleaner or more generic way of fixing this warning ? if not, why this one is not released ?
regards,
Matthieu
I get this error randomly.
I have no idea what causes it.
Python update?
Kernel update?
Its seems random.