Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-15-2015, 03:17 AM   #1
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Exclamation Author folder ending in full stop — Kobo Aura H2O

This might be a problem on other devices, but I’ve only encountered it on the H2O.

I’m adding a book by E. F. Benson. I think I’m using the default save template for the plugin (KoboTouch) which is…

{author_sort}/{title} - {authors}

Either Calibre or the plugin substitutes an underscore for the last (illegal) ‘.’ so the folder is created on the Kobo as…

Benson, E. F_

The Kobo then tells me that this book has Adobe DRM (which it doesn’t). If I manually load the book into a folder named “Benson E. F._” it opens fine, but I’m guessing it’s better to load through Calibre.

I’m making adjustments to this book, so I’d like the Kobo to know it’s been updated. It seems quite hard to get the Kobo to notice a manual replacement of the file without powering down. I’ve only had this reader a few days so I’m still learning its quirks.

So, could this be considered a bug? It’s hard to see what is magical about the sequence “F_” vs. “F._” but perhaps there is something else going on here in Calibre’s interaction with the Kobo’s db?

Nope, I’ve now tested again by removing all copies of the book and manually adding it to the “Benson E. F_” folder and I get the same DRM warning.
seanos is offline   Reply With Quote
Old 07-15-2015, 06:36 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
It sounds like it might be the space in the file name 'extension' when it's called Benson, E. F_

Try replacing the other . with _ or change the space to _

It does sound like a tweak to the file name sanitizing routine might be in order.
pdurrant is offline   Reply With Quote
Advert
Old 07-15-2015, 09:06 AM   #3
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
There is something else going on here. I already have a few books with authors whose authors look like that. I use the same save template and have no problems with them. As a test, I created a dummy book with author "E. F. Benson". When I sent it, the directory was "Benson, E. F_". This opened with no problems.

Can you point me to the book you are having problems with? It might be something else in the title. Or, it could be something in the book. Also, what firmware version? My testing is with 3.16.0, but I don't believe there has been a change in this for a while.

As to replacing a copy of the book on a Kobo device, you shouldn't have to power down to see it. When you disconnect from the PC, the device checks all books to see if they have changed. If the file size does not match that in the internal database, the book is completely removed from the database and then processed as a new book. The KoboTouch driver cheats and updates the file size in the database when you resend a book. This means that if you are only tweaking the book, fixing spelling, styles and the like, you don't lose the reading status or bookmarks. But, it can be a problem if the structure of the book changes. That is if you rename internal files or change the ToC. The book will usually open, but the reading position might not be remembered and the ToC probably won't work.

If you changed the cover when you resend the book, that might not get refreshed unless you power off. The device caches the covers for a few books in memory. If the cover is in the cache when you resend the book, it won't update until you power off or enough other covers get loaded into the cache to push the wrong one out.
davidfor is offline   Reply With Quote
Old 07-15-2015, 10:50 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Calibre replaces punctuation that might confuse some filesystems

an ending dot is one of those if it lands in the wrong place, so it is always fixed

My device has no fancy bookshelf, just a simple (filtered) file browser-like selector. So I use:
{author_sort}/
{title}
or
{series}/
{series_index}-{title}-{authors}
theducks is online now   Reply With Quote
Old 07-17-2015, 04:08 AM   #5
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Thanks for your replies…haven’t had a chance to look at this since.

The Kobo reports Software version 3.15.0.

I had been editing this book using Calibre but just realised that Sigil was available again and had made some changes using it, so I was testing if there was any difference. I don’t think that was the problem though as I’d previously struck this problem and manually changed the folder name. It does seem like the folder name is the key difference since the book loaded through Calibre has one folder name (and won't open) while the (exact) copy with the different folder name does open.

[Updating issue] I definitely had the Kobo not show me changes I had made. Does it cache the book or styles somewhere? I think I may have only changed some styles, but it didn’t show them when disconnected from the PC.

I’ll do some more proper testing tomorrow (Friday night here).
seanos is offline   Reply With Quote
Advert
Old 07-18-2015, 06:15 AM   #6
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
After a lot of fiddling about it looks like it was database corruption, though I’m not sure what caused it. I’ve now successfully removed all trace of the book and added it again using Calibre and all is well. For a while there I could delete the book but a database ghost entry kept coming back.

Hopefully the other odd behaviour—incredibly (sometimes infinitely) slow reaction to unplugging/plugging in—will also disappear now.
seanos is offline   Reply With Quote
Old 07-18-2015, 08:49 AM   #7
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
If it was database corruption, you will probably continue having problems. Depending on exactly how bad it is, compressing the database can fix it. But, you might need to sign out on the device and let it rebuild the database from scratch.
davidfor is offline   Reply With Quote
Old 07-18-2015, 10:47 AM   #8
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Sorry I wasn’t very clear. That’s exactly what I did (signed out & recreated) since Kobo Utilities reported corruption and would not compress it. I also found a script (kobo-restore) which did a db dump but that couldn’t do anything either. Being a new device it was not a big deal.
seanos is offline   Reply With Quote
Old 07-20-2015, 04:28 AM   #9
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
This problem has resurfaced—I’m back to a supposedly DRM locked book.

Two things that are different since the db reset:

1. I reinstalled the nightmode mod
2. On plugging in to update the book, the reader didn’t appear as a USB device and it became completely unresponsive with a black screen. I had to reach for the paper clip.

I suppose no. 2 is what corrupted the db but I wonder if no. 1 could have contributed to the lock up. Looking at what it does, it doesn’t seem obvious how the mod could interact with a USB connection but maybe I have to investigate exactly what fmon does now. /.kobo/fmon/fmon.log.txt offers no clues.

[Edit: I had updated the book using Calibre just before this, but when I unplugged the version Kobo showed to me was not the one I had just supposedly updated.]

Last edited by seanos; 07-20-2015 at 04:31 AM.
seanos is offline   Reply With Quote
Reply

Tags
kobo aura h2o


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Aura H2O Full Screen Browser? Bob Brunius Kobo Developer's Corner 47 02-23-2017 04:44 PM
Trade Want Kobo Aura H2O Techno Flea Market 3 06-28-2015 01:23 AM
KOBO AURA H2O Kle Kobo Reader 1 02-08-2015 07:53 PM
Buy Kobo Aura and/or Aura H2O kobayashi Flea Market 4 02-04-2015 11:03 PM
Replacing Nook Simple Touch: Onyx T68 vs Kobo Aura vs Kobo Aura H2O iNovelReader Which one should I buy? 0 10-28-2014 01:40 AM


All times are GMT -4. The time now is 09:57 AM.


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