Edit Book dies with "Value Error: path is on drive D: start on drive C:

Bug #1261337 reported by Tatjana Heuser on 2013-12-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Host: Windows XP

Calibre installed as Portable App on drive D, Library is located on drive D as well.
When edit book is called, the file tree is displayed in the left pane. As soon as a f
ile is selected, a Popup warns that: "path is on drive D: start on drive C:", and on
the supsequent confirmation of the popup, the editor dies.

calibre, version 1.15.0
ERROR: Unhandled exception: <b>ValueError</b>:path is on drive D:, start on drive C:

calibre 1.15 Portable isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\preview.py", line 250, in createRequest
  File "site-packages\calibre\ebooks\oeb\polish\container.py", line 311, in abspath_to_name
  File "site-packages\calibre\ebooks\oeb\polish\container.py", line 353, in relpath
  File "ntpath.py", line 512, in relpath
ValueError: path is on drive D:, start on drive C:

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers