Re: [sqlite] Android sqlite error

2014-06-13 Thread Sathish N
Hi Smith,

Yes it is the internal bluetooth application(bluetooth.apk) comes with the
android Os. from yours suggestion i found that the system exceeded the
total number of open fd(file discriptors) due to that its facing this
problem.

As you have mentioned correctly it is Android Os that is blocking the
system to open the database file.

earlier by seeing the error i thought it might be kind of sqlite error
which is out of my knowledge.

With the help of you guys, i am able to figure out the problem.

Thanks,
Sathish N




On Fri, Jun 13, 2014 at 5:21 PM, RSmith <rsm...@rsweb.co.za> wrote:

>
> On 2014/06/13 09:35, Sathish N wrote:
>
>> hi,
>>
>> Thanks for the help.
>>
>> As i mentioned i am new to sqlite so i am trying my best.
>>
>> And this is not my application .its internal application of android. i am
>> trying to understand and solve this.
>>
>> once again thanks for the help
>>
>
> Hi Sathish,
>
> Apologies, our friend Igor (and me) thought you had made an Android app
> which isn't working. If I understand correct - you did not make this app,
> it is downloaded or somehow native to the device or Android OS you use,
> right?
>
> Also, it is not working because it cannot INSERT or UPDATE the DB since
> that requires writing to the file, and what is clear from your posted logs,
> as Igor tried to point out, is that you do not have access rights to write
> to that destination on that device. In other words, the Android OS is
> blocking your app from writing to the selected destination. You need to
> either change the selected destination folder to write to, or you need to
> change the permissions for the current folder so that it allows you to
> write to it.
>
> Either way, it is a Permission problem and the OS prevents (blocks) you or
> your app to write to that folder because you do not have permission to
> write to it.
>
> How to do all that you will need to find out from the Android guide for
> your device or talk to the people who made the app. We as SQLite community
> members can only tell you WHY SQLite cannot do the INSERTS/UPDATES (because
> the file is not writable) but we do not know how to change your device or
> app or permissions to make that destination writable.
>
>
> (Apologies for the overly verbose piece but the poster likely communicates
> on the other end of a translating device, so more words might paint a
> better picture)
>
>
> _______
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Regards
Sathish N
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Android sqlite error

2014-06-13 Thread Sathish N
hi,

Thanks for the help.

As i mentioned i am new to sqlite so i am trying my best.

And this is not my application .its internal application of android. i am
trying to understand and solve this.

once again thanks for the help


On Fri, Jun 13, 2014 at 1:00 PM, Igor Korot <ikoro...@gmail.com> wrote:

> Hi,
>
> On Fri, Jun 13, 2014 at 12:24 AM, Sathish N <nsathis...@gmail.com> wrote:
> > hi Igor Korot,
> >
> > yes it is happening, every time i update the database. because of this
> the
> > application is getting crashed.
> >
> > Can you please help me with the solution. As this is the internal apk
> > inside the android.
>
> This is you application and you need to debug it.
> If you don't know what debugging is - learn! If you don't know how to
> learn - ...
>
> Bottom line - only you can help you make it work.
>
> Thank you.
>
> >
> > Thanks.
> >
> >
> >
> > On Fri, Jun 13, 2014 at 12:36 PM, Igor Korot <ikoro...@gmail.com> wrote:
> >
> >> Hi, Satnish,
> >>
> >> On Fri, Jun 13, 2014 at 12:01 AM, Sathish N <nsathis...@gmail.com>
> wrote:
> >> > hi,
> >> >
> >> > Thanks for the reply.
> >> > what do you mean that i cant write at dest. i am not sure what it
> means.
> >>
> >> It means you are trying to execute an INSERT/UPDATE statement which
> fails.
> >> It's quite obvious.
> >>
> >> Thank you.
> >>
> >> >
> >> >
> >> >
> >> >
> >> > On Thu, Jun 12, 2014 at 11:55 PM, mm.w <0xcafef...@gmail.com> wrote:
> >> >
> >> >> you can't write at dest, then the journal file fails, quite obvious
> >> reading
> >> >> the logs
> >> >>
> >> >>
> >> >> On Wed, Jun 11, 2014 at 11:41 PM, Sathish N <nsathis...@gmail.com>
> >> wrote:
> >> >>
> >> >> > I am new for sqlite.
> >> >> >
> >> >> > The following sqlite error comes in my android phone. when i run
> the
> >> >> > application sum times.
> >> >> > I like to know the meaning of this error, why this error come and
> how
> >> to
> >> >> > solve this. I googled about this but nowhere the answer is
> mentioned i
> >> >> > tried all possiblities from what i got when googled about this
> error.
> >> >> >
> >> >> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >> >> >  E SQLiteLog: (14) os_unix.c:30179: (24)
> >> >> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >> >> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >> >> >  E SQLiteLog: (14) os_unix.c:30199: (24)
> >> >> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >> >> >  E SQLiteLog: (14) statement aborts at 23: [SELECT * FROM btopp
> ORDER
> >> BY
> >> >> > _id] unable to open database file
> >> >> >  E SQLiteQuery: exception: unable to open database file (code 14);
> >> query:
> >> >> > SELECT * FROM btopp ORDER BY _id
> >> >> >
> >> >> >
> >> >> > Kindly please help regarding this issue why this happens
> >> >> > --
> >> >> > Regards
> >> >> > Sathish N
> >> >> > ___
> >> >> > sqlite-users mailing list
> >> >> > sqlite-users@sqlite.org
> >> >> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >> >> >
> >> >> ___
> >> >> sqlite-users mailing list
> >> >> sqlite-users@sqlite.org
> >> >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Regards
> >> > Sathish N
> >> > ___
> >> > sqlite-users mailing list
> >> > sqlite-users@sqlite.org
> >> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >> ___
> >> sqlite-users mailing list
> >> sqlite-users@sqlite.org
> >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >>
> >
> >
> >
> > --
> > Regards
> > Sathish N
> > ___
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Regards
Sathish N
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Android sqlite error

2014-06-13 Thread Sathish N
hi Igor Korot,

yes it is happening, every time i update the database. because of this the
application is getting crashed.

Can you please help me with the solution. As this is the internal apk
inside the android.

Thanks.



On Fri, Jun 13, 2014 at 12:36 PM, Igor Korot <ikoro...@gmail.com> wrote:

> Hi, Satnish,
>
> On Fri, Jun 13, 2014 at 12:01 AM, Sathish N <nsathis...@gmail.com> wrote:
> > hi,
> >
> > Thanks for the reply.
> > what do you mean that i cant write at dest. i am not sure what it means.
>
> It means you are trying to execute an INSERT/UPDATE statement which fails.
> It's quite obvious.
>
> Thank you.
>
> >
> >
> >
> >
> > On Thu, Jun 12, 2014 at 11:55 PM, mm.w <0xcafef...@gmail.com> wrote:
> >
> >> you can't write at dest, then the journal file fails, quite obvious
> reading
> >> the logs
> >>
> >>
> >> On Wed, Jun 11, 2014 at 11:41 PM, Sathish N <nsathis...@gmail.com>
> wrote:
> >>
> >> > I am new for sqlite.
> >> >
> >> > The following sqlite error comes in my android phone. when i run the
> >> > application sum times.
> >> > I like to know the meaning of this error, why this error come and how
> to
> >> > solve this. I googled about this but nowhere the answer is mentioned i
> >> > tried all possiblities from what i got when googled about this error.
> >> >
> >> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >> >  E SQLiteLog: (14) os_unix.c:30179: (24)
> >> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >> >  E SQLiteLog: (14) os_unix.c:30199: (24)
> >> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >> >  E SQLiteLog: (14) statement aborts at 23: [SELECT * FROM btopp ORDER
> BY
> >> > _id] unable to open database file
> >> >  E SQLiteQuery: exception: unable to open database file (code 14);
> query:
> >> > SELECT * FROM btopp ORDER BY _id
> >> >
> >> >
> >> > Kindly please help regarding this issue why this happens
> >> > --
> >> > Regards
> >> > Sathish N
> >> > ___
> >> > sqlite-users mailing list
> >> > sqlite-users@sqlite.org
> >> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >> >
> >> ___
> >> sqlite-users mailing list
> >> sqlite-users@sqlite.org
> >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >>
> >
> >
> >
> > --
> > Regards
> > Sathish N
> > ___
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Regards
Sathish N
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Android sqlite error

2014-06-13 Thread Sathish N
hi,

Thanks for the reply.
what do you mean that i cant write at dest. i am not sure what it means.




On Thu, Jun 12, 2014 at 11:55 PM, mm.w <0xcafef...@gmail.com> wrote:

> you can't write at dest, then the journal file fails, quite obvious reading
> the logs
>
>
> On Wed, Jun 11, 2014 at 11:41 PM, Sathish N <nsathis...@gmail.com> wrote:
>
> > I am new for sqlite.
> >
> > The following sqlite error comes in my android phone. when i run the
> > application sum times.
> > I like to know the meaning of this error, why this error come and how to
> > solve this. I googled about this but nowhere the answer is mentioned i
> > tried all possiblities from what i got when googled about this error.
> >
> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >  E SQLiteLog: (14) os_unix.c:30179: (24)
> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >  E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
> >  E SQLiteLog: (14) os_unix.c:30199: (24)
> > open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
> >  E SQLiteLog: (14) statement aborts at 23: [SELECT * FROM btopp ORDER BY
> > _id] unable to open database file
> >  E SQLiteQuery: exception: unable to open database file (code 14); query:
> > SELECT * FROM btopp ORDER BY _id
> >
> >
> > Kindly please help regarding this issue why this happens
> > --
> > Regards
> > Sathish N
> > ___
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Regards
Sathish N
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Android sqlite error

2014-06-12 Thread Sathish N
I am new for sqlite.

The following sqlite error comes in my android phone. when i run the
application sum times.
I like to know the meaning of this error, why this error come and how to
solve this. I googled about this but nowhere the answer is mentioned i
tried all possiblities from what i got when googled about this error.

 E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
 E SQLiteLog: (14) os_unix.c:30179: (24)
open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
 E SQLiteLog: (14) cannot open file at line 30179 of [00cd9d8ce4]
 E SQLiteLog: (14) os_unix.c:30199: (24)
open(/data/data/com.android.bluetooth/databases/btopp.db-journal) -
 E SQLiteLog: (14) statement aborts at 23: [SELECT * FROM btopp ORDER BY
_id] unable to open database file
 E SQLiteQuery: exception: unable to open database file (code 14); query:
SELECT * FROM btopp ORDER BY _id


Kindly please help regarding this issue why this happens
-- 
Regards
Sathish N
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users