I came across a strange error in FinalBuilder when i was trying to find an file.
When trying to find a specific file in the following folder: C:\FinalBuilder\Gilde\WorkingFolder\Vault\Applications\Gilde\Dev\SW\Mercatus\Common\2.0\Data
I got an message that no file was found, even if the current folder have lots of file in it(and also the specified file), I also tried to find . in the same folder but same result.
However if i removed the last folder and did the same search there it works fine.
So it seems that there are a “retriction” on how long a path can be. (It fails if the path is longer than approx. 90 chars)
Is there a fix for this or have anyone else gotten the same error?
Hi Magne,
The Find File(s) action will handle paths up to 255 characters, so I don’t think it would be a length issue.
I’ve noticed though, that if the path does not end with a ‘’ it will fail, possibly the reason why its not working in this case. I’ll put a fix in to check for trailing slashes.
Hopefully this helps
Regards,
Paul
Hello Paul, thank you for the quick response.
My path did not end with a ‘’, but it did not solve it when I added it.
To specify a little more here is what I am doing.I have a variable called project that holds my path and vbproj file (i.e. c:\test\test.vbproj)
I then have a variable to store only the path for my vbproj file.(when debuging that variable is containing a trailing ‘’.
I use path manipulation to extract the folderpath from my project variable, and also to get the project file name. (I also use it to remove the file extention so that i get my project name (without .vproj)
So I now have several variables:
1. project (c:\test\test.vbproj)
2. projectpath (c:\test)
3. projectname (test.vbproj), first then i use path manipulation to remove the file extention.
4. projectname (test)
I then use text find to check that projectname starts with test.
Then i use Find file(s) to find %projectname%.dll in the %projectpath%\bin\ folder.
This is where Finalbuilder fails even if test.dll exists in c:\test\bin<br>
(i have used short paths here, but in my code it only fails if the path is long.)
Regards
Magne
Hi Magne,
Thanks for the detailed information, I was able to find the bug and a new build will be available soon.
Regards,
Paul.
Hi Magne,
Here is the new build: https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_92.exe
Regards,
Paul
Hi Paul,
I have installed the new build and it is working now. Thank you for the quick fix.
Regards
Magne