pFilesearch 2.2

Filemanagers, partitioning tools, etc.
Message
Author
loganz
Posts: 8
Joined: Thu 13 Nov 2008, 22:38

I cannot get the date functions to work

#16 Post by loganz »

I must be thick, i cannot get the date functions on pfilesearch 1.9 to work for me. Anytime I select the date functions it finds no files??

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#17 Post by zigbert »

Do you run Pfilesearch, searches and nothing happens? OR, are you running Pfind, searches and get message 'no files found' ???

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#18 Post by zigbert »

Version 1.10
See main post

changelog 1.10
- Some code cleanup
- Translation of search-button (thanks to esmourguit)
- Parameter: -d [DIR] (thanks to HairyWill)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#19 Post by zigbert »

Version 1.11
See main post

- Pfilesearch can now be used as a standalone file-finder OR as a engine for other guis.
- Bugfix: -d switch didnt handle spaces in directory name. (thanks to HairyWill)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#20 Post by disciple »

Minor bug in the new standalone feature: the results window shows a blank list, I think if the number of hits exceeds the limit or something. The terminal says

Code: Select all

(gtkdialog3:26296): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#21 Post by disciple »

Also, if no files are found it displays a blank results window after the dialogue saying no files were found.
Personally I don't think these are important, because I don't think most people would want to use pfilesearch by itself at the moment as it only lists results as text... if only pfind had a --advanced option so we could launch it straight to the advanced search :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#22 Post by disciple »

Oh - I fount another bug: pfilesearch doesn't work properly if there is a "-" in the search text.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#23 Post by zigbert »

Alister
Thanks for testing
I can't reproduce the bug when you use '-' in search text. Can you be more specific. It seems to work here.


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#24 Post by zigbert »

I also tested with a global search and got 126000 hits. They all showed up in the result window ???????


Sigmund

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#25 Post by disciple »

OK, my guess about it being to do with the number of hits must be wrong. I just tested again, and as an example, if I search for files with mp3 in their name on /mnt/sdb1, I get that error, but if I search for them in /mnt/sdb1/music, then it works... does the error message mean anything to you? Maybe it could be caused by invalid filenames or something weird...
pfilesearch doesn't work properly if there is a "-" in the search text.
I think this is only when searching for text in files. Actually, it is very inconsistent. I searched in a folder for files containing -hello, and got a list of false hits... I'm not sure what it actually searched for :)
On some searches I get a whole lot of

Code: Select all

grep: invalid max count
I don't know what it means.
On other searches it seems to hang - it never comes back with a results window, and when I use the cancel button it says in the terminal

Code: Select all

/usr/local/pfilesearch/box_splash: line 30: kill: (1404) - No such process
When I initially noticed a problem I had searched using pfind and the progress dialogue that says it is building a results list or something had a whole lot of those grep messages - but I can't replicate that now.

BTW have you considered adding to pfind and pfilesearch a dialogue that says "The search directory does not exist"? At the moment you just get told there were no files found, and it doesn't display the search path or anything, so you can't tell if you just typed a path wrong.
Actually, it would be cool if the error message and even the results window showed the find command :)
Last edited by disciple on Wed 07 Jan 2009, 12:31, edited 1 time in total.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#26 Post by disciple »

BTW this works in that drive - maybe when I get a chance I'll have to look at the find options pfilesearch uses and see if they work

Code: Select all

find /mnt/sdb1 -wholename *mp3
.
Good night :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#27 Post by zigbert »

Version 1.12
See main post

changelog
- Japanese translation. (thanks to himajin)
- Spanish translation (thanks to Proudog)
- Bugfix: Don't show result-window if no hits. (thanks to disciple)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#28 Post by zigbert »

Version 1.13
See main post

Changelog
- Autodetection of all languages in ISO 639-1.
- Chinese translation. (thanks to sasaqqdan)
- Bugfix: support of pfind (4.8 ) -a option

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#29 Post by zigbert »

Version 1.14

changelog
- Bugfix: Find textstring containing 'A' 'N' or 'D'. (thanks to BarryK)
Attachments
pfilesearch-1.14.pet
(10.44 KiB) Downloaded 1493 times

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#30 Post by disciple »

That sounds familiar... I wonder if it was also once a bug in pfind that got fixed before you invented pfilesearch :)

Re: the problem searching for text in files for a string that includes a - character:
If I search for -hell or -hello I get false hits. And I notice if I search for -spitfire I see error messages in the terminal from grep, saying that p is not a valid switch. So I suspect it is a problem with quoting the -
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#31 Post by disciple »

aha:
changelog 4.5
...
- Bugfix: Search in text (grep) failed when searchstring contained the letters A,D,N,O,R (thanks to disciple)
Better check if O and R are a problem here too maybe? :)
Last edited by disciple on Tue 30 Jun 2009, 07:21, edited 1 time in total.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#32 Post by zigbert »

changelog 4.5
...
- Bugfix: Search in text (grep) failed when searchstring contained the letters A,D,N,O,R (thanks to disciple)
Good catch. That fix wasn't complete. Let's hope I made it better this time.

Yes. it is obviously problems when searching for '-'. I'll look at it.


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#33 Post by zigbert »

Version 1.15

Changelog
- Bugfix: searching for text in files for a string that includes a - character (thanks to disciple)
Last edited by zigbert on Mon 29 Jun 2009, 12:55, edited 1 time in total.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#34 Post by zigbert »

There still seems to be trouble wtih text search
I need more time

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#35 Post by zigbert »

Please test and report back
Attachments
pfilesearch-1.15.pet
(10.31 KiB) Downloaded 1482 times

Post Reply