Feed validator crashes with "Memory error" when validating https://www.tidyverse.org/index.xml
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
The traceback points to buildCodeListing in check.cgi and shows the failure while formatting the code_listing.tmpl template in applyTemplate; the issue also attaches the feed that triggers it. Start by reading those functions and reproducing validation with the attached feed. Done means the validator completes a normal run for this feed without a MemoryError.
Written by the indexing model from the issue text.
Description
Describe the bug
When attempting to validate https://www.tidyverse.org/index.xml, Feed validator crashes with "Memory error" and shows a stacktrace.
To Reproduce
URL that triggered the bug: https://www.tidyverse.org/index.xml
Expected behavior
A normal feed validation run
Additional context
Stacktrack, screenshot, and a copy of the feed follow:
MemoryError Python 3.13.5: /usr/bin/python3
Wed Dec 2 08:12:12 2026
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/local/feedvalidator/check.cgi in <module>
343 print('%s: %s' % (header, value))
344 print()
=> 345 for output in checker_app(os.environ, start_response):
346 print(output)
347 else:
output = '</ul>', checker_app = <function checker_app>, os = <module 'os' (frozen)>, os.environ = environ({'HTTPS': 'on', 'SSL_SERVER_S_DN_CN': '*...NAME': '/feed/check.cgi', 'LC_CTYPE': 'C.UTF-8'}), start_response = <function start_response>
/usr/local/feedvalidator/check.cgi in checker_app(environ=environ({'HTTPS': 'on', 'SSL_SERVER_S_DN_CN': '*...NAME': '/feed/check.cgi', 'LC_CTYPE': 'C.UTF-8'}), start_response=<function start_response>)
318
319 # print code listing
=> 320 yield buildCodeListing(validationData['events'], validationData['rawdata'], url)
321
322 # As long as there were no errors, show that the feed is valid
global buildCodeListing = <function buildCodeListing>, validationData = {'events': [<feedvalidator.logging.NotHtml object>, <feedvalidator.logging.ContainsRelRef object>, <feedvalidator.logging.SAXError object>], 'feedType': 2, 'output': [<feedvalidator.logging.NotHtml object at 0xffff...dator.logging.SAXError object at 0xffff7fb11010>], 'rawdata': '<?xml version="1.0" encoding="utf-8" standalone=...;/a>.</p></description></item></channel></rss>', 'specialCase': None, 'url': 'https://www.tidyverse.org/index.xml'}, url = 'https://www.tidyverse.org/index.xml'
/usr/local/feedvalidator/check.cgi in buildCodeListing(events=[<feedvalidator.logging.NotHtml object>, <feedvalidator.logging.ContainsRelRef object>, <feedvalidator.logging.SAXError object>], rawdata='<?xml version="1.0" encoding="utf-8" standalone=...;/a>.</p></description></item></channel></rss>', url='https://www.tidyverse.org/index.xml')
76 linenum += 1
77 codelisting = "".join(codelines)
=> 78 return applyTemplate('code_listing.tmpl', {"codelisting":codelisting, "url":escapeURL(url)})
79
80 def yieldEventList(output):
global applyTemplate = <function applyTemplate>, codelisting = '<li><a name="l1" id="l1"><code class="a"><?xm...></channel></rss></code></a></li>\n', global escapeURL = <function escapeURL>, url = 'https://www.tidyverse.org/index.xml'
/usr/local/feedvalidator/check.cgi in applyTemplate(templateFile='code_listing.tmpl', params={'CSSURL': 'css', 'codelisting': '<li><a name="l1" id="l1"><code class="a"><?xm...></channel></rss></code></a></li>\n', 'url': 'https://www.tidyverse.org/index.xml'})
31 params['CSSURL'] = CSSURL
32 fsock = open(os.path.join(WEBDIR, 'templates', templateFile))
=> 33 data = fsock.read() % params
34 fsock.close()
35 return data
data undefined, fsock = <_io.TextIOWrapper name='/usr/local/feedvalidato...tes/code_listing.tmpl' mode='r' encoding='utf-8'>, fsock.read = <built-in method read of _io.TextIOWrapper object>, params = {'CSSURL': 'css', 'codelisting': '<li><a name="l1" id="l1"><code class="a"><?xm...></channel></rss></code></a></li>\n', 'url': 'https://www.tidyverse.org/index.xml'}
MemoryError:
add_note = <built-in method add_note of MemoryError object>
args = ()
with_traceback = <built-in method with_traceback of MemoryError object>
- Dominant language
- Python
- Stars
- 135
- Forks
- 67
- Avg merge
- 2d 51m
- Merged PRs (30d)
- 4
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from w3c/feedvalidator
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
w3c/feedvalidator#198 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
w3c/feedvalidator#194 · 1 comment ·
-
bug
Difficulty 3/5 Half a day Newbie friendliness 45/100
w3c/feedvalidator#192 ·
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
w3c/feedvalidator#191 ·
-
bug
Difficulty 3/5 Half a day Newbie friendliness 42/100
w3c/feedvalidator#190 ·
All issues in w3c/feedvalidator
Similar issues
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG][Low–Medium] founder_numbers.py silently reads a SAFE discount or pool target given as a fraction (0.2) as 0.2%Possibly taken @sumitkhond111-del claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bmad-code-org/BMAD-METHOD#3358 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
open-mmlab/mmcv#3352 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
OpenGithubs/weekly#263 ·
Maintainers usually reply within 1 day