Quantcast
Channel: MobileRead Forums - Calibre
Viewing all 31491 articles
Browse latest View live

Custom icon performance

$
0
0
I'm having lag issues with custom icon rules.

I've added a dozen rules for custom icons. 5 icons for 1-5 star ratings. Then 7 icons for different shelf values. My library is around 18k books.

After adding the icon rules, there's a huge performance hit. Scrolling through the list of books is very very slow and thus laggy. I've tried using from 512x512 icons to 32x32 icons and it is still laggy. Regardless of icon pixels though, all the icons set total to 382kb, which isn't a lot.

I've tried deleting the rules and the lag is gone. I've tried the icon rules on a smaller library of ~1000 books and the lag is still there, albeit not as laggy but still lags.

So, just wondering if anyone has same problem and if there any tips to improve performance? Note: I don't think my computer (amd octocore and 16gb of ram with ssd) is that slow for adding 12 icons to the rules set, or is it?

Attached a pic of icon rules and it seems pretty simple and not a lot, which I don't understand why it will lag so much.

Attached Thumbnails
Click image for larger version

Name:	custom-icon-rules.jpg
Views:	N/A
Size:	62.2 KB
ID:	157830  

Calibre 3.3 AttributeError: 'NoneType' object has no attribute 'refill_quickview'

$
0
0
After updating to calibre portable 3.3, I manually downloaded metadata twice for 2 separate books recently added to calibre. Each time upon clicking OK I got the error, AttributeError: 'NoneType' object has no attribute 'refill_quickview'. Best I can tell all of the metadata was updated and calibre keeps on ticking. Any idea what is causing this error message?

Update: Simply opening the edit metadata window for any book then clicking OK produces the error on any book.

Spoiler:
calibre, version 3.3.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'refill_quickview'

calibre 3.3 Portable embedded-python: True is64bit: False
Windows-10-10.0.15063-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.15063')
Python 2.7.12+
Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 3, 6) && KFX Output (1, 8, 0) && Kindle covers (G) (0, 3, 0) && FictionDB (1, 0, 10) && EpubMerge (2, 1, 1) && Count Pages (1, 8, 0) && Fantastic Fiction Adults (1, 0, 4) && FanFicFare (2, 14, 0) && Goodreads Sync (1, 10, 1) && Modify ePub (1, 3, 13) && SmartEject (2, 0, 7) && ScrambleEbook (0, 0, 5) && Walk Search History (1, 3, 1) && Reading List (1, 6, 6) && Fantastic Fiction (1, 2, 0) && KindleUnpack - The Plugin (0, 81, 4) && Goodreads (1, 1, 12) && Quality Check (1, 9, 11) && Quick Preferences (1, 4, 1) && Audit Log (1, 0, 7) && Extract ISBN (1, 4, 4) && Open With (1, 5, 10) && EpubCheck (0, 1, 2) && EpubSplit (2, 2, 1) && Find Duplicates (1, 6, 3) && Generate Cover (1, 5, 21) && Barnes & Noble (1, 2, 14) && Search The Internet (1, 7, 6) && Manage Series (1, 2, 8) && View Manager (1, 4, 3) && Resize Cover (1, 0, 2) && Favourites Menu (1, 0, 4)
Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\edit_metadata.py", line 306, in edit_metadata
File "site-packages\calibre\gui2\actions\edit_metadata.py", line 337, in edit_metadata_for
File "site-packages\calibre\gui2\actions\edit_metadata.py", line 353, in refresh_books_after_metadata_edit
AttributeError: 'NoneType' object has no attribute 'refill_quickview'

Calibre program on PC, libraries on a NAS

$
0
0
Hi,

I'm aware that you warned against running the Calibre program on a network drive or a NAS.

What I would like to do is to keep the actual program on my PC, but to store the libraries on a NAS (because of space and RAID). My NAS is configured to be on my N-drive.

Will this cause any problems that I should be aware of? What about the alternative: installing the portable version on a NAS and working from (and within) there?

I'm looking forward to your answers.

Kind regards,
Manja

Images are smaller after conversion

$
0
0
I have a childrens book. It has images on every page. The kindle version shows full screen on my tablet. After I convert it to mobi though, it scales down the images and it is no longer full screen.

How do I fix this?

My tablet screen's resolution is 1366 x 768.

Stearno

How to edit wikipedia link with Firstname / Lastname

$
0
0
I've lost my custom link to Wikipedia since upgrading Calibre.
I want a link with French fr and the right syntax for the name.
Could you help me with correct calibre variables?

https://fr.wikipedia.org/wiki/<author.firstname>_<author.lastname>

Thanks

SSL: CERTIFICATE_VERIFY_FAILED Error

$
0
0
Hello,
I could use some help in fixing a "SSL: CERTIFICATE_VERIFY_FAILED" (see Details below) whenever I try to download metadata. I also receive an error whenever I try to access and/or update plugins. I am running windows 10 and am using windows defender antivirus and the windows firewall. I have deleted and remade the incoming and outgoing firewall rules for calibre and have uninstalled and reinstalled calibre with no success. Below are the details of the error msgs I receive.

Downloading Metadata Details:

calibre, version 3.3.0
ERROR: No matches found: <p>Failed to find any books that match your search. Try making the search <b>less specific</b>. For example, use only the author's last name and a single distinctive word from the title.<p>To see the full log, click "Show details".

Running identify query with parameters:
{u'title': u'The Swordswoman', u'authors': [u'Malcolm Archibald'], u'identifiers': {}, u'timeout': 30}
Using plugins: Fantastic Fiction (1, 1, 6), FictionDB (1, 0, 10), Google (1, 0, 0), Amazon.com (1, 2, 0)
The log from individual plugins is below

****************************** FictionDB (1, 0, 10) ******************************
Found 0 results
Downloading from FictionDB took 0.476000070572
Querying: http://www.fictiondb.com/search/searchresults.php - author=Malcolm+Archibald&pubgroup=&title=The+Sword swoman&synopsis=&rating=-&styp=6&isbn=None&anthology=&srchtxt=multi&imprint =&datepublished=
Failed to make identify query: u'http://www.fictiondb.com/search/searchresults.php' - 'author=Malcolm+Archibald&pubgroup=&title=The+Swor dswoman&synopsis=&rating=-&styp=6&isbn=None&anthology=&srchtxt=multi&imprint =&datepublished='
Traceback (most recent call last):
File "calibre_plugins.fictiondb.__init__", line 115, in identify
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 206, in open
File "site-packages\mechanize\_urllib2_fork.py", line 467, in http_response
File "site-packages\mechanize\_opener.py", line 224, in error
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\mechanize\_urllib2_fork.py", line 586, in http_error_302
File "site-packages\mechanize\_mechanize.py", line 254, in open
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 195, in open
File "site-packages\mechanize\_urllib2_fork.py", line 352, in _open
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\calibre\utils\browser.py", line 28, in https_open
File "site-packages\mechanize\_urllib2_fork.py", line 1160, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

************************************************** ******************************

****************************** Amazon.com (1, 2, 0) ******************************
Found 0 results
Downloading from Amazon.com took 0.286000013351
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7
Server: google
Making google query: https://www.google.com/search?q=Swor...www.amazon.com
Plugin Amazon.com failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 48, in run
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 1336, in identify
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 1272, in search_search_engine
File "site-packages\calibre\ebooks\metadata\sources\search_en gines.py", line 224, in google_search
File "site-packages\calibre\ebooks\metadata\sources\search_en gines.py", line 59, in query
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 195, in open
File "site-packages\mechanize\_urllib2_fork.py", line 352, in _open
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\calibre\utils\browser.py", line 28, in https_open
File "site-packages\mechanize\_urllib2_fork.py", line 1160, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

************************************************** ******************************

****************************** Fantastic Fiction (1, 1, 6) ******************************
Found 0 results
Downloading from Fantastic Fiction took 1.40700006485
Querying ISBN: http://script.fantasticfiction.co.uk/ff-v3.php
Querying: http://www.fantasticfiction.co.uk/db...fo,db,imageloc
Failed to make identify query
Traceback (most recent call last):
File "calibre_plugins.fantastic_fiction.__init__", line 275, in identify
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 206, in open
File "site-packages\mechanize\_urllib2_fork.py", line 467, in http_response
File "site-packages\mechanize\_opener.py", line 224, in error
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\mechanize\_urllib2_fork.py", line 586, in http_error_302
File "site-packages\mechanize\_mechanize.py", line 254, in open
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 195, in open
File "site-packages\mechanize\_urllib2_fork.py", line 352, in _open
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\calibre\utils\browser.py", line 28, in https_open
File "site-packages\mechanize\_urllib2_fork.py", line 1160, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

************************************************** ******************************

****************************** Google (1, 0, 0) ******************************
Found 0 results
Downloading from Google took 0.286000013351
Making query: https://books.google.com/books/feeds...&start-index=1
Failed to make identify query: u'https://books.google.com/books/feeds/volumes?max-results=20&min-viewability=none&q=intitle%3ASwordswoman%2Binautho r%3AMalcolm+inauthor%3AArchibald&start-index=1'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\google.py ", line 362, in identify
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 195, in open
File "site-packages\mechanize\_urllib2_fork.py", line 352, in _open
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\calibre\utils\browser.py", line 28, in https_open
File "site-packages\mechanize\_urllib2_fork.py", line 1160, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

************************************************** ******************************
The identify phase took 1.61 seconds
The longest time (1.407000) was taken by: Fantastic Fiction
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds


PLUG IN ERROR MSG BELOW
===========================================

calibre, version 3.3.0
ERROR: Update Check Failed: Unable to reach the plugin index page.

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 441, in __init__
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 65, in read_available_plugins
File "site-packages\calibre\utils\https.py", line 202, in get_https_resource_securely
File "httplib.py", line 1278, in connect
File "ssl.py", line 353, in wrap_socket
File "ssl.py", line 601, in __init__
File "ssl.py", line 830, in do_handshake
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

I consider myself a midlevel user w/no programming/language experience who is able to follow simple directions. I have seen where Kovid has stated that the above certificate error is on the users end but other than allowing incoming and outgoing firewall rules for calibre, I don't know what else I could do. Any/all help in resolving this issue will be deeply appreciated. Bengb

Nook Simple Touch will suddenly not work in Windows10

$
0
0
Hi there,

If this post this in the wrong forum, feel free to direct me elsewhere.

I have this issue today. The situation is that I wanted to transfer a book from Calibre to my Nook Simple Touch as I have done so many times before. But something went wrong today. I got an error message about failing communication. Nothing was reported faulty until I tried to transfer the book, which is why I'm lead to believe that it's Calibre which does something.

Anyway, now Windows reports errors on my device when I connect it. It can not repair these errors. I tried all sorts of things. Copying the file manually doesn't work, since windows reports "no room available". It happens on both the internal memory and the sd-card. The sd-card is reported as faulty on Windows as well. Turning it off and on again *sigh* didn't do anything. Neither did a reboot. I can't format the device on Windows either, which is probably a good thing in most cases.

I tried a factory reset, but something goes wrong when connecting to B&N for the deactivation. And when the deactivation goes wrong, the reset will not complete.

And now the weird thing: I found a laptop I have which runs Ubuntu and installed Calibre on that. I formatted the Nook on Ubuntu (without issue) and restarted it, and now everything worked. I could transfer books, I could read the books. Huzzah! Or so I thought. Because as soon as I plug it back in to my Windows PC, the problems are exactly the same as before , and I still can't copy books to the Nook from Windows explorer either.

Just to make matters worse I thought at that point that it was my Nook which was to blame. So I tried my wife's Nook (same exact model), and now I messed that up as well. :smack: Exactly the same symptoms too.

I'm running latest version of Calibre 3.3.0 on windows (disabling all plugins was tried, of course). The one I downloaded on Ubuntu which works is version 2.55. I wonder if that's the deciding factor?

Windows 10 Pro with all the latest updates, bells and whistles in terms of updates and patches.

...and of course a pair of now slightly paperweighty Nook Simple Touch

Any and all suggestions are very appreciated.

Thanks in advance.

approach to conversion in calibre

$
0
0
I am using calibre quite a long time and still find the approach to conversion a bit awkward, maybe the dev(s) can think about it. this is mainly about autoconversion:

the situation for most users is this, I think: you have a kindle and some other device, which most of the time can display books in epub format. so, whenever you import a book into the library, in the end you need these two formats.

right now, the autoimport menu reads: "automatically convert added books to the current output format". Nowhere is specified what the current output format is, experience tels me it is the format last converted to - and this may change, so this option is a bit useless.

why not instead have an option:

automatically convert books in these formats:

[X ] mobi
[X] epub
[ ] ...

and whatever format you import, in the end you have books converted into these formats?

No Book Covers

$
0
0
For some reason books are no longer showing the book cover image in grid view on my Kindle PW2. It just shows the default Amazon cover I am on Calibre 3.3. I am also using the Kindle Screensaver hack and it will show the book cover when I open the book.

Is there something that changed when I updated Calibre? Or something I did? Never run into this issue.

Calibre library blank screen

$
0
0
So I wanted to rename the calibre library I've been using for a number of years. I ran into one error after another. Using Calibre 3.3 64 bit on win 7. First problem was that the program still had an old directory it thought was the library, and it couldn't find that because the library had moved a long time ago. It appears two different sites were in the program as the spot for the library, as the db from the current library location always showed in the program, until I tried renaming the library.

The error I got was that the library was missing attribute "backend" and this error wouldn't go away, I ended up having to force close the app. the library location is on a NAS, I don't know if that is something that calibre has trouble with, I haven't had any trouble using the app before.

Anyway, when I restarted the program, the name change had gone through, but the screen now has no metadata. blank screen. I attempt to restore the database, but I get a quick message that this cannot be done, then the screen telling me the that old database got backed up (and I see that it was).

what can I do to restore the on screen db?

Server GUI

$
0
0
Hi,

I would like to give some input on how to make the server GUI more accessible and faster to use.
My most important issue is the view of series or any other metafield.
At the moment I first have to click on the magnifier, then on series, then on a letter and then on the specific series.
Why not create a view of all or selectable metafields (e.g. only display authors, series and languages) to reduce the number of actions?
Also, once I have chosen a series and I want to view an other one, there is no button to go back one level. I have to perform all the steps mentioned above again to view an other series.

For me the server version 3 makes many actions take longer.

Blank books after upgrade to 3.3

$
0
0
I just upgraded to Calibre 3.3. I use an Apple iPad, reading books on iBooks. Have been using Calibre to download books to tablet for years, very happy.

After I upgraded to 3.3 today, I downloaded several books to iPad, and moved them to iBooks. Cover is present in app, but I get only a blank screen when I open the books.

The ebooks that were already in iBooks are the same. Covers, but blank content.

Conversion Problem With Indent Feature

$
0
0
Hi. With the newest version of calibre, I am having a problem with the indent feature when I convert to epub, whether or not the original file is epub or mobi. Under the previous version of calibre, when I had a file that had no paragraph indents, I would go into look and feel, and then check the remove space between paragraphs option, which would then insert an indent. Now, when I go into look and feel, and then click layout, and check the same option, nothing happens. There is a still a line between paragraphs, and no indent. Any feedback would be much appreciated, thank you!

Need help.

$
0
0
The statistics for downloads (reads) books. Thank you in advance.

.sqlite in calibre

$
0
0
Hello,

is there any possibility for me to import an .sqlite database to calibre. I have a db with all books, but i like to manage them now with calibre but I dont want to make it new.

Sorry for my bad english

Need help in Custom Columns, template syntax, and rounding numbers

$
0
0
I have no clue if Calibre supports this.

I'm creating a custom column ("built from other columns") that takes the Like and Dislike numbers of two other custom columns in a library to make it into a ratio of 100% for how good said book is.

I have the formula for it that consistently puts out a 0% to 100% ratio.
Code:

Likes / ( Likes + Dislikes ) X 100 = Ratio
But then comes rounding the numbers so Calibre doesn't make hundreds of decimal places or something weird like that. I just need to know what syntax in the template field that I need to put in to make it work and make it round numbers so that it doesn't give decimal places or only has 1 decimal place.

Arabic E-Book Conversion Issues

$
0
0
Greetings all
thanks for the contributions for every one with the positive attitude to enrich the community with guides and useful tips.

I would like to understand from the community the current challenges facing Calibre to convert Arabic Based ebooks to multiple formats, when other languages had great success long time ago?

is there a light in the near future to solve these issues or Arabic language is unique somehow :thanks:

Calibre does not see my Kindle

$
0
0
I am a new member and have used Calibre in the past with no problems. I now have a new Kindle Fire HD8 (my previous was a Kindle HD7). I have a number of books I have downloaded that I want to put on my Kindle using Calibre. I can add the book to Calibre and I can convert the format to mobi for my Kindle. However, when I go to "Send to Device" to click "send to main memory" this is greyed out so not clickable. Further down that same menu is "set default send to device action" and the sub-menu does have "send to main memory" which I have clicked but nothing happens. Also in my menu toolbar in Calibre there is no "Device" icon. So I'm not sure Calibre even sees my Kindle. I've read and looked in the help files but nothing has helped. Hope that someone can clue me in as to what I might do to resolve this issue. Thanks in advance for any help, suggestions or advice. JD

Version 3 server won't start if --log included

$
0
0
Hello,

When I try to start the server:
"C:\Program Files\Calibre2\calibre-server.exe" --port 8888 --log C:\Users\Administrator\Documents "E:\Dropbox\Calibre Lib"

it says:Python function terminated unexpectedly
[Error 5] CreateFileW: Access is denied. (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\srv\standalone.py", line 193, in main
File "site-packages\calibre\srv\standalone.py", line 63, in __init__
File "site-packages\calibre\srv\utils.py", line 384, in __init__
File "site-packages\calibre\srv\utils.py", line 330, in __init__
File "site-packages\calibre\srv\utils.py", line 333, in set_output
File "site-packages\calibre\utils\shared_file.py", line 168, in share_open
File "site-packages\calibre\utils\shared_file.py", line 161, in os_open
File "site-packages\calibre\utils\shared_file.py", line 159, in os_open
WindowsError: [Error 5] CreateFileW: Access is denied.

If I omit the log option it runs fine. I am in the Administrator account when running this so I should have permission to my own Documents folder.

I've tried with and without a file name even though the doc page says directory but that made no difference.

Is this a bug, or just another thing my limited mind-reading ability has prevented from figuring out?

[GUI Plugin] Save Virtual Libraries To Column (GUI)

$
0
0
For each book in the library, compute the list of virtual libraries containing that book then save that list to a custom column. This makes it easier to search for books in multiple virtual libraries or in no virtual library. It also makes the virtual library information available to devices that can read calibre custom columns, for example Calibre Companion.

Note: this plugin also exists as a "Library Closed" plugin. The two plugins share configuration information (the custom column to modify).

Installation Steps:
  1. Download the attached zip file and install the plugin/restart Calibre/add to menu as described in the Introduction to plugins thread.
  2. You can define keyboard shortcuts for this plugin in calibre's Preferences / Shortcuts. Two are available: one to open the plugin's interface and one to directly run the plugin.
  3. Once the plugin is installed, run it and choose "configure". Select which custom column the plugin should modify. The column type must be "comma separated text, behaves like tags".

Version History:
Spoiler:

Version 1.0.0 - 11 July 2017
Initial release

Attached Files
File Type: zip Save Virtual Libraries To Column GUI.zip (12.9 KB)
Viewing all 31491 articles
Browse latest View live