User talk:Dispenser/AltEdit

How to skip to next article in AltEdit
Hi,. I was checking out AltEdit and wanted to skip past [//dispenser.homenet.org/~dispenser/cgi-bin/altedit.py?page=Saturn_V Saturn V] but I did not see a way to skip to the next WikiProject Space article needing AltEdit help.

Please advise. Cheers! 07:48, 26 February 2016 (UTC)


 * Ok, I've hack in a skip button at the top. I'd like to add other things (Show only map/portraits/screenshots), but the Grants team want to see more engagement (like 20-50 people making 10-50 edits daily) before they commit any resources.  — Dispenser 15:34, 26 February 2016 (UTC)

Bug in altedit.py
I clicked on "Former countries" and got this exception dump:

Traceback (most recent call last): File "/home/dispenser/public_html/cgi-bin/altedit.py", line 454, in    main File "/home/dispenser/public_html/cgi-bin/altedit.py", line 232, in main print ' location.assign(%s); ' % wikipedia.jsescape('?page=%s&banner=%s&client=topic:%s' % tuple(wikipedia.urllib.quote(x) for x in cursor.fetchall[0])) File "/home/dispenser/public_html/cgi-bin/altedit.py", line 232, in    print ' location.assign(%s); ' % wikipedia.jsescape('?page=%s&banner=%s&client=topic:%s' % tuple(wikipedia.urllib.quote(x) for x in cursor.fetchall[0])) File "/usr/lib/python2.7/urllib.py", line 1288, in quote return ''.join(map(quoter, s)) KeyError: u'\xf6'

Thanks for looking into that. — Preceding unsigned comment added by TheBlueWizard (talk • contribs) 19:01, 27 February 2016 (UTC)


 * Fixed — Dispenser 18:52, 28 February 2016 (UTC)

Another bug in altedit.py
I clicked on "Turkey" and got this exception dump:

Traceback (most recent call last): File "/home/dispenser/public_html/cgi-bin/altedit.py", line 454, in    main File "/home/dispenser/public_html/cgi-bin/altedit.py", line 329, in main width + 2, img_name, match.group('alt'), thumbUrlDb(cursor, img_name, width), File "/home/dispenser/public_html/cgi-bin/altedit.py", line 160, in thumbUrlDb if width / img_width * img_height > height: ZeroDivisionError: long division or modulo by zero

Again, thanks for looking at that. --TheBlueWizard (talk) 19:20, 27 February 2016 (UTC)


 * Fixed — Dispenser 18:52, 28 February 2016 (UTC)