Support Requests item #3065711, was opened at 2010-09-14 06:14
Message generated for change (Comment added) made by xqt
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: Open
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: xqt (xqt)
Date: 2010-09-15 12: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 06: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 #3066490, was opened at 2010-09-15 05:03
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&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: 8
Private: No
Submitted By: Mikko Silvonen (silvonen)
>Assigned to: xqt (xqt)
Summary: Syntax error in wikipedia.py
Initial Comment:
>interwiki.py
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 340, in <module>
import wikipedia as pywikibot
File "C:\svn\pywikipedia\wikipedia.py", line 2758
it total == None:
^
SyntaxError: invalid syntax
>python version.py
Pywikipedia [http] trunk/pywikipedia (r8556, 2010/09/14, 22:07:50)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-09-15 08:22
Message:
fixed in r8557. Thanks and sorry
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&group_…
Bugs item #3066490, was opened at 2010-09-15 06:03
Message generated for change (Settings changed) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&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: 8
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Syntax error in wikipedia.py
Initial Comment:
>interwiki.py
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 340, in <module>
import wikipedia as pywikibot
File "C:\svn\pywikipedia\wikipedia.py", line 2758
it total == None:
^
SyntaxError: invalid syntax
>python version.py
Pywikipedia [http] trunk/pywikipedia (r8556, 2010/09/14, 22:07:50)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&group_…
Bugs item #3066490, was opened at 2010-09-15 06:03
Message generated for change (Tracker Item Submitted) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&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: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Syntax error in wikipedia.py
Initial Comment:
>interwiki.py
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 340, in <module>
import wikipedia as pywikibot
File "C:\svn\pywikipedia\wikipedia.py", line 2758
it total == None:
^
SyntaxError: invalid syntax
>python version.py
Pywikipedia [http] trunk/pywikipedia (r8556, 2010/09/14, 22:07:50)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3066490&group_…
Feature Requests item #3054755, was opened at 2010-08-28 08:43
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3054755&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
Priority: 7
Private: No
Submitted By: Bináris (binbot)
>Assigned to: xqt (xqt)
Summary: Edit filter labels and page sizes in version history
Initial Comment:
Would it be possible to have the labels made by the edit filters in Page.getVersionHistoryTable, Page.getVersionHistory and Page.fullVersionHistory? There may be several of them for one edit.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-09-15 00:12
Message:
done in r8446. Thanks
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2010-09-13 13:01
Message:
I have uploaded a diff, thanks to Tgr. Please use it, because we would like
to reach these features of API. Thank you!
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2010-08-30 23:19
Message:
I attached a possible solution, please use it. Credits to Tgr and Hunyadym
from huwiki.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2010-08-29 20:43
Message:
And the size as well. Now if I want to work with page sizes, I have to load
fullVersionHistory, which makes the script slow down.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3054755&group_…
Support Requests item #3065711, was opened at 2010-09-14 04:14
Message generated for change (Comment added) made by
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: Open
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
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: 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_…
Support Requests item #3065711, was opened at 2010-09-14 04:14
Message generated for change (Tracker Item Submitted) made by
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: Open
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3065711&group_…
Bugs item #3053539, was opened at 2010-08-26 10:05
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3053539&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: category
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py move ignores noinclude, includeonly
Initial Comment:
When running "python category.py move", if the old category is enclosed in <noinclude> or <includeonly> tags, the new, replaced category is not, which is a problem. For example, this construction:
<includeonly>[[Category:Foo]]</includeonly>
when operated on by:
python category.py move -from:"Foo" -to:"Bar"
produces:
<includeonly></includeonly>
[[Category:Bar]]
which is wrong.
This bug has existed for a long time, at least a few years.
$ python version.py
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
$ svn info
Revision: 8319
----------------------------------------------------------------------
>Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-13 15:58
Message:
This bug is destructive to wiki articles. Any chance it will be addressed
soon? Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3053539&group_…
Feature Requests item #3054755, was opened at 2010-08-28 08:43
Message generated for change (Comment added) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3054755&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
>Priority: 7
Private: No
Submitted By: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit filter labels and page sizes in version history
Initial Comment:
Would it be possible to have the labels made by the edit filters in Page.getVersionHistoryTable, Page.getVersionHistory and Page.fullVersionHistory? There may be several of them for one edit.
----------------------------------------------------------------------
>Comment By: Bináris (binbot)
Date: 2010-09-13 13:01
Message:
I have uploaded a diff, thanks to Tgr. Please use it, because we would like
to reach these features of API. Thank you!
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2010-08-30 23:19
Message:
I attached a possible solution, please use it. Credits to Tgr and Hunyadym
from huwiki.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2010-08-29 20:43
Message:
And the size as well. Now if I want to work with page sizes, I have to load
fullVersionHistory, which makes the script slow down.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3054755&group_…
Bugs item #2787057, was opened at 2009-05-05 08:54
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2787057&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: 7
Private: No
Submitted By: siebrand (siebrand)
>Assigned to: xqt (xqt)
Summary: Commonscat: removing labels when it should not
Initial Comment:
See edit[1]. The bot replaces the current template {{commonscat|cat|desc}} with {{commonscat|cat}}. That should not happen. Originally reported here[2] and replied here[3]
[1] http://fr.wikipedia.org/w/index.php?title=Cat%C3%A9gorie:Personnalit%C3%A9_…
[2] http://nl.wikipedia.org/w/index.php?title=Overleg_gebruiker:Siebrand&oldid=…
[3] http://fr.wikipedia.org/w/index.php?title=Discussion_utilisateur:Jean-Fr%C3…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-09-13 11:45
Message:
done in r8546
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-06 13:54
Message:
I'm thinking about doing an overhaul of the bot to be more flexible. This
should also be part of it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2787057&group_…