Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46350 - [catfish] Hang at first file found

Attached to Project: Community Packages
Opened by Olivier (olive) - Saturday, 19 September 2015, 15:24 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 25 October 2015, 09:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This package does not work properly. It hangs at the first file found and the various comment present on the right-click menu do nothing at all (for example open with the file manager). I have to kill python to terminate it. The following errors appears when launched from a terminal:
(with a lot of other errors). My Desktop is XFCE.

I have found that if the package is build against python2 instead of python3 (just pass --python=python2 to the configure script, and replace the dependencies for python2); then all is working properly. Unless someone found a solution for python3, I thing it is the thing to do.

Additional info:
* package version(s)

1.3.1-2

log from the terminal:

Traceback (most recent call last):
File "/usr/share/catfish/catfish/CatfishWindow.py", line 483, in preview_cell_data_func
icon_name = model[treeiter][0]
File "/usr/lib/python3.4/site-packages/gi/overrides/Gtk.py", line 1075, in __getitem__
return self.model.get_value(self.iter, key)
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

Steps to reproduce:

See above.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 25 October 2015, 09:57 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Monday, 21 September 2015, 08:14 GMT
Thanks for reporting.

I'll switch to python2 for catfish. Please report the problems with python 3 to the catfish developers.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 27 September 2015, 22:20 GMT
Unable to reproduce the issue. Is this still an issue with Catfish 1.3.2?
Comment by Olivier (olive) - Monday, 28 September 2015, 07:50 GMT
Yes I have still the issue. Maybe it depends on the underlying library daemon on the Desktop. I am on XFCE and, amoung the optional dependencies of catfish, I have

zeitgeist: integration with zeitgeist
findutils: filename search [installed]
mlocate: filename search [installed]
tracker: fulltext search
strigi: fulltext search
pinot: fulltext search

The hang at the first file is apparently not always reproductible. Sometimes it find more than the first file. I have the hang if I search my whole $HOME directory (the find commandline tool find it immediatly). What I can reproduce however is the fact the python process does not terminate when we close the window (and it remains in the foreground if catfish is launched from a terminal).
Comment by Alexander F. Rødseth (xyproto) - Sunday, 04 October 2015, 16:09 GMT
Ok, will switch to python2.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 04 October 2015, 17:22 GMT
Reverted to python2. Please confirm that it now works as expected. (The updated package should appear in [community] shortly).
Comment by Olivier (olive) - Sunday, 04 October 2015, 18:45 GMT
A quick test shows that it indeed works as expected. I do not find the problems that I saw before anymore.
Comment by Alexander F. Rødseth (xyproto) - Monday, 05 October 2015, 09:14 GMT
Great. Thanks for the feedback!
Comment by Olivier (olive) - Sunday, 18 October 2015, 19:36 GMT
  • Field changed: Percent Complete (100% → 0%)
The bug was real but my diagnosis was wrong. The problem was a missing python-cairo dependency. I had the python2 version installed but not the python3 version, and I wrongly concluded that python3 was the culprit. The behavior I described appear when you do not have python{2,3}-installed, independently of the python version. This might explain that you (Alexander F Rødseth) didn't be able to reproduce the bug. Most probably you had python3-cairo installed.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 24 October 2015, 15:27 GMT
Ok, thanks for the information. Will change to python3 and depend on python3-cairo.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 24 October 2015, 16:10 GMT
Changed over to python3 and updated to version 1.3.3
Comment by Olivier (olive) - Saturday, 24 October 2015, 21:32 GMT
Sorry but there is still missing dependency: python-ptyprocess (the program crash with an explicit error in the console without it). Hope its's the last one.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 25 October 2015, 08:59 GMT
Strange, it did not crash here. Will add the dependency.
Comment by Olivier (olive) - Sunday, 25 October 2015, 09:46 GMT
You can run your latest package (1.3.3-1) without python-ptyprocess? Here it does not start and crash immediately, but with the content of the attached file in the console; which is pretty explicit: ImportError: No module named 'ptyprocess'
   log.txt (0.7 KiB)
Comment by Alexander F. Rødseth (xyproto) - Sunday, 25 October 2015, 09:57 GMT
Added the dependency. The updated package will appear in [community] shortly.

Loading...