Please help..revGetDatabaseDriverPath (possible bug)

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Please help..revGetDatabaseDriverPath (possible bug)

Post by makeshyft » Sat Feb 08, 2014 1:01 am

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
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10053
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by FourthWorld » Sat Feb 08, 2014 2:22 am

What is the error message you're getting?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by makeshyft » Sat Feb 08, 2014 2:36 am

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.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10053
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by FourthWorld » Sat Feb 08, 2014 3:30 am

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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by makeshyft » Sat Feb 08, 2014 4:16 am

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.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10053
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by FourthWorld » Sat Feb 08, 2014 5:41 am

Ah - thanks for the link.

BTW, I like the sharing focus of makeshyft.com.

Have a great weekend.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Please help..revGetDatabaseDriverPath (possible bug)

Post by makeshyft » Sat Feb 08, 2014 6:17 am

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
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply