Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Aug 2014, 12:46
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Pfind 5.13
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 39 [582 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 37, 38, 39 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Fri 24 Aug 2007, 06:44    Post subject:  

Version 2.3 is uploaded. See main post.
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Fri 31 Aug 2007, 19:12    Post subject:  

Do the actions when you search for a type of file (picture, music etc) actually work for anybody? I haven't got Puppy 2.17, but I wouldn't have thought it would behave differently from 2.16 on this. These actions still don't work for me because for some reason it doesn't build the symlinks, so it opens GTKSEE or whatever with nothing to show.

Am I missing something?
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Sat 01 Sep 2007, 02:06    Post subject:  

Yeah, you right. Autoview pictures in gtksee doesn't work (I havn't used that feature for months). After gtksee is loaded, Pfind shows up with its overview-mode. It doesn't seem logical. I'll take a look at it.

I have also made it possible to list filenames with < or > in filemanager mode. It will come in 2.4.

Please report bugs. We all have different ways of using a program, and will find bugs that others won't.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sun 02 Sep 2007, 22:52    Post subject:  

Great! 2.4 seems really solid.
The only other suggestions I've got are to add a button in the results window to show only folders, and maybe take another look at the default slideshow options - I find
Code:
"qiv -ftsNF /tmp/pfind-view$PROGPID"
more useful.

If you ever do another version you might as well change seperate to separate in line 8 of .pfindrc as well.

This is really good. Zigbert is the man!
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Mon 03 Sep 2007, 00:53    Post subject:  

disciple
Thanks for suggestions. Your help brings this project futher.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Mon 24 Sep 2007, 15:36    Post subject:  

Version 2.5 is uploaded. See main post.
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 06 Oct 2007, 01:38    Post subject:  

The actions in the list menu are broken now - it builds symlinks, but never runs the action. Sad

Also, you said you'd changed the default options for a qiv slideshow, but you actually didn't change them, only in the example above the actual settings Smile

BTW in the last several versions I've had to manually set the permissions on pfind after installing.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Sat 06 Oct 2007, 01:49    Post subject:  

Glad you're here to correct me.

Thanks
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Sat 06 Oct 2007, 02:00    Post subject:  

Quote:
The actions in the list menu are broken now - it builds symlinks, but never runs the action. Sad


I have tested this now, and it works correct for me???????? (I'm in 2.17)

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 06 Oct 2007, 04:12    Post subject:  

That's interesting - it wasn't working in Grafpup 104, so I installed in 2.16.1 to check, and it didn't work there either - at least the option to open the files in the list with a text editor, and the options to open in music player (setup for gxine in one install, and for xmms in the other) or video player weren't working.
I'm pretty sure they were working in both installs with pfind 2.4. I wonder what the difference would be between 2.16.1 and 2.17.1? Or do you think it might not like that I had a couple of hundred files in the list each time? Or maybe there's something peculiar with my system - once before I've had a search for "mp3" turn up 900 hits or something, but only a hundred and fifty or so showed up in the list, and the last entry was "/mnt/hdb6/", which has no "mp3", so something must have messed it up somehow.

I did try running the same commands it is set up for in a terminal, after it had finished making the symlinks, and that worked.

BTW Good work with getting rid of the need to rebuild the gui - that's wonderful.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Sat 06 Oct 2007, 05:39    Post subject:  

It could absolutely be a bug from 2.5. I messed with the code when refined the gui-handling. Can you try to run Pfind from terminal.

When opening files in texteditor, Pfind opens symlinks, and not the real files. Lets change this for version 2.6. In Grafpup you are running multiuser. Do this give trouble with permissions in /tmp/?

If trying to open MANY files in Geany I got an extreme delay.

Quote:
once before I've had a search for "mp3" turn up 900 hits or something, but only a hundred and fifty or so showed up in the list, and the last entry was "/mnt/hdb6/", which has no "mp3", so something must have messed it up somehow.

I just wonder: Could it be problem with filenames not compatible with UTF-8 charset. Max hits in Pfind 2.5 is set to 500. I guess you edited the config file. If running a low-powered system it's not recomended. The option ACCEPT_ARROW is because I experienced that < and > gave trouble when handling filenames from iso8859.1.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 06 Oct 2007, 17:50    Post subject:  

No, it's not a permissions problem - multiuser is new in Grafpup 2. Grafpup 104 is basically Puppy 1.04 with some stuff changed. And I've got the same problems in Puppy 2.16 anyway.

I don't think it's just a delay, as I tried with a list of mp3's, and it built the links but nothing ever happened. Then I ran the command from the config file and xmms opened up with all the files quite quickly.

Yes I did edit the limit - I have a 900MHz Celeron, and it is slow, but not too slow. I really don't want to have the limit at less than 1000. But those list menu items aren't working for me with less than 200 hits.

Some of my test searches were just in my Windows 98 FAT32 partitions, as I thought it unlikely there'd be illegal characters or anything there - but I'm not sure. You can't use < and > on them anyway.

-----------------------------------
EDIT - Skip to the next post - I tested more thoroughly
-----------------------------------

I just tried it again, and it didn't say anything unusual in the terminal until I clicked the (gtkdialog - not WM) close button, when it closed pfind and spat out a list of all the files, like this:
Code:
/usr/local/pfind/pfind: line 812: /mnt/hdb6/Upstairs/Songs/Kim: No such file or directory
for files with a space in the name, like there's some quotation marks missing somewhere, and like this:
Code:
/usr/local/pfind/pfind: line 830: /mnt/hdb6/Upstairs/Messer011.mp3: cannot execute binary file
for files without spaces in the name - well of course it can't execute the file - it's an mp3 Smile
and then this at the very end:
Code:
/usr/local/pfind/pfind: eval: line 875: syntax error near unexpected token `('
/usr/local/pfind/pfind: eval: line 875: `/mnt/hdb6/04 The Package/12 Not To Win (The Fast).mp3'
With the other messages it was progressing one line at a time, but it jumped from line 862 to line 875.
Then it opened up the pfind results window again, with the results still there, and when I clicked close again it just closed normally.
The only thing I did after searching and before clicking the close button was click on List-open files in music player.

Last edited by disciple on Sat 06 Oct 2007, 18:38; edited 1 time in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 06 Oct 2007, 18:36    Post subject:  

OK - that wasn't quite right. If I run a search for mp3 in hdb6 (a fat32 partition) this is what consistently happens:
First I get 274 hits. Then:
-If I just press close it closes normally.
-If I click List-Open musicplayer then it builds the symlinks, and then when I click close it closes and the terminal spits out the messages attached.
-If I click the button to show only sound files, it removes 5 files from the list. Then if I click List-Open musicplayer it builds the symlinks, and then when I click close it closes and the terminal spits out the other messages attached, and then pfind opens again, building a hitlist, and then brings up the search results window with all the same results. If I then click close it closes normally.

In neither case does it actually open the music player

Note that the two sets of messages are different (especially the last two lines), and that neither has a line for all of the files.

The lines that look like this
Code:
/usr/local/pfind/pfind: line 862: /mnt/hdb6/01: No such file or directory
are for files with spaces in the name, the lines that look like this:
Code:
/usr/local/pfind/pfind: line 840: /mnt/hdb6/Upstairs/Messer021.mp3: cannot execute binary file
are for files without spaces in the name, and the lines that look like
Code:
/usr/local/pfind/pfind: line 877: CeCe: command not found
are the first part of a filename after an & and before the next space.
Those last two lines in one set of messages are probably for the only file with ( and ) in the name.
JustClickingList-OpenWithMusicPlayer.gz
Description 
gz

 Download 
Filename  JustClickingList-OpenWithMusicPlayer.gz 
Filesize  1.28 KB 
Downloaded  313 Time(s) 
afterClickingShowSoundFiles.gz
Description 
gz

 Download 
Filename  afterClickingShowSoundFiles.gz 
Filesize  1.05 KB 
Downloaded  302 Time(s) 
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Sat 06 Oct 2007, 18:42    Post subject:  

actually it might not be exactly the last two lines in those files - I think I left the standard exit lines in one of them.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5673
Location: Valåmoen, Norway

PostPosted: Sun 07 Oct 2007, 03:25    Post subject:  

OK, let's start tracking.

Your attacthed files tells that pfind start failing at line 655. This tells us that the misbehavour happens inside gtkdialog-code. It seems to me that that your filenames in hitlist corrupts the code. I guess this happens when building items for the hitlist. This because pfind includes /tmp/pfind-treeitems$PROGPID into the code.

What we need to look at are your file /tmp/pfind-treeitems$PROGPID just after showing the searchresult in the overview. If we could compare this list with the list 'find' gives us, I hope we could see what goes wrong. You of course know that 'find' executable is build in /tmp/pfind-execfind$PROGPID, but be aware of; if searching with several searchpaths 'find' will execute several times and /tmp/pfind-execfind$PROGPID shows only the last 'find'-command. Be sure that there are only one searchpath. Then the lists from pfind and find are comparable.

Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 7 of 39 [582 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 37, 38, 39 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1131s ][ Queries: 12 (0.0228s) ][ GZIP on ]