Closed szpak closed 4 years ago
Do you have the skill to test it with a new version of pystray by any chance? I unfortunately i cannot do any investigations in the very short time...
And please enable logging that could help :)
Here's the logging:
2020-10-09 17:40:45,386 [dnfdragora.updater]{updater.py:67}(INFO) dnfdragora-updater started
2020-10-09 17:40:45,444 [dnfdragora.updater]{updater.py:83}(DEBUG) Icon: /usr/share/icons/hicolor/256x256/apps/dnfdragora.png
2020-10-09 17:40:45,451 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'IHDR' 16 13
2020-10-09 17:40:45,451 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'pHYs' 41 9
2020-10-09 17:40:45,451 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'sRGB' 62 1
2020-10-09 17:40:45,451 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'gAMA' 75 4
2020-10-09 17:40:45,451 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'IDAT' 91 31749
2020-10-09 17:40:45,824 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'IHDR' 16 13
2020-10-09 17:40:45,824 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'bKGD' 41 6
2020-10-09 17:40:45,824 [PIL.PngImagePlugin]{PngImagePlugin.py:583}(DEBUG) b'bKGD' 41 6 (unknown)
2020-10-09 17:40:45,824 [PIL.PngImagePlugin]{PngImagePlugin.py:141}(DEBUG) STREAM b'IDAT' 59 2296
2020-10-09 17:40:45,983 [dnfdaemon.client]{dnfd_client.py:214}(DEBUG) org.baseurl.DnfSystem daemon loaded - version : 2
2020-10-09 17:40:45,984 [dnfdragora.updater]{updater.py:282}(DEBUG) Start getting updates
2020-10-09 17:40:45,984 [dnfdaemon.client]{dnfd_client.py:362}(DEBUG) run_dbus_async Lock
2020-10-09 17:40:45,984 [dnfdaemon.client]{dnfd_client.py:340}(DEBUG) __async_thread_loop Command Lock() requested
2020-10-09 17:40:45,985 [dnfdragora.updater]{updater.py:380}(INFO) Scheduled check for updates in 180 minutes
2020-10-09 17:40:47,018 [dnfdaemon.client]{dnfd_client.py:270}(DEBUG) return_handler Lock
2020-10-09 17:40:47,018 [dnfdaemon.client]{dnfd_client.py:292}(DEBUG) get_result Lock
2020-10-09 17:40:47,018 [dnfdaemon.client]{dnfd_client.py:283}(DEBUG) Quit return_handler error None
2020-10-09 17:40:47,487 [dnfdragora.updater]{updater.py:316}(INFO) Event received Lock - info {'result': True, 'error': None}
2020-10-09 17:40:47,487 [dnfdaemon.client]{dnfd_client.py:362}(DEBUG) run_dbus_async GetPackages
2020-10-09 17:40:47,487 [dnfdaemon.client]{dnfd_client.py:340}(DEBUG) __async_thread_loop Command GetPackages(('(sas)', 'updates_all', [])) requested
2020-10-09 17:40:47,488 [dnfdragora.updater]{updater.py:320}(DEBUG) Getting update packages
2020-10-09 17:40:49,728 [dnfdaemon.client]{dnfd_client.py:270}(DEBUG) return_handler GetPackages
2020-10-09 17:40:49,728 [dnfdaemon.client]{dnfd_client.py:292}(DEBUG) get_result GetPackages
2020-10-09 17:40:49,728 [dnfdaemon.client]{dnfd_client.py:283}(DEBUG) Quit return_handler error None
2020-10-09 17:40:49,990 [dnfdragora.updater]{updater.py:329}(DEBUG) Got GetPackages event menu visibility is True
2020-10-09 17:40:49,991 [dnfdragora.updater]{updater.py:334}(DEBUG) Event received GetPackages
2020-10-09 17:40:49,991 [dnfdragora.updater]{updater.py:338}(INFO) Found 1 updates
However, the exception is logged only in terminal (and hopefully in the system logs if executed at the system start). Maybe it would be good to add it also to the application log?
Do you have the skill to test it with a new version of pystray by any chance?
Do you mean 0.17.0/1?
Is pystray responsible for creating /tmp/tmpd9ew4mco
?
With 0.17.1 it works fine - I see the updates again. I will ask the Fedora maintainer to bump the version.
Closing this issue, but you could mention in the changelog that 0.17(.0?) is required to see the notifications (at least in Gnome).
Do you have the skill to test it with a new version of pystray by any chance?
Do you mean 0.17.0/1?
Yes i saw they worked on gtk backend
Is pystray responsible for creating
/tmp/tmpd9ew4mco
?
Yes, it create an image from icon and then uses it.
With 0.17.1 it works fine - I see the updates again. I will ask the Fedora maintainer to bump the version.
Thanks for the tests, that avoided me a lot of testing with the version we're using now :) And tests to see if worked well fixing issues.
Closing this issue, but you could mention in the changelog that 0.17(.0?) is required to see the notifications (at least in Gnome).
Yes we'll add a version dependency on README in next release. But now i can do more tests on hiding/showing icon :) Thanks for report and tests :+1:
As reported in RedHat Bugzilla I encounter the following problem on Fedora with Gnome Shell 3.36.6:
I use dnfdragora-2.1.0-2.fc32 which contains patch for #168.