Any Python coders out there?
Jan. 29th, 2009 10:30 amI've got a python script, from here, that turnes a MediaWiki installation into a static HTML website - suitable for giving you an offline snapshot of your wiki!
However, the script, as written, uses a metric crapload of memory if your wiki is big. As in, runs OUT of memory if your wiki is too big.
The trackback is:
However, the script, as written, uses a metric crapload of memory if your wiki is big. As in, runs OUT of memory if your wiki is too big.
The trackback is:
Traceback (most recent call last):Anyone know enough Python to tell me if there's a way to do it effectively in smaller chunks?
File "mw2html.py", line 742, in
main()
File "mw2html.py", line 738, in main
run(config)
File "mw2html.py", line 591, in run
doc = f.read()
File "/usr/lib/python2.5/socket.py", line 295, in read
return "".join(buffers)
MemoryError





