You are here

DocFetcher Portable 1.1.22 Dev Test 1

13 posts / 0 new
Last post
mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
DocFetcher Portable 1.1.22 Dev Test 1

Application: DocFetcher
Category: Utilities
Description:

DocFetcher is an Open Source desktop search application: It allows you to search the contents of files on your computer. — You can think of it as Google for your local files. (Source: Homepage)

This application requires Java (e.g. jPortable) to run.
Download DocFetcher Portable 1.1.22 Dev Test 1 [70.2MB download / 75.6MB installed]
(MD5: 7a8c8ad613d1a42718375bdd08e4b413)

Project on GitHub / SourceForge

Release Notes:
1.1.22 Dev Test 1 (2018-08-08): Update base app
1.1.21 Dev Test 1 (2018-06-22): Update base app
1.1.19 Dev Test 1 (2017-03-10): Update base app + fix index loss when upgrade + new way to load libs
1.1.18 Dev Test 1 (2016-10-07): Update base app + preserve config folder
1.1.17 Dev Test 1 (2016-03-17): Update base app
1.1.16 Dev Test 1 (2016-02-09): Initial release

qforce
Offline
Last seen: 4 years 5 months ago
Joined: 2009-12-04 14:23
DocFetcher developer here.

DocFetcher developer here. Tested with a non-portable Java installation. No problems were found, two thumbs up!

webfork
Offline
Last seen: 1 month 1 week ago
Joined: 2007-07-18 03:28
Thanks!

Oustanding news. I use this program at least once a week both at work and at home, saving me a ton of time and energy.

Thanks, mwayne.

Moderator at portablefreeware.com

mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Updated DocFetcher Portable to 1.1.17 DT1

Update base app

mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Updated DocFetcher Portable to 1.1.18 DT1

Update base app + preserve config folder

mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Updated DocFetcher Portable to 1.1.19 DT1

Update base app + fix index loss when upgrade + new way to load libs (thanks to Gord)

Gord Caswell
Gord Caswell's picture
Online
Last seen: 27 min 36 sec ago
DeveloperModerator
Joined: 2008-07-24 18:46
; at beginning of libclasspath

I'm glad to help, Mike.

There's one bug I found - the expanded form of PAL:libclasspath (and all variants thereof) include an extra ; at the beginning of the combined path; However this does not affect execution. This can likely wait until a new version comes out, unless you'd like to release a DT 2.

To fix, replace Custom.nsh with the following, note the If statements that change it from the current use.

${SegmentFile}
   
Var libclasspath
 
${SegmentPre}
    ${ForEachFile} "$0" "$1" "$EXEDIR\App\DocFetcher\lib\*.jar"
		${If} $libclasspath == ""
			StrCpy $libclasspath "lib\$1"
		${Else}
			StrCpy $libclasspath "$libclasspath;lib\$1"
		${EndIf}
    ${NextFile}
 
    ${SetEnvironmentVariablesPath} PAL:libclasspath $libclasspath
!macroend
mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Ok

thanks for mentioning. I don't think it's a big deal if it's not affecting execution.

mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Updated DocFetcher Portable to 1.1.21 DT1

Update base app

mwayne
Online
Last seen: 55 min 6 sec ago
Developer
Joined: 2012-01-03 09:23
Updated DocFetcher Portable to 1.1.22 DT1

Update base app

Ronnz
Offline
Last seen: 1 year 6 months ago
Joined: 2019-01-06 20:56
DocFetcher PortableApps version 1.1.19 - bug

I am a big DocFetcher fan and am keen to switch to using the PortableApps version 1.1.19, as it was the last to use the older edition of Lucene.

The bug I have encountered involves the "settings-conf.txt file" and relates to an error that happens when 2 or more PortableApps versions of 1.1.19 are being run at the same time out of separate folders, but I suspect that same error will happen when using any of the PortableApps versions released to date.

From what I have observed, when the program is first installed, the settings-conf.txt file resides in the “settings” folder: X:\DFPortable 1.1.19\Data\settings\

When the program launches, the settings-conf.txt file is moved to the “conf” folder: X:\DFPortable 1.1.19\App\DocFetcher\conf\

When the program is closed, the settings-conf.txt file normally gets returned to the “settings” folder, but not always.

On occasion, I have seen a settings-conf.txt file reside at both locations when the program is running.... and the two files are different. The one in the settings folder will show Column Ordering values but the other one will be blank as to this setting and sometimes the file will be entirely blank.

Having both the program and the settings config files together in the “conf” folder on re-launch doesn’t necessarily cause a problem but it seems that on the next launch, the program will sometimes realize that the “settings” folder is empty and then generate a replacement settings-conf.txt file which then overturns the users preferred settings AND at the same time, any existing Indexes are lost.

Editing or replacing the settings and program config files with known “good” ones restores the preferred settings but not the missing index(es).

Bizarre as it may seem, the only definite factor I have observed that can delay the return of the settings-conf.txt file to the “settings” folder on program closure is when another iteration of DF is running. Three times I have seen the “missing” settings-conf.txt file return to the “settings” folder just moments after the second iteration of DF was closed. In two such cases, the primary version of the PortableApps DF had been closed at least 5 minutes earlier.

Here’s how to duplicate the problem.

1. Open a primary PortableApps version of DF and continuously observe its “settings” folder.

2. Open a secondary separately located PortableApps version of DF.

3. Close the primary version of DF and observe that the settings-conf.txt file does not return to its “settings” folder.

4. Close the secondary version of DF and observe that the primary settings-conf.txt file then returns to its “settings” folder.

Next, substitute a version of the "official" DF Portable for the secondary PortableApps version of DF and repeat the experiment.

Observe that the return of the primary settings-conf.txt file to its “settings” folder is dependent on the closure of the secondary DF Portable.

Factors possibly involved:
From my discussions with the author of DF, the official versions create a file named .lock-XXXXX, where the XXXXX is a long sequence of seemingly random characters and the file resides in the Windows temp folder. After launch, DocFetcher checks whether this .lock file already exists; if it does exist, DocFetcher knows that at least one other DocFetcher instance is running or was forcibly terminated.

From what I can see, this detection mechanism works fine in the official DocFetcher versions, but not in the PortableApps version.

In the official DocFetcher versions, the user will consistently be asked to confirm whether he/she wants to launch another DocFetcher instance. PortableApps DocFetcher on the other hand will open a second instance without confirmation, and will only ask for confirmation if you then try to launch a third instance. Allowing 2 but not 3 versions to run seems to me to be quite odd, and presumably is unintended behavior.

At any rate, I understand that while simultaneously running multiple instances of the same DocFetcher installation is generally a bad thing because DocFetcher is not designed to share its settings and other program files with instances of itself, running multiple copies of the official portable DocFetcher is no problem as long as they reside in separate DocFetcher folders, but the PortableApps version of DF will not allow this to be done without the reported bug eventually occurring.

Unrelated recommendation:
The PortableApps version of DF is issued with provision for only 512MB of memory. This is often inadequate and I have experienced PortableApps DF run out of memory when indexing only some 750 rtf files that contain nothing but text and make up a total size of only some 35 Mb. I suggest that the out of the box memory be increased to 1GB minimum.

Love what you guys are doing by the way!

Ronnz

Ken Herbert
Ken Herbert's picture
Online
Last seen: 7 min 49 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Without going into too much

Without going into too much detail, running multiple instances of many of our apps is not supported.

Some apps it will work fine, however some may act a little strange, some will lose your settings, some will leave settings behind on the PC, and a rare few may just flatly refuse to work if you try it.

Ronnz
Offline
Last seen: 1 year 6 months ago
Joined: 2019-01-06 20:56
DocFetcher PortableApps version 1.1.19 - bug

Thanks for your early response Ken.

While this may not address the difficulties I have encountered, may I suggest that a minimum solution would be to:

1. Ensure that on any attempt to launch a second (not third) iteration, the user be warned that settings may be lost etc and that,
2. The program ships with a standard 1GB of memory.

Log in or register to post comments