From 42640f378197bb95f4ac53565ab795161c7e0e9b Mon Sep 17 00:00:00 2001 From: emijrp Date: Sat, 9 Jul 2011 17:47:04 +0000 Subject: [PATCH] image limit errors improved git-svn-id: https://wikiteam.googlecode.com/svn/trunk@192 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95 --- dumpgenerator.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dumpgenerator.py b/dumpgenerator.py index 1417665..f80f67c 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -416,10 +416,16 @@ def getImageFilenamesURL(config={}): r_next = r'(?\d+)&' # (? 10 and re.search(ur'(?i)allowed memory size of \d+ bytes exhausted', raw): # delicated wiki + print 'Error: listing %d images in a chunk not possible, trying tiny chunks' % (limit) + limit = limit/10 + continue + raw = cleanHTML(raw) #archiveteam 1.15.1 Yahoovideo.jpg (file) #wikanda 1.15.5 Fernandocg