Bugs item #2970428, was opened at 2010-03-15 00:21
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970428&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: weblinkchecker.py - not striping | following link
Initial Comment:
weblinkchecker.py does not properly stripe trailling pipe "|" character after http links. This can happen when a link in within an inline template as one of the parameters the result is false positive dead link like below
*[[Jean-Claude Nallet]] links to http://www.gbrathletics.com/ic/epm.htm| - 404 Not Found.
the link is within Cite page template:
<ref>{{Cytuj stronę| url =http://www.gbrathletics.com/nc/fra.htm| tytuł = GBRAthletics: French Championships| data dostępu = 26 grudnia 2009| autor = | język = en}}</ref>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970428&group_…
Bugs item #2970417, was opened at 2010-03-14 23:46
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970417&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.py error while running weblinkchecker
Initial Comment:
the following error occures while running weblinkcher on pl.wikipedia
masti@wikimedia ~/pw/pywikipedia $ python weblinkchecker.py -talk -namespace:0 -start:"I koncert fortepianowy Beethovena"
Getting 240 pages from wikipedia:pl via API...
Getting pages 1 - 125 of 240...
Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4041, in getall
_GetAll(site, k, throttle, force).run()
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run
self.oneDoneApi(vals)
File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3907, in oneDoneApi
page2.editRestriction = editRestriction
UnboundLocalError: local variable 'editRestriction' referenced before assignment
local variable 'editRestriction' referenced before assignment
Saving history...
masti@wikimedia ~/pw/pywikipedia $ python version.py
Pywikipedia [http] trunk/pywikipedia (r8011, 2010/03/14, 18:08:34)
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=2970417&group_…
Bugs item #2970264, was opened at 2010-03-14 15:37
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970264&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: Merlijn S. van Deen (valhallasw)
Summary: Unable to check blocks on IP
Initial Comment:
I have code to check blocks on users or IPs using userlib.py
Since r7979, userlib raises an exception when I try to check blocks on IPs.
Please allow this behavior again.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-14 23:05
Message:
if u'invalid' in user:
raise InvalidUser("User name '%s' is invalid. IP addresses
are not supported." % user['name'])
This is not a bug, this is correct behaviour. Could the reporter please
show how sensible data is found?
Closing as 'invalid' in two weeks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970264&group_…
Bugs item #2887794, was opened at 2009-10-28 10:29
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2887794&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: other
Group: v1.0 (example)
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: commonscat.py adds incorrect edit summary
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7548, 2009/10/27, 07:16:22)
Python 2.6.1 (r261:67515, Jan 20 2009, 14:10:34)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
---------------
When running commonscat.py, it adds wrong edit summaries.
I've run as
% python commonscat.py -subcats:"..."
But results are
http://ko.wikipedia.org/w/index.php?title=%EB%B6%84%EB%A5%98:%EC%97%98%EC%8…
Edit summary: Bot: Adding {{Commonscat|Geography of Honduras}})
Real change:+ {{Commonscat|Geography of El Salvador}}
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 19:16
Message:
no response to command line request
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-28 12:38
Message:
Could you give me the full command line?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2887794&group_…
Bugs item #2888764, was opened at 2009-10-29 13:22
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2888764&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: Fixed
Priority: 5
Private: No
Submitted By: Philippe Elie (phil_e)
>Assigned to: xqt (xqt)
Summary: Page.move() doesn't report errror
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7561, 2009/10/29, 09:10:59)
Python 2.5.2 (r252:60911, Aug 3 2008, 15:34:23)
[GCC 4.2.3]
wikipedia.py Page.move() return False if an error occur except in one case if 'error' in result: .... else: output("Unknown Error: %s" % result) <--- Missing return False after that, w/o that bot can't test if a move() succeed or fail
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 19:10
Message:
done in r8011
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-29 13:39
Message:
see https://sourceforge.net/apps/trac/sourceforge/ticket/6107
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2888764&group_…
Bugs item #2892593, was opened at 2009-11-05 14:31
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2892593&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: Out of Date
Priority: 5
Private: No
Submitted By: JAn (jandudik)
>Assigned to: xqt (xqt)
Summary: modification aborted by external hook
Initial Comment:
On some zh: pages I got following message:
interwiki.py cs:němčina
...
Updating links on page [[zh:德语]].
Changes to be made: 修改: [[new:जर्मन भाषा]]
- [[new:डोइच भाषा]]
+ [[new:जर्मन भाषा]]
NOTE: Updating live wiki...
Updating page [[zh:德语]] via API
Unknown Error. API Error code:hookaborted
Information:The modification you tried to make was aborted by an extension hook
200 OK
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 18:56
Message:
as bugzilla bugs are reported as solved I would like to close this
request.
If this bug is still valid, please reopen.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-01-22 03:44
Message:
In my case:
User::matchEditToken: broken session data
EditPage::importFormData: Failed token check; forcing preview
were caused by
https://bugzilla.wikimedia.org/show_bug.cgi?id=22225
and my hookaborted problem was because of AntiBot extension:
https://bugzilla.wikimedia.org/show_bug.cgi?id=22226
--Saper
----------------------------------------------------------------------
Comment By: Marcin Cieslak (saperski)
Date: 2010-01-21 23:27
Message:
I think this is related to
https://bugzilla.wikimedia.org/show_bug.cgi?id=14261 - MediaWiki
has/provides
too little information why the edit was aborted.
In my case I have enabled debug log on my wiki and got:
User::matchEditToken: broken session data
EditPage::importFormData: Failed token check; forcing preview
Maybe this is the same problem as listed here:
http://www.mediawiki.org/wiki/Project:Support_desk/Archives/Installation/00…
I need to check whether in my case it's broken proxy:
http://www.mediawiki.org/wiki/Manual:Edit_token#The_edit_token_suffix
--Saper
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2892593&group_…
Bugs item #2937832, was opened at 2010-01-23 11:22
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2937832&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: General
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: HTTP Error 502: Bad Gateway
Initial Comment:
Recently replace.py halts for Bad Gateway pretty often. It halts about 2/3 times every 500 updated pages, so I have to restart the script over and over in order to complete long tasks.
The problem is that it does not retry or skip the page, but it just stops the script execution.
Is it possible to manage the http 502 in order to retry for page update at least 5 (or more) times?
Thanks!
Updating page [[6579 Benedix]] via API
Result: 502 Bad Gateway
Traceback (most recent call last):
File "C:\pywikipedia\replace.py", line 719, in <module>
main()
File "C:\pywikipedia\replace.py", line 714, in main
bot.run()
File "C:\pywikipedia\replace.py", line 438, in run
page.put(new_text, self.editSummary)
File "C:\pywikipedia\wikipedia.py", line 1655, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "C:\pywikipedia\wikipedia.py", line 1752, in _putPage
response, data = query.GetData(params, self.site(), sysop=sysop, back_response = True)
File "C:\pywikipedia\query.py", line 122, in GetData
res, jsontext = site.postForm(path, params, sysop, site.cookies(sysop = sysop) )
File "C:\pywikipedia\wikipedia.py", line 5761, in postForm
cookies=cookies)
File "C:\pywikipedia\wikipedia.py", line 5805, in postData
f = MyURLopener.open(request)
File "C:\Python26\lib\urllib2.py", line 389, in open
response = meth(req, response)
File "C:\Python26\lib\urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python26\lib\urllib2.py", line 427, in error
return self._call_chain(*args)
File "C:\Python26\lib\urllib2.py", line 361, in _call_chain
result = func(*args)
File "C:\Python26\lib\urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 502: Bad Gateway
C:\pywikipedia>version.py
Pywikipedia [http] trunk/pywikipedia (r7887, 2010/01/21, 17:47:24)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 18:38
Message:
done in r8010
----------------------------------------------------------------------
Comment By: Davide Bolsi (basilicofresco)
Date: 2010-01-23 11:27
Message:
I was not log in. Let me know if you need additional details!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2937832&group_…
Bugs item #2890281, was opened at 2009-11-01 15:02
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2890281&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: Pending
Resolution: None
Priority: 7
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to change page content
Initial Comment:
Hello,
Lately I am unable to change page content on older versions of mediawiki:
Pywikipedia [http] trunk/pywikipedia (r7578, 2009/11/01, 10:21:50)
Python 2.6 (r26:66714, Jun 8 2009, 16:07:26)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
Updating page [[User:Nakor/Test]] via API
Unknown Error. API Error code:unknown_action
Product Version
MediaWiki 1.13.4
PHP 5.2.4-2ubuntu5.7 (apache2handler)
MySQL 5.0.51a-3ubuntu5.4
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 18:16
Message:
Is this error still valid? Do you have further information about api
settings?
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-02 12:18
Message:
Could you give us the next line too to this Error:
Information:
Does this error still occur it you don't use the API by setting
use_api = False
in you user_config.py?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2890281&group_…
Bugs item #2901944, was opened at 2009-11-22 03:08
Message generated for change (Settings changed) made by xqt
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: Pending
Resolution: None
Priority: 7
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)]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-14 18:10
Message:
iw_user.py isn't part of the pwb. Is this published anywhere?
This error might be caused if you call a lot of contribs at once. Reducing
the limit could solve the http 400 error; see r8003 for instance:
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=8003
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901944&group_…
Bugs item #2901944, was opened at 2009-11-22 03:08
Message generated for change (Comment added) made by xqt
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: 7
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)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-14 18:10
Message:
iw_user.py isn't part of the pwb. Is this published anywhere?
This error might be caused if you call a lot of contribs at once. Reducing
the limit could solve the http 400 error; see r8003 for instance:
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=8003
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901944&group_…