FS#62864 - [catfish] Catfish fails to open main window
Attached to Project:
Community Packages
Opened by (IrvineHimself) (IrvineHimself) - Monday, 10 June 2019, 15:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 11 June 2019, 08:25 GMT
Opened by (IrvineHimself) (IrvineHimself) - Monday, 10 June 2019, 15:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 11 June 2019, 08:25 GMT
|
Details
This applies to catfish 1.4.7-1, and seems to be the same
problem reported at
https://bugzilla.redhat.com/show_bug.cgi?id=1702891
When trying to launch from a terminal, the output is: [me ~]$ /usr/bin/catfish (catfish:1850): Gtk-WARNING **: 15:47:34.986: ../gtk/gtk/gtkwidget.c:8629: widget not within a GtkWindow Traceback (most recent call last): File "/usr/bin/catfish", line 42, in <module> catfish.main() File "/usr/lib/python3.7/site-packages/catfish/__init__.py", line 76, in main window = CatfishWindow.CatfishWindow() File "/usr/lib/python3.7/site-packages/catfish_lib/Window.py", line 169, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.7/site-packages/catfish/CatfishWindow.py", line 274, in finish_initializing (display_width, display_height) = self.get_display_size() File "/usr/lib/python3.7/site-packages/catfish/CatfishWindow.py", line 321, in get_display_size m = s.get_monitor_at_window(s.get_active_window()) TypeError: Argument 1 does not allow None as a value [me ~]$ Steps to reproduce: Install latest Catfish and try to launch |
This task depends upon
Which DE/WM do you use?
Interestingly, despite the Fedora bug report, I'm fairly sure that on my old installation, Catfish was launching okay. I'm sorry, but because I wiped my hard drive before installing Arch, I cant actually check this . Although, if you like, I could install Catfish to the Fedora installation media?
If this is the problem I think it is, it's that catfish crashes if none of the search engine backends are installed. They are all optional dependencies.
The dilemma is if the optional dependencies should be kept optional, or if one of them should be installed by default when installing catfish.
I then installed zeitgeist. Although the wiki describes it as a daemon, there doesn't appear to be any service associated with 'systemctl enable zeitgeist' or 'systemctl enable zeitgeistd'. Again, just to be sure, I rebooted.
The end result is that neither of them make any difference. Finally, I checked my Gnome privacy settings, they were set to retain history forever.
test2.patch simplifies the above and avoids using the monitor class only added in 3.22
As an aside, previously, I was unaware of how versatile makepkg is as a development tool:)
Irvine
Edit:
just in case it's important, here is the output from running a patched catfish search in the terminal:
[me Catfish-Test1patch]$ catfish
(catfish:12412): Gtk-WARNING **: 04:52:58.465: ../gtk/gtk/gtkwidget.c:8629: widget not within a GtkWindow
[me Catfish-Test1patch]$
As you can see, only the expected Gtk warnings
Finally, I uninstalled mlocate, zeitgeist and rebooted without any problems. So both mlocate and zeitgeist can remain optional.
Thanks for your help
Irvine
(Please also report upstream to the catfish developers, if possible).