New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with SQLite database with ActiveRecord #661
Comments
same problem.
when trying with last activerecord:
no change when adding i18n gem though. |
Great :) Thx. |
Hi I made another test with windows 8, RUBOTO_CORE_VERSION_NAME: 1.0.2 W/dalvikvm( 547): threadid=11: thread exiting with uncaught exception (group=0x409961f8) E/AndroidRuntime( 547): FATAL EXCEPTION: Thread with large stack |
This is your reason. I don't have time to investigate more right now, but if this is from the tutorial I will get to it "soon". |
Thanks donv |
Any progress on fixing this bug? |
Sorry, I have not had any time for this one. Maybe this weekend. If someone else has time, please go ahead. |
@gdurelle We have the same problem, Are you develop on Windows? |
@DHFE Nop I'm on Mac OSX. |
I have installed this gem: and tested the example again, I got a little bit diferrent message from logcat: |
Now, I got this error: |
Hi @donv A little question, I was reading this article https://github.com/SQLDroid/SQLDroid/wiki/Quick-Start and i did this "In order to use the SQLDroid driver you will need to put the SQLDroid Jar in the "libs" directory of your Android project." and after that I got this from logcat: V/SQlDRoid( 980): opening database /data/data/org.ruboto.example.sqlite_ar/files/my_db.sqlite This error is caused for "W/System.err( 980): ********************* not implemented @ org.sqldroid.SQLDroidDatabaseMetaData (storesLowerCaseIdentifiers) line 987 Thanks |
Hi @donv C:\rubotoproj\sqlite_ar>jruby -v Could you tell me If i need to use another jruby, ruboto, or java version? |
same for 1.3.1-dev maybe a workaround? |
Hi @viniciusgati ! Do you have a GitHub repository I could try? |
Hi @donv thanks for the reply! i created one https://github.com/viniciusgati/sqlite_ar |
Thanks for the repository. I am pretty swamped right now, but I will try to get around to it quickly. If anybody else has the time, please help. |
Hi all! Working on the 1.3.2 release now. Postponing this issue to the next release. |
I trried with the https://github.com/ruboto/ruboto/wiki/Tutorial%3A-Using-an-SQLite-database-with-ActiveRecord, the project run but is suddenly stoped. I was run roboto on windows and my example is running on android API 10.
this is the logcat message:
E/AndroidRuntime(11150): FATAL EXCEPTION: Thread with large stack
E/AndroidRuntime(11150): org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- active_record
E/AndroidRuntime(11150): at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
E/AndroidRuntime(11150): at RUBY.(root)(file:/data/app/org.ruboto.example.sqlite_ar-2.apk!/database.rb:1)
E/AndroidRuntime(11150): at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
E/AndroidRuntime(11150): at RUBY.(root)(jar:file:/data/app/org.ruboto.example.sqlite_ar-2.apk!/sqlite_ar_activity.rb:1)
E/AndroidRuntime(11150): at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249)
E/AndroidRuntime(11150): at RUBY.onResume(jar:file:/data/app/org.ruboto.example.sqlite_ar-2.apk!/sqlite_ar_activity.rb:20)
The text was updated successfully, but these errors were encountered: