Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2009, 10:46 AM   #211
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by stilliremain View Post
And now my 505 isn't being detected with 0.6.7.
Post the output of running

calibre-debug -d

in a terminal with your 505 attached
kovidgoyal is offline   Reply With Quote
Old 08-17-2009, 11:07 AM   #212
stilliremain
Junior Member
stilliremain began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2008
Device: Cybook Gen3 eBoo
USB devices on system: [(7531, 1, 518), (7531, 1, 518), (7531, 2, 518), (1118, 149, 1060), (7531, 1, 518), (7531, 1, 518), (1060, 8744, 1092), (1060, 9730, 0), (1356, 798, 553), (1060, 9474, 1), (7531, 2, 518), (7531, 1, 518), (16700, 8208, 512), (16700, 4099, 512), (7531, 1, 518)]
Looking for BEBOOK
Looking for BEBOOK_MINI
Looking for BLACKBERRY
Looking for CYBOOKG3
Looking for EB600
Looking for ILIAD
Looking for IREXDR1000
Looking for JETBOOK
Looking for KINDLE
Looking for KINDLE2
Looking for KINDLE_DX
Looking for PRS500
Looking for PRS505
Looking for PRS700
Looking for ANDROID
Looking for CYBOOK_OPUS
Looking for COOL_ER
Device possibly connected: <calibre.devices.prs505.driver.PRS505 object at 0xa2df40c>
Trying to open device... failed
Opening of the following devices failed
<calibre.devices.prs505.driver.PRS505 object at 0xa2df40c>
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/debug.py", line 130, in debug_device_driver
File "/home/kovid/work/calibre/src/calibre/devices/prs505/driver.py", line 57, in open
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 558, in open
File "/home/kovid/work/calibre/src/calibre/devices/usbms/device.py", line 528, in open_linux
DeviceError: Unable to detect the PRS505 disk drive.

I gather from the previous comments that I may need a kernel upgrade. IMO it would be great if I could mount it manually and just specify the path in calibre.
stilliremain is offline   Reply With Quote
Advert
Old 08-17-2009, 11:30 AM   #213
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, you need a kernel upgrade.
kovidgoyal is offline   Reply With Quote
Old 08-19-2009, 07:29 AM   #214
voda
Member
voda began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2009
Device: none
Adobe digital Editions doesn't show the cover of epub files I created using calibre. Is this a known issue, or is it a bug of Adobe? It's not that I use Adobe, but a client of mine does. It works in the calibre viewer.

Another question. Is there a way to create directories in the epub file? It looks a little bit messy to me.

Last edited by voda; 08-19-2009 at 07:30 AM. Reason: typo
voda is offline   Reply With Quote
Old 08-19-2009, 11:10 AM   #215
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
EPUB files have no cover, in EPUB the first page is the cover. Are you saying that the contents of the frist page are not shown?

No there's no way to create directories.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-20-2009, 03:01 PM   #216
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 have seen this in some thread but I cannot seem to find it. When adding books calibre crashes. I'm adding about 500 books and now for the third time calibre crashes in the midddle. After each crash, I end up with about 50 books added and one book - probably the last book added, is only a record. I.e. it doesn't contain the book file, but just the calibre entry for the book. I'm on .6.7 and I disabled the read metadata option.
On the last two times, I ran it through calibre-debug -g and here is the last log attached. It basically doesn't show a thing about the crash. Though I'm wondering why it says
Code:
..................
..................
Job: 15 Read metadata (13 of 17) finished
Read metadata (13 of 17)
..................
..................
even though I unchecked to read metadata. I'm going to try again with the metadata plugins themselves disabled. I'm adding pdf and chm files.
Thanks,
M
Attached Files
File Type: txt calLog3.txt (124.7 KB, 209 views)
myle00 is offline   Reply With Quote
Old 08-20-2009, 04:26 PM   #217
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'm pretty sure now that it was the metadata reading that crashed calibre, even though I unchecked "read metadata". I'm adding the books again with the matadata plugins themselves disabled and so far it's added about 80 books without crashing.

Edit: Oh well, it crashed after adding 220 books...

Last edited by myle00; 08-20-2009 at 07:55 PM.
myle00 is offline   Reply With Quote
Old 08-21-2009, 08:58 AM   #218
GonzoGonzalez
Member
GonzoGonzalez began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: prs-505
Communication error for long author names

First and foremost- thanks for this great program and for making it better and better! Pretty soon it'll overtake all the high-priced book-management systems in both functionality and popularity!

Couple of issues still standing:

1. If the author name is long, or there is a lot of authors listed for a book, i.e. author name string exceeds certain length- then you get communication error while trying to send to PRS-505 device:
(2, 'No such file or directory')

Traceback (most recent call last):
File "calibre\gui2\device.pyo", line 57, in run
File "calibre\gui2\device.pyo", line 220, in _upload_books
File "calibre\devices\prs505\driver.pyo", line 125, in upload_books
File "calibre\devices\usbms\cli.pyo", line 53, in put_file
IOError: [Errno 2] No such file or directory: u'L:\\database\\media\\books\\Alieksandr Bieliaiev & Anatolii Biezughlov & Alieksandr Abramov & Alieksandr Kazantsiev & Nikolai Samvielian & Ia. Zimin & Ieriemiei Parnov & Vladimir Gakov & Rei Bredbier\\M\\Mir prikliuchienii, 1983 - Alieksandr Bieliaiev & Anatolii Biezughlov & Alieksandr Abramov & Alieksandr Kazantsiev & Nikolai Samvielian & Ia. Zimin & Ieriemiei Parnov & Vladimir Gakov & Rei Bredbieri & .lrf'

Seems like the path name is too long for PRS-505 to handle. Must be truncated to a certain value to succeed.

2. When converting FB2 to LRF, there is no option to insert line breaks before each chapter. This REALLY screws up the book formatting, sometimes even splitting chapter headings across pages. I believe this to be a VERY important issue to fix. All in all, I think there should be some sort of style sheet for conversion from FB2, which could be user modifiable.

Thanks a lot and keep up the good work!

Michael

Last edited by GonzoGonzalez; 08-21-2009 at 09:07 AM.
GonzoGonzalez is offline   Reply With Quote
Old 08-21-2009, 10:17 AM   #219
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Long names should be handled correctly in the next release. Since calibre inserts page breaks before chapter headings,I'm not sure what you mean about FB2 conversion.
kovidgoyal is offline   Reply With Quote
Old 08-21-2009, 05:47 PM   #220
GonzoGonzalez
Member
GonzoGonzalez began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
Long names should be handled correctly in the next release. Since calibre inserts page breaks before chapter headings,I'm not sure what you mean about FB2 conversion.
Calibre doen't seem to insert page breaks correctly in case of FB2. In FB2 format (which is very similar to HTML), there is a "<section>" tag that signifies beginning of a new chapter. Calibre seems to completely ignore these and no pagebreaks are inserted.

How does conversion if Calibre actually happen? Does it convert to HTML first, then apply XPath expressions to put pagebreaks, then save as LRF? If yes, how can I view this intermediate format? Should I read up on this somewhere, where it is already explained?

P.S.: FB2 format doesn't contain any styles information- it is all decided by FB2 viewer. Is there a way to modify styles used by Calibre for FB2 conversion?

Last edited by GonzoGonzalez; 08-21-2009 at 05:53 PM.
GonzoGonzalez is offline   Reply With Quote
Old 08-21-2009, 06:36 PM   #221
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre inserts page breaks for FB2 just fine for me. Make sure you haven't overriden the page break option in your conversion settings.
kovidgoyal is offline   Reply With Quote
Old 08-21-2009, 11:17 PM   #222
GonzoGonzalez
Member
GonzoGonzalez began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
calibre inserts page breaks for FB2 just fine for me. Make sure you haven't overriden the page break option in your conversion settings.
Here is a screenshot of my settings:



Is something wrong? I left all the defaults on. Calibre DOESN'T insert page breaks at <section> tag of FB2 for me... What could be the difference? Thanks.
GonzoGonzalez is offline   Reply With Quote
Old 08-21-2009, 11:23 PM   #223
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Change Insert page breaks before to //*[name()='h1' or name()='h2']
kovidgoyal is offline   Reply With Quote
Old 08-21-2009, 11:32 PM   #224
GonzoGonzalez
Member
GonzoGonzalez began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2009
Device: prs-505
Quote:
Originally Posted by kovidgoyal View Post
Change Insert page breaks before to //*[name()='h1' or name()='h2']
I tried. The weird thing is that when I click OK to save settings- it doesn't remember the string! When I open settings again, there is only that "/" single slash in the field "Insert Page Breaks Before". It doesn't save the value for some reason.
GonzoGonzalez is offline   Reply With Quote
Old 08-21-2009, 11:35 PM   #225
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,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you are re-converting a previously converted file, calibre will use the settings from the previous conversion over the defaults, so you have to change it in the conversion settings for that book.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 0.7.0 released! kovidgoyal Calibre 194 09-20-2010 02:04 PM
Calibre 0.7.0 released - see site details below Paulc15 Kobo Reader 16 06-07-2010 12:27 PM
Calibre 0.6.55 released - see site for details Paulc15 Kobo Reader 1 05-28-2010 08:54 PM
calibre 0.6.0 released! kovidgoyal News 86 08-12-2009 04:57 PM
calibre 0.5.0 released! kovidgoyal Calibre 99 03-12-2009 07:43 PM


All times are GMT -4. The time now is 11:05 AM.


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