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-27-2009, 02:54 AM   #331
DrunkenDonkey
Connoisseur
DrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the rough
 
Posts: 89
Karma: 7087
Join Date: May 2009
Device: Kindle PW2
kovidgoyal, thanks for the suggestion, but still no go
I'm using b10, both calibre gui and the convert command are giving the same error when I try to convert the zip file to lrf:
Code:
Traceback (most recent call last):
  File "main.py", line 1172, in convert_single
  File "calibre\gui2\tools.pyo", line 36, in convert_single_ebook
  File "calibre\gui2\convert\single.pyo", line 97, in __init__
  File "calibre\gui2\convert\single.pyo", line 130, in setup_pipeline
  File "calibre\ebooks\conversion\plumber.pyo", line 400, in __init__
  File "calibre\ebooks\conversion\plumber.pyo", line 447, in unarchive
  File "calibre\ebooks\conversion\plumber.pyo", line 458, in find_html_index
ValueError: Could not find an ebook inside the archive
Otherwise, the archive dragged to calibre is showing the metadata, but view only shows the archive contents

ps: Interesting thing is that on my archives (created by zipping txt file, opf file and the cover image) I don't get such "Could not find an ebook inside the archive" error, I'm able to get the book properly import, but cover is missing. If I drag the text file from the uncompressed archive - cover shows. And still can't get embedded images to show.

Last edited by DrunkenDonkey; 06-27-2009 at 03:14 AM.
DrunkenDonkey is offline  
Old 06-27-2009, 04:10 AM   #332
Garachico
Junior Member
Garachico began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
The .cbz to .mobi bug (blank pages) is finally gone!
THANK YOU so much!
Now I can use my Kindle DX for comics!
Great work!!

Jens
Garachico is offline  
Advert
Old 06-27-2009, 05:58 AM   #333
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
I think I found a bug in the list command, if it is, I'll open a ticket. Using this command
Code:
calibredb list -f isbn,tags --output-format=xml
instead of getting only the id, isbn and tags, I get this.
Code:
<record>
        <id>5</id>
        <title>Thomas Calculus I, II sm Part 1 and 2 Sup </title>
        <authors sort="Thomas &amp; Weir &amp; Hass &amp; Giordano">
            <author>Thomas</author>
            <author>Weir</author>
            <author>Hass</author>
            <author>Giordano</author>
        </authors>
        <publisher>Addison Wesley</publisher>
        <rating>0</rating>
        <date>2009-05-21 07:59:05</date>
        <size>11182586</size>
        <tags>
            <tag>Solution Manuals</tag>
            <tag>Mathematics</tag>
            <tag>DVD_Books_1</tag>
        </tags>
        <comments></comments>
        <series index="1.0">11 ed</series>
        <isbn>9780321226532</isbn>
        <formats>
            <format>C:\Users\xxxxxxxx\Desktop\Books\Thomas\Thomas Calculus I, II sm Part 1 and 2 Su (5)\Thomas Calculus I, II sm Part 1 and 2 Su - Thomas.djvu</format>
        </formats>
    </record>
when using --output-format=text I get this
Code:
1236 9780735614291 [u'Computers / Operating Systems / General', u'Computers /   
                   Data Processing / General', u'Microsoft Windows (Computer    
                   file)', u'Electronic data processing personnel/              
                   Certification', u'Computers / Operating Systems / Windows    
                   Workstation', u'Operating systems (Computers)']
The way the tags are written, I don't know if that was intended or it got massed up, since I haven't used it in v. 5.1.4. I'm on beta 9.

Thanks,
M
myle00 is offline  
Old 06-27-2009, 08:03 AM   #334
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 Garfunkel View Post
Unfortunately, you haven't fixed the problem with turning TOC creation off
Quote:
Originally Posted by kovidgoyal
You cannot suppress generation of a TOC, it is needed for the calculation of indexing information for the MOBI file.
Two options I can think of for you are to select the first item in the TOC because it will take you to the first item in the content.

Another option is to try having it generate an auto toc and have it look for non existent tags. Something like:

Code:
--level1-toc="//xxx" --chapter="//xxx" --use-auto-toc
user_none is offline  
Old 06-27-2009, 11:04 AM   #335
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 myle00 View Post
I think I found a bug in the list command, if it is, I'll open a ticket. Using this command
Code:
calibredb list -f isbn,tags --output-format=xml
instead of getting only the id, isbn and tags, I get this.
...
This isn't a bug. -f only affects with text output.
user_none is offline  
Advert
Old 06-27-2009, 11:32 AM   #336
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 DrunkenDonkey View Post
ps: Interesting thing is that on my archives (created by zipping txt file, opf file and the cover image) I don't get such "Could not find an ebook inside the archive" error, I'm able to get the book properly import, but cover is missing. If I drag the text file from the uncompressed archive - cover shows. And still can't get embedded images to show.
The zip input requires an opf file so it knows the order and what not. I've committed a fix for the embedded image problem. It wasn't converting to html via markdown.
user_none is offline  
Old 06-27-2009, 12:47 PM   #337
DrunkenDonkey
Connoisseur
DrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the roughDrunkenDonkey is a jewel in the rough
 
Posts: 89
Karma: 7087
Join Date: May 2009
Device: Kindle PW2
Great, thanks, can't wait for b11 then
DrunkenDonkey is offline  
Old 06-27-2009, 02:54 PM   #338
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by user_none View Post
Two options I can think of for you are to select the first item in the TOC because it will take you to the first item in the content.

Another option is to try having it generate an auto toc and have it look for non existent tags. Something like:

Code:
--level1-toc="//xxx" --chapter="//xxx" --use-auto-toc
Sorry, didn't quite understand what you mean by your first option. How do I "select the first item"? And another thing I noticed - Ebook Viewer (the software bundled with calibre) shows the input fb2 file with the exactly same TOC! I checked the source code of the fb2 file and found out it has no TOC in it specified explicitly but rather special tags like <section> </section> which are then interpreted by Ebook Viewer (and calibre itself) as chapters or notes.
As Kovid Goyal said a TOC is required for ePub creation. That's fine but why not put it to the end of a book if not make it hidden? Just one checkbox will save the day for me And please excuse my poor English I'm from Azerbaijan.
Garfunkel is offline  
Old 06-27-2009, 09:57 PM   #339
Bob Butler
Connoisseur
Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.
 
Posts: 85
Karma: 11090
Join Date: Sep 2008
Device: Kindle, iPhone
When I run any2mobi in b10 I get:

Traceback (most recent call last):
File "from_any.py", line 14, in <module>
ImportError: No module named from_any
Bob Butler is offline  
Old 06-27-2009, 10:08 PM   #340
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
any2mobi no longer exists, use the command ebook-convert
kovidgoyal is offline  
Old 06-28-2009, 06:40 AM   #341
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
PRS-500 Not Working?

Running the 0.6b10 release on Windows XP, every time that I plug in my PRS-500 I get a message stating:
Code:
PacketError: Response packets must have their number set to 0x1000.
On the same machine if I revert to running the 0.5.14 release it connects without any issues. Is this a known problem with the 0.6 betas? Should I raise a ticket?
itimpi is offline  
Old 06-28-2009, 09:38 AM   #342
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 itimpi View Post
Running the 0.6b10 release on Windows XP, every time that I plug in my PRS-500 I get a message stating:
Code:
PacketError: Response packets must have their number set to 0x1000.
On the same machine if I revert to running the 0.5.14 release it connects without any issues. Is this a known problem with the 0.6 betas? Should I raise a ticket?
Open a ticket.
user_none is offline  
Old 06-28-2009, 10:15 AM   #343
Bob Butler
Connoisseur
Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.Bob Butler can tame squirrels without the assistance of a chair or a whip.
 
Posts: 85
Karma: 11090
Join Date: Sep 2008
Device: Kindle, iPhone
Quote:
Originally Posted by kovidgoyal View Post
any2mobi no longer exists, use the command ebook-convert
Thanks.

Does the "calibredb -1 add" still exist (to add multiple formats of the same title to the DB)?

calibredb add -1 -r tmpdir
Traceback (most recent call last):
File "cli.py", line 553, in <module>
File "cli.py", line 550, in main
File "cli.py", line 341, in command_add
File "cli.py", line 280, in do_add
File "calibre\library\database2.pyo", line 1726, in recursive_import
File "calibre\library\database2.pyo", line 1712, in import_book_directory
File "calibre\ebooks\metadata\meta.pyo", line 34, in metadata_from_formats
TypeError: 'generator' object is unsubscriptable
Bob Butler is offline  
Old 06-28-2009, 02:51 PM   #344
emellaich
Wizard
emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.
 
Posts: 1,101
Karma: 4388403
Join Date: Oct 2007
Device: Palm>Ebookman>IPaq>Axim>Cybook>Kndl2>IPAD>Kndl3SO>Voyager>Oasis
I just posted a new ticket on this, but there is a problem with output to the Kindle2. As stated in the ticket:

There are one (or two) problems when uploading books to the Kindle2 using 0.6 b10.

First, it is uploading two copies of each book. One in the root document directory and one in subdirectories. Secondly, it is not masking the ":" character when it is put in the subdirectory. I have books titled like this
"Honor 1: On Baselisk Station"

in order to show that the book is the first book in the honor series. For the copy that is in the root, the : is eliminated. For the copy in the subdirectories, the colon is not eliminated and it is an illegal character for the file system.
emellaich is offline  
Old 06-28-2009, 08:30 PM   #345
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
Quote:
Originally Posted by Bob Butler View Post
Thanks.

Does the "calibredb -1 add" still exist (to add multiple formats of the same title to the DB)?

calibredb add -1 -r tmpdir
Traceback (most recent call last):
File "cli.py", line 553, in <module>
File "cli.py", line 550, in main
File "cli.py", line 341, in command_add
File "cli.py", line 280, in do_add
File "calibre\library\database2.pyo", line 1726, in recursive_import
File "calibre\library\database2.pyo", line 1712, in import_book_directory
File "calibre\ebooks\metadata\meta.pyo", line 34, in metadata_from_formats
TypeError: 'generator' object is unsubscriptable
calibredb should be unchanged, open a ticket
kovidgoyal 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 01:20 PM.


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