Bugs item #2981290, was opened at 2010-04-02 21:41
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2981290&group_…
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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: selflink.py crashes with invalid.title exception
Initial Comment:
selflink.py crashes on several pages on pl.wikipedia:
$ python selflink.py -start:"9797 Raes"
Getting 60 pages from wikipedia:pl...
>>> 9797 Raes <<<
Traceback (most recent call last):
File "selflink.py", line 252, in <module>
main()
File "selflink.py", line 248, in main
bot.run()
File "selflink.py", line 192, in run
self.treat(page)
File "selflink.py", line 171, in treat
text, jumpToBeginning = self.handleNextLink(page, text, match)
File "selflink.py", line 116, in handleNextLink
linkedPage = wikipedia.Page(page.site(), match.group('title'))
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 313, in __init__
raise InvalidTitle(u"Invalid title '%s'" % title )
pywikibot.exceptions.InvalidTitle: Invalid title ' '
masti@wikimedia ~/pw/pywikipedia $ python version.py
Pywikipedia [http] trunk/pywikipedia (r8050, 2010/04/01, 15:43:14)
Python 2.6.2 (r262:71600, Oct 22 2009, 08:54:52)
[GCC 4.3.4]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2981290&group_…
Bugs item #2901369, was opened at 2009-11-20 14:58
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901369&group_…
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: login
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py hangs without error message
Initial Comment:
Login.py is hanging and no error message is being produced.
$ sudo python login.py -v -log
Pywikipediabot [http] trunk/pywikipedia (r7672, 2009/11/20, 16:08:37)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
Password for user wikisysop2 on vistawiki:en: *********
Logging in to vistawiki:en as wikisysop2
At this point, login.py hangs for several minutes. I type ctrl-C and get:
Traceback (most recent call last):
File "login.py", line 393, in ?
main()
File "login.py", line 389, in main
loginMan.login()
File "login.py", line 278, in login
cookiedata = self.getCookie(api)
File "login.py", line 170, in getCookie
response, data = self.site.postData(address, self.site.urlEncode(predata), sysop=self.sysop)
File "/usr/local/pywikipedia/wikipedia.py", line 5482, in postData
f = MyURLopener.open(request)
File "/usr/lib64/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib64/python2.4/urllib2.py", line 396, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/local/pywikipedia/wikipedia.py", line 8231, in http_error_302
result = urllib2.HTTPRedirectHandler.http_error_302(
File "/usr/lib64/python2.4/urllib2.py", line 554, in http_error_302
return self.parent.open(new)
File "/usr/lib64/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib64/python2.4/urllib2.py", line 1032, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.4/urllib2.py", line 1004, in do_open
r = h.getresponse()
KeyboardInterrupt
The log file contains nothing except the initial lines above (prior to the ctrl-C).
I have verified the password is correct.
Here's the version info:
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7672, 2009/11/20, 16:08:37)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
----------------------------------------------------------------------
>Comment By: Daniel Barrett (djbarrett)
Date: 2010-04-02 14:24
Message:
This seems to be fixed as of revision 8050.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2009-11-30 11:34
Message:
I deleted the contents of the login-data folder and ran "python login.py",
but the command still hung.
I'm happy to provide more debugging info if you tell me what you want.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-11-30 10:54
Message:
I haven't had this myself, but I have heard others speak about it. Could
you try throwing away your login-data for the site you are trying to log in
to? Of course this would only be possible if you had a previous login, but
this may be a solution. From what I have heard, the cookies have been
changed recently.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2009-11-30 10:33
Message:
Sorry, it's not fixed in r7718 nor r7719. Same hang.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-11-30 06:58
Message:
This has probably been fixed. Feel free to reopen if not (based on r7718)
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2009-11-20 15:28
Message:
The problem was introduced in -r7599. Versions before it work perfectly.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2009-11-20 15:19
Message:
svn -r7659 makes me suspicious, with the change in "wpDomain" logic, since
we (Vistaprint) were the original reason for the wpDomain logic, to make
pywikipedia work with Extension:LdapAuthentication.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901369&group_…
Bugs item #2976434, was opened at 2010-03-25 13:05
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2976434&group_…
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: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: interwiki in -wiktionary mode
Initial Comment:
In -wiktionary mode, when interwiki bot searches for exactly the same page titles in other languages, the output "NOTE: [[page_title]] does not have any interwiki links" is absolutely useless. Please remove it to save space on screen/in logs.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-04-01 17:19
Message:
done in r8049 using -quiet option
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2976434&group_…