Bugs item #3427568, was opened at 2011-10-23 18:45
Message generated for change (Tracker Item Submitted) made by mga73
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427568&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: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: ag_nowcommons.py does not work - ID: 3406291 - followup
Initial Comment:
In response to https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3406291&group_…
(Sorry I forgot about the bug report)
tag_nowcommons should not need a generator. It should run for ALL files (but not description pages where the actual file is on Commons) on the wiki.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427568&group_…
Bugs item #3009336, was opened at 2010-05-31 05:34
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3009336&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: rewrite
Group: None
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Russell Blau (russblau)
Summary: badtoken: invalid token during Page.put
Initial Comment:
From time to time I get token errors
File "/home/nicdumz/python/dumzibot/statistics.py", line 24, in putNb
page.put(str(nb))
File "/home/nicdumz/.local/lib/python2.6/site-packages/pywikibot/page.py", line 767, in put
async, callback)
File "/home/nicdumz/.local/lib/python2.6/site-packages/pywikibot/page.py", line 726, in save
self._save(comment, minor, watchval, async, callback)
File "/home/nicdumz/.local/lib/python2.6/site-packages/pywikibot/page.py", line 749, in _save
raise pywikibot.PageNotSaved("%s: %s" %(link, err))
pywikibot.exceptions.PageNotSaved: [[Projet:Maritime/Total]]: badtoken: Invalid token
I (re-)activated debug output and will try to look more carefully for this error. The (ugly) script causing this is available at http://bitbucket.org/nicdumz/wikipedia-dumzibot/src/tip/statistics.py but it is clearly not doing anything crazy on the pywikibot side, other than what I included in the traceback.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2011-10-05 19:42
Message:
Does this issue still exist? I haven't seen such errors.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3009336&group_…
Bugs item #3415488, was opened at 2011-09-30 00:26
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3415488&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: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: movepages.py doesn't move when target names don't exist
Initial Comment:
movepages.py fails to move pages and files when target names no longer exist (they exited but were deleted)
C:\pywikipedia>movepages.py -pairs:move.txt
unicode test: triggers problem #3081100
Moving page [[File:Manta2.png]] to [[File:Manta7.png]]
WARNING: Your account on thailogssandbox:en does not have a bot flag. Its edits
will be visible in the recent changes and it may get blocked.
Sleeping for 8.1 seconds, 2011-09-29 23:20:16
Unknown Error: {u'error': {u'info': u"The page you requested doesn't exist", u'c
ode': u'missingtitle'}}
Moving page [[16]] to [[17]]
Sleeping for 8.4 seconds, 2011-09-29 23:20:26
Page move failed: Target page [[17]] already exists.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-10-03 13:44
Message:
You bot has no bot flag and I guess this account is not autoconfirmed which
is required for that action
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3415488&group_…
Bugs item #3115233, was opened at 2010-11-22 09:55
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3115233&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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: rubin16 (rubin16)
Assigned to: xqt (xqt)
Summary: category_redirect.py
Initial Comment:
There is one problem with this script. Imagine that category redirect leads from Category X to Category Y. There are both categories X and Y in one article, Script changes X to Y and we get double Y category in wikicode. Is it possible to update script so that it wouldn't add double category but just delete category X because Y is already present?
http://ru.wikipedia.org/w/index.php?title=Танкобоязнь&diff=29580221&oldid=2…
You can see such a behaviour in the diff - redirect from Category:Военная наука is changed to Category:Военное дело. But we already have such a category and that's why we get:
[[Категория:Военное дело]]
[[Категория:Военное дело]]
Category_redirect.py is translated for ru.wiki - I'll post the patch later
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-07-10 18:36
Message:
maybe fixed in r9362 (update from rewrite)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3115233&group_…
Bugs item #2989218, was opened at 2010-04-19 10:16
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2989218&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: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: section title bug
Initial Comment:
If the bot adds interwiki with section title with dot(.), it does not work correctly.
e.g. http://ko.wikipedia.org/w/index.php?title=IEEE_802.11n-2009&action=historys…
When adding [[it:IEEE 802.11#802.11n]], ".11" part is mis-interpreted.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-03 14:03
Message:
hopefull fixed in r9494
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-02 08:39
Message:
see also tracker 3402586
https://sourceforge.net/tracker/?func=detail&aid=3402586&group_id=93107&ati…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-07-27 19:50
Message:
it also depends on redirect.py
http://en.wikipedia.org/w/index.php?title=IEEE_802.1AS&diff=next&oldid=3735…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-05-11 20:24
Message:
see also tracker #2999614
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2989218&group_…
Bugs item #3426499, was opened at 2011-10-20 20:30
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426499&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: rewrite
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
>Assigned to: xqt (xqt)
Summary: Fetching user contributions fails with KeyError
Initial Comment:
User en:Cncplayer has made a contribution with a deleted comment (see http://en.wikipedia.org/wiki/Special:Contributions/Cncplayer, edit on 2011-10-19 at 07:09). Instantiating a User object and asking to fetch the contributions fails with a KeyError, as seen here:
>>> import pywikibot
>>> mySite = pywikibot.getSite('en');
>>> myUser = pywikibot.User(mySite, 'Cncplayer');
>>> contribs = myUser.contributions();
>>> contribs.next();
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/somepath/python-modules/lib/python/Pywikipediabot-2.0alpha-py2.7.egg/pywikibot/page.py", line 2087, in contributions
contrib['revid'], ts, contrib['comment']
KeyError: 'comment'
I'm running the rewrite branch and just updated to revision 9636 to confirm that the error happens there too.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-10-22 12:17
Message:
same as bug ##3097185 on trunk version. Fixed with r9643.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426499&group_…
Bugs item #3426499, was opened at 2011-10-20 20:30
Message generated for change (Tracker Item Submitted) made by nettrom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426499&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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
Summary: Fetching user contributions fails with KeyError
Initial Comment:
User en:Cncplayer has made a contribution with a deleted comment (see http://en.wikipedia.org/wiki/Special:Contributions/Cncplayer, edit on 2011-10-19 at 07:09). Instantiating a User object and asking to fetch the contributions fails with a KeyError, as seen here:
>>> import pywikibot
>>> mySite = pywikibot.getSite('en');
>>> myUser = pywikibot.User(mySite, 'Cncplayer');
>>> contribs = myUser.contributions();
>>> contribs.next();
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/somepath/python-modules/lib/python/Pywikipediabot-2.0alpha-py2.7.egg/pywikibot/page.py", line 2087, in contributions
contrib['revid'], ts, contrib['comment']
KeyError: 'comment'
I'm running the rewrite branch and just updated to revision 9636 to confirm that the error happens there too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426499&group_…
Bugs item #3426312, was opened at 2011-10-20 06:10
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=3426312&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki is broken in pywikibot
Initial Comment:
$ python interwiki.py Pop rock
Retrieving 1 pages from wikipedia:fr.
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[ar:بوب روك]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[be-x-old:Поп-рок]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[bg:Поп рок]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[ca:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[cs:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[da:Poprock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[de:Pop-Rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[en:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[es:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[eu:Pop rock]]
Retrieving 1 pages from wikipedia:en.
[[fr:Pop rock]]: [[en:Pop rock]] gives new interwiki [[fa:پاپ-راک]]
Retrieving 1 pages from wikipedia:fa.
Retrieving 1 pages from wikipedia:ca.
Retrieving 1 pages from wikipedia:eu.
Retrieving 1 pages from wikipedia:da.
Retrieving 1 pages from wikipedia:bg.
Retrieving 1 pages from wikipedia:be-x-old.
Retrieving 1 pages from wikipedia:de.
Retrieving 1 pages from wikipedia:es.
Retrieving 1 pages from wikipedia:cs.
Retrieving 1 pages from wikipedia:ar.
======Post-processing [[fr:Pop rock]]======
Dump fr (wikipedia) appended.
Traceback (most recent call last):
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2455, in <module>
main()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2429, in main
bot.run()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2193, in run
self.queryStep()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2171, in queryStep
subj.finish(self)
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 1630, in finish
if self.replaceLinks(page, new, bot):
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 1744, in replaceLinks
insite=page.site)
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2229, in compareLanguages
if not pywikibot.unicode_error:
AttributeError: 'module' object has no attribute 'unicode_error'
$ python version.py
python: can't open file 'version.py': [Errno 2] No such file or directory
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426312&group_…
Bugs item #3423716, was opened at 2011-10-14 10:23
Message generated for change (Comment added) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3423716&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: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.all always asks for password
Initial Comment:
When calling
login.py -all -pass
the script first asks for a password and then asks for password for every sinmgle wiki site:
login.py -all -pass
Password for all accounts:
Password for user Almabot on mediawiki:mediawiki:
....
----------------------------------------------------------------------
>Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2011-10-20 06:08
Message:
I'd like to but there is no version.py script in pywikibot
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-10-14 12:48
Message:
Please post your user-config.py and the output of python version.py.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3423716&group_…
Feature Requests item #3424481, was opened at 2011-10-16 23:02
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3424481&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: Interface Improvements
Group: Next Release (example)
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add :tr and az to clean_sandbox.py
Initial Comment:
Can you add Turkish (tr) and Azeri (az) to clean_sandbox.py?
Turkish sandbox is "Vikipedi:Deneme tahtası"
Text is:
{{/Bu satırı değiştirmeden bırakın}}
Summary is:
"Deneme tahtası temizlendi" (sandbox cleaned)
Azeri sandbox is "Vikipediya:Qaralama dəftəri".
Text is:
<!--- LÜTFƏN, BU SƏTRƏ TOXUNMAYIN --->
{{Qaralama dəftəri}}
<!-- AŞAĞIDAKI XƏTTİN ALTINDAN YAZA BİLƏRSİNİZ --->
---------------------------------------------------------------------
Summary is:
"Avtomatik olaraq təmizləndi" (Automatically cleaned)
Beware of the ı (i without dot) in Turkish, and ə (upside down e) in Azeri.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-10-16 23:19
Message:
Fixed in r9636
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9636
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3424481&group_…