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

Can't get rid of "No space left on device"

$
0
0
I am running into strange issues with the Android 6.0 installation of Calibre Companion.

This time, it is because after multiple reinstallations of CC, now Calibre seems to think that there is not enough space on the device, despite me changing the storage to an external SD card on my nvidia Shield K1 tablet.

Code:

calibre, version 2.49.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 28] No space left on device

calibre 2.49  isfrozen: True is64bit: True
Linux-4.4.0-1-default-x86_64-with-SuSE-20160113-x86_64 Linux ('64bit', 'ELF')
('Linux', '4.4.0-1-default', '#1 SMP PREEMPT Mon Jan 11 14:46:34 UTC 2016 (83948c1)')
Python 2.7.9
Linux: ('openSUSE ', '20160113', 'x86_64')
Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 1262, in dispatch_sync_event
  File "site-packages/calibre/gui2/device.py", line 1464, in sync_to_device
  File "site-packages/calibre/gui2/library/models.py", line 613, in get_preferred_formats_from_ids
  File "site-packages/calibre/db/legacy.py", line 343, in copy_format_to
  File "site-packages/calibre/db/cache.py", line 57, in call_func_with_lock
  File "site-packages/calibre/db/cache.py", line 720, in copy_format_to
  File "site-packages/calibre/db/backend.py", line 1411, in copy_format_to
  File "shutil.py", line 52, in copyfileobj
IOError: [Errno 28] No space left on device

A run down of how it got to this point.

I tried to connect to my library via my own personal network, which is not connected to the Internet, resulting in CC throwing an "Unlicensed app" error. Meaning I had to uninstall and reinstall the app. Eventually, I realised I had to start CC while connected to the Internet first, before I could switch over to my own personal network.

Next, I realised belatedly that the Android setting to treat the external SD Card as part of the Internal SD Card was not working as expected, meaning the books were being loaded to the internal sd card. So I reformatted the card, and set CC to explicitly use the external storage.

Now when I connect CC to my library, despite having 0 books on my device, I am given the error stating I don't have any space left on my device.

tl;dr How can I get Calibre to work as if it were looking at a new device?

missing chapter link in toc file

$
0
0
Hi,
i m convert docx file to epub.
after convert file i see file structure. table of content file link missing in in toc.ncx file.
table of content file name index_split_001.html but its not in toc file

my toc.ncx file code

<navMap>
<navPoint class="chapter" id="num_1" playOrder="1">
<navLabel>
<text>1. Mickey Mouse Is Watching You: Does Disney's MyMagic Know Too Much?</text>
</navLabel>
<content src="index_split_002.html"/>
</navPoint>
<navPoint class="chapter" id="num_2" playOrder="2">
<navLabel>
<text>2. Has Disney Lost Its Mind With Its Latest Annual Pass Hike?</text>
</navLabel>
<content src="index_split_003.html"/>
</navPoint>
<navPoint class="chapter" id="num_3" playOrder="3">
<navLabel>
<text>3. Reasons to Plan a Late-Summer Trip to Orlando</text>
</navLabel>
<content src="index_split_004.html"/>
</navPoint>
</navMap>

only three file link here. missing to file link index_split_001.html and index_split_000.html

Can you explain me how we add missing file link in toc.ncx file

Thanks
Ramesh

Problem Adding Books

$
0
0
I am running Calibre on a 64 bit Windows 10 PC. I have been using Calibre since 2011 with the only trivial problems being usually my own fault.

I am currently on Calibre 2.49 , however since upgrading to Calibre 2.47 I have been having occasional problems adding books to Calibre.

I have the box ticked to read the matadata from the file and I started getting a message saying that the metadata in the file could not be read. I tried opening the file in Calibre Editor, Book viewer and Sigil and they all opened and displayed the book without problems. I tried using the correct html in both Calibre and Sigil but Calibre still would not load the book.

I found if I unticked 'read the matadata from the file' box it would load the book into Calibre. Then in the metadata editor would read the metadata in the file and write it into the appropriate boxes.

I have just tried to add a book but it failed giving the following error message
Spoiler:

calibre, version 2.49.0
ERROR: Errors while adding: Failed to add any books, click "Show details" for more information


----------------------------------------------------------------------
Failed to read metadata from the file(s):
C:/Downloads/MLL-SSC/MLL-SSC/Fever - Michelle L. Levigne.epub
With error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 263, in monitor_pool
File "site-packages\calibre\gui2\add.py", line 303, in process_result
File "site-packages\calibre\ebooks\metadata\tag_mapper.py", line 107, in map_tags
File "site-packages\calibre\ebooks\metadata\tag_mapper.py", line 27, in matcher
File "site-packages\calibre\ebooks\metadata\tag_mapper.py", line 14, in compile_pat
File "site-packages\regex\__init__.py", line 331, in compile
File "site-packages\regex\__init__.py", line 500, in _compile
error: nothing to repeat at position 0



Any help would be appreciated even if it results in my :smack::smack:

Thanks

Error - unable to reach the plugin index page

$
0
0
I was going to search for a new plugin and I got this message. However calibre is on the Windows Firewall whitelist (both the calibre portable and the main calibre exe files). I can fetch metadata, so it shouldn't be a problem accessing the web.

I've tried to reinstall calibre, but the problem still appears.

System Restart?

$
0
0
Why does the Windows update for 2.49 require a system restart? I did not think that Calibre did anything that required a system modification.

Redirection en.wikipedia to es.wikipedia

$
0
0
I want to change the link to the Wikipedia in English to that of Spanish. Since I've ever done but I can not remember and do not give as the option. Thank you


Quiero cambiar el enlace a la wikipedia en ingles por el de castellano. Ya lo hize alguna vez pero no puedo recordar como y no doy con la opción. Gracias

Calibre stuck on "initializing user interface"

$
0
0
OK, I was trying to upgrade to the version 2.49. After installing the update, Calibre gets stuck on "initializing user interface." Where should I start with fixing this? Deleting 2.49? If so, what's the best way to do that?

Did ebook-convert have big change?

$
0
0
Did ebook-convert have big change? I tried to use it as before, but it doesn't work.

I used the command again (from http://manual.calibre-ebook.com/news.html):
"ebook-convert myrecipe.recipe .epub --test -vv --debug-pipeline debug"

However, it no longer works.

And I can't use the option "--username" as well.

Scaling On Surface Pro 4 - Please Help

$
0
0
Hi,

Please help me fix the GUI scaling on Calibre when using a surface Pro 4. The GUI looks too small on this tablet when booting without an external monitor connected. With an external monitor connected, I can open and move Calibre to the tablet screen and the GUI looks and scales perfect...I can even detach the tablet from the monitor and it still scales fine, but as soon as I reboot or just boot without an external monitor connected the Calibre GUI and viewer scale too small.

I did what Microsoft recommends by going into the program properties and disabling auto scaling feature, but that does not help.

Please help.

nook glowlight plus and file location

$
0
0
It looks like the latest iteration of Calibre corrected the file location from the root Nook folder to add a "My Files" folder, which has helped address the issue of the nook glowlight plus actually finding things folks were currently reading. However, I think, based on <http://www.mobileread.com/forums/sho...d.php?t=269488 this thread over in the Nook forum, the file should actually be labeled "Books", rather than "My Files". I've done this myself manually, and this seems to have the added benefit of:

- recognizing the actual titles of files and having them appear below book covers on side loaded books

- giving people the ability to add side loaded books to stacks/folders.

I'm still experimenting, so there may be problems with this that I (and the original poster in that nook forum) haven't found yet, but wanted to note this. If anyone wants to try this out, I've done it by adding "Nook/Books" in front of "Nook/My Files" in the priority list on the "Configure this Device" page.

can't transfer to itunes

$
0
0
I've had a problem for a while where when I try and transfer a file from Calibre to iTunes for the Shubook app. I did this by opening the path in Calibre and then dragging the epub file to the Shubook app in Itunes.

After transferring maybe 3 or 4 I would get an error message saying "You do not have enough access privileges for this operation".

Now this happens when I try and move the first file.

Help please

Missing "function mode" for editor's Search & Replace

$
0
0
Hello everyone,

I apologize if this was answered before (I did some searches and skimmed through the first pages of this sub-section of forum to no avail).

In short, I installed calibre (v.2.5 apparently, even though on the official site the last version appears as 2.49) today on my Linux Jessie, in order to convert a PDF ebook to ePub.
As it turned out for some reason it made many of the words on the beginning of phrases, lowercase, therefore I was trying to use the editor with RegEx in order to re-capitalize the first letter for the words in question.

For some reason, the function mode is missing in the Search panel of the editor, when I click on the Mode drop-down box. Is this normal for this version?
From what I see in the changelog function mode for RegEx was introduced since v.2.11 and unless it was dropped lately I guess it should still be there.

If it's not available anymore, does anyone know what RegEx expression I could use in the Replace box in order to capitalize what was found by the Find function (if that's possible at all)?

I've been testing with the following RE string for finding lowercase words at the beginning at paragraphs for starters (and it identifies the words fine): (<p class="calibre1">)([a-z]).

From what I see, in the Replace box I can retrieve the second group by using the: \2 RE backwards reference but I cannot figure out for the life of me how to capitalize that (I'm quite a noob in RegEx yet).

If anyone has an idea how to do that or how to bring back the function mode in the editor (in case it's depending on some setting) or any other method to make a whole bunch of different words propercase, I would appreciate that a lot.

Thanks for your time. :)

Repairing broken links: a proposal

$
0
0
Hi

To batch correct broken links

Kovid Goyal some months ago enabled the Editor to detect and repair broken links. However, the Editor does not repair yet the broken links due to a wrong chapter number that we may find for example in the file containing the return links.

This script below allows you to do it.
It has been written by pingouinux (Ubuntu). Doitsu helped to debug it (now repaired).
For your information, this script has been successfully tested for one EPUB with 106 xhtml files and 837 -broken- endnotes (two seconds).

Please find enclosed the test epub, the script and these comments.

Before using it, open it to check your version of python. It works with 3 and 3.5. I did not try 2.7
You can customize the variables "chapter" and "xhtml". check that the script is executable.

Testing the script
For this purpose, I join a demo lorem.epub (EPUB2) with seven broken links due to wrong chapter numbers.

1. - Check it. The errors are reported by the Calibre Editor which does not repair them.
2. - Unzip the EPUB. Put it aside.
3. - Open the FILES, then the OEBPS folder.
4. - Put yourself in the path and launch with a terminal (Linux)
Code:

$./pingouin3.py
The script creates a chapter3modif.xhtml file (it uses the highest file number), close to the original chapter3.xhtml
5. - Delete chapter3.xhtml
6. - Rename chapter3modif.xhtml to chapter3.xhtml
7. - Open the EPUB, select chapter3.xhtml and change it (right-click) for the new chapter3.xhtml file in the OEBPS folder. Save.
8. - Check you EPUB: the errors are gone.

Comment

This is a very slow but fool-proof method to use it because the renaming of files with the Calibre editor can be tricky for beginners (it can generate "../chapter" instead of "chapter" for example). Later, this process will of course be simplified, mainly at the steps 5 and 6.

Of course, the ideal would be to make this repair script work directly within the Calibre editor either as a function or otherwise. But for this, some expert help is needed. :)

Attached Files
File Type: zip pingouinux.zip (174.7 KB)

daisy textbook to epub, whitout audiolinks in text?

$
0
0
Hi,

I have an daisy text and audio book, in the book the text is full of links to the audio.

I have convert the book in Calibre, thanks for a great program, but I don't understand how to get rid of all the links and the "yellow link color" that shows everytime I want to make a underline in the book.

I did once succeed but then the page number in the book jump in to the text, didn't want that, just to get the links and the yellow textmarks to go away.

Thanks

Best regards Anders

To correct endnotes links: a proposal

$
0
0
Hi

To batch correct broken links

Kovid Goyal some months ago enabled the Editor to detect and repair broken links. However, the Editor does not repair yet the broken links due to a wrong chapter number that we may find for example in the file containing the return links.

This script below allows you to do it.
It has been written by pingouinux (Ubuntu). Doitsu helped to debug it (now repaired).
For your information, this script has been successfully tested for one EPUB with 106 xhtml files and 837 -broken- endnotes (two seconds).

Please find enclosed the test epub, the script and these comments.

Before using it, open it to check your version of python. It works with 3 and 3.5. I did not try 2.7
You can customize the variables "chapter" and "xhtml". check that the script is executable.

Testing the script
For this purpose, I join a demo lorem.epub (EPUB2) with seven broken links due to wrong chapter numbers.

1. - Check it. The errors are reported by the Calibre Editor which does not repair them.
2. - Unzip the EPUB. Put it aside.
3. - Open the FILES, then the OEBPS folder.
4. - Put yourself in the path and launch with a terminal (Linux)
Code:

$./pingouin3.py
The script creates a chapter3modif.xhtml file (it uses the highest file number), close to the original chapter3.xhtml
5. - Delete chapter3.xhtml
6. - Rename chapter3modif.xhtml to chapter3.xhtml
7. - Open the EPUB, select chapter3.xhtml and change it (right-click) for the new chapter3.xhtml file in the OEBPS folder. Save.
8. - Check you EPUB: the errors are gone.

Comment

This is a very slow but fool-proof method to use it because the renaming of files with the Calibre editor can be tricky for beginners (it can generate "../chapter" instead of "chapter" for example). Later, this process will of course be simplified, mainly at the steps 5 and 6.

Of course, the ideal would be to make this repair script work directly within the Calibre editor either as a function or otherwise. But for this, some expert help is needed. :)

Attached Files
File Type: zip pingouinux.zip (174.7 KB)

Metadata download

$
0
0
Hello to all,
I'ld like to know if it's possible to change one font from the configuration metadata download window (or add a new one), for example I need to download metadata from www.amazon.it, instead that from Douban Books or Ozon.ru.
Many thanks, bye.
Gianni

Feature suggestion: Tweak to make job window not always on top

$
0
0
Hi :)

Is it possible to create a tweak to make the job window not always on top, or better yet, make it able to be minimized? Often I'd like to monitor how far along Calibre is with regard to running jobs, but I would still like to do things such as browsing the library and editing books to add to the queue.

This does work now, but because the job window always stays on top, it's in the way of using the main Calibre interface. My screen resolution is not high enough to move the window out of the way.

Thanks :)

Problems with the author's link

$
0
0
Good Morning:
Today I noticed a problem in Calibre. Each time you add a new book by an author that I have in my library, whether a book or several who added, the "link" corresponding to each author field is reset to the generic Google. All authors'm getting them the link that corresponds to the website where regularly downloaded ebooks, and a few days ago (thought I might have been wrong of me to not save the changes good) happens: every time I add a book again, if the author is already in the library, changes to the generic link with Google.

Sorry my grammar
Regards from Lima, Perú

Blessings

Sync reading

$
0
0
I have two Windows PC's where I use Calibre to read eBooks.

The problem is that when I progress in reading books on PC-1, then switch to PC-2, I have to manually locate my read positions.

Is there a way to synchronize Calibre in the two computers?

Highlighting of Completed/In-progress

$
0
0
Until this last update when I selected to see the items tagged as completed it would only show those items...now it's leaving everything in view and just highlighting items that match the search. Is there a way to go back to it just showing those?
Viewing all 31497 articles
Browse latest View live