manatools / dnfdragora

dnfdragora is a dnf frontend based on libyui abstraction
GNU General Public License v3.0
137 stars 41 forks source link

Console spammed with: yui.py:1472: Warning: Source ID 2390 was not found when attempting to remove it #171

Closed szpak closed 4 years ago

szpak commented 4 years ago

With dnfdragora 2.1.0 running from a console/terminal I see a lot (more than one every second?) warning messages. I wonder, if it is "normal". Fedora 32, Gnome 3.

...
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-mga-gtk.so.8
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:118 YPath(): Found libyui-mga-gtk.so.8 in /usr/lib64/yui
<_M_> [ew] YExternalWidgets.cc:37 YExternalWidgets(): Creating Libyui External Widgets object
<_M_> [gtk] YMGA_GCBTable.cc:415 YMGA_GCBTable():  Slection mode 2
<_M_> [gtk] YMGA_GCBTable.cc:434 YMGA_GCBTable():  columns 8 tot 8
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 34 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
Get root backend. Locked (False)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 59 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
Get root backend. Locked (False)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 81 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 147 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 222 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 233 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 235 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
...
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1510 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1512 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1514 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1516 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1518 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
Start looking for groups
End found 140 groups
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1556 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1560 was not found when attempting to remove it
  return _yui.YDialog_waitForEvent(self, timeout_millisec)
/usr/lib64/python3.8/site-packages/yui.py:1472: Warning: Source ID 1562 was not found when attempting to remove it
...
anaselli commented 4 years ago

that is fixed by using libyui-gtk 2.49.0

szpak commented 4 years ago

Thanks. libyui-gtk-2.44.9-15.fc32.x86_64 in Fedora 32. I will talk with the package maintainer ;-).

anaselli commented 4 years ago

i think @Conan-Kudo didn't want to port all the new libyui things... you may ask to port that fixing alone maybe?

szpak commented 4 years ago

I didn't expect to have update from 2.44 to 2.49 (looking just at the numbers) have a soname bump :). Semantic versioning sorts thing out - people know what to expect ;).

When dnfdragora is not executed from a terminal those warnings don't seem to be logged and it doesn't seem to impact functionality, so it will probably have to wait for Fedora 33.

anaselli commented 4 years ago

libyui is under Suse control. We can't do that much, we just fix something expecially for gtk one that is not officially supported by upstream, that's it