Support Requests item #3065711, was opened at 2010-09-14 04:14
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3065711&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: Install Problem
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: xqt (xqt)
Summary: replace.py appears to be broken with MW 1.15.5 on Ubuntu
Initial Comment:
On Ubuntu 10.04 and 8.04, when I try to run replace.py from the 2010-09-13 version in SVN:
Traceback (most recent call last):
File "/path/to/pywikipedia/pagegenerators.py", line 1225, in __iter__
for page in self.wrapped_gen:
File "/path/to/pywikipedia/pagegenerators.py", line 1157, in DuplicateFilterPageGenerator
for page in generator:
File "path/to/pywikipedia/pagegenerators.py", line 617, in AllpagesPageGenerator
includeredirects=includeredirects):
File "/path/to/pywikipedia/wikipedia.py", line 6431, in allpages
for p in data['query']['allpages']:
KeyError: 'query'
'query'
Replace.py works on an identical installation on a Mac using the same versions of Apache, PHP, and MySQL. This problem showed up when I upgraded to MW 1.15.5 from 1.15.4 on Ubuntu - no problems whatsoever on the Mac after the upgrade.
I would prefer to go to 1.16, but I am using an extension (SMWHalo) that does not yet work with that version.
Any ideas? The problem arises no matter what I put in the command line, but works just fine on the Mac. I can edit locally and upload to the Ubuntu installations, but this is not a viable long-term solution.
Unfortunately, I don't have the time to learn Python to try to identify the error - but I do know that it pywikipediabot shouldn't completely break every time there is a minor upgrade to MediaWiki. It's great when it works, but when it doesn't, I find myself wishing for less fragile solution.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-09-29 19:34
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: 2010-09-15 10:16
Message:
btw. allpages() hasn't changed since r8350
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-09-15 10:14
Message:
Try r8560 and check it with -verbose. It looks like an API error since
'query' is not in data object.
Maybe there is something wrong with json module? You have different Python
versions.
----------------------------------------------------------------------
Comment By: https://www.google.com/accounts ()
Date: 2010-09-14 04:31
Message:
Update: On further investigation, it looks like there was some sort of
change introduced in pywikipediabot, NOT mediawiki.
Version string on the Mac:
Pywikipedia nightly:pywikipedia (r8350, 2010/07/09, 08:02:52)
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)]
config-settings:
use_api = True
use_api_login = True
On one of the Ubuntu boxes:
Pywikipedia [http] trunk/pywikipedia (r8551, 2010/09/13, 15:49:35)
Python 2.5.2 (r252:60911, Jan 20 2010, 21:48:48)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
config-settings:
use_api = True
use_api_login = True
Any ideas?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3065711&group_…
Bugs item #3077408, was opened at 2010-09-28 13:04
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&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: Wont Fix
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py claims I'm not a sysop
Initial Comment:
Recently, redirect.py is refusing to delete articles, claiming "No sysop in user-config.py, put page to speedy deletion." However, the user in user-config.py is indeed a "bot" and a "sysop" on our wiki. This behavior began recently.
$ python redirect.py broken -pt:1
Retrieving special page...
Retrieved 55 redirects from special page.
>>> My article title <<<
Redirect target [[My missing article]] does not exist. Do you want to delete [[My article title]]? ([y]es, [N]o, [a]ll, [q]uit) y
No sysop in user-config.py, put page to speedy deletion.
Updating page [[Country based pricing plan]] via API
user-config.py contains:
mylang='en'
family='mywiki'
usernames['vistawiki']['en'] = u'Wikisysop2'
I already tried clearing out the login-data subdirectory and running login.py again (successfully). However, the sysop problem remains. Any ideas?
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-28 14:46
Message:
That worked. I assume this is a new configuration variable that wasn't
required previously.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-09-28 13:58
Message:
Please add
sysopnames['vistawiki']['en'] = u'Wikisysop2'
to your user-config.py and try again.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-28 13:05
Message:
Typo in my example: "Country based pricing plan" should read "My article
title".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&group_…
Bugs item #3077408, was opened at 2010-09-28 19:04
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&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: redirect.py claims I'm not a sysop
Initial Comment:
Recently, redirect.py is refusing to delete articles, claiming "No sysop in user-config.py, put page to speedy deletion." However, the user in user-config.py is indeed a "bot" and a "sysop" on our wiki. This behavior began recently.
$ python redirect.py broken -pt:1
Retrieving special page...
Retrieved 55 redirects from special page.
>>> My article title <<<
Redirect target [[My missing article]] does not exist. Do you want to delete [[My article title]]? ([y]es, [N]o, [a]ll, [q]uit) y
No sysop in user-config.py, put page to speedy deletion.
Updating page [[Country based pricing plan]] via API
user-config.py contains:
mylang='en'
family='mywiki'
usernames['vistawiki']['en'] = u'Wikisysop2'
I already tried clearing out the login-data subdirectory and running login.py again (successfully). However, the sysop problem remains. Any ideas?
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2010-09-28 19:58
Message:
Please add
sysopnames['vistawiki']['en'] = u'Wikisysop2'
to your user-config.py and try again.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-28 19:05
Message:
Typo in my example: "Country based pricing plan" should read "My article
title".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&group_…
Bugs item #3077408, was opened at 2010-09-28 13:04
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&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: redirect.py claims I'm not a sysop
Initial Comment:
Recently, redirect.py is refusing to delete articles, claiming "No sysop in user-config.py, put page to speedy deletion." However, the user in user-config.py is indeed a "bot" and a "sysop" on our wiki. This behavior began recently.
$ python redirect.py broken -pt:1
Retrieving special page...
Retrieved 55 redirects from special page.
>>> My article title <<<
Redirect target [[My missing article]] does not exist. Do you want to delete [[My article title]]? ([y]es, [N]o, [a]ll, [q]uit) y
No sysop in user-config.py, put page to speedy deletion.
Updating page [[Country based pricing plan]] via API
user-config.py contains:
mylang='en'
family='mywiki'
usernames['vistawiki']['en'] = u'Wikisysop2'
I already tried clearing out the login-data subdirectory and running login.py again (successfully). However, the sysop problem remains. Any ideas?
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-28 13:05
Message:
Typo in my example: "Country based pricing plan" should read "My article
title".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&group_…
Bugs item #3077408, was opened at 2010-09-28 13:04
Message generated for change (Tracker Item Submitted) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&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: redirect.py claims I'm not a sysop
Initial Comment:
Recently, redirect.py is refusing to delete articles, claiming "No sysop in user-config.py, put page to speedy deletion." However, the user in user-config.py is indeed a "bot" and a "sysop" on our wiki. This behavior began recently.
$ python redirect.py broken -pt:1
Retrieving special page...
Retrieved 55 redirects from special page.
>>> My article title <<<
Redirect target [[My missing article]] does not exist. Do you want to delete [[My article title]]? ([y]es, [N]o, [a]ll, [q]uit) y
No sysop in user-config.py, put page to speedy deletion.
Updating page [[Country based pricing plan]] via API
user-config.py contains:
mylang='en'
family='mywiki'
usernames['vistawiki']['en'] = u'Wikisysop2'
I already tried clearing out the login-data subdirectory and running login.py again (successfully). However, the sysop problem remains. Any ideas?
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077408&group_…
Bugs item #3077071, was opened at 2010-09-28 08:42
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077071&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: reflinks.py error
Initial Comment:
reflinks.py
http://ru.wikipedia.org/w/index.php?curid=313972&diff=28059315&oldid=279855…http://ru.wikipedia.org/w/index.php?diff=prev&oldid=28060080
Script uncorrectly works with some ref-tags.
----------
# python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.6.6 (r266:84292, Sep 15 2010, 17:31:39)
[GCC 4.2.1 20070719 [FreeBSD]]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3077071&group_…
Bugs item #3033739, was opened at 2010-07-23 21:52
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3033739&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: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: MF-Warburg (mfwarburg)
>Assigned to: xqt (xqt)
Summary: Namespace alias on Incubator
Initial Comment:
On Wikimedia Incubator (http://incubator.wikimedia.org), there is a namespace alias I: redirecting to the project namespace Incubator: - similar to WP: on English Wikipedia as an alias for Wikipedia:.
fixing_redirects.py always stops working when finding a link to an I: page, so could this alias please be added to the family file (incubator_family.py)?
python version.py output:
Pywikipedia [http] trunk/pywikipedia (r8361, 2010/07/20, 06:17:53)
Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
[GCC 4.3.2]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-09-22 17:17
Message:
fixed in r8591. Patch wasn't valid. Please check it now.
----------------------------------------------------------------------
Comment By: Ian Foote (quintic)
Date: 2010-09-21 21:39
Message:
Untested patch at
https://sourceforge.net/tracker/?func=detail&aid=3072894&group_id=93107&ati….
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3033739&group_…
Patches item #3072894, was opened at 2010-09-21 21:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3072894&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: Rejected
Priority: 5
Private: No
Submitted By: Ian Foote (quintic)
>Assigned to: xqt (xqt)
Summary: Namespace alias on Incubator
Initial Comment:
Untested patch for https://sourceforge.net/tracker/?func=detail&aid=3033739&group_id=93107&ati….
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-09-22 16:46
Message:
incubator has no language 'en'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3072894&group_…
Bugs item #3033739, was opened at 2010-07-23 20:52
Message generated for change (Comment added) made by quintic
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3033739&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: MF-Warburg (mfwarburg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Namespace alias on Incubator
Initial Comment:
On Wikimedia Incubator (http://incubator.wikimedia.org), there is a namespace alias I: redirecting to the project namespace Incubator: - similar to WP: on English Wikipedia as an alias for Wikipedia:.
fixing_redirects.py always stops working when finding a link to an I: page, so could this alias please be added to the family file (incubator_family.py)?
python version.py output:
Pywikipedia [http] trunk/pywikipedia (r8361, 2010/07/20, 06:17:53)
Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
[GCC 4.3.2]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
Comment By: Ian Foote (quintic)
Date: 2010-09-21 20:39
Message:
Untested patch at
https://sourceforge.net/tracker/?func=detail&aid=3072894&group_id=93107&ati….
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3033739&group_…