Page 1 of 1
Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 1:01 am
by makeshyft
hi everyone....
When I create a standalone (windows), the command RevSetDatabseDriverPath and the function RevGetDatabaseDriverPath DO NOT WORK.
In the IDE, everything works perfect......
In my standalone settings, I tried both "Searching" for externals....and selecting all of them. Same result for both....
What isn't being included in my standalone? the db files and externals seem to be there.....
so weird....where can I look? ... what can I do to get it to work?
Thanks ahead of time....
PS> Using 6.5.2
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 2:22 am
by FourthWorld
What is the error message you're getting?
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 2:36 am
by makeshyft
I found this bug report ..and confirm this is the bug I am experiencing..... the bug report contains a workaround that works for now.....
And found out, SQL drivers got an upgrade in next version.
http://quality.runrev.com/show_bug.cgi?id=10207
Ty.
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 3:30 am
by FourthWorld
Peter submitted that as a feature request, and indeed it's a welcome one, updating the SQLite engine and providing hooks for its additional packages like FTS.
But I didn't see a bug report there about a difference in behavior between the IDE and a standalone. If there is such a bug the recipe should be submitted in time for the upcoming build.
Central to that is to identify the specific error you're encountering. What is the value of "the result" right after you call revSetDatabaseDriverPath?
And why do you call that? Normally the DB drivers are included in a folder with the standalone that the included LC libraries will find by themselves. Are you changing the location of those? If so, where are they relative to your app?
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 4:16 am
by makeshyft
Oooposs...
I posted the wrong link to the wrong bug report....
http://quality.runrev.com/show_bug.cgi?id=11747
I was calling those functions because I suspected the error was happening in relationship to the database drivers.... so i was trying to see if setting my own path would fix it..... and on it went from there.
Thanks Richard, I am confident this will get fixed in upcoming releases....the workaround works, so i'm ok to go forward. Have a great weekend.
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 5:41 am
by FourthWorld
Ah - thanks for the link.
BTW, I like the sharing focus of makeshyft.com.
Have a great weekend.
Re: Please help..revGetDatabaseDriverPath (possible bug)
Posted: Sat Feb 08, 2014 6:17 am
by makeshyft
Thanks bro...I recommend it (giving) to everyone....lol.....I don't remember any other way to do it.....helps in stumbling onto some epic ideas.

Cheers