03-29-2008, 09:27 AM | #286 |
Addict
Posts: 242
Karma: 177
Join Date: Nov 2007
Location: Amsterdam
Device: sony 505
|
Hi Kovid
Just installed 4.46 and trying to get newsweek I got this TypeError: expected string or buffer Failed to perform job: Fetch news from Newsweek Detailed traceback: Traceback (most recent call last): File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\feeds\convert_from.pyo", line 40, in main File "libprs500\web\feeds\main.pyo", line 132, in run_recipe File "libprs500\web\feeds\news.pyo", line 464, in download File "libprs500\web\feeds\news.pyo", line 567, in build_index File "libprs500\web\feeds\recipes\newsweek.pyo", line 62, in parse_index File "libprs500\web\feeds\news.pyo", line 307, in index_to_soup File "re.pyo", line 129, in match TypeError: expected string or buffer Log: Fetching feeds... 0% Fetching feeds... edit and this one IndexError: list index out of range Failed to perform job: Fetch news from Outlook India Detailed traceback: Traceback (most recent call last): File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\feeds\convert_from.pyo", line 40, in main File "libprs500\web\feeds\main.pyo", line 132, in run_recipe File "libprs500\web\feeds\news.pyo", line 464, in download File "libprs500\web\feeds\news.pyo", line 580, in build_index IndexError: list index out of range Log: Fetching feeds... 0% Fetching feeds... 0% Got feeds from index page 0% Trying to download cover... Last edited by mazzeltjes; 03-29-2008 at 09:35 AM. |
03-29-2008, 09:54 AM | #287 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@mazzeltjes
Both problems are likely due to network errors. Try again in a little bit. |
Advert | |
|
03-29-2008, 05:06 PM | #288 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@DD
Because of a change in the way options are processed, you can't embed the username and password in a recipe anymore. |
03-29-2008, 05:49 PM | #289 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@DD
I've implemented a fix for the custom recipes, will be in the next release |
03-29-2008, 06:05 PM | #290 |
Seeker
Posts: 53
Karma: 363
Join Date: Mar 2008
Location: Ontario, Canada
Device: Sony PRS-505
|
|
Advert | |
|
03-29-2008, 06:49 PM | #291 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open a ticket for it, and I'll get around to it.
|
03-29-2008, 07:46 PM | #292 |
Seeker
Posts: 53
Karma: 363
Join Date: Mar 2008
Location: Ontario, Canada
Device: Sony PRS-505
|
done
|
03-29-2008, 09:08 PM | #293 |
Groupie
Posts: 153
Karma: 799
Join Date: Dec 2007
Device: sony prs505
|
OK! But then I would think that the recipe should have prompted for the username and password since I had taken no action to embed them. I merely had entered them the first time I ran the profile cum recipe. It really doesn't bother me that much the question is just academic.
|
04-07-2008, 02:22 AM | #294 |
Connoisseur
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
It's been quite a while since I've used libprs500, and it looks like it's come a long way. It looks beautiful! Anyways, trying to fetch nytimes.com gave me the following error:
Code:
IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\admin\\locals~1\\temp\\html2lrf-verbose.html' Failed to perform job: Fetch news from The New York Times Detailed traceback: Traceback (most recent call last): File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\feeds\convert_from.pyo", line 55, in main File "libprs500\ebooks\lrf\html\convert_from.pyo", line 1796, in process_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 261, in __init__ File "libprs500\ebooks\lrf\html\convert_from.pyo", line 363, in add_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 337, in preprocess IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\admin\\locals~1\\temp\\html2lrf-verbose.html' |
04-07-2008, 04:19 AM | #295 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah slow and steady progress.
Looks like for some reason the directory c:\docume~1\admin\locals~1\temp doesn't exists. Create it and you should be fine. |
04-07-2008, 02:29 PM | #296 |
Connoisseur
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
Hmmmm, it seems that that folder DOES exist, and it has a "html2lrf-verbose.html" file in it as well (when I opened it, there was a single Wired article).
Now I'm really baffled... |
04-07-2008, 10:56 PM | #297 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try running it from the command line
Code:
feeds2lrf Wired.com Code:
feeds2lrf --verbose Wired.com |
04-08-2008, 04:52 PM | #298 |
Connoisseur
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
|
Before trying out your suggestion, I rebooted my computer and tried the GUI again - and it worked!
Today, however, the GUI failed me with the same error. I don't want to have to reboot my computer every time I want to read the NYT... Any ways, "feeds2lrf Wired.com" worked just fine and created the lrf file, but once "--verbose" was added, I got lines and lines of something being processed and then: Code:
IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\admin\\locals~1\\temp\\html2lrf-verbose.html' Any ideas what's going on? |
04-08-2008, 06:53 PM | #299 |
creator of calibre
Posts: 43,967
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm, that's just weird. At any rate, I've made some changes that should make future versions of libprs500 ignore that error and just keep going, since the html2lrf-verbose file is useful only for debugging anyway. Unfortunately, I am travelling for three weeks (getting married) so I will not be able to release a new version for a while. I'd suggest using the command line till then.
|
04-08-2008, 07:06 PM | #300 |
Addict
Posts: 271
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Congratulations on getting married!
We'll miss your releases here but current one does a good job. |
Tags |
libprs500, web2lrf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
web2lrf to capture blog archive? | Deputy-Dawg | Sony Reader Dev Corner | 1 | 02-14-2008 11:41 PM |
web2lrf: La Repubblica | alexxxm | Sony Reader | 1 | 11-13-2007 12:27 PM |