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-12-2009, 01:39 PM   #181
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,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I do hope the ToC bug in ePub is a simple fix.
JSWolf is offline  
Old 06-12-2009, 04:22 PM   #182
=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
Error creatign LRF/PDB and PDF

I'm getting errors creating LRF, PDB, and PDF.

PDF
The PDF is created but the page is blank.
I've attached the HTML, command line switches and the error log

Odd thing is I tried this on the GUI before I wrote this page and the file was created and worked fine.

PDB
The PDB is created but "0" length. When the file was opened with eReader the program crashed.
I've attached the HTML, command line switches and the error log

Again, the oddd thing is I tried this on the GUI before I wrote this page and the file was created and worked fine.

LRF
The LRF was never created in the GUI or the command line

=X=
Attached Files
File Type: zip lrf-errror-cmdline-htmlfile.zip (4.3 KB, 263 views)
File Type: zip pdb_html-pdb-error-cmd_log.zip (5.1 KB, 258 views)
File Type: zip PDF_book_error_html.zip (15.9 KB, 260 views)
=X= is offline  
Advert
Old 06-12-2009, 05:24 PM   #183
pars_andy
Connoisseur
pars_andy began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Apr 2009
Device: Sony PRS505
Having some problems with tags and news feeds. The news feeds download ok and they're tagged correctly. However, when they transfer over to the reader, the collections are created but they're empty. The news feeds are on the reader. They're just not part of the created collections.
pars_andy is offline  
Old 06-12-2009, 06:45 PM   #184
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
I'm getting errors creating LRF, PDB, and PDF.

PDF
The PDF is created but the page is blank.
I've attached the HTML, command line switches and the error log

Odd thing is I tried this on the GUI before I wrote this page and the file was created and worked fine.

PDB
The PDB is created but "0" length. When the file was opened with eReader the program crashed.
I've attached the HTML, command line switches and the error log

Again, the oddd thing is I tried this on the GUI before I wrote this page and the file was created and worked fine.

LRF
The LRF was never created in the GUI or the command line

=X=
I've pushed up a fix for PDB. Also, PDF output defaults to creating imageless palmdoc files. If you want eReader PDB files use the --format=ereader option.

PDF is converting fine for me. I'll have to look into it a bit more.
user_none is offline  
Old 06-12-2009, 06:51 PM   #185
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,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by cartman View Post
Just checked: 0.5 works perfectly.
Hmm ok I'll look at it in a few days. I'm travelling for the next three-four days, so until then bug fixes are on hold.
kovidgoyal is offline  
Advert
Old 06-12-2009, 07:10 PM   #186
darkmonk
Connoisseur
darkmonk began at the beginning.
 
Posts: 58
Karma: 12
Join Date: Jan 2009
Device: none
Um, this is a really nice beta - I'll say more, but for now, I want to know wtf is this:

Code:
.calibre3 {
    font-style: italic
    }
Code:
<i class="calibre3">Neuromancer</i>
Redundancy much? That can't be part of the xhtml standard; surely, we need not invoke a stylesheet just to get some italics!

I also notice that other stylesheets are being referenced every paragraph - even though it is the same one. Here is my example:

Code:
</p><p class="calibre2">
He coughed. “Dix? McCoy? That you man?” His throat was tight. </p><p class="calibre2">
“Hey, bro,” said a directionless voice. </p><p class="calibre2">
“It’s Case, man. Remember?” </p><p class="calibre2">
“Miami, joeboy, quick study.” </p><p class="calibre2">
“What’s the last thing you remember before I spoke to you, Dix?” </p><p class="calibre2">
“Nothin’.” </p><p class="calibre2">
“Hang on.” He disconnected the construct.  The  presence  was  gone.  He reconnected  it. </p><p class="calibre2">
“Dix? Who am I?” </p><p class="calibre2">
“You got me hung, Jack. Who the fuck are you?” </p><p class="calibre2">
“Ca – your buddy. Partner. What’s happening, man?” </p><p class="calibre2">
“Good question.” </p><p class="calibre2">
“Remember being here, a second ago?” </p><p class="calibre2">
“No.” </p><p class="calibre2">
“Know how a ROM personality matrix works?” </p><p class="calibre2">
“Sure, bro, it’s a firmware construct.” </p><p class="calibre2">
“So I jack it into the bank I’m using, I can give it sequential, real time memory?” </p><p class="calibre2">
“Guess so,” said the construct. </p><p class="calibre2">
“Okay, Dix. You are a ROM construct. Got me?” </p><p class="calibre2">
“If you say so,” said the construct. “Who are you?” </p><p class="calibre2">
“Case.” </p><p class="calibre2">
“Miami,” said the voice, “joeboy, quick study.” </p><p class="calibre2">
“Right.  And  for  starts,  Dix,  you  and  me,  we’re  gonna  sleaze  over  to  London  grid  and access a little data. You game for that?” </p><p class="calibre2">
“You gonna tell me I got a choice, boy?” </p><p class="calibre2">
<b class="calibre1">6</b></p><p class="calibre2">
Also, I thought paragraphs would have a unique ID, so that there was a way of referring to a section, now that page has essentially become meaningless.

Still, your beta makes a nice epub from pdf to read. The code is just a little strange...
darkmonk is offline  
Old 06-12-2009, 07:43 PM   #187
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
The most wonderful thing I found in 6.0 beta is that I can convert ebook to/from all supported formats.
Thanx for your efforts.
ericshliao is offline  
Old 06-12-2009, 08:30 PM   #188
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,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@darkmonk: Try writing a converter that accepts arbitrary input and outputs html that works efficiently on a wide range of HTML renderers. I'll be waiting for the result of your efforts with bated breath.
kovidgoyal is offline  
Old 06-12-2009, 08:31 PM   #189
=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 user_none View Post
I've pushed up a fix for PDB. Also, PDF output defaults to creating imageless palmdoc files. If you want eReader PDB files use the --format=ereader option.

PDF is converting fine for me. I'll have to look into it a bit more.
Did you try running the command line options I used. They are captured in the ZIP file.

If not can you please try and let me know the results.

Also the issues where found in v5 but I also tried with v6 beta and I still get the problem

I've also tried the format=ereader option and the input-profile=default input-profile=default (also replaced default with sony).

I still have the same problem.

Again the GUI continues to work. There has to be a switch you are using in the GUI that is making the PDB and PDF work.

LRF is still broken both in the GUI and commandline.
=X= is offline  
Old 06-12-2009, 08:40 PM   #190
=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:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf4 in position 6: ordinal
not in range(128)
Based on the error message above, could it be the switch --output-encoding=OUTPUT_ENCODING might be a what is causing the problem. I just don't know what to pass in since there is no documentation for this.

=X=
=X= is offline  
Old 06-13-2009, 03:40 AM   #191
chorpler
Zealot
chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.
 
Posts: 128
Karma: 278
Join Date: Jun 2008
Device: Kindle; PRS-500; MobiPocket on Windows Mobile
Just wanted to say that kovidgoyal is awesome -- I had a problem with the beta 6 version of ebook-convert giving an error about not being able to find Qt.SortOrder, so I filed a ticket about it, and only nine minutes later kovidgoyal closed the ticket (which automatically e-mailed me) and let me know that if I just ran the calibre.exe GUI once it would fix that error. Now that's fast!
chorpler is offline  
Old 06-13-2009, 04:47 AM   #192
vincent_c
Enthusiast
vincent_c began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Mar 2009
Device: Bookeen Cybook Gen3
Just FYI, and like it seems calibre is generating actually not so much dependencies with the system's librairies (I use only the QT4 libraries installed with calibre - no more QT4 packages installed - with jaunty) :
I haven't seen this before, probably because I wasn't using the webkit engine. (no html processed)
It seems with the last versions, the engine is loaded when I'm starting calibre, then calibre said the libphonon.so.4 dependency is missing. (loaded by libQtWebKit.so.4 library)

I know I may install the required package to resolve this but would you like I do a simple test copying it in the calibre directory ? (if you want to include it in your installation package ?)
vincent_c is offline  
Old 06-13-2009, 08:24 AM   #193
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=
Based on the error message above, could it be the switch --output-encoding=OUTPUT_ENCODING might be a what is causing the problem. I just don't know what to pass in since there is no documentation for this.
It was an encoding issue but not with the encoding option. It was an issue with the encoding of the title string for the PDB header.

Quote:
Originally Posted by =X= View Post
Did you try running the command line options I used. They are captured in the ZIP file.
I copied and used the exact command line options you had in the zip file.

Quote:
Originally Posted by =X= View Post
Also the issues where found in v5 but I also tried with v6 beta and I still get the problem
The PDB fix hasn't mad it's way into a beta release yet.

Quote:
Originally Posted by =X= View Post
I've also tried the format=ereader option and the input-profile=default input-profile=default (also replaced default with sony).

I still have the same problem.
Sorry for the confusion. I didn't mean that this was a solution. I was just pointing out that in the zip file you didn't use it and thus are not producing eReader pdb files. Meaning there will be no images and very little formating.

Quote:
Originally Posted by =X= View Post
Again the GUI continues to work. There has to be a switch you are using in the GUI that is making the PDB and PDF work.
The title for PDB files was probably being pre-encoded correctly before being passed to the conversion pipeline.

As far as PDF goes. It works on the command line for me. However, I'm using Linux and you are using Windows. So I need to look into it a bit further to see what is happening on Windows that prevents the command line from working correctly.
user_none is offline  
Old 06-13-2009, 08:47 AM   #194
TevK
Member
TevK doesn't litterTevK doesn't litter
 
Posts: 13
Karma: 166
Join Date: Mar 2007
Device: Sony Reader
I'm trying out the beta with my brand new Kindle DX.

Calibre 6 is looking sharp!

Run into an issue with converting cbz to mobi (or pdf), though - although I have "Keep Aspect Ratio", the output is squished into the top half of the screen (see image).

Also, what "input profile" under "page setup" should I use for CBZ files? I tried changing it, but it doesn't seem to matter which one I have selected.

TevK is offline  
Old 06-13-2009, 09:16 AM   #195
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 TevK View Post
I'm trying out the beta with my brand new Kindle DX.

Calibre 6 is looking sharp!

Run into an issue with converting cbz to mobi (or pdf), though - although I have "Keep Aspect Ratio", the output is squished into the top half of the screen (see image).

Also, what "input profile" under "page setup" should I use for CBZ files? I tried changing it, but it doesn't seem to matter which one I have selected.
Lave the input profile as default but set the output profile to kindle_dx. Also, keep using the keep aspect ratio option. If the output profile set to kindle_dx and the keep aspect ratio options are still giving you issues let us know.
user_none 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 02:23 AM.


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