Bugs item #1846456, was opened at 2007-12-07 21:30
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1846456&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: AnMaster (anmaster)
Assigned to: xqt (xqt)
Summary: Bad edit by table2wiki.py in <pre>
Initial Comment:
As can be seen in http://gentoo-wiki.com/index.php?title=HOWTO_Use_MRTG_with_a_D-Link_Switch_…
pywikipediabot did a bad edit, it changed a table inside <pre>. That should not be done as it is likely to be an example of HTML code.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:18
Message:
nothing to see on the given page
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1846456&group_…
Bugs item #2011802, was opened at 2008-07-06 17:18
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011802&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: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: cannot find mw messages when deleting page in zhwiki
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5680, Jul 06 2008, 10:31:36)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
When I use speedy_delete.py to delete pages and images, current code cannot find mediawiki messages "actioncomplete" or "cannotdelete", it will return "Deletion of [[xxx]]] failed for an unknown reason." and print all HTML code.(pages look like "page is delete")
I checked current HTML in zhwiki(I only can use delete action in zhwiki) it these messages are not exist.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:08
Message:
I guess this is out of date and works through API now
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011802&group_…
Bugs item #2013579, was opened at 2008-07-08 17:10
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&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: 5
Private: No
Submitted By: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: blockedpageschecker often aborts with "API problem".
Initial Comment:
blockedpageschecker often aborts with "API problem" at unsettled article.
Japanese Wikipedia often has slowly response now, so the bot may fail not to be handling some exception.
-----
Loading [[B'z The Best "ULTRA Treasure"]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
oading [[トヨタテクニカルディベロップメント]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
-----
Pywikipedia [http] trunk/pywikipedia (r5693, Jul 08 2008, 12:26:17)
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 17:02
Message:
As actual release is r7489, is this bug is still valid?
----------------------------------------------------------------------
Comment By: Nightshadow28 (nightshadow28)
Date: 2008-07-08 17:13
Message:
Logged In: YES
user_id=1971526
Originator: YES
I attached traceback as text file on SF. Thanks.
File Added: blockepageschecker.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&group_…
Bugs item #2114782, was opened at 2008-09-16 21:47
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2114782&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: Melancholie (melancholie)
>Assigned to: xqt (xqt)
Summary: featured.py stars nonfeatured articles, if link on talk page
Initial Comment:
featured.py seems to star non-featured articles, when a link pointing to the template is on talk page (if using BACK method).
It seems that featured.py doesn't filter out links and redirects from Special:WhatLinksHere (&hidelinks=1&hideredirs=1).
See:
* http://de.wikipedia.org/w/index.php?title=Br%C3%BCcke_von_Arta&diff=prev&ol…
* http://el.wikipedia.org/wiki/%CE%A3%CF%85%CE%B6%CE%AE%CF%84%CE%B7%CF%83%CE%… (talk page; article itself never contained template)
* http://el.wikipedia.org/wiki/%CE%95%CE%B9%CE%B4%CE%B9%CE%BA%CF%8C:WhatLinks…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 16:58
Message:
done in r7489
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:36
Message:
Does this require a patch, is this not a bug, or what needs to be done to
get this resolved?
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-09-16 21:54
Message:
Note that I have changed the talk page for the moment, as workaround [if
true, next run will show]:
http://el.wikipedia.org/w/index.php?title=%CE%A3%CF%85%CE%B6%CE%AE%CF%84%CE…
So, WhatLinksHere won't show "Talk:FooBarArticle" anymore...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2114782&group_…
Bugs item #2485193, was opened at 2009-01-04 10:58
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&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: None
>Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Murph (pauljmurph)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py: Patch: Ignore variations in newlines on new/old
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6219, Jan 03 2009, 14:34:49)
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
The standard replace.py has a habit of showing a file as having changed, but with zero changes if a \r\n has been changed to \n by one of the patterns. Solution: treat \r\n as \n in the comparison to determine if any changes have been made.
Patch attached.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-02-22 17:15
Message:
Reverted in r6412.
While I understand the issue here, the patch was not the right solution.
strip()-ing the text gives unwanted behavior: let's say you wanted to do
changes such as "^\r\n" "" ! Well, with that patch, that wasn't possible
anymore.
Maybe you could help us giving a special test case where the output is
annoying, so we can fix properly the issue? Replace.py is one of the most
used scripts here, having the best possible behavior matters to us.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 09:45
Message:
Applied in r6296. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&group_…
Bugs item #2853934, was opened at 2009-09-08 00:10
Message generated for change (Settings changed) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853934&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Global bot receives warning for not having local bot flag
Initial Comment:
My bot account currently has the global bot status.
Nevertheless, in wikis where a bot flag was not granted locally, I get the warning:
NOTE: Updating live wiki...
WARNING: Your account on wiktionary:uk does not have a bot flag. Its edits will
be visible in the recent changes and it may get blocked.
This becomes pretty annoying when there are lots of wikis in this situation to update.
The bot should be able to tell whether it's a global bot.
Thanks.
--------------------------------
Pywikipedia [http] trunk/pywikipedia (r7218, 2009/09/07, 09:12:09)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: André Malafaya Baptista (malafaya)
Date: 2009-10-17 14:35
Message:
I had no more problems since then.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-10-13 17:20
Message:
Nope, I was not aware of that setting.
Does it behave well with local accounts (the ones existing prior to
merging to SUL)?
If so, then I guess this can be closed.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-12 08:31
Message:
Did you set the following parameter in your user_config.py:
account_global = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853934&group_…
Bugs item #2780178, was opened at 2009-04-24 09:12
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2780178&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: v1.0 (example)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: newimages() error
Initial Comment:
newimages() on wikipedia.py, use repeat = True, can't agian load new images.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-06 13:58
Message:
If you have fixed this bug could you please mark it as fixed and close it?
----------------------------------------------------------------------
Comment By: shizhao (wikishizhao)
Date: 2009-04-27 15:07
Message:
have fix! r6736
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2780178&group_…
Bugs item #2815359, was opened at 2009-07-01 20:49
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2815359&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: Pending
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Taxman (taxman457f)
>Assigned to: xqt (xqt)
Summary: ValueError: on updating links
Initial Comment:
I was running pywikipedia -confirm manually on http://es.wikipedia.org/wiki/Tango. After resolving a number of conflicts it was finally ready to save but returned the following traceback:
What should be done? ([A]ccept, [r]eject, [g]ive up, accept a[l]l) a
Updating links on page [[es:Tango]].
Dump es (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 2156, in <module>
bot.run()
File "interwiki.py", line 1865, in run
self.queryStep()
File "interwiki.py", line 1843, in queryStep
subj.finish(self)
File "interwiki.py", line 1401, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1501, in replaceLinks
mods, mcomment, adding, removing, modifying = compareLanguages(old, new, insite = page.site())
File "interwiki.py", line 1893, in compareLanguages
head, add, rem, mod = wikipedia.translate(insite.lang, msg)
ValueError: need more than 3 values to unpack
I'm at pywikipedia revision 7010 running on Ubuntu 9.04
taxman@taxman-desktop:~/pyawb/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7009, Jul 01 2009, 15:15:50)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 15:16
Message:
I couldn't retrace this bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2815359&group_…
Bugs item #2840435, was opened at 2009-08-19 18:32
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2840435&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: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Compilaion Error in standardize_notes.py
Initial Comment:
The output of "python version.py" is as follows:
Pywikipedia [http] trunk/pywikipedia (r7163, 2009/08/18, 11:39:18)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Problem:
When I compile this script with the nightly update, it gets the following error:
File "standardize_notes.py", line 421
if not text_line.startswith( u'<!--' ):
^
IndentationError: expected an indented block
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 14:10
Message:
done in r7487
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2840435&group_…
Bugs item #2801955, was opened at 2009-06-05 22:21
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2801955&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: Ilmari Karonen (vyznev)
Assigned to: Nobody/Anonymous (nobody)
Summary: API queries always using default site
Initial Comment:
There's recently been some cases on Commons where BetacommandBot has unintentionally pulled a file from Wikipedia rather than from Commons when trying to do a rename: see discussion at http://commons.wikimedia.org/wiki/Commons:Administrators'_noticeboard#Strange_things_happening_during_renaming
I took a look at the code, and it seems a lot of methods in wikipedia.py (and maybe elsewhere, haven't checked) are calling query.GetData() without passing an explicit site parameter, causing query.py to use the default site given by default_code and default_family. Now, I'm no Python expert and not particularly familiar with pywikipedia, but this looks like it would cause problems whenever multiple sites are involved.
Adding something like "site = self.site()" to the query.GetData() calls ought to fix this, but someone also really ought to look over the code and see how deep this problem may go.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-17 13:30
Message:
done in r7203 by alexsh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2801955&group_…