Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-29-2009, 09:23 PM   #361
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
I hadn't tried that yet, as I have a hunch it wasn't beta 10 that put the books in that state in the DB (originally added to the DB in .5), wanted to see if there was any other debug processes that I could enable.

Re-adding them is worth a shot though. Will try to find the original source books and try again. Will try restoring the .5 backup and see if I can get anywhere with re-upgrading. If I want to upgrade to .6 a second time do I need to do anything aside from swapping the db file?

Last edited by ldolse; 06-29-2009 at 09:25 PM.
ldolse is offline  
Old 06-29-2009, 11:39 PM   #362
riemann42
Zealot
riemann42 will become famous soon enoughriemann42 will become famous soon enoughriemann42 will become famous soon enoughriemann42 will become famous soon enoughriemann42 will become famous soon enoughriemann42 will become famous soon enough
 
riemann42's Avatar
 
Posts: 121
Karma: 506
Join Date: Jun 2009
Location: Spokane, WA
Device: eSlick,nook
pupdate patch

Kovid,

Love the work you have done with this new beta.

Love the addition of the pubdate metadata field. I have created a ticket #2745 that includes a patch resolving a minor oversight in the Library Database2.set_metadata method not including this field. This prevented the date field on epub books from being read on import, which was annoying.

I'm not much of a python programmer (need to learn it however, as my mad perl skills are making me feel like an old man).

Thanks,
Edward
riemann42 is offline  
Advert
Old 06-30-2009, 12:04 AM   #363
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@ldolse: Swapping the DB files should be all that's needed

@riemann42: thanks for the patch. I'll look at it when I get a moment (I'm kinda swamped at the moment moving house)
kovidgoyal is offline  
Old 06-30-2009, 03:52 AM   #364
cartman
Connoisseur
cartman began at the beginning.
 
Posts: 57
Karma: 22
Join Date: May 2009
Location: Mytilene, Greece
Device: Kobo Aura HD, Sony PRS-505 (Blue)
Good morning everyone!
I have been testing b10 and i think it is the first version of calibre 0.6 that partially solves the collection problem i have been having (basically collections were either not transferred to my 505 at all, or were just empty).
Now i get collections on the device, and they have books inside. If they are news collections, they work ok. But all the other collections have sometimes random and sometimes the correct books inside, and all of the books are empty(they show as 1 page books but when i open them i get the last page i was reading on a previous book).

In fact, all books that belong to collections are seen by the 505 as empty books, except for books books that belong to news collections(by the way these books are also the only epub books on my library). Books that do not belong to collections seem to transfer ok.
cartman is offline  
Old 06-30-2009, 08:49 AM   #365
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What format are these 1 page books in?
kovidgoyal is offline  
Advert
Old 06-30-2009, 10:58 AM   #366
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,856
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I have just found yet another ePub conversion bug. toc.ncx is now being generated as ONE line. It used to be generated so it was in a nicely readable form.

Also, can we have the anchors used in toc.ncx removed? All they do is slow down the ToC on the 505 & 700.

Last edited by JSWolf; 06-30-2009 at 11:16 AM.
JSWolf is offline  
Old 06-30-2009, 05:09 PM   #367
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
How do I run beta in Linux?

I would like to install 0.6 Beta in Mint Linux.
Mint Linux is based on Ubuntu Jaunty.

How do I do it?
kacir is offline  
Old 07-01-2009, 02:45 AM   #368
cartman
Connoisseur
cartman began at the beginning.
 
Posts: 57
Karma: 22
Join Date: May 2009
Location: Mytilene, Greece
Device: Kobo Aura HD, Sony PRS-505 (Blue)
Quote:
Originally Posted by kovidgoyal View Post
What format are these 1 page books in?
LRF. PDF books seem to work fine.
Edit: When I connected my device today to transfer news, all collections were finally lost. Also when sorting the books by date i can only find one out of the 11 epubs that were sent to the device.

Last edited by cartman; 07-01-2009 at 02:58 AM.
cartman is offline  
Old 07-01-2009, 04:30 AM   #369
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by JSWolf View Post
I have just found yet another ePub conversion bug. toc.ncx is now being generated as ONE line. It used to be generated so it was in a nicely readable form.
Unfortunately, the toc.ncx has been generated as one line since the latest few versions of 0.5.x . It's a simple matter of running it through tidy or similar to get a readable form.

Quote:
Also, can we have the anchors used in toc.ncx removed? All they do is slow down the ToC on the 505 & 700.
Depending on how the source file and/or calibre is setup, this may not be the best thing to do.
If calibre splits the xhtml stream at TOC items (eg: Chapter headings) then removing anchors will have no negative effects, and indeed speeds up navigation. I realise that this is what happens for the majority of conversions.
However, if calibre ends up splitting the xhtml stream purely by the 300K size limit, then the anchors are necessary for correct navigation.
And then of course, there is level 2 and 3 TOC elements, which often have several occurrence in one xhtml split. Again anchors are required for correct navigation.

What I'd like to see is calibre detecting a scenario of one TOC element per xhtml split (eg: when there is a page break at every chapter) and omitting the anchors when this is the case.
sherman is offline  
Old 07-01-2009, 04:48 PM   #370
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by sherman View Post
Unfortunately, the toc.ncx has been generated as one line since the latest few versions of 0.5.x . It's a simple matter of running it through tidy or similar to get a readable form.
I use my RegEx capable editor, Textpad, to add newlines ("\n") to the end of tokens that should signify the end of the line. It makes a world of difference when re-editing. IMHO, there's no efficiencies gained by stripping those line endings and making the 'toc.ncx' one long line/text stream.

Quote:
Depending on how the source file and/or calibre is setup, this may not be the best thing to do.

If calibre splits the xhtml stream at TOC items (eg: Chapter headings) then removing anchors will have no negative effects, and indeed speeds up navigation. I realise that this is what happens for the majority of conversions.
I agree!

Quote:
However, if calibre ends up splitting the xhtml stream purely by the 300K size limit, then the anchors are necessary for correct navigation.
Not so, since any split file doesn't require an anchor to go to the top of that new file i.e where the 300K split took place. You would only effectively need the anchor links when dealing with illustrations or sub-headings which require linking to a place not at the top of a page or beginning of a file.

Quote:
And then of course, there is level 2 and 3 TOC elements, which often have several occurrence in one xhtml split. Again anchors are required for correct navigation.
True, and given the frequency that these secondary links may be used, leaving them in should not be a problem.

Quote:
What I'd like to see is calibre detecting a scenario of one TOC element per xhtml split (eg: when there is a page break at every chapter) and omitting the anchors when this is the case.
nrapallo is offline  
Old 07-01-2009, 05:18 PM   #371
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by kacir View Post
I would like to install 0.6 Beta in Mint Linux.
Mint Linux is based on Ubuntu Jaunty.

How do I do it?
Downloaded the file with the extension bz2 in the beta downloads here is the (link)

Make a directory calibre like /usr/local/calibre and unzip it there.

You'll have to add a launcher link or run it from the command line.
=X=
=X= is offline  
Old 07-01-2009, 06:37 PM   #372
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by =X= View Post
Downloaded the file with the extension bz2 in the beta downloads here is the (link)

Make a directory calibre like /usr/local/calibre and unzip it there.

You'll have to add a launcher link or run it from the command line.
=X=
Run calibre_postinstall. It will create the launcher, setup bash auto-completion and create the hal fdi files so device detection will work.
user_none is offline  
Old 07-01-2009, 09:36 PM   #373
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by nrapallo View Post



Not so, since any split file doesn't require an anchor to go to the top of that new file i.e where the 300K split took place. You would only effectively need the anchor links when dealing with illustrations or sub-headings which require linking to a place not at the top of a page or beginning of a file.
Which is basically the scenario I was referring to - and level 2-3 TOC elements often falls under this category.

Quote:
True, and given the frequency that these secondary links may be used, leaving them in should not be a problem.
No, it isn't usually isn't a problem - just so long as the book isn't too large.

An example of a book that is very much affected by anchor tags is The Bible. This is a very large book. with a very large 2 level TOC (at least my version is like this anyway...). If anchors are present in the toc.ncx file, even page turns can get very slow at the end of the book (the New Testament for example). And this is true even when anchors are only present for the secondary TOC elements.
In this situation, the best solution I found was to be very generous with page breaks in the source document/calibre chapter detection. Having a page break at every primary and secondary TOC element eliminated the need for any anchors, and the resulting epub was almost as fast to navigate on the 505 as an LRF. The downside to this is the length of time it takes to do the conversion through calibre - it takes a while to split a file into 1,190 separate files.
sherman is offline  
Old 07-02-2009, 12:58 PM   #374
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Calibre beta 10 seems to be broken for Ubuntu.

=X=
=X= is offline  
Old 07-02-2009, 03:30 PM   #375
notsure
Zealot
notsure has learned how to buy an e-book online
 
Posts: 123
Karma: 76
Join Date: Feb 2009
Device: Sony PRS-505, PRS-350
Quote:
Originally Posted by =X= View Post
Calibre beta 10 seems to be broken for Ubuntu.

=X=
Thanks for that, I have d/l'd but not installed.
notsure is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre metadata.calibre not allowing updates Chuckels550 Calibre 10 08-09-2010 05:12 PM
Using Calibre as a client for another Calibre instance? toddos Calibre 27 06-30-2010 04:57 AM
Sigil 0.2.0 betas available Valloric Sigil 98 05-03-2010 04:07 PM
cannot open calibre on osx 10.6-- "Calibre is already running" message jlip Calibre 4 01-02-2010 11:05 PM
calibre command line utilities and calibre defaults astrodad Calibre 2 08-07-2008 03:27 PM


All times are GMT -4. The time now is 12:24 PM.


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