Bugs item #2781477, was opened at 2009-04-26 05:48 Message generated for change (Comment added) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2781477...
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: interwiki Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Nobody/Anonymous (nobody) Summary: interwiki.py TypeError: unsupported operand type(s) for +
Initial Comment: Bug 2781466 was fixed (thank you!), but now there's another error in interwiki.py:
interwiki.py -untranslatedonly -whenneeded -lang:id -subcatsr:"Pemain bulutangkis"
... Getting 11 pages from wikipedia:id... NOTE: [[id:Kategori:Pemain bulutangkis menurut negara]] does not have any interwiki links Give a hint (? to see pagetext): en:Category:Badminton players by nationality Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Arbi]] does not have any interwiki links Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Kurniawan]] does not have any interwiki links Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Sugiarto]] does not have any interwiki links Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Susanto]] does not have any interwiki links Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Wijaya]] does not have any interwiki links Give a hint (? to see pagetext): NOTE: [[id:Kategori:Keluarga Wiratama]] does not have any interwiki links Give a hint (? to see pagetext): ======Post-processing [[id:Kategori:Keluarga Wiratama]]====== Dump id (wikipedia) saved Traceback (most recent call last): File "C:\svn\pywikipedia\interwiki.py", line 1959, in <module> bot.run() File "C:\svn\pywikipedia\interwiki.py", line 1680, in run self.queryStep() File "C:\svn\pywikipedia\interwiki.py", line 1659, in queryStep subj.finish(self) File "C:\svn\pywikipedia\interwiki.py", line 1202, in finish langToCheck = (langBySize + allLangs).difference(lclSite.family.obsolete) TypeError: unsupported operand type(s) for +: 'set' and 'set'
python version.py
Pywikipedia [http] trunk/pywikipedia (r6722, Apr 26 2009, 03:40:06) Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-26 06:07
Message: Right, my fault again. Union operators for sets is | not +
Corrected in r6723, then
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2781477...
pywikipedia-bugs@lists.wikimedia.org