Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2014, 12:39 PM   #1
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
CC production release V3.5.9 has been published

Change log:
  • Increase book limit on demo version to 20
  • [BUG FIX]Fix show read info on book list option also hiding the option in book details
  • [BUG FIX]Fix sporadic crash when returning to the book list/grid

Last edited by chaley; 12-07-2014 at 01:04 PM.
chaley is offline   Reply With Quote
Old 12-08-2014, 03:53 PM   #2
kaufman
Calibre Companion Fanatic
kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.
 
kaufman's Avatar
 
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
I'm not sure if this is new or not, I have a column called pages which contains the page numbers in each book.

It does show the correct number in the book list, but in the book details page it just shows "%," for each book.
kaufman is offline   Reply With Quote
Advert
Old 12-08-2014, 04:59 PM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
I'm not sure if this is new or not, I have a column called pages which contains the page numbers in each book.

It does show the correct number in the book list, but in the book details page it just shows "%," for each book.
My guess is that this is an integer or a float custom column with a provided number format, and that that number format isn't valid in CC's terms. A change in 3.5.9 changes CC's behavior in this case. Before, it applied a default format. Now it simply prints the format string.

Sending me a debug log will help determine whether this is a problem on CC's side (i.e. I messed up the translation of python formats to Java) or a problem in the format entered into the custom column definition.
chaley is offline   Reply With Quote
Old 12-08-2014, 05:03 PM   #4
kaufman
Calibre Companion Fanatic
kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.
 
kaufman's Avatar
 
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
Sent.

My guess is that in this one case it isn't my error, or else why would it show the correct value in the List view.
kaufman is offline   Reply With Quote
Old 12-08-2014, 05:10 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
Sent.

My guess is that in this one case it isn't my error, or else why would it show the correct value in the List view.
The book list shows the value as supplied by calibre, without attempting to format it. Book details attempts to format the value. This is in fact a bug in the list view stuff, because it is ignoring the format.

According to the debug log, the format is something like "{:,}". It could also be "%,". Both are invalid. What does calibre show in the column definition for that column for the format?
chaley is offline   Reply With Quote
Advert
Old 12-08-2014, 05:20 PM   #6
kaufman
Calibre Companion Fanatic
kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.
 
kaufman's Avatar
 
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
It shows: {0:,}
kaufman is offline   Reply With Quote
Old 12-08-2014, 05:31 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
It shows: {0:,}
This is indeed a CC bug, caused by my misunderstanding of format defaults. In python, "{0:,}" for any number column is equivalent to "{0:,d}" where the "d" means decimal number. I didn't account for this default in CC.

There are two possible fixes:
1) You change the column definition to {0:,d}. Of course, this will force a full metadata calibre->CC send on the next connect.
2) I change CC to detect this special case. I will do this, but it may be a few weeks before I make another release.

In case it matters, {0:,} will not work correctly in calibre for floating columns because the default is to format as integer.
chaley is offline   Reply With Quote
Old 12-08-2014, 05:35 PM   #8
kaufman
Calibre Companion Fanatic
kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.kaufman ought to be getting tired of karma fortunes by now.
 
kaufman's Avatar
 
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
Well, you can change eventually it if you want, but I am happy to do a full metadata refresh to save you the trouble.

I believe that this is the default for a custom integer column, so others might run into this.
kaufman is offline   Reply With Quote
Old 12-09-2014, 02:45 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
Well, you can change eventually it if you want, but I am happy to do a full metadata refresh to save you the trouble.
I will fix it, simply because it should be fixed. However, it won't be released for a bit unless some new crashes show up.
Quote:
I believe that this is the default for a custom integer column, so others might run into this.
The default is empty (no format).
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CC production release V3.5.8 has been published chaley Calibre Companion 0 12-05-2014 04:57 AM
Calibre Companion production release 3.3.5 chaley Calibre Companion 7 05-24-2014 01:07 AM
Calibre Companion production release 3.3.1 chaley Calibre Companion 12 03-20-2014 12:11 PM
Production Costs? jaxx6166 Writers' Corner 14 12-08-2010 09:05 AM
Lead time for Kindle book release ahead of print release date - experiences? Buran Amazon Kindle 6 05-04-2009 02:29 PM


All times are GMT -4. The time now is 05:47 PM.


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