Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2014, 06:56 AM   #1
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
Errors with Polish (error code 1) - anyone know why this is happening?

I'm trying to polish some files which I've done before.
Convert works.
Some I don't want to convert to maintain the merge/unmerge status for later.
A merged set could not polish this time because of this error in the other books, but the same merged set polished before.

The error message details are below. Some books say "path..on D:". Then this happened on a different set and said drive E as below.
I don't have a drive D; no flash drives were connected. E is a virtual drive rarely used. All other books have been fine. These books are not new. I just changed some basic tags then tried to polish.
I've restarted and tried again to no avail. The error repeats.
*********************************************
Found existing cover page
Existing cover page is a simple wrapper, removing it
Python function terminated unexpectedly
path is on drive E:, start on drive C: (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 234, in gui_polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 214, in polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 158, in polish_one
File "site-packages\calibre\ebooks\oeb\polish\cover.py", line 87, in set_cover
File "site-packages\calibre\ebooks\oeb\polish\cover.py", line 414, in set_epub_cover
File "site-packages\calibre\ebooks\oeb\polish\replace.py", line 89, in replace_links
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 296, in replace_links
File "site-packages\calibre\ebooks\oeb\base.py", line 203, in rewrite_links
File "site-packages\calibre\ebooks\oeb\polish\replace.py", line 33, in __call__
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 371, in href_to_name
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 343, in abspath_to_name
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 393, in relpath
File "ntpath.py", line 528, in relpath
ValueError: path is on drive E:, start on drive C:
******************************************
jecilop is offline   Reply With Quote
Old 09-14-2014, 07:49 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your books have some absolute paths in them. Polish cannot handle that on windows, since windows does not have a unified filesystem, unless the absolute paths happen to be on the same drive as the calibre temp directory.

Last edited by kovidgoyal; 09-14-2014 at 07:52 AM.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-14-2014, 06:04 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@jecilop - if its any help the calibre temp directory is relocatable see Environment Variables

BR
BetterRed is offline   Reply With Quote
Reply

Tags
error, polish


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Polish error jgaiser Calibre 7 08-27-2014 01:14 PM
"Polish books" plugin errors... MelBr Calibre 1 03-04-2013 11:27 PM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" oren ePub 8 02-20-2012 07:20 AM
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" oren Android Devices 1 02-20-2012 04:10 AM


All times are GMT -4. The time now is 08:20 PM.


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