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

Calibre compile error on linux

$
0
0
Hi all,

I am trying to compile a pristine calibre source, and get the following error:
Code:

...
Installing resources to /home/norbert/Development/calibre/calibre-3.3.0/staging-root/share/calibre
Traceback (most recent call last):
  File "setup.py", line 119, in <module>
    sys.exit(main())
  File "setup.py", line 104, in main
    command.run_all(opts)
  File "/home/norbert/Development/calibre/calibre-3.3.0/setup/__init__.py", line 236, in run_all
    self.run_cmd(self, opts)
  File "/home/norbert/Development/calibre/calibre-3.3.0/setup/__init__.py", line 232, in run_cmd
    cmd.run(opts)
  File "/home/norbert/Development/calibre/calibre-3.3.0/setup/install.py", line 142, in run
    self.run_postinstall()
  File "/home/norbert/Development/calibre/calibre-3.3.0/setup/install.py", line 167, in run_postinstall
    manifest=self.manifest)
  File "/home/norbert/Development/calibre/calibre-3.3.0/src/calibre/linux.py", line 674, in __init__
    scripts = cPickle.loads(P('scripts.pickle', data=True))
  File "/home/norbert/Development/calibre/calibre-3.3.0/src/calibre/utils/resources.py", line 73, in get_path
    with open(fpath, 'rb') as f:
IOError: [Errno 2] No such file or directory: '/home/norbert/Development/calibre/calibre-3.3.0/resources/scripts.pickle'

Any idea how to fix that?

Thanks

Norbert

Wall Street Journal Download Fails - httperror_seek_wrapper

$
0
0
Past couple of weeks my scheduled WSJ download has failed almost every other day.
When I wake up a couple of hours later I would manually retry - successfully.
Please see partial log below
Ubuntu 12.04 Calibre 3.3

Using custom recipe
Traceback (most recent call last):
File "site.py", line 77, in main
File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1088, in run
File "site-packages/calibre/customize/conversion.py", line 245, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 118, in convert
File "site-packages/calibre/web/feeds/news.py", line 904, in __init__
File "<string>", line 150, in get_browser
File "site-packages/mechanize/_mechanize.py", line 254, in open
File "site-packages/mechanize/_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 404: Not Found

calibre-server 3.3 on Ubuntu

$
0
0
I was running Calibre Server on a headless Ubuntu box, but I haven't upgraded in a while. I just downloaded the new version, and my existing startup scripts in init.d no longer work. I quickly realized that the command line had changed, and updated the scripts accordingly, but calibre-server doesn't appear to start, although both service and systemctl seem to think it does - startup is logged, although no additional detail is logged anywhere. However, the process is not running.

Is there somewhere other than the system log where I can figure out what's happening during these failed startups?

Or if you've gotten something similar working, would you be willing to share your config/scripts?

I should also add that this works from the command-line (albeit as the wrong user account, since I can't log in with the normal service account), so I assume I'm not missing dependencies, etc.

Thanks!

Enhancement to Auto Adding

$
0
0
I've had Calibre set for years to "auto add" Amazon Kindle books - just had it pointed to the download folder where Kindle puts the files and Calibre would suck them in when I started it up... great.

Now that Amazon has changed, the books are put in subdirectories. I found the instructions and made the change so that Kindle uses the old format, and the files are importable, but the auto-add feature doesn't seem to know about subdirectories.

I manually use the Add Books->Add from directories including subdirectories and it works great.

Wondered if there is a way to have auto-add (as an option) use the same logic?

Thanks,
Bruce

Delete Specific Format in 3.30

$
0
0
Hi I need to warn you of a bug I found in Calibre 3

I finally got my library structure where I wanted it, and I decided I didn't need duplicate formats.

I removed the formats I don't like, thinking that it would keep the files if they were the only format, which has been the behavior from Calibre previously.

NOW I HAVE A BUNCH OF EMPTY BOOKS!

The remove a specific format function is no longer alerting when you remove all formats from a book.

Search & Replace Error

$
0
0
This doesn't cause me too much trouble, except the trouble of hitting the 'Find' button again, but thought I would mention it.

Every once in a while, when I search for something the following comes up:

Code:

calibre, version 3.3.0
ERROR: Unhandled exception: <b>AttributeError</b>:'QPushButton' object has no attribute 'setPopupMode'

calibre 3.3 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.14393-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.14393')
Python 2.7.12+
Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Generate Cover (1, 5, 21) && FanFicFare (2, 14, 0) && Save To Format (0, 0, 6) && Job Spy (1, 0, 72) && EpubMerge (2, 1, 1) && Favourites Menu (1, 0, 4) && Find Duplicates (1, 6, 3) && Count Pages (1, 8, 0) && EpubSplit (2, 2, 1) && Kobo Utilities (2, 5, 2)
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 959, in search
  File "site-packages\calibre\gui2\tweak_book\search.py", line 1532, in run_search
  File "site-packages\calibre\gui2\tweak_book\search.py", line 1431, in do_find
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 1411, in edit_file
  File "site-packages\calibre\gui2\tweak_book\editor\__init__.py", line 39, in editor_from_syntax
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 145, in __init__
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 336, in create_toolbars
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 393, in populate_toolbars
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 376, in add_action
AttributeError: 'QPushButton' object has no attribute 'setPopupMode'

As I mentioned, after dismissing the error message, clicking 'Find' again works perfectly.

Calibre book adding: Regular expression request...

$
0
0
Hi There

I have been through all the posts regarding renaming my books and i am still at a loss :smack:

I have 100's of ebooks which i have been manually editing and it becomes a huge pain...

This is how i would love my books to be when i load them into Calibre..
Elizabeth Briggs - Chasing the Dream 01 - More Than Music

The original file looks like this
Elizabeth Briggs - [Chasing the Dream 01] - More Than Music

I like my books to have the Series name in the title... so like this below

Title = Chasing the Dream 01 - More Than Music
Authors = Elizabeth Briggs
Series = No Match
Series Index = No Match
ISBN = Title


Sorry to be a pain... And is this at all possible...

:help:

:thanks: ever so much ....

Calibre-server doesn't update books list without stop/start service

$
0
0
Somethings weird happens.

After updating to 3.3 version, calibre-server doesn't update books list when I upload changes with rsync. I've to manually stopt/start service to see the changes.

This is my init script. Ubuntu 16.04

/etc/init/calibre-web-server.conf
Code:

description "Calibre (ebook manager) web server"

start on runlevel [2345]
stop on runlevel [^2345]

respawn

env LIBRARY_PATH='/home/xxxx/xxxx_calibre'
env PORT='31000'

script

  exec /usr/bin/calibre-server $LIBRARY_PATH --port=$PORT                                 


end script

Any ideas?

How to get back my menu bar?

$
0
0
It appears that I've somehow locked calibre into a full screen mode, without menu bars at the top (the Mac OSX menu bar). I want to use calibre with the menu bars appearing. How can I get them back?

Please note. This is not an OSX issue. Other applications work as expected. I think this began in calibre when I clicked on the green dot in the upper left, thinking it would put me into a normal full screen mode (with menu bars). Now that I've clicked that green dot and found out it gives me full screen without menu bars, I want to reverse that but have been unable to figure out how.

Thanks! :help:

can not make a catalog in Calibre

$
0
0
I want to make a catalog of my e-books . I see that via convert I can make a csv list. Now I have a list of "writer", "name of book". The names are not sorted at all. I only want a simple nice list. How do I do this . I am using exel 2016.

Change the color of classes

$
0
0
Would it be possible to add an option to the editor so we can change the color of classes in the HTML/XHTML files to make them easier to see? Thanks.

Calibre on multiple computers while running server on a Synology NAS

$
0
0
I have a couple of questions about running Calibre in a few places and how to keep everything working together nice & neatly.

Currently, I have:
  • Calibre library in Dropbox (for syncing b/t computers)
  • Synology NAS (acutally an AMD-based XPEnology)
  • Home desktop (Win 10)
  • Home server (ESXi hypervisor w/ VMs)
  • Personal laptop (Win 10)
  • Work laptop (Win 10 Pro)

What I would like to accomplish:
  1. Primary Calibre library saved on the NAS
  2. Content server running 24/7 on the NAS
  3. The ability to manage my Calibre library from any of my computers
  4. ^ If possible, managing from any location instead of just at home

My homelab (server & NAS) have only been implemented in the last couple of weeks, and I haven't looked at or done anything with Calibre differently in 5 years. I know there are server-based features out there, I just don't know what they actually are.

The last time I had a Calibre "server" I was self-hosting in my \Dropbox\Public folder and using the CalibreOPDS python scripts. :p Looking to step my game up a little while still managing Calibre from a few different systems.

Thanks in advance, and sorry if this is not in the proper sub-forum!

how to Contact Kovidgoyal

$
0
0
Dear Kovidgoyal
We need your help for a project in Dubai, and we dont know how to contact you :blink:

could you please provide us with contact details or contact us at info@nabtaker.ae

so that we can share more details with you

Regards

Refresh library on Kindle (Voyage)

$
0
0
I use Calibre on my Paperwhite since years and usually it works very well.
From time to time it sometimes doesn't upload the book cover, or it uploads it smaller than usual. Generally it's enough to delete and resend the book to have it correctly done.

Today I purchased a Kindle Voyage and, without thinking, I uploaded all my books to it. I noticed that some covers didn't make to it and some are smaller.

To be honest I forgot to run the configuration wizard to select voyage (but I guess it's for books converting, rather than for upload, right?).

Is there a way to "refresh" the book library on the Kindle? I prefer don't delete or manually overwrite books because I don't know if they may loose their properties (read/not read, reading position, folders assigned or so) and I've too many books to do it one by one.

Any idea? Thanks.

AZW3 to MOBI

$
0
0
Hii

I'm having trouble with converting a book. I bought a book a few days ago from amazon. I downloaded it to my computer as a AZW3 file. I converted it with calibre to MOBI like I've done many times before. After converting the file, I send the mobi file to my kindle paperwhite using email.

Now comes the issue, something I've never had before, but the mobi file reads all weird on my kindle. It only shows a few sentences on the screen instead of the whole page. All the content and chapters are there though. It just shows up weird.

Can someone help me out.

Best way to remove DRM from AZW3 while preserving original formatting?

$
0
0
I just recently started using Calibre to archive my Kindle books, and I wanted to know if there was a "best" way to remove the DRM from the AZW3 books while keeping the book as close as possible to the original formatting. I read elsewhere in this forum that doing AZW3 to AZW3 conversion is not a good idea.

How do I make my "book" title: A Song of Ice & Fire [01] A Game of Thrones

$
0
0
I want to add books so the end result is

this format in the "title" spot ~ How would I do this... is there a tutorial video?

A Song of Ice & Fire [01] A Game of Thrones
A Song of Ice & Fire [02] A Clash of Kings
A Song of Ice & Fire [03] A Storm of Swords
A Song of Ice & Fire [04] A Feast for Crows

Thank you for any help I may receive... thank you.

I have a large library that I need to go through... and would like to do my whole library like this. How would I do that without having to do it individually?

Cannot right-click to open with main Calibre program

$
0
0
Hello everyone,

Since upgrading to Calibre 3.3, I've noticed that I no longer have the option to right-click on an .epub file and select the option to "Open with" what is called "The main calibre program" in Windows 10 64-bit. [See 1st picture.]

Usually this is not a problem since "The calibre e-book viewer" default program is what I need. However, when I need to convert an .epub for my Kindle 3, I can no longer select "The main calibre program" from "Open with" after right-clicking. Either I must add the book from the main program, or I have to constantly "Choose another app" and select "The main calibre program" since Windows 10 does not remember my choice.

I have tried using the Default Programs Editor program to add "The main calibre program" to the "Open with" selections. [See 2nd picture.] However, despite it appearing among the "Open with" selections already, it still does not appear after right-clicking back in Windows Explorer.

I also tried using CCleaner following a suggestion from elsewhere to clean the registry, but that did not work either.

Any help is most appreciated! It's not a big deal but kind of inconvenient. :help:

Attached Thumbnails
Click image for larger version

Name:	MissingCalibreProgramSelection.jpg
Views:	N/A
Size:	82.7 KB
ID:	157914   Click image for larger version

Name:	DefaultProgramsEditorCalibre.jpg
Views:	N/A
Size:	58.1 KB
ID:	157915  

Remove characters like  from synopsis in Catalog

$
0
0
:help: When I create a catalog and view the created csv file, often times the book description includes special characters. Example is:

Example 1
A mother desperate for the truth. A daughter hiding a terrible secret.Melanie OakÂ*appeared to have the perfect.

Example 2
This is friends-to-lovers romance…but it's in the science-fiction story line where Cole really shines

Example 3
Alicia worries that her young daughter Jenny's summer will be

How do I solve this? There are times I use the csv to read the desc, specifically on my phone etc.

Thanks so much in advance.

Management through NextCloud ??

$
0
0
Hi

Discovering Calibre to manage at least correctly all my ebooks and edocuments, I have a question about design with the Calibre server. This is what I was thinking to do:

-> Move through Calibre all my library to a folder stored on my NextCloud.
-> Connect my tablet and phone to that directory so it can access my library.
-> Access also that library from my laptop when I'm in travel and wants to modify my library.

Is it ok to do it this way ?? I heard Google Drive kills Calibre libraries, hope it's not the same with NextCloud/OwnCloud.

Thanks

Vincèn
Viewing all 31491 articles
Browse latest View live