Bugs item #1786732, was opened at 2007-09-02 20:46
Message generated for change (Comment added) made by btongminh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=178673…
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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Some mistake in wikipedia.py
Initial Comment:
Bot crash in start. the same with interwiki.py
D:\pywikipedia>solve_disambiguation.py
Traceback (most recent call last):
File "D:\pywikipedia\solve_disambiguation.py", line 75, in <module>
import wikipedia, pagegenerators, editarticle
File "D:\pywikipedia\wikipedia.py", line 4340, in <module>
getSite()
File "D:\pywikipedia\wikipedia.py", line 4248, in getSite
_sites[key] = Site(code=code, fam=fam, user=user, persistent_http=persistent
_http)
File "D:\pywikipedia\wikipedia.py", line 3153, in __init__
if persistent_http is None: persistent_http = config.persistent_http
AttributeError: 'module' object has no attribute 'persistent_http'
----------------------------------------------------------------------
Comment By: Bryan (btongminh)
Date: 2007-09-02 21:04
Message:
Logged In: YES
user_id=1806226
Originator: NO
Are you using the most recent svn revision?
The persistent_http option was added to the config module in r4135:
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/config.py?r1=…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=178673…