Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2016, 10:57 AM   #181
bob_bookworm
Member
bob_bookworm began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle
Thanks a lot, here's the log

QUOTE
calibre Debug log
calibre 2.51 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubSplit
Starting up...
Started up in 8.70 seconds with 1053 books
Failed to check for calibre update: EOF occurred in violation of protocol (_ssl.c:581)
calibre 2.51 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubSplit
Traceback (most recent call last):
File "calibre_plugins.epubsplit.epubsplit_plugin", line 137, in plugin_button
File "calibre_plugins.epubsplit.epubsplit", line 646, in get_split_lines
File "calibre_plugins.epubsplit.epubsplit", line 1052, in splitHtml
File "site-packages\calibre\ebooks\BeautifulSoup.py", line 1444, in __init__
File "site-packages\calibre\ebooks\BeautifulSoup.py", line 1061, in __init__
File "site-packages\calibre\ebooks\BeautifulSoup.py", line 1090, in _feed
MemoryError
UNQUOTE

It looks like there is a 32bit/64bit problem somewhere...
bob_bookworm is offline   Reply With Quote
Old 02-20-2016, 11:02 AM   #182
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I believe you are running a 32 bit version of Calibre (because your OS/hardware is 32bit)
Only newer 64bit hardware is going to cure this
theducks is online now   Reply With Quote
Advert
Old 02-20-2016, 11:10 AM   #183
bob_bookworm
Member
bob_bookworm began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle
Quote:
Originally Posted by theducks View Post
I believe you are running a 32 bit version of Calibre (because your OS/hardware is 32bit)
Only newer 64bit hardware is going to cure this
Well, no, the hardware is most certainly 64bit, and this excerpt from the log file should prove it: "32bit process running on 64bit windows".

I am the opposite of an IT guru, so apologies if what follows is crap, but either the Calibre version I'm running thinks my laptop is a 32bit Win10, or the Calibre version I've downloaded and installed is for a 32bit Win OS, or... what?

EDIT: yes, my fault entirely, the software update icon connected me to the download of a 32bit version of the software. After downloading the right version the plugin worked just fine

Last edited by bob_bookworm; 02-20-2016 at 11:25 AM.
bob_bookworm is offline   Reply With Quote
Old 02-20-2016, 11:23 AM   #184
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
On windows, 64bit Calibre is a different installable than 32bit, so you have to deliberately download and install the 64bit version.

The line Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') suggests you do have 32bit Windows. I'm no Windows expert, but it would surprise me if you could get a 32bit computer these days.

Also, 32bit can address 4G of memory. I can't guarantee that changing to 64bit calibre will solve this problem. But I would like to see you try it before we escalate to asking Kovid about it.
JimmXinu is offline   Reply With Quote
Old 02-20-2016, 11:28 AM   #185
bob_bookworm
Member
bob_bookworm began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
On windows, 64bit Calibre is a different installable than 32bit, so you have to deliberately download and install the 64bit version.

The line Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') suggests you do have 32bit Windows. I'm no Windows expert, but it would surprise me if you could get a 32bit computer these days.

Also, 32bit can address 4G of memory. I can't guarantee that changing to 64bit calibre will solve this problem. But I would like to see you try it before we escalate to asking Kovid about it.
Thanks, I was editing my previous msg while you were posting yours

Yes, I was running the wrong version of Calibre. After installing the 64bit version your plugin worked just fine. Now I will just have to do the split properly
bob_bookworm is offline   Reply With Quote
Advert
Old 02-20-2016, 11:33 AM   #186
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Glad it's sorted out. I'll have to remember that.
JimmXinu is offline   Reply With Quote
Old 02-20-2016, 12:30 PM   #187
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JimmXinu View Post
On windows, 64bit Calibre is a different installable than 32bit, so you have to deliberately download and install the 64bit version.

The line Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') suggests you do have 32bit Windows. I'm no Windows expert, but it would surprise me if you could get a 32bit computer these days.

Also, 32bit can address 4G of memory. I can't guarantee that changing to 64bit calibre will solve this problem. But I would like to see you try it before we escalate to asking Kovid about it.
That one threw me also.
theducks is online now   Reply With Quote
Old 02-21-2016, 05:59 AM   #188
Waylander
Fanatic
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 594
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 SE, Onyx Boox Poke 3
I split the epub of an omnibus of a thriller series, sorted the metadata, and converted to azw3. Now, I can only add one of the books to my kindle, not all of them. What's going on?
Waylander is offline   Reply With Quote
Old 02-21-2016, 10:14 AM   #189
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Waylander View Post
I split the epub of an omnibus of a thriller series, sorted the metadata, and converted to azw3. Now, I can only add one of the books to my kindle, not all of them. What's going on?
My only idea is that the split books all have the same title and/or sort title.

When you split, you need to give different titles, but did you also update the 'Title sort'? That's the box just below the title that lists titles like 'The Book' as 'Book, The'. There's a button to the right of the two boxes you can click to automatically populate it from the title.

For existing books you can also do several at once:

Select books.
Tap 'E' (Edit metadata, bulk mode)

Tick the box 'Update Title sort'
OK
JimmXinu is offline   Reply With Quote
Old 02-21-2016, 08:54 PM   #190
Waylander
Fanatic
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 594
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 SE, Onyx Boox Poke 3
That worked, thanks!
Waylander is offline   Reply With Quote
Old 05-04-2016, 02:33 PM   #191
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Version 2.1.2 - 04 May 2016
  • Update translations (from Transifex.com).
  • Fix for Mac OS X freezes - set log level to CRITICAL unless calibre in debug or in BG job.
  • Fix for Mac OS X crashes - changes to progress bar dialogs implementation.
  • Change to include font files in splits. Includes all fonts, use other tools to remove unused fonts.
JimmXinu is offline   Reply With Quote
Old 10-25-2016, 08:34 PM   #192
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version

This version adds an option (that is checked by default) that each new split book will take it's title from the first included TOC entry.

If there's no TOC entry for the first included file, the previous behavior (Copy Title or 'Unknown') will be used.

Last edited by JimmXinu; 11-01-2016 at 03:24 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline   Reply With Quote
Old 04-29-2017, 10:57 AM   #193
Suffolk Punch
Connoisseur
Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.
 
Posts: 70
Karma: 187210
Join Date: Sep 2010
Location: UK
Device: Sony PRS T1, Kindle 4 NT, Kobo Touch, Kobo Clara HD
cover picture clipped after epubsplit used

Hi,

I've just used the plugin 'EpubSplit' to divide into 3 seperate epubs the omnibus ebook which contains episodes 1-3 of Ryk Brown's 'Frontiers Saga'.

After side-loading the 3 epubs to my kobo Touch (using Calibre), I found that the cover art shown on the Touch's home page, (and also shown when the Touch is sleeping), is not correctly scaled. Roughly speaking, just the top lefthand quadrant of the cover picture is displayed. This is the first time I have seen this glitch on my Touch.

My system: Calibre 2.83 running on Linux Mint 18 (64-bit), EpubSplit v 2.2.0, Kobo Touch s/w v 3.19.5761 (12/29/15)

Its no biggie; just a niggling minor irritant. But if anyone knows a cure I would be very grateful to hear it.
Suffolk Punch is offline   Reply With Quote
Old 04-29-2017, 03:37 PM   #194
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
In future, you should report issues with a plugin in the thread for that plugin. It's only chance that I even saw this thread--I don't check the forum list very often.

You'd think that how covers are coded in epubs would be standardized, but it's just not.

Rather than attempt to keep the cover (X)HTML from the original, EpubSplit is coded to always use the same cover.xhtml code.

Spoiler:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><title>Cover</title><style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
div { margin: 0pt; padding: 0pt; }
</style></head><body><div>
<img src="cover.jpg" alt="cover"/>
</div></body></html>


If your particular reader doesn't like that cover code, I'd try Calibre's Polish Book feature and see if it helps.

UPDATE: I see some kind mod has moved us.

Last edited by JimmXinu; 04-29-2017 at 09:15 PM.
JimmXinu is offline   Reply With Quote
Old 05-01-2017, 01:51 AM   #195
Suffolk Punch
Connoisseur
Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.Suffolk Punch can program the VCR without an owner's manual.
 
Posts: 70
Karma: 187210
Join Date: Sep 2010
Location: UK
Device: Sony PRS T1, Kindle 4 NT, Kobo Touch, Kobo Clara HD
[Solved] cover picture clipped after epubsplit used

Thanks JimmXinu.

Your fine plugin now works for me! Turns out I hadn't selected 'Preserve cover aspect ratio' in 'Calibre Prefs > Output Options > EPUB output'. Sooo obvious in retrospect...
Suffolk Punch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubMerge JimmXinu Plugins 522 04-01-2024 10:25 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3985 05-08-2015 11:18 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:53 PM.


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