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

Bookmarks/Current Location in a library sync'd with OneDrive

$
0
0
I use Calibre to sync a single library across multiple PC's by putting the library data and books in a OneDrive folder. This works extremely well for managing a library. There is an issue with bookmarks and current reading location I'd like to solve either by contributing some code, or better understanding where some data are stored.

Givens: Using the reader built into Calibre v2.37. Library stored in a directory sync'd by OneDrive (Windows). Book format is ePub.

Behavior: If I open a book on PC #1, I can save some bookmarks. When I go to PC #2 and open that book for the first time on PC #2, the bookmarks and the last location from PC #1 appear in the book when I open it. However, as soon as I add add'l bookmarks, and/or move to a different location in the book, the settings no longer seem to sync across the PC's. Rather these bookmarks/location are suddenly unique for each PC.

By inspecting the ePub data in the sync'd directory, on any PC (since the files are sync'd), I can see the calibre_bookmarks file, and the bookmarks/location data, from the last time I opened the book. However, on a PC other than the one on which I last viewed, these data seem to be ignored in favor of something else stored locally.

Assumption: There must be something stored on each workstation that overrides what's in the ePub file. Perhaps somewhere in the C:\Users\[user]\AppData\Roaming\calibre folder?

Goal: To either find, or create, functionality in Calibre to disable this local storage, so I my bookmarks/location are truly sync'd when I read across PC's using the Calibre reader.

Looking forward to thoughts/solutions!

Calibre and Sony PRS-T1 - Calibre says there are no books on device

$
0
0
Calibre no longer sees the books contained in my Sony PRS-T1 .
Using Calibre I send epub from my PC to the device; I unplug the device and the books are there; when I reconnect the device, Calibre says that there are no books on device.
Starting Calibre in debug mode I obtain these last messages in log:
...........
DeviceJob: 9 Recupera la lista dei libri del dispositivo callback returned
Job: 9 Recupera la lista dei libri del dispositivo finished
unable to open database file

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 86, in run
File "site-packages\calibre\gui2\device.py", line 490, in _books
File "site-packages\calibre\devices\prst1\driver.py", line 163, in books
File "site-packages\calibre\devices\usbms\driver.py", line 249, in books
File "site-packages\calibre\devices\prst1\driver.py", line 246, in sync_booklists
File "site-packages\calibre\devices\prst1\driver.py", line 275, in update_device_database
OperationalError: unable to open database file
................
I use win XP s.p.3 and Calibre 1.4.8

please help.:eek:

KFX Soon?

$
0
0
Any word on when we'll get support for KFX format books in Calibre? I know the workaround - download to my computer and then suck into Calibre before sending to my Kindle, but it would be nice to be able to read the books from my Kindle directly. (Currently a Voyage or PW1. I have both.)

Thanks,

"The New York Times" recipe failing with error

$
0
0
I'm not sure what is causing this, but The New York Times recipe consistently fails out with an error, apparently while parsing the scraped page:

Code:

Fetch news from New York Times
Resolved conversion options
calibre version: 2.39.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': None,
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_download_recipe': False,
 'dont_split_on_page_breaks': True,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'epub_flatten': False,
 'epub_inline_toc': False,
 'epub_toc_at_end': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': None,
 'fix_indents': True,
 'flow_size': 260,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x7f8169b99d10>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0,
 'linearize_tables': False,
 'lrf': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.KindleFireOutput object at 0x7f8169ba6490>,
 'page_breaks_before': None,
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': None,
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': None,
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': '',
 'sr1_search': '',
 'sr2_replace': '',
 'sr2_search': '',
 'sr3_replace': '',
 'sr3_search': '',
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'test': False,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: Recipe Input running
Using custom recipe
Traceback (most recent call last):
  File "site.py", line 63, in main
  File "site-packages/calibre/utils/ipc/worker.py", line 193, in main
  File "site-packages/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
  File "site-packages/calibre/ebooks/conversion/plumber.py", line 1042, in run
  File "site-packages/calibre/customize/conversion.py", line 241, in __call__
  File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 117, in convert
  File "site-packages/calibre/web/feeds/news.py", line 1029, in download
  File "site-packages/calibre/web/feeds/news.py", line 1194, in build_index
  File "<string>", line 736, in parse_index
  File "<string>", line 676, in parse_todays_index
  File "<string>", line 565, in get_popular_articles
  File "site-packages/calibre/web/feeds/news.py", line 689, in index_to_soup
  File "site-packages/mechanize/_mechanize.py", line 199, in open_novisit
  File "site-packages/mechanize/_mechanize.py", line 255, in _mech_open
httperror_seek_wrapper: HTTP Error 404: Not Found

My impression is that this particular recipe is perhaps the most elegantly complicated and sophisticated of all built-in recipes, and I'm terrified to try debugging it.

Marked books self resurecting

$
0
0
2.39 W10

I have (the same) 20 books that will not stay unmarked.
I right click: Clear marked books and the push pins go away.

I restart/quit Calibre
The next time that Library opens. They're back (the same 20):chinscratch:

Where are they stored please?

How to get the selected category in the code of the gui plugin?

$
0
0
Good day

The user selects the tag with the left mouse button.
How to get the selected tag in the code of the gui plugin?

Opening pdf / containing folder not working

$
0
0
Hi,

I got a problem opening my pdf. When I click on right side's menu I can open the pdf (see picture).
When double clicking on the books in the main windows or using context menu "open containing folder" or clicking on the right side on "Path: Click to open" I get error messages like below.

Any ideas?
Cheers

when clicking open containing folder:
"Die Adresse »file:///home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)« konnte nicht geöffnet werden.

Fehler beim Holen der Informationen für Datei »/home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)«: Datei oder Verzeichnis nicht gefunden."

when doubleclicking:
"Die Adresse »file:///home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)/Neuropsychologie%20-%20Karnath,%20Hans%20O_.pdf« konnte nicht geöffnet werden.

Fehler beim Holen der Informationen für Datei »/home/planb/Calibre-Bibliothek/Karnath,%20Hans%20O_/Neuropsychologie%20(71)/Neuropsychologie%20-%20Karnath,%20Hans%20O_.pdf«: Datei oder Verzeichnis nicht gefunden."

Attached Thumbnails
Click image for larger version

Name:	temp11.png
Views:	N/A
Size:	38.7 KB
ID:	142510  

Empty edit book window

$
0
0
Certainly, I oversaw something, but since Version 2.39 clicking the "edit book" tool, I see nothing else but what is shown in the attachment, i. e. an empty window. I tried it with various books, but it is always the same.
I'm under Windows 10, 32-bit.

Help very much appreciated!

Attached Thumbnails
Click image for larger version

Name:	Calibre screenshot.jpg
Views:	N/A
Size:	134.9 KB
ID:	142519  

Calibre 2.40 +mac = malware?

$
0
0
Hey, I just downloaded the new version of calibre and replaced the old, and now my mac is telling me it will damage my computer, so I can't open it.... Anyone got a fix for this? Help, please!

EPUB to Mobi conversion puts one paragraph on each page

$
0
0
Anyone else seen this?
It's becoming a common problem lately where a normal formatted epub converts to mobi and puts one paragraph on each page.

Any suggestions on settings to check here? Not getting any errors.

Thanks

[GUI Plugin] Consolidate All Library Metadata (CALM)

$
0
0
[GUI Plugin] Consolidate All Library Metadata (CALM)


Application Functions and Features:

[1] Consolidate a snapshot of the standard metadata for all of your Calibre Libraries into a temporary CALM Target Library;

[2] View the consolidated metadata of all of your books from all of your Calibre Libraries simultaneously;

[3] Standardize Author Names, Tags, and Genres centrally in the snapshot CALM Target Library using CALM's Metadata Tools;

[4] Propagate the standardized Author Names, Tags and Genres from the snapshot CALM Target Library back to the 'real' Source Libraries;

[5] Shuffle books around your Calibre Library Ecosystem;

[6] Defragment/Compress your Calibre Library Ecosystem simultaneously and en masse from within the snapshot CALM Target Library;

[7] Back Up All Metadata to metadata.opf files simultaneously and en masse from within the snapshot CALM Target Library.

Questions & Answers:

[1] Do I need CALM if I have only a single Calibre Library?

The answer is almost always 'Yes'. CALM has Metadata Tools for standardizing and deriving Tags and Genres using Rules that you maintain based on your personal needs and desires.

If you do not use Tags and Genres, or if they are already standardized, and if you do not frequently add new books to your single Calibre Library, then you do not need CALM.


[2] I have many Libraries, but my metadata is already 'perfect' and entirely standardized. What does CALM have to offer me?

Consolidation of the basic metadata for all of the books in all of your libraries so you can view and analyze it all simultaneously using both Calibre advanced search functions and the MultiColumnSearch plug-in's additional advanced search capabilities.

Afterward, using CALM-specific functionality, you can shuffle your books among your many libraries for the purpose of moving them into their correct locations, as well as deleting cross-library duplicates.


[3] Is CALM's Consolidation Job just a mass “copy” from all of my Calibre Libraries into the CALM Target Library?

No. Absolutely not. The Consolidation Job creates a temporary “snapshot” Calibre Library that has no book formats whatsoever. It copies the standard metadata for each book in each specified “Source Library”, but not the book itself. For that reason, the consolidation job executes quickly.


[4] 'Standard Metadata' does not include 'Custom Columns'. Are there any plans to also consolidate all arbitrary and random 'Custom Columns' from all Source Libraries into the snapshot Target Library?

Yes; it is planned for a future release.


Requires Minimum Calibre Version: 2.40


Internal Name: 'Consolidate All Library Metadata'


Recommended Companion Plugin: MultiColumnSearch


Version History:
Spoiler:
Version 1.0.0 - 2015-10-02 Initial release.

Attached Thumbnails
Click image for larger version

Name:	calm_target_library_example.JPG
Views:	N/A
Size:	69.4 KB
ID:	142543   Click image for larger version

Name:	calm_tab_sources.JPG
Views:	N/A
Size:	93.9 KB
ID:	142544   Click image for larger version

Name:	calm_tab_target.JPG
Views:	N/A
Size:	115.7 KB
ID:	142545   Click image for larger version

Name:	calm_tab_metadata_tools.JPG
Views:	N/A
Size:	108.7 KB
ID:	142546   Click image for larger version

Name:	calm_tab_library_tools.JPG
Views:	N/A
Size:	92.3 KB
ID:	142547   Click image for larger version

Name:	calm_tab_faqs.JPG
Views:	N/A
Size:	122.2 KB
ID:	142548  
Attached Files
File Type: pdf calm_tag_rules_tables_maintenance_instructions.pdf (567.4 KB)
File Type: pdf calm_derive_genres_instructions.pdf (567.6 KB)
File Type: zip consolidate_all_library_metadata.zip (436.2 KB)

HTML --> EPUB - ugly spaces between lines

$
0
0
Hello :).
For some reason Calibre creates these ugly spaces between lines if i convert from html (made from pdf) http://prntscr.com/8n1ggi

This how it looks on kindle http://prntscr.com/8n1gmu

And this is reflowed pdf by k2pdfopt and then to epub http://prntscr.com/8n1ins

How to push Calibre to make epub looking like this from k2pdfopt?

Greetings.

EDIT:
I have saved epub from sigil from html without making any improvements It looks like this
http://prntscr.com/8n202v
And this is Calibre same without any options and strange "enters' between lines.
http://prntscr.com/8n1ggi
How to force calibre to not doing this ugly spaces? Thanks

Books missing in library

$
0
0
I have my library saved and I moved it to an external hard drive.
Now when my books load in Calibre library, I can see the details but the format is empty. When I look in the library folder on the external hard drive I can see the books.
I have checked the library and restored the database but with no luck. Is there a way to load all the books or do I have to go through the folder loading individually?
Thanks.

Missing Books in Library, but shoeing in Win Explorer

$
0
0
First off, I have tried searching here and in the manual, but no luck, so there is hoping.
I have a library with two thousand books. I ran a library maint. Check and had about a dozen “Extra Titles”, so I checked the author/titles side by side the folder/files in c:\users\username\caliber library in windows explorer.
I was surprised to find a lot more than what the check showed as missing. I then tried Adding books in those missing folders from within Calibre, but… you guessed, now I have the book inside the library, but twice in explorer. I then tried Restore_Database in CLI (yes I “really-did-it” ). No luck.
I moved the metadata.db, uninstalled caliber and did a “clean” install. No luck, the wizard did not come on and I got a blank library. And NO, I did not mess with the folder structure. If Kovid says leave it alone, well folks, LEAVE IT ALONE!
Could someone tell me how I can "force" Calibre to re-read the database from the folders, so I can get all my books back!
Thank you,
Nicolas
Win 7 home premium 64, iCore 7, 8gb RrAM, 1 TB HD, Calibre 2.39, Nook HD Plus

Offline browsing Kindle Touch 2015

$
0
0
There is a website I flawlessly browse with the "Experimental Browser", I'd like to browse it also while offline hence I downloaded the full website using HTTrack, I read that Calibre can convert an html page to mobi but what about converting a whole folder with sub-directories each with some html file?

I have something like:
Main folder
Index.html
-> Guide 1
some.html
-->sub guide 1
some more html
-> Guide 2
-> Guide 3

etc etc

Is it possible to "pack" the folder tree structure and obtain an ebook from it? Or maybe a lightweight PDF of each page with working intra-linking.

The Indepent

$
0
0
Hello,
Does anybody have a problem with the independant ? Only the headlines appear on my kindle.
Thanks

What does "On Device" actually mean?

$
0
0
Hello, one and all.

Am a brand-new Kindle and Calibre user, and wonder if I might trouble the forum with a remedial question.

Sometimes — but not always — this is the view when I open Calibre:



The "On Device" column comes and goes. The meaning of "On Device" would seem to be straightforward, but am wondering why there isn't a check mark next to ALL of my books since, as far as I know, all of my books are on my Kindle. (Put another way, I'm not reading on the Cloud.)

Kind thanks for your help. Calibre is fantastic.

Brooks

Just a quick love letter

$
0
0
I was one of those lest behind with my antiquated XP. Took a few years but I finally scraped enough together to replace it with a 64bit fast machine with solid state drive. Using to 64 bit Calibre is like magic!!!! I love you David (Definitely NOT sexual) and appreciate your work and the others very much. I'm an old guy living in a small world with books my only way of getting out. You make my universe larger. Thank you!!

OldLincoln

Can only edit in library

$
0
0
Now and again I find a downloadable book from random sites that, when downloaded, shows a set of numbers rather than the book title. Other than that it works fine.
However, when I connect my kindle to calibre via my laptop, I can't edit it when it is on my device, only from my library.
Am I doing something wrong or is it not possible?

Le Monde random RSS issues

$
0
0
Hello! I set up a new recipe for Le Monde, and for some reason a couple of the rss feeds aren't working. I even tried to make a recipe with a single one, changing nothing from the "new recipe" form. I also used a chrome rss reader, and it worked fine and I can see all the articles. All the rss links come from the same place, the official list. http://www.lemonde.fr/rss/

So there is definitely an issue with Calibre not being able to pull from the feed for some reason. I would really appreciate someone looking into this!

Here is an example rss that doesn't download (isn't even in the side bar on kindle).

http://www.lemonde.fr/technologies/rss_full.xml

Using latest version of Calibre for Mac.

THANK YOU!!!
Viewing all 31506 articles
Browse latest View live