07-22-2012, 06:01 AM | #1 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
can't fetch relative reference: not viewing any document
This error occurs every time when Calibre trys to download from this specific article:
http://www.wired.com/wiredscience/20...diamandis/all/ I suspect it has something to do with the interactive image browser in the middle of the aritcle. Code:
Traceback (most recent call last): File "site-packages\calibre\web\fetch\simple.py", line 453, in process_links File "site-packages\calibre\web\fetch\simple.py", line 240, in fetch_url File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 216, in _mech_open BrowserStateError: can't fetch relative reference: not viewing any document Seems that the error of the article in question should be: File "site-packages\calibre\utils\threadpool.py", line 95, in run File "site-packages\calibre\web\feeds\news.py", line 1006, in fetch_article File "site-packages\calibre\web\feeds\news.py", line 1001, in _fetch_article The previous errors are actually for a downloaded article. Last edited by Steven630; 07-22-2012 at 06:28 AM. |
07-27-2012, 07:40 AM | #2 |
Evangelist
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
This error is usually thrown when you try to open a relative URL without having opened the absolute URL beforehand, i.e. you try to access "wiredscience/2012/06/mf_icons_diamandis/all/" without beforehand having opened the actual site "http://wired.com/". More code would be useful.
Also, regarding your update: You didn't actually post the error, just a small part of the TraceBack. |
Advert | |
|
08-19-2012, 05:36 AM | #3 | |||
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
Quote:
Because in the log I saw: Quote:
The link is complete. Just now, the same error poped up when I tried to download using another recipe that has worked well so far. Strangely enough, although all articles are arranged in the same way, only some articles experienced this. (say, there are articles, ABCDE, all are in complete links and are identical apart from their contents, the recipe always failed to download ACD) Quote:
Last edited by Steven630; 08-19-2012 at 05:42 AM. |
|||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PB622(touch)-relative Berührungsunempfindlichkeit? | tropi | PocketBook | 5 | 07-19-2012 06:41 AM |
Unutterably Silly Funny Things My (Insert Relative Here) Told Me | Skye Savoy | Lounge | 39 | 06-17-2011 10:04 AM |
Losing relative font sizes on conversion | hardvice | Calibre | 5 | 06-05-2010 10:40 PM |
How to convert a Word document into a Kindle document? | PS Kindle | Kindle Developer's Corner | 2 | 12-08-2009 08:40 PM |
epub-library: relative paths | josepinto | EPUBReader | 2 | 12-03-2009 06:40 AM |