Bugs item #2901944, was opened at 2009-11-21 21:08
Message generated for change (Tracker Item Submitted) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901944&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: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to get user contributions
Initial Comment:
File "./almabot/iw_user.py", line 17, in get_user_contribs
contribs_list = site.getUrl(contribs_url)
File "/home/almabot/pywikipedia/wikipedia.py", line 5618, in getUrl
f = MyURLopener.open(request)
File "/usr/lib/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 427, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
python version.py
Pywikipedia [http] trunk/pywikipedia (r7675, 2009/11/20, 21:40:12)
Python 2.6 (r26:66714, Jun 8 2009, 16:07:26)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901944&group_…
Bugs item #2901691, was opened at 2009-11-21 10:59
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901691&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: cosmetic.py - stubs and spaces
Initial Comment:
cosmetic.py adds spaces in header delimiters - not a big deal but both styles are acceptable on en, and unspaced is the de-facto for articles by 3:1.
cosmetic.py moves categories to their correct place - ''except'' that the stub template should come ''after'' the categories http://en.wikipedia.org/wiki/Wikipedia:Stub#How_to_mark_an_article_as_a_stub
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901691&group_…
Bugs item #1893001, was opened at 2008-02-13 18:53
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1893001&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: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sporadic UnicodeDecodeError for German umlauts (utf8)
Initial Comment:
The very annoying error message below sometimes stops my bot from working. Test it on de.wiktionary.org with the following articles containing German umlauts (one will certainly give this error; from skipfile):
[[Aussprachewrterbuch]]
[[Fachwrterbuch]]
[[Frswerkzeug]]
[[Gelnde]]
[[Gelnder]]
[[Gelndewagen]]
[[Gelbde]]
[[Herkunftswrterbuch]]
Error message:
Traceback (most recent call last):
File "interwiki.py", line 1572, in ?
bot.run()
File "interwiki.py", line 1347, in run
self.queryStep()
File "interwiki.py", line 1321, in queryStep
self.oneQuery()
File "interwiki.py", line 1317, in oneQuery
subject.workDone(self)
File "interwiki.py", line 659, in workDone
(skip, alternativePage) = self.disambigMismatch(page)
File "interwiki.py", line 522, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "/home/x/PyWikipediaBot-2008-01-24/wikipedia.py", line 983, in isDisambig
for tn in self.templates():
File "/home/x/PyWikipediaBot-2008-01-24/wikipedia.py", line 1561, in templates
return [template for (template, param) in self.templatesWithParams()]
File "/home/x/PyWikipediaBot-2008-01-24/wikipedia.py", line 1609, in templatesWithParams
name = Page(self.site(), name).title()
File "/home/x/PyWikipediaBot-2008-01-24/wikipedia.py", line 317, in __init__
t = url2unicode(t, site = insite, site2 = site)
File "/home/x/PyWikipediaBot-2008-01-24/wikipedia.py", line 3415, in url2unicode
raise firstException
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 10-13: invalid data
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-11-21 02:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-06 13:05
Message:
Due to the time has left after your last remark: Is this bug still valid?
I would close this request after a pending time of two weeks.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-05-16 04:38
Message:
Logged In: NO
Problem still there (r5380) at wikt:de:
[[Inkommensurabilitt]]
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-02-13 20:48
Message:
Logged In: YES
user_id=1327030
Originator: NO
One template uses a URL-encoded char which seems to be encoded in
ISO-8859-1 rather than UTF-8. This seems to crash the bot. I'm not sure
what's the best way to treat it; possibly adding ISO-8859-1 as another
encoding for wiktionary:de? (wikipedia:de already has it, as a "historical
encoding", and successfully parses the template)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1893001&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: Open
Resolution: None
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: 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 #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: Open
Resolution: None
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: 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 #2901369, was opened at 2009-11-20 14:58
Message generated for change (Tracker Item Submitted) 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: Open
Resolution: None
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)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901369&group_…
Bugs item #2901213, was opened at 2009-11-20 16:42
Message generated for change (Settings changed) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&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: 8
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails (again)
Initial Comment:
python login.py
Password for user *** on wikipedia:it:
Logging in to wikipedia:it as ***
Result: 411 Length Required
Traceback (most recent call last):
File "login.py", line 393, in <module>
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 "/home/mauro742/MauroBot/wikipedia.py", line 5482, in postData
f = MyURLopener.open(request)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/mauro742/MauroBot/wikipedia.py", line 8232, in http_error_302
self, req, fp, code, msg, headers)
File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 411: Length Required
python version.py
Pywikipedia [http] trunk/pywikipedia (r7670, 2009/11/20, 15:20:25)
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&group_…
Bugs item #2901213, was opened at 2009-11-20 16:42
Message generated for change (Tracker Item Submitted) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&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: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails (again)
Initial Comment:
python login.py
Password for user *** on wikipedia:it:
Logging in to wikipedia:it as ***
Result: 411 Length Required
Traceback (most recent call last):
File "login.py", line 393, in <module>
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 "/home/mauro742/MauroBot/wikipedia.py", line 5482, in postData
f = MyURLopener.open(request)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/mauro742/MauroBot/wikipedia.py", line 8232, in http_error_302
self, req, fp, code, msg, headers)
File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 411: Length Required
python version.py
Pywikipedia [http] trunk/pywikipedia (r7670, 2009/11/20, 15:20:25)
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&group_…
Bugs item #2895237, was opened at 2009-11-10 14:51
Message generated for change (Comment added) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895237&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: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Upload of file failed.
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7621, 2009/11/10, 13:50:05)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
MediaWiki: 1.15.1
------------------------
I've got the following error on console while uploading.
Uploading file to wiki:ru...
<ul id="filetoc">
<li><a href="#file">Файл</a></li>
<li><a href="#filehistory">История файла</a></li>
<li><a href="#filelinks">Ссылки на файл</a></li>
</ul><div class="fullImageLink" id="file"><a href="/gw/images/4/4b/Saiti2009_set703_k71.jpg"><img alt="Файл:Saiti2009 set703 k71.jpg" src="/gw/images/4/4b/Saiti2009_set703_k71.jpg" width="250" height="340" border="0" /></a><br /><small>Нет версии с большим разрешением.</small><br /><a href="/gw/images/4/4b/Saiti2009_set703_k71.jpg">Saiti2009_set703_k71.jpg</a> (250 × 340 пикселов, размер файла: 35 КБ, MIME-тип: image/jpeg)</div><table style="margin:0.5em auto; width:70%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;">
....
200 OK
Upload of Saiti2009_set703_k71.jpg probably failed. Above you see the HTML page which was returned by MediaWiki. Try again? ([y]es, [N]o)
----------------
Where html-code in console is content of File:Saiti2009_set703_k71.jpg -- wiki-page w/o any error or warning.
After every file upload user have to press N.
----------------------------------------------------------------------
>Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-18 14:47
Message:
works for me in r7666
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-11 06:40
Message:
Could you please add the complete html output (added as file).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895237&group_…
Bugs item #2895406, was opened at 2009-11-10 19:22
Message generated for change (Comment added) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895406&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: Works For Me
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py stops working
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7621, 2009/11/10, 13:50:05)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
MediaWiki version: 1.15.1
------------------
I can login as TestBot in browser. But when I use login.py and the same password I will get the 'login failed' message.
$python login.py
Password for user TestBot on wiki:ru:
Logging in to wiki:ru as TestBot
Login failed. Wrong password or CAPTCHA answer?
----------------------------------------------------------------------
>Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-18 14:44
Message:
works for me in r7666
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-12 14:15
Message:
Index: login.py
===================================================================
--- login.py (revision 7635)
+++ login.py (working copy)
@@ -270,7 +270,7 @@
wikipedia.output(u"Logging in to %s as %s" % (self.site,
self.username))
try:
- cookiedata = self.getCookie(api)
+ cookiedata = self.getCookie(self,api)
except NotImplementedError:
wikipedia.output('API disabled because this site does not
support.\nRetrying by ordinary way...')
api = False
this fix solved my problem and I can login.
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-11 16:03
Message:
Yes, I'm sure. I've verified several times and I *can* login via browser.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-11 15:45
Message:
Are you shure the password is quiete right?
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-11 12:39
Message:
python login.py -v -log
Pywikipediabot [http] trunk/pywikipedia (r7628, 2009/11/11, 11:10:13)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
Password for user TestBot on gerbowiki:ru:
Logging in to gerbowiki:ru as TestBot
Login failed. Wrong password or CAPTCHA answer?
=== login.log ===
Pywikipediabot [http] trunk/pywikipedia (r7628, 2009/11/11, 11:10:13)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
Logging in to gerbowiki:ru as TestBot
Login failed. Wrong password or CAPTCHA answer?
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-11 06:54
Message:
login.py has been changes. New release is 7623. Please try again with -v
-log for verbose and log option and give us the logfile login.log for
analyzing this bug. Thanks.
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-11-10 19:28
Message:
the problem appears in r7599
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895406&group_…