View Single Post
Old 10-15-2010, 01:15 AM   #1
sukru
Junior Member
sukru began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2010
Device: kindle
Memory Error trying to download EuroGamer RSS Feed

My previous attempts with feed setups were either straightforward, or required only trivial coding, however I have no idea to get the following feed:

Quote:
class AdvancedUserRecipe1287115920(BasicNewsRecipe):
title = u'Digital Foundry'
oldest_article = 10
max_articles_per_feed = 100

feeds = [(u'Digital Foundry', u'http://www.eurogamer.net/rss/eurogam...undry_feed.rss')]
Why I try to run it, it fails with a Memory Error, while working on CSS.

Quote:
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 915, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 122, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 147, in stylize_spine
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 203, in __init__
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 103, in __init__
File "site-packages\lxml\cssselect.py", line 523, in css_to_xpath
File "site-packages\lxml\cssselect.py", line 648, in parse
File "site-packages\lxml\cssselect.py", line 663, in parse_selector_group
File "site-packages\lxml\cssselect.py", line 685, in parse_selector
File "site-packages\lxml\cssselect.py", line 697, in parse_simple_selector
File "site-packages\lxml\cssselect.py", line 969, in next
MemoryError
Is there a way to fix this?

(Also some of the articles are multi-page, it will be another source of issue, after I get this initial step running).
sukru is offline   Reply With Quote