![]() |
#556 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Further, if you're specifying px sizes, the font slider should have no effect on the display. That it does tells me that there's a problem elsewhere in the CSS, resulting in the reader never even seeing this set of rules. I was proofreading a book recently that looked fine in iBooks and Calibre Edit, but completely shattered under Adobe Digital Editions. I was looking at the CSS for the affected rules, and everything looked good; I didn't get what the problem was. When I looked at the whole document, though, an early rule looked like this: .c1 { font-size: 1.25em;mx } That syntax error was causing ADE to ignore everything after that line, which was most of the rules, including the ones I was looking at. So even though the specific rules I was scrutinizing were fine, they weren't even being parsed. |
|
![]() |
![]() |
![]() |
#557 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.mobileread.com/forums/att...2&d=1418401497 |
|
![]() |
![]() |
Advert | |
|
![]() |
#558 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
The NCX has loads of invalid entries. The font files aren't declared with the correct MIME type or even the right name. You're still going from 1-30 by single pixels instead of, as I recommended, a wider range by larger jumps. There are a lot of unnecessary rules in the CSS file, as well as a proprietary property (oeb-column-number) in the BODY rules that could possibly cause problems. (Yes, I know it's in the spec.) Try this version. I multiplied all the pixel sizes by ten (so it's 10-300 instead of 1-30), removed the bad NCX entries, fixed the font references, and removed the O-C-N property. Pulls up fine in ADE, but try it on your device. Last edited by Rev. Bob; 12-12-2014 at 05:20 PM. |
|
![]() |
![]() |
![]() |
#559 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,082
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra Colour, Libra 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#560 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
I'm assuming here that you want to repair the shelves instead of just deleting them and starting over. I'm also assuming that when the dust clears, you want one shelf representing each set of duplicates, and that shelf should contain everything that was on any of its duplicates. That is, if you have five "Freebie" shelves, you want to end up with one that has all the books that are on any "Freebie" shelf, and so on. TOOLS: I use an add-on for Firefox called "SQLite Manager" - grab that and you're most of the way there. Once you have that installed, connect your reader to your PC, go to your reader's .kobo folder, and make a backup copy of KoboReader.sqlite. Now start the SQLite Manager add-on and open .kobo/KoboReader.sqlite with SM. PROCESS: In the left panel, you should see a few options, starting with "Master Table". Right under that, there's a "Tables" entry that, on my machine, shows 26 entries inside it. Click the little triangle beside "Tables (26)" to open it, and scroll down to the one that says "Shelf". Click on the word. The main part of the window should now show all the shelves/collections on your device. The sixth column, "Name", should look very familiar, but the fourth column, labeled "InternalName", is more important. Click on that header, and it'll sort the shelves by name - very useful for finding duplicates, which is where your problems are coming from. As you scan over the list, you should see groups of duplicated shelves with different ID values but the same Name (and, perhaps, InternalName). If they don't have different IDs, we're in trouble and you should stop now (while you haven't changed anything) and let me know that. Otherwise, assuming all the ID values are different, we're in good shape; continue below. First, we need to make sure all our changes are going to be sent to the server when you sync. Click on the "Execute SQL" tab and paste the following line into the white box: UPDATE "main"."Shelf" SET "_IsDeleted" = "true", "_IsSynced" = "false" Click the "Run SQL" button, and you should get a "no errors" message in the "Last Error" box. That's good. What you've just done is told your device to get rid of all your shelves, so you shouldn't stop there! You still have some work to do. Click back on "Browse & Search" and click "Name" to sort everything. Now you have to fix that "same name" problem and tell the device NOT to delete the shelves you want to keep. It's tedious, and it means editing every row, but it has to be done, since it's the only way to separate the shelves. What I did was add a number to the end of each duplicate's Name and InternalName. Double-click on a row and it'll bring up an "Edit Record" box. If it's a shelf you're renaming, edit fields 3 and 5 (InternalName and Name) so they match each other, but no other row. For instance, if you have four "Pending" shelves, leave one alone for now and change the rest to "Pending1" through "Pending3" so you can tell them apart. That way, you're keeping one "real" shelf from each set. On the one you don't rename, edit field 7 (_IsDeleted) to say "false". On each row, when you're done with your edits, click OK and confirm the change. The plugin should then tell you to click on Cancel to exit the box. You may have to visit multiple pages, since the utility only shows 100 rows at a time. The bottom line under this big area handles that; it'll say something like "1 - 100 of 260" with arrows and double-arrows around it. The single-arrow advances to the next page; the double-arrow zips to the end. Once you're done with those changes, go to Database at the top left, then click Close Database in that menu. (It saves automatically as you work.) Close SM, make a new backup of the changed file, disconnect the reader, and open up your collections view. Poke around a bit to make sure everything looks like you want. (All the "numbered" shelves should now contain zero books, if they're even visible, and the "not-numbered" ones should contain everything they're supposed to.) If that looks good, go ahead and sync. That should remove all the duplicated shelves from the cloud and update the shelves you're keeping, since we've told the device that all the shelves need to be updated. Is that clearer, maybe? |
|
![]() |
![]() |
Advert | |
|
![]() |
#561 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,082
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra Colour, Libra 2
|
|
![]() |
![]() |
![]() |
#562 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,821
Karma: 9503859
Join Date: Dec 2012
Location: France
Device: (Sony (J) PRS 650), Kobo Mini, Kobo Glo HD (broken), Kobo Clara BW
|
Quote:
|
|
![]() |
![]() |
![]() |
#564 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,340
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
#565 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2014
Device: Kobo Glo
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#566 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,340
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Unfortunately not much we can do. About the best any of us can do is to pass it o to to Kobo. (Yes.. I did try and yes.. I had a device freeze)
|
![]() |
![]() |
![]() |
#567 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Not sure if this is the right place, but anyway...
The Kobo firmware accepts incomplete KoboRoot.tgz (cancelled download, lost connection, ...) and corrupts itself when extracting them. This is because it uses zcat to verify the KoboRoot.tgz, which fails to raise any error for incomplete files, and tar subsequently extracts half an update and even leaves outright corrupted files (like half a library). Worst case the device is bricked. Using tar instead of zcat to verify the tar file would catch most of such errors. (in /etc/init.d/rcS) Code:
zcat /mnt/onboard/.kobo/KoboRoot.tgz > /dev/null && tar zxf /mnt/onboard/.kobo/KoboRoot.tgz -C / Code:
tar tzf /mnt/onboard/.kobo/KoboRoot.tgz > /dev/null && tar zxf /mnt/onboard/.kobo/KoboRoot.tgz -C / # or alternatively tar Ozf /mnt/onboard/.kobo/KoboRoot.tgz > /dev/null && tar zxf /mnt/onboard/.kobo/KoboRoot.tgz -C / Last edited by frostschutz; 12-13-2014 at 08:31 PM. |
![]() |
![]() |
![]() |
#568 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,277
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 12-13-2014 at 08:40 PM. |
|
![]() |
![]() |
![]() |
#569 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I'm suggesting that the best tool to test tar files might be tar, and not zcat. As long as you don't use checksums, anyway.
Last edited by frostschutz; 12-13-2014 at 08:50 PM. |
![]() |
![]() |
![]() |
#570 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
pocket app |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Probably a Kobo bug. | eXistenZ | Kobo Reader | 19 | 06-13-2014 09:16 PM |
[Old Thread] Bug in downloading metadata | Dasun | Library Management | 3 | 03-21-2011 07:31 PM |
Possible bug or misfeature when a thread is closed | tompe | Feedback | 7 | 10-05-2010 09:38 AM |