Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-25-2013, 01:04 PM   #31
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 39
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Tolino Shine 2 HD
Quote:
Originally Posted by corona View Post
I just used SQLite Expert -- free graphical sqlite program -- and opened up the database to delete dozens of the freebie books -- worked great.

(But does this actually get rid of the book data itself??) (Oops. How embarrassing.)

My post is only for thanking vey much for your tip!

SQLite Expert personale edition is the best for Kobo db. It saved me a lot of time instead of doing by hands...
Start is offline   Reply With Quote
Old 09-03-2013, 07:44 AM   #32
mahal48
Connoisseur
mahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic something
 
Posts: 76
Karma: 18534
Join Date: Jun 2013
Location: U.K.
Device: Kobo Glo, Nexus 7(2013)
Has this project died? The links no longer appear active. I have started some basic editing of the Kobo SQL database to solve some simple problems I have had. Would be interested to learn more about it.
mahal48 is offline   Reply With Quote
Advert
Old 09-03-2013, 08:32 AM   #33
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I haven't seen it before, but it does look like its dead.

As to the database, what do you want to know? I'd like to think I have a good understanding of it. So, ask and I'll see what I can tell you. Or someone else might chime in.
davidfor is offline   Reply With Quote
Old 09-03-2013, 04:58 PM   #34
mahal48
Connoisseur
mahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic something
 
Posts: 76
Karma: 18534
Join Date: Jun 2013
Location: U.K.
Device: Kobo Glo, Nexus 7(2013)
Ok here we go, a couple of observations and questions.

In the solution to the duplicate shelves problem, "davidfor" suggested editing the SQLite database on the Kobo. I followed this advice (by changing "_IsDeleted" to "true" for each record in the Shelf table) and was successful in deleting the duplicate shelves on my Glo. At the moment I have no shelves on my Glo and am holding off to putting them on again until Kobo sorts out the synch problem on its' servers.

I have two questions relating to this now and it is all about the database structure and editing entries.

Firtsly, the "Shelf" table still contains data for each record of the duplicate shelves. Why is this when there are no shelves showing on my Glo? Why wasn't the data for each record of the duplicate shelf deleted in the database? Or is this the data that is still being held on the Kobo server?

Secondly, the next table below "Shelf" is "ShelfContent" This holds no records, plus, the column titles are not the same in number, some are missing. I thought there would have been a correlation between the two. So, what is the difference between these two tables and why does the "ShelfContent" contain no data?


Apologies if my database terminology is loose and incorrect. Thanks in advance.
mahal48 is offline   Reply With Quote
Old 09-03-2013, 08:08 PM   #35
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by mahal48 View Post
Ok here we go, a couple of observations and questions.

In the solution to the duplicate shelves problem, "davidfor" suggested editing the SQLite database on the Kobo. I followed this advice (by changing "_IsDeleted" to "true" for each record in the Shelf table) and was successful in deleting the duplicate shelves on my Glo. At the moment I have no shelves on my Glo and am holding off to putting them on again until Kobo sorts out the synch problem on its' servers.

I have two questions relating to this now and it is all about the database structure and editing entries.

Firtsly, the "Shelf" table still contains data for each record of the duplicate shelves. Why is this when there are no shelves showing on my Glo? Why wasn't the data for each record of the duplicate shelf deleted in the database? Or is this the data that is still being held on the Kobo server?
The next time you do a sync, the device will tell the Kobo server which shelves have been marked with "_IsDeleted=true" and then the rows will be deleted. The server now knows you don't want the shelves and if you use another Kobo device or app, it will delete the shelves from the device/app at the next sync. The column "_IsSynced" records if the Kobo server knows about the shelf. If this is "false", you can safely delete the row.

So, to get rid of the rows permanently, you need to do a sync. This seems to be working correctly. I suggest you do it now, recreate the shelves and then hold off the next sync until you feel the problem is solved. From my point of view it is. I had one occurrence, fixed it and the duplicates haven't come back.

Another thing you can do is to add "SyncShelves=false" to the "ApplicationPreferences" section of the "Kobo eReader.conf" file. This tells the device not to sync the shelves at all.
Quote:
Secondly, the next table below "Shelf" is "ShelfContent" This holds no records, plus, the column titles are not the same in number, some are missing. I thought there would have been a correlation between the two. So, what is the difference between these two tables and why does the "ShelfContent" contain no data?
The table "Shelf" contains the list of shelves and their status. The table "ShelfContent" contains the list of books that are on each shelf. Each row in this table contains the name of the shelf, the ContentId of the book (used to link to table "content") and status info. If there are no rows, there are no books on any shelf.
davidfor is offline   Reply With Quote
Advert
Old 09-04-2013, 06:53 AM   #36
mahal48
Connoisseur
mahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic somethingmahal48 has a certain pleonastic something
 
Posts: 76
Karma: 18534
Join Date: Jun 2013
Location: U.K.
Device: Kobo Glo, Nexus 7(2013)
Ok thanks got all that and am experimenting with these fields in the SQLite database. Just creating shelves, editing them and synching etc..

Don't worry you wan't receive a help scream, because I have made two copies of my database, before I even started experimenting.
mahal48 is offline   Reply With Quote
Old 09-04-2013, 02:48 PM   #37
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by davidfor View Post
The next time you do a sync, the device will tell the Kobo server which shelves have been marked with "_IsDeleted=true" and then the rows will be deleted. The server now knows you don't want the shelves and if you use another Kobo device or app, it will delete the shelves from the device/app at the next sync. The column "_IsSynced" records if the Kobo server knows about the shelf. If this is "false", you can safely delete the row.

So, to get rid of the rows permanently, you need to do a sync. This seems to be working correctly. I suggest you do it now, recreate the shelves and then hold off the next sync until you feel the problem is solved. From my point of view it is. I had one occurrence, fixed it and the duplicates haven't come back.

Another thing you can do is to add "SyncShelves=false" to the "ApplicationPreferences" section of the "Kobo eReader.conf" file. This tells the device not to sync the shelves at all.


The table "Shelf" contains the list of shelves and their status. The table "ShelfContent" contains the list of books that are on each shelf. Each row in this table contains the name of the shelf, the ContentId of the book (used to link to table "content") and status info. If there are no rows, there are no books on any shelf.
many thanks davidfor, it worked for me as well, really annoyed with those (previously) undeletable empty shelves!
paola is offline   Reply With Quote
Old 09-08-2013, 04:19 PM   #38
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 39
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Tolino Shine 2 HD
Now I have fully deleted all data in my kobo sql within a couple of minutes!

I have not to delete 2 users (mine and kobo) only!

PS. Where is the smiling face? Not in a database, obviously but a friend of mine cannot see it, he has a commercial vendor logo... horrible!!!!
Start is offline   Reply With Quote
Old 09-08-2013, 08:12 PM   #39
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Start View Post
Now I have fully deleted all data in my kobo sql within a couple of minutes!

I have not to delete 2 users (mine and kobo) only!

PS. Where is the smiling face? Not in a database, obviously but a friend of mine cannot see it, he has a commercial vendor logo... horrible!!!!
Have a look at the file "affiliate.conf" in the .kobo directory. It will have a line like:

Code:
affiliate=Kobo
But with the other vendor rather than Kobo. Others have changed this to Kobo to allow covers to be displayed during sleep. Hopefully that will change the boot logo as well.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sqlite database replacement instructions pholy Kobo Reader 62 10-11-2012 09:19 AM
Koboreader.sqlite gundged maxwelledison Kobo Reader 21 01-12-2011 08:24 AM
Calibre and Kobo database crowez Calibre 1 10-15-2010 08:24 PM
Kobo Database Browser - SQLite JBlyth Kobo Reader 2 06-06-2010 09:27 PM
sqlite samba lock rootto Calibre 4 09-27-2009 02:03 PM


All times are GMT -4. The time now is 10:01 AM.


MobileRead.com is a privately owned, operated and funded community.