Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoFish ver 4 - beta testers needed
Message
From
09/07/2011 07:20:46
 
 
To
08/07/2011 16:25:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01510978
Message ID:
01517799
Views:
52
Hi Matt,

Still the same problem. I compiled the app with gofish.prrg as "main". I copied the app to my VFP directory. I changed to another project directory, ran gofish4 and the following error resulted.:

07/09/2011 07:00:35 AM
--------------------------------------------
The following error has occured;
--------------------------------------------
Error Description is File is in use.
Error Number is 3
in GOFISHSEARCHENGINE.GETFILEDATETIMEat line #12
while executing Use (tcFile) Again In 0 Alias GF_GetMaxTimeStamp

Stack follows (9):
(6.) gofishsearchengine.searchinfilename in c:\program files\microsoft visual foxpro 9\lib\gofishsearchengine.vct Line#: 15
(5.) gofishsearchengine.searchinfile in c:\program files\microsoft visual foxpro 9\lib\gofishsearchengine.vct Line#: 37
(4.) gofishsearchengine.searchinproject in c:\program files\microsoft visual foxpro 9\lib\gofishsearchengine.vct Line#: 65
(3.) gf_results.dosearch in c:\program files\microsoft visual foxpro 9\forms\gofish_results.sct Line#: 46
(2.) gf_results.search in c:\program files\microsoft visual foxpro 9\forms\gofish_results.sct Line#: 9
(1.) gf_results.cmdsearch.click in c:\program files\microsoft visual foxpro 9\forms\gofish_results.sct Line#: 1

It's clear that goFish4 will "remember" the last project regardless of directory. Yes goFish continued to search it's own project. You may want to re-think that feature since it probably will cause confusion. Many developers often work on many different projects.It is very likely goFish will run with the wrong project selected. Might it be possible to use directory based project retention? Perhaps if the developer were to begin a search in a directory where gofish4 has not yet been run they would be prompted for Directory/Project selection. You could then store a "cookie" local to that directory.

Otherwise I have not yet fully tested the program. In the next few days I will try to give it a thorough shakedown.

Thanks for all your hard work, it has been and will continue to be a very valuable tool to the VFP community.

Thanks

Glenn


>Thanks for using GoFish.
>
>Are you running it from the GoFish.prg startup prg in the project? If so, the problem is that you are using GoFish to search the GoFish project, and it's trying to search the very same SCX file that you are running, so it can't open the SCX (with the USE command) in that case. That won't work.
>
>You really don't need to open the GoFish project, or even build it. The GoFish4.app is already present in the download, and that the only file you need to run.
>
>Bottom line is this.... Whenever you want to use GoFish, you should be running the GoFish4.app, not the boot prg from the project.
>(Even then, you still cannot search the GoFish project with it. VFP will still get confused.)
>
>By the way.... The default mode when GF runs is to search the active project. I believe that GoFish was your active project at that time? That's where the problem comes from. You need to click on the Advanced button and choose one of your own projects or folder paths to search, and then I think you will be able to use it without any issues.
>
>Please let me know if this helps.
>
>
>
>
>
>>Hello Matt,
>>
>>I downloaded the latest version as of July 8,2011. I have not signed on to actively beta test but I thought I would give it a go. Here are my findings with the latest distro.
>>
>>1. When you open the project the file "gofish_formatgrid.fxp" is missing. In addition the gofish_formatgrid.prg is nowhere to be found as well. I did find gofish_formatgrid_sample.prg.
>>I copies gofish_formatfrid_sample to gofish_formatgrid and was able to open the project.
>>
>>2. After running buildgofish.prg I started goFish4.app and it started without errors.
>>3. I attempted to start a fishing expedition for "Carp" as the program threw a file in use error. I documented the error as follows:
>>
>>07/08/2011 03:07:43 PM
>>--------------------------------------------
>>The following error has occured;
>>--------------------------------------------
>>Error Description is File 'gf_getmaxtimestamp.dbf' does not exist.
>>Error Number is 1
>>in GOFISHSEARCHENGINE.GETFILEDATETIMEat line #13
>>while executing Select Max(TimeStamp) From GF_GetMaxTimeStamp Into Array laMaxDateTime
>>
>>Stack follows (9):
>>(6.) gofishsearchengine.searchinfilename in c:\dev\tools\tools\gofish4\gofish4\lib\gofishsearchengine.vct Line#: 15
>> Code: ldFileDate = This.GetFileDateTime(tcFile)
>>(5.) gofishsearchengine.searchinfile in c:\dev\tools\tools\gofish4\gofish4\lib\gofishsearchengine.vct Line#: 37
>> Code: lnFileNameMatchCount = This.SearchInFileName(tcFile)
>>(4.) gofishsearchengine.searchinproject in c:\dev\tools\tools\gofish4\gofish4\lib\gofishsearchengine.vct Line#: 65
>> Code: lnReturn = this.SearchInFile(lcFile)
>>(3.) gf_results.dosearch in c:\dev\tools\tools\gofish4\gofish4\forms\gofish_results.sct Line#: 46
>> Code: loSearchEngine.SearchInProject(lcScope) && Active Project
>>(2.) gf_results.search in c:\dev\tools\tools\gofish4\gofish4\forms\gofish_results.sct Line#: 9
>> Code: If Thisform.DoSearch(.t.)
>>(1.) gf_results.cmdsearch.click in c:\dev\tools\tools\gofish4\gofish4\forms\gofish_results.sct Line#: 1
>> Code: ThisForm.Search()
>>
>>the current value of tcFile was C::\DEV\TOOLS\TOOLS\GOFISH4\GOFISH4\FORMS\GOFISH_RESULTS.SCX
>>
>>I hope this helps.
>>
>>Glenn
>>
>>
>>>>Which versions of VFP will this run in?
>>>
>>>
>>>VFP9
>>>
>>>
>>>
>>>
>>>>>Hi folks – I’m looking anyone interested in participating in some last-minute, pre-beta testing of the new GoFish Version 4 code search tool for Foxpro.
>>>>>
>>>>>GoFish has been around for years, and I’ve recently taken over development of it, with permission from original author Peter Diotte, and have added tons of new features. One great thing about GoFish is that it is usually 3 to 10 times faster than Code References. And, the new UI has been redesigned to actually look very much like Code References, so that it will feel very familiar to existing CR users. But it has even more features, like post-search filtering, searching on TimeStamps of objects within a form or class, and fully colorized code views.
>>>>>
>>>>>You can see some screenshots of the new UI here: http://vfpx.codeplex.com/wikipage?title=GoFish
>>>>>
>>>>>The public beta will be released on VFPX in about a week, so I want a few more hands-on users before public release.
>>>>>
>>>>>If you’re interested in this last-minute fishing expedition, please reply to me directly at mattslay -@- jordanmachine -dot- com and I will send you a download link.
>>>>>
>>>>>(Please - only reply if you can commit to quickly installing and testing, and can have intensive communication about any problems that you encounter.)
>>>>
>>>>Which versions of VFP will this run in?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform