Bugs item #3603982, was opened at 2013-02-10 00:03 Message generated for change (Settings changed) made by nu11zer0 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3603982...
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: Nullzer0 (nu11zer0)
Assigned to: xqt (xqt)
Summary: fixing_redirect.py crashs because of unknown variable s
Initial Comment: I got this error when I run fixing_redirect.py
Traceback (most recent call last): File "fixing_redirects.py", line 230, in <module> main() File "fixing_redirects.py", line 224, in main workon(page) File "fixing_redirects.py", line 173, in workon gen = s.logpages(number=1, mode='move', title=page2.title(), NameError: global name 's' is not defined
Should 's' be replaced with 'mysite'?
Pywikipedia trunk/pywikipedia/ (r11060, 2013/02/09, 17:46:15, ok) Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3603982...
pywikipedia-bugs@lists.wikimedia.org