Wikia

Community Central

WatchlistRandom pageRecent changes

Pywikipedia recent problem

63,505pages on
this wiki

Forum page

Forums: Index Help desk Pywikipedia recent problem
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1093 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


I have been using pywikipedia a lot in the past- tens of thousands of pages. Last time I did something was a few weeks ago. Recently, I went to fire it up and it fails with a peculiar error I have never seen before. EG, say I run a replace.py, it asks me to confirm y n and I say yes. Before, it would just save it and go to the next. Instead, it asks me for my password as if I were logged out. Then it prints a message that I am logged in, but then fails with the following message:

Should be logged in now
Saving page [[Basino von Thuringen (bef423-?)]] failed:
Traceback (most recent call last):
  File "C:\python25\pywikipedia\wikipedia.py", line 6830, in async_put
    page.put(newtext, comment, watchArticle, minorEdit, force)
  File "C:\python25\pywikipedia\wikipedia.py", line 1378, in put
    sysop = self._getActionUser(action = 'edit', restriction = self.editRestriction, sysop = sysop)
  File "C:\python25\pywikipedia\wikipedia.py", line 1270, in _getActionUser
    if not self.site().isAllowed(action, sysop):
  File "C:\python25\pywikipedia\wikipedia.py", line 4491, in isAllowed
    return right in self._rights[index]
TypeError: argument of type 'NoneType' is not iterable

I downloaded the latest copy of pywikipedia but got the same error. If folks are using pywikipedia fine, then please let me know what version you are using. Thanks -~ Phlox 23:07, 25 May 2009 (UTC)

Well I don't have such a problem. Just a reminder. A misconfigured family.py may cause this error. You may want to see if you made any mistakes in the family.py --MyBrute Resource Center@Ronga 01:54, 26 May 2009 (UTC)

Latest Photos

Add a Photo
7,469photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki