Patches item #3610442, was opened at 2013-04-10 00:35
Message generated for change (Settings changed) made by nu11zer0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3610442&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: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix a bug in the constructor of class Page + random bug
Initial Comment:
fix #3610411 + return status of changing category
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3610442&group_…
Bugs item #3611495, was opened at 2013-04-21 05:21
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611495&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: Nullzer0 (nu11zer0)
Assigned to: Russell Blau (russblau)
Summary: error when encounter API Warning (Wikidata)
Initial Comment:
File "/home/sorawee/rewrite/pywikibot/page.py", line 2340, in editEntity
baserevid=baserevid, **kwargs)
File "/home/sorawee/rewrite/pywikibot/site.py", line 3365, in editEntity
data = req.submit()
File "/home/sorawee/rewrite/pywikibot/data/api.py", line 357, in submit
% (mod, result["warnings"][mod]["*"]))
KeyError: '*'
So I changed api.py to "% (mod, result["warnings"][mod]))", what I get is
WARNING: API warning (messages): {u'0': {u'type': u'warning', u'name': u'edit-no-change'}, u'html': {u'*': u'<p>Your edit was ignored because no change was made to the text.\n</p>'}}
----
Pywikibot branches/rewrite/ (r11404, 2013/04/21, 09:25:43, OUTDATED)
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2]
unicode test: ok
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2013-05-09 12:43
Message:
It seems to me that this is caused by the API module in question returning
a warning in a format other than that documented on [[mw:API:Errors and
warnings]]. Can you run the script with "-log" flag and attach the log
file (or at least the part that results in the KeyError) to this bug
report?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611495&group_…
Bugs item #3611097, was opened at 2013-04-16 12:00
Message generated for change (Settings changed) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611097&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: Multichill (multichill)
>Assigned to: Nobody/Anonymous (nobody)
Summary: item.addClaim() in rewrite edits logged out
Initial Comment:
Looks like I wasn't logged in. The bot didn't care and just started editing as an ip. Bot should check if it's logged in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611097&group_…
Bugs item #3610411, was opened at 2013-04-09 14:01
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3610411&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: Nullzer0 (nu11zer0)
Assigned to: Russell Blau (russblau)
Summary: a bug in the constructor of class Page
Initial Comment:
The constructor of class Page can create a copy of the input object. The output contains all informations of the old object except info of revisions because of this line: self._revisions = {}
After I got the new object from that method, I called page.get(). The result is that the bot doesn't try to obtain the content because it already has "_revid" and other attribites. So it executes this command: self._revisions[self._revid].text and got the error since self._revisions is a blank dict.
----
Pywikibot branches/rewrite/ (r11366, 2013/04/08, 21:38:06, ok)
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2]
unicode test: ok
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2013-05-09 10:59
Message:
Fixed in rev 11518
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-04-10 00:48
Message:
Sorry, I mistyped. I mean page.put(), not page.get(). Anyway I have sent
the patch for this bug at #3610442. :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3610411&group_…
Bugs item #3546402, was opened at 2012-07-20 10:48
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3546402&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: Russell Blau (russblau)
Summary: Switching sites with different accounts does not re-login
Initial Comment:
Pywikibot [http] branches/rewrite (r10454, 2012/07/13, 23:55:46)
Python 2.7.1 (r271:86832, Feb 8 2011, 09:38:37)
[GCC 4.2.3]
If a script switches between sites and have different account names on these sites it can lead to an incorrect account being used when switching back again. See attached test case script and example output which makes a simple API query against two Wikipedias. The third query does not lead to the bot logging back in to English Wikipedia leading to a discrepancy between the Site() object's user information and the user information returned by the API request.
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2013-05-09 10:51
Message:
Fix in rev 11517
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3546402&group_…
Bugs item #3585401, was opened at 2012-11-08 06:30
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585401&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: Invalid
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
Summary: edit summary does not match interwiki edit
Initial Comment:
Bot made a edit summary but no edit:
http://cs.wikipedia.org/w/index.php?title=Funkce_%28matematika%29&diff=9270…
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2013-05-09 09:25
Message:
The bot did make an edit (just not the type of edit indicated by the edit
summary); the error seems to be in the script, not in the framework.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585401&group_…
Bugs item #3583215, was opened at 2012-11-04 03:08
Message generated for change (Settings changed) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&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: Pending
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
Summary: missing attribut page._pagid after Site.loadinfo(page)
Initial Comment:
Another missing attribut:
Retrieving 50 pages from wikipedia:en.
WARNING: preloadpages: Query returned unexpected title 'International law'
Dump de (wikipedia) appended.
Traceback (most recent call last):
File "C:\Pywikipedia\rw\pwb.py", line 42, in <module>
execfile(sys.argv[0])
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2516, in <module>
if __name__ == "__main__":
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2490, in main
try:
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2248, in run
"""Start the process until finished"""
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2221, in queryStep
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2217, in oneQuery
# Tell all of the subjects that the promised work is done
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 1224, in batchLoaded
if not page.exists():
File "C:\Pywikipedia\rw\pywikibot\page.py", line 411, in exists
return self.site.page_exists(self)
File "C:\Pywikipedia\rw\pywikibot\site.py", line 1153, in page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
and btw "en:International law" exists!
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2013-05-09 09:23
Message:
Cannot reproduce this bug.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 06:25
Message:
a simple example for that is the following command line:
pwb.py interwiki -auto -page:"Liste der Episoden von White Collar" -lang:de
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&group_…
Bugs item #3583215, was opened at 2012-11-04 03:08
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&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: Works For Me
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
Summary: missing attribut page._pagid after Site.loadinfo(page)
Initial Comment:
Another missing attribut:
Retrieving 50 pages from wikipedia:en.
WARNING: preloadpages: Query returned unexpected title 'International law'
Dump de (wikipedia) appended.
Traceback (most recent call last):
File "C:\Pywikipedia\rw\pwb.py", line 42, in <module>
execfile(sys.argv[0])
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2516, in <module>
if __name__ == "__main__":
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2490, in main
try:
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2248, in run
"""Start the process until finished"""
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2221, in queryStep
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2217, in oneQuery
# Tell all of the subjects that the promised work is done
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 1224, in batchLoaded
if not page.exists():
File "C:\Pywikipedia\rw\pywikibot\page.py", line 411, in exists
return self.site.page_exists(self)
File "C:\Pywikipedia\rw\pywikibot\site.py", line 1153, in page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
and btw "en:International law" exists!
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2013-05-09 09:23
Message:
Cannot reproduce this bug.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 06:25
Message:
a simple example for that is the following command line:
pwb.py interwiki -auto -page:"Liste der Episoden von White Collar" -lang:de
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&group_…
Patches item #3612955, was opened at 2013-05-08 21:54
Message generated for change (Tracker Item Submitted) made by dmaggot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3612955&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: David E. Narváez (dmaggot)
Assigned to: Nobody/Anonymous (nobody)
Summary: [flickrripper] Remove starting and traling _ from titles
Initial Comment:
Just another check for invalid titles
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3612955&group_…
Bugs item #3608710, was opened at 2013-03-21 05:55
Message generated for change (Comment added) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3608710&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: Nobody/Anonymous (nobody)
Summary: Two bug
Initial Comment:
See http://www.mediawiki.org/wiki/Manual_talk:Pywikipediabot#Some_bugs_22829
----------------------------------------------------------------------
>Comment By: Amir (amird)
Date: 2013-05-06 07:03
Message:
Done, Thank you :)
----------------------------------------------------------------------
Comment By: Andre Klapper (riot69)
Date: 2013-05-06 06:57
Message:
Last comment on thread says "These are clearly HTTP errors as stated. The
problem is with the server, not the bot. Try again later or contact the
maintainer of the wiki."
Proposing to close this ticket as INVALID.
In general, see https://www.mediawiki.org/wiki/How_to_report_a_bug for how
to write *good* bug reports.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3608710&group_…