AvANa-BBS / freepto-lb

Encrypted GNU/Linux OS (based on Debian Wheezy) which can be installed on USB flash drive. Freepto is designed for encrypt your communications, carry your documents in secure way and save your anonymity.
http://www.freepto.mx/
43 stars 14 forks source link

Thunar search doesn't work #119

Closed ghost closed 10 years ago

ghost commented 10 years ago

Search for files and folders doesn't work, despite there is an entry on the context menu.

The solution should be install the catfish package

ghost commented 10 years ago

Added testing needed label

AreYouLoco commented 10 years ago

hello everybody! catfish is good. it can use different search engines you have installed like locate and find.

boyska commented 10 years ago

catfish does not work, I can't understand why it relies on .pyc being available: seems like a bug in the package. Running it from terminal does not work, nor does it work from the menu or by right-click in thunar. Changing directory to /usr/share/catfish THEN running catfish will work.

It's so buggy I cannot believe it.

AreYouLoco commented 10 years ago

if you change /usr/bin/catfish to:

!/usr/bin/env bash

python /usr/share/catfish/catfish.py "$@"

it should work. definitely bug in package.

ghost commented 10 years ago

the bug on bugs.debian.org: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746251

ghost commented 10 years ago

The bug should be fixed: Date: Fri, 02 May 2014 16:20:45 +0200 with the release 0.3.2-2+deb7u1.1

But it is not yet in the stable repo

Granet commented 10 years ago

The command: "Find in this directory" dosen't works because it uses as command: catfish --path=%f but catfish on freepto it didn't installed.

The solution complete is: 1) open terminal and type this: sudo add-apt-repository ppa:catfish-search/catfish-stable sudo apt-get update sudo apt-get install catfish

2) Open Thunar (as administrator or root) and open file catfish ( /usr/bin/catfish ) and change: %python% /usr/share/catfish/bin/catfish.py "$@" to: python /usr/share/catfish/catfish.py "$@" Save file. Now Catfish works and command "Find in this directory" also works!

ghost commented 10 years ago

The package was fixed for the stable, although the package is not already available from the official repository

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 02 May 2014 16:20:45 +0200
Source: catfish
Binary: catfish
Architecture: source all
Version: 0.3.2-2+deb7u1.1
Distribution: stable
Urgency: low
Maintainer: Cody A.W. Somerville <cody-somerville@ubuntu.com>
Changed-By: Andreas Rönnquist <gusnan@gusnan.se>
Description: 
 catfish    - file search tool that support several different engines
Closes: 746251
Changes: 
 catfish (0.3.2-2+deb7u1.1) stable; urgency=low
 .
   * Non-maintainer upload.
   * Fix the patch 50Fix_cve.dpatch, correcting the calling
     python command (Closes: #746251)
Checksums-Sha1: 
 89cc4204e9d65e4ea3ff8117ec2ef4f0dfa3c2e7 2013 catfish_0.3.2-2+deb7u1.1.dsc
 26893bc4fc5947e19289a0d82e214c035ca93936 35702 catfish_0.3.2.orig.tar.gz
 dbcaa123e9f7e2e16e7b723609e2de4c2c1a107b 6047 catfish_0.3.2-2+deb7u1.1.diff.gz
 8eaf0c329ec969244264ffa50555791daeeb96dc 32984 catfish_0.3.2-2+deb7u1.1_all.deb
Checksums-Sha256: 
 d5d077b61265491845302388caf1a1564de2a510fb63b302bd2b70474c2e59ea 2013 catfish_0.3.2-2+deb7u1.1.dsc
 15266b1961ba64552b969c4c84752c931fd29412fe142835cbc3dde6385588f4 35702 catfish_0.3.2.orig.tar.gz
 7077e66c9729337cb28e589696a670ece1920944c55c3aa43bf9d9f17f8710e4 6047 catfish_0.3.2-2+deb7u1.1.diff.gz
 cefa47bc756cd4c36a0e87e4331f3ed41c86195cf116245aead06d02f251d3f4 32984 catfish_0.3.2-2+deb7u1.1_all.deb
Files: 
 342d2e6b8b6b651a423fb4b6efa6adee 2013 utils optional catfish_0.3.2-2+deb7u1.1.dsc
 b28db355094bfbe7de097678e91ce271 35702 utils optional catfish_0.3.2.orig.tar.gz
 142a1647f042c212c34293a1b7b66047 6047 utils optional catfish_0.3.2-2+deb7u1.1.diff.gz
 3ede7ba44260c4789a816a997ad5416f 32984 utils optional catfish_0.3.2-2+deb7u1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTcEpVAAoJEI7tzBuqHzL/B2MQAJUlN92HRtYFFsR5pMdVgaHk
wD9mqkehV9kcoNK7sYACnitwcmrUxn+vUI+k6+7QkCOUY+NW+QKrMivuOYHAWh/2
RL6g7t2wnZA9CS0DDgM0JcRzof9tshaXpgyCt71tt1q2w5e4XaIdjsJLxDL4xhw1
vWGs3rmHRHMTtHyMr26Bh0izzxYF2lmxrb0rIQRWpLK9BvA6fujCAk2b+6YlAT3m
jX9ugZvTSVvlsMrdhV5fU0ZTNyHs95iGmdHukGuteM7tiz4BUTGe7wn4QycsZsy5
KgmdfR1jWkuGTVoZYYYQxGvB4ShKijxRdjkfSHIy1UmQnsafQWDHPmRouprC0J01
JU89s6WJsBRjIABX6LOJxV6B8LCCvFl14I1v4scJxG+WcE+rpxyFoiHCvAj6hM4e
qPuro0iBUwFmz5HCF+4YE3L9TVz6Z962PsRQ9rXiNSI2Q6JB4UCicTS86/ZRmNBI
EvRWrJgDo1IDP/7XZ12gAOhIVpnKdMgkiQocxkpSw2sh8F+iJqCmIgzT8sPlqxp1
5hb5G6SuRi5mIznCa5SpSzRbhJ5094/3tZ+OcMlBhbYpxcjZaiCYa3LtgrSRFHtv
6YdchKHG43gMFYGTmxfMPrHlmiN+wkaMdAvUcesp5t/g8CitFXend6OcoeT+RVK6
vqCbhURljjzEiK+FG7y6
=MRd7
-----END PGP SIGNATURE-----

I think we should avoid as far as possible 3th party repository.

In the meantime, we could test it from here: http://pkgs.org/debian-wheezy/debian-proposed-updates-main-i386/catfish_0.3.2-2+deb7u1.1_all.deb.html

or through adding the following repository:

deb http://ftp.debian.org/debian/ wheezy-proposed-updates main
AreYouLoco commented 10 years ago

yup 3th party repository is a big security risk

ghost commented 10 years ago

Patched package added in the berenjena's repository. In the meantime this fix the issue, we will remove that package as soon as it becomes available on the official debian repository.

I have installed the new package on a dev freepto img and it works fine.