EPUB download fails from Project Gutenberg: "can't fetch relative reference: not viewing any document"

Bug #1366245 reported by Adam Daniel Saunders on 2014-09-06
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Running version 2.2 on Fedora 20 64-bit. Below is the error output from calibre when attempting to download Kant's "Critique of Pure Reason" and Aristotle's "Ethics":

Starting job: Downloading The Critique of Pure Reason.epub
Job: "Downloading The Critique of Pure Reason.epub" failed with error:
Traceback (most recent call last):
  File "site-packages/calibre/gui2/threaded_jobs.py", line 83, in start_work
  File "site-packages/calibre/gui2/ebook_download.py", line 61, in __call__
BrowserStateError: can't fetch relative reference: not viewing any document

Called with args: (<calibre.gui2.ui.Main object at 0x7fb1fda8d180>, None, '//www.gutenberg.org/ebooks/4280.epub.noimages', 'The Critique of Pure Reason.epub', u'', True, []) {u'notifications': <Queue.Queue instance at 0x7fb16fab7f38>, u'abort': <threading._Event object at 0x7fb176dd0e90>, u'log': <calibre.utils.logging.GUILog object at 0x7fb176dd0f50>}

Starting job: Downloading The Ethics of Aristotle.epub
Job: "Downloading The Ethics of Aristotle.epub" failed with error:
Traceback (most recent call last):
  File "site-packages/calibre/gui2/threaded_jobs.py", line 83, in start_work
  File "site-packages/calibre/gui2/ebook_download.py", line 61, in __call__
BrowserStateError: can't fetch relative reference: not viewing any document

Called with args: (<calibre.gui2.ui.Main object at 0x7fb1fda8d180>, None, '//www.gutenberg.org/ebooks/8438.epub.noimages', 'The Ethics of Aristotle.epub', u'', True, []) {u'notifications': <Queue.Queue instance at 0x7fb16fab70e0>, u'abort': <threading._Event object at 0x7fb1f0ef2610>, u'log': <calibre.utils.logging.GUILog object at 0x7fb1f0eeea90>}

Thank you very much for any help with this.

Sincerely,
Adam Saunders

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