Bugs item #2030278, was opened at 2008-07-28 12:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2030278...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Purodha B Blissenbach (purodha) Assigned to: Nobody/Anonymous (nobody) Summary: "pre_put_convert" function missing from most families.
Initial Comment: R5764 introduced a bug, for which I submitted a quick fix with R5766. I sincerely believe that, this was only a partial fix. Although it works for me using interwiki.py -familiy:wikipedia , I expect it to not cure the error for other wiki families, and possibly, this was not the best way to do it anyways.
Here is an output *before* my quick-and-dirty fix:
python /home/purodha/pywikipedia/interwiki.py -v -initialredirect Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi Checked for running processes. 1 processes currently running, including the current process. Pywikipediabot (r5764 (wikipedia.py), Jul 27 2008, 11:04:03) Python 2.5.2 (r252:60911, May 28 2008, 19:19:25) [GCC 4.2.4 (Debian 4.2.4-1)] Retrieving mediawiki messages from Special:Allmessages WARNING: No character set found. Getting 1 pages from wikipedia:ksh... [[Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]]: [[ksh:Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]] gives new interwiki [[lt:Kategorija:User hi-1]] [[Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]]: [[ksh:Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]] gives new interwiki [[zh:Category:Hi-1 ???]] [[Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]]: [[ksh:Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]] gives new interwiki [[th:?????????:User hi-1]]
--- note, some 500 lines skipped ---
======Post-processing [[ksh:Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]]====== Updating links on page [[lt:Kategorija:User hi-1]]. Changes to be made: Pridedama: it, ksh, nl, no, pl, zh - [[as:Category:User hi-1]] + [[as:??????:User hi-1]] + [[it:Categoria:Utenti hi-1]] + [[ksh:Saachjrupp:Wikipedia:Medmaacher kann winnnish Hinndi]] - [[lad:Category:User hi-1]] + [[lad:CategorÃa:User hi-1]] + [[nl:Categorie:Gebruiker hi-1]] + [[no:Kategori:Bruker hi-1]] + [[pl:Kategoria:User hi-1]] + [[zh:Category:Hi-1 ???]]
NOTE: Updating live wiki... Getting information for site wikipedia:lt Copy of watchlist is one month old, reloading Retrieving watchlist for wikipedia:lt Parsing watchlist Dump ksh (wikipedia) saved Traceback (most recent call last): File "/home/purodha/pywikipedia/interwiki.py", line 1755, in <module> bot.run() File "/home/purodha/pywikipedia/interwiki.py", line 1492, in run self.queryStep() File "/home/purodha/pywikipedia/interwiki.py", line 1471, in queryStep subj.finish(self) File "/home/purodha/pywikipedia/interwiki.py", line 1052, in finish if self.replaceLinks(page, new, bot): File "/home/purodha/pywikipedia/interwiki.py", line 1210, in replaceLinks status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods) File "/home/purodha/pywikipedia/wikipedia.py", line 1281, in put newtext = self.site().pre_put_convert(newtext) File "/home/purodha/pywikipedia/wikipedia.py", line 5754, in pre_put_convert return self.family.pre_put_convert(self, putText) AttributeError: Family instance has no attribute 'pre_put_convert' #
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2030278...