continue of bug 2896087
r7643 didn't fix it
Microsoft Windows XP [Verze 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumenty\py>interwiki.py
Traceback (most recent call last):
File "C:\Dokumenty\py\interwiki.py", line 2164, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "c:\Dokumenty\py\wikipedia.py", line 5948, in mediawiki_message
datas = query.GetData(params, self)['query']['allmessages'][0]
File "c:\Dokumenty\py\query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "c:\Dokumenty\py\wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "c:\Dokumenty\py\wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "c:\Dokumenty\py\wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
C:\Dokumenty\py>version.py
Pywikipedia [http] trunk/pywikipedia (r7643, 2009/11/13, 12:58:33)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]
C:\Dokumenty\py>
Nobody/Anonymous
None
None
Public
|
Date: 2009-11-15 11:50 done in r7647 |
|
Date: 2009-11-13 15:38 It happens also with other scripts like basic.py or category.py |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2009-11-15 11:50 | xqt |
| allow_comments | 1 | 2009-11-15 11:50 | xqt |
| resolution_id | None | 2009-11-15 11:50 | xqt |
| status_id | Open | 2009-11-15 11:50 | xqt |
| resolution_id | Duplicate | 2009-11-15 09:20 | xqt |
| priority | 5 | 2009-11-15 09:19 | xqt |
| resolution_id | None | 2009-11-15 09:19 | xqt |