Bugs item #2966802, was opened at 2010-03-09 18:08
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966802&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: "browse" to page with ' in the name
Initial Comment:
% python version.py
Pywikipedia [http] trunk/pywikipedia (r7976, 2010/03/04, 05:43:35)
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)]
---8<---
When using replace.py and asking to browse to a page with a single quote in the name causes an assertion error. Trace here:
Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a]ll, [q]uit) b
Traceback (most recent call last):
File "replace.py", line 719, in <module>
main()
File "replace.py", line 714, in main
bot.run()
File "replace.py", line 422, in run
page.site().nice_get_address(page.title())
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 61, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 570, in open
AssertionError
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966802&group_…
Bugs item #2966436, was opened at 2010-03-09 13:34
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966436&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: fungiblename ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Login no longer available
Initial Comment:
I get the following errors when using a known good user-config.py and family configurations for an SVN checkout of 2009-11-05. This is for a local wiki.
Using 2010-03-09, I get the following error on Ubuntu 9.04 (Python 2.6.2) and Ubuntu 8.04 (Python 2.5.2):
Logging into FamilyName:en as UserName via API
Error downloading data: No JSON object could be decoded
Request: en:/scriptpath/api.php?
Retrying in 1 minutes.... (I changed line 152 of query.py to retry_idle_time*0.01 so I could see the dump without growing a beard first)
Dump output:
Error reported: No JSON object could be decoded
127.0.0.1
/hcrscript/api.php?
{"login":{"result":"Success","lguserid":3,"lgusername":"UserName","lgtoken":"2b448df9379b445c225c0a5c1d3af18b","cookieprefix":"DatabaseName","sessionid":"3dd4cc3dd33236b57da8234d2f73e6d3"}}
on Ubuntu 9.04:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34)
Python 2.6.2 (release26-maint, April 19, 2009, 01:56:41)
[GCC 4.3.3]
also broken on Ubuntu 8.04
python version.py
Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34)
Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
But it seems to work fine on this system:
foreignhost:pywikipedia-2010-03-09 alex$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7983, 2010/03/09, 08:14:34)
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)]
Any ideas what's happening?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2966436&group_…
Bugs item #2965028, was opened at 2010-03-07 14:04
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&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: Fixed
Priority: 5
Private: No
Submitted By: masti (masti01)
>Assigned to: xqt (xqt)
Summary: fi interwiki on templates
Initial Comment:
I was informed that on fi.wikipedia interwiki for templates should not be put on template page itself like http://fi.wikipedia.org/w/index.php?title=Malline%3ALentoasema&action=histo… but on template metapage.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-09 09:16
Message:
done in r7983
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&group_…
Bugs item #2965634, was opened at 2010-03-08 22:56
Message generated for change (Tracker Item Submitted) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965634&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: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki and wikiprojects
Initial Comment:
r7981
Bots delete (http://ru.wikipedia.org/w/index.php?diff=21744238&oldid=21174086) some interwikis. Look at the bottom of the page: links to es-, fr-, it-wikis were deleted. That wikis have their own separate namespaces for wikiprojects.
Is it possible to stop removing interwikis between "Wikipedia" namespace in one wiki and "Wikiproject" namespace in another ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965634&group_…
Feature Requests item #2964102, was opened at 2010-03-05 20:07
Message generated for change (Comment added) made by p858snake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&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: 5
Private: No
Submitted By: p858snake (p858snake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support the use of Assert Edit
Initial Comment:
It would be nice if the use of the Assert Edit[1] extension was supported by the framework, Because for the wikis it is depolyed on (All WMF wikis) it would prevent bots from editing unlogged inif they choose to have it assert its edits.
[1]. http://www.mediawiki.org/wiki/Extension:Assert_Edit
----------------------------------------------------------------------
>Comment By: p858snake (p858snake)
Date: 2010-03-08 08:46
Message:
Time? all the asserting does is add something like "&assert=bot" to the end
of the address and it returns to the bot interface if it has the right or
not, and it should check every edit.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-08 07:48
Message:
What checking period does the BAG propose? Every start? Every five minutes?
Every hour? Every edit, every 10, every 100?
----------------------------------------------------------------------
Comment By: Josh Parris (joshparris)
Date: 2010-03-06 23:38
Message:
The en Bot Approval Group is considering this as a future requirement for
bots
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Feature Requests item #2964102, was opened at 2010-03-05 11:07
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&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: 5
Private: No
Submitted By: p858snake (p858snake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support the use of Assert Edit
Initial Comment:
It would be nice if the use of the Assert Edit[1] extension was supported by the framework, Because for the wikis it is depolyed on (All WMF wikis) it would prevent bots from editing unlogged inif they choose to have it assert its edits.
[1]. http://www.mediawiki.org/wiki/Extension:Assert_Edit
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-07 22:48
Message:
What checking period does the BAG propose? Every start? Every five minutes?
Every hour? Every edit, every 10, every 100?
----------------------------------------------------------------------
Comment By: Josh Parris (joshparris)
Date: 2010-03-06 14:38
Message:
The en Bot Approval Group is considering this as a future requirement for
bots
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Bugs item #2965155, was opened at 2010-03-07 22:39
Message generated for change (Tracker Item Submitted) made by paleozavr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965155&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: aindrij Bondarenko (paleozavr)
Assigned to: Nobody/Anonymous (nobody)
Summary: imagetransfer.py does not work
Initial Comment:
This text it writes instead of working
C:\bot3>imagetransfer.py -fromlang:en -tolang:uk
C:\bot3\imagetransfer.py:32: DeprecationWarning: the md5 module is deprecated; u
se hashlib instead
import re, sys, md5, urllib
Traceback (most recent call last):
File "C:\bot3\imagetransfer.py", line 310, in <module>
main()
File "C:\bot3\imagetransfer.py", line 306, in main
bot.run()
File "C:\bot3\imagetransfer.py", line 235, in run
imagelist = page.imagelinks(followRedirects = True)
File "C:\bot3\wikipedia.py", line 2262, in imagelinks
for page in self.linkedPages(withImageLinks = True):
File "C:\bot3\wikipedia.py", line 2209, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "C:\bot3\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = t
hrottle, sysop = sysop)
File "C:\bot3\wikipedia.py", line 692, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page does not
exist. In rare cases, if you are certain the page does exist, look into overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:uk, u'[[uk:-fromlang:en]]', 'Page does n
ot exist. In rare cases, if you are certain the page does exist, look into overr
iding family.RversionTab')
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965155&group_…
Bugs item #2965028, was opened at 2010-03-07 14:04
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: fi interwiki on templates
Initial Comment:
I was informed that on fi.wikipedia interwiki for templates should not be put on template page itself like http://fi.wikipedia.org/w/index.php?title=Malline%3ALentoasema&action=histo… but on template metapage.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2965028&group_…
Bugs item #2960436, was opened at 2010-02-28 00:26
Message generated for change (Comment added) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&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: masti (masti01)
Assigned to: xqt (xqt)
Summary: interwiki does not resume with -continue
Initial Comment:
While running interwiki.py when an interwiki dump file does not exists the script properly saves it and you can use -continue option to restart. When it exists it will not be saved and the bot restarts using old interwiki dump so when the previous run has started.
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7972, 2010/02/27, 10:13:26)
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
----------------------------------------------------------------------
Comment By: masti (masti01)
Date: 2010-03-06 23:14
Message:
No, it starts from the first line of dump, which was processed long time
ago. In my example when a bot was editing pages beginnig with "R" and dump
file entries where from J to R, with -continue it started from J.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-04 06:51
Message:
When a dumpfile still exists the dumpf will be saved to the existing one
and the bot takes the alphabetical last pages to -continue. This could
cause to continue like a previous run after processing all pages above.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&group_…
Feature Requests item #2964102, was opened at 2010-03-05 21:07
Message generated for change (Comment added) made by joshparris
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&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: 5
Private: No
Submitted By: p858snake (p858snake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support the use of Assert Edit
Initial Comment:
It would be nice if the use of the Assert Edit[1] extension was supported by the framework, Because for the wikis it is depolyed on (All WMF wikis) it would prevent bots from editing unlogged inif they choose to have it assert its edits.
[1]. http://www.mediawiki.org/wiki/Extension:Assert_Edit
----------------------------------------------------------------------
Comment By: Josh Parris (joshparris)
Date: 2010-03-07 00:38
Message:
The en Bot Approval Group is considering this as a future requirement for
bots
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Bugs item #2963459, was opened at 2010-03-04 16:14
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: update disambig templates
Initial Comment:
Please add another disambig template for br.wiki and remove wrong disambig template for la.wiki. In la.wiki, 'disambig' template is actually used not to mark disambigs but to make a link to a disambig page (like 'other uses'). This confusion causes bots misbehaviour and leads to blocks.
'br': [u'Hvlstumm', u'Digejañ', u'Digejañ anvioù-badez',
- u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud'],
+ u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud', u'Disheñvelout'],
- 'la': [u'Discretiva', u'Disnomen', u'Disambig'],
+ 'la': [u'Discretiva', u'Disnomen'],
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-06 13:48
Message:
done in r7981
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&group_…
Bugs item #2963405, was opened at 2010-03-04 15:02
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&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: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: addinfourl instance has no attribute 'status'
Initial Comment:
% python version.py
Pywikipedia [http] trunk/pywikipedia (r7976, 2010/03/04, 05:43:35)
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)]
Connecting to Memory Alpha (MediaWiki v1.15.1)
-----
I see that a similar bug was fixed back in Nov/09 (#2893541)
Traceback (most recent call last):
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 7701, in async_put
page.put(newtext, comment, watchArticle, minorEdit, force)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1599, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1631, in _putPage
newPage, token, newToken, sysop, captcha, botflag, maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 2084, in _putPageOld
if response.status != 302 and data.strip() != u"":
AttributeError: addinfourl instance has no attribute 'status'
The fix for this is as follows:
Index: wikipedia.py
===================================================================
--- wikipedia.py (revision 7976)
+++ wikipedia.py (working copy)
@@ -2081,7 +2081,7 @@
return self._putPageOld(text, comment, watchArticle, minorEdit, newPage, token, newToken, sysop, captcha=solve)
# We are expecting a 302 to the action=view page. I'm not sure why this was removed in r5019
- if response.status != 302 and data.strip() != u"":
+ if response.code != 302 and data.strip() != u"":
# Something went wrong, and we don't know what. Show the
# HTML code that hopefully includes some error message.
output(u"ERROR: Unexpected response from wiki server.")
-----
That solves the issue for you.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-06 11:45
Message:
fıxed in r7980
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&group_…
Bugs item #2929350, was opened at 2010-01-10 17:41
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.py
Initial Comment:
try to block a user with :
badUser = userlib.User(site=self.mySite, name="123.123.123.123")
badUser.block(expiry="2 hours", reason="did bad things", noCreate=True, onAutoblock=True, allowUsertalk=False)
You will get an KeyError. This is a patch for solving the problem.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-06 00:40
Message:
The API does not allow IP users. Please re-open when this changes.
userlib.py rr7979 now throws an exception when IP users are used.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-05 23:48
Message:
Moved to 'bugs'. The proposed solution merely hides the problem instead of
solving it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&group_…
Bugs item #2929350, was opened at 2010-01-10 17:41
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&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: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyError in userlib.py
Initial Comment:
try to block a user with :
badUser = userlib.User(site=self.mySite, name="123.123.123.123")
badUser.block(expiry="2 hours", reason="did bad things", noCreate=True, onAutoblock=True, allowUsertalk=False)
You will get an KeyError. This is a patch for solving the problem.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2010-03-05 23:48
Message:
Moved to 'bugs'. The proposed solution merely hides the problem instead of
solving it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2929350&group_…
Feature Requests item #2964102, was opened at 2010-03-05 20:07
Message generated for change (Tracker Item Submitted) made by p858snake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&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: 5
Private: No
Submitted By: p858snake (p858snake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support the use of Assert Edit
Initial Comment:
It would be nice if the use of the Assert Edit[1] extension was supported by the framework, Because for the wikis it is depolyed on (All WMF wikis) it would prevent bots from editing unlogged inif they choose to have it assert its edits.
[1]. http://www.mediawiki.org/wiki/Extension:Assert_Edit
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2964102&group_…
Bugs item #2963459, was opened at 2010-03-04 15:14
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: update disambig templates
Initial Comment:
Please add another disambig template for br.wiki and remove wrong disambig template for la.wiki. In la.wiki, 'disambig' template is actually used not to mark disambigs but to make a link to a disambig page (like 'other uses'). This confusion causes bots misbehaviour and leads to blocks.
'br': [u'Hvlstumm', u'Digejañ', u'Digejañ anvioù-badez',
- u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud'],
+ u"Digejañ lec'hanvioù", u'Digejañ anvioù-tud', u'Disheñvelout'],
- 'la': [u'Discretiva', u'Disnomen', u'Disambig'],
+ 'la': [u'Discretiva', u'Disnomen'],
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963459&group_…
Bugs item #2963405, was opened at 2010-03-04 14:02
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: addinfourl instance has no attribute 'status'
Initial Comment:
% python version.py
Pywikipedia [http] trunk/pywikipedia (r7976, 2010/03/04, 05:43:35)
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)]
Connecting to Memory Alpha (MediaWiki v1.15.1)
-----
I see that a similar bug was fixed back in Nov/09 (#2893541)
Traceback (most recent call last):
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 7701, in async_put
page.put(newtext, comment, watchArticle, minorEdit, force)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1599, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 1631, in _putPage
newPage, token, newToken, sysop, captcha, botflag, maxTries)
File "/Users/alex/MA/pywikipedia/wikipedia.py", line 2084, in _putPageOld
if response.status != 302 and data.strip() != u"":
AttributeError: addinfourl instance has no attribute 'status'
The fix for this is as follows:
Index: wikipedia.py
===================================================================
--- wikipedia.py (revision 7976)
+++ wikipedia.py (working copy)
@@ -2081,7 +2081,7 @@
return self._putPageOld(text, comment, watchArticle, minorEdit, newPage, token, newToken, sysop, captcha=solve)
# We are expecting a 302 to the action=view page. I'm not sure why this was removed in r5019
- if response.status != 302 and data.strip() != u"":
+ if response.code != 302 and data.strip() != u"":
# Something went wrong, and we don't know what. Show the
# HTML code that hopefully includes some error message.
output(u"ERROR: Unexpected response from wiki server.")
-----
That solves the issue for you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2963405&group_…
Bugs item #2960436, was opened at 2010-02-28 00:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&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: masti (masti01)
>Assigned to: xqt (xqt)
Summary: interwiki does not resume with -continue
Initial Comment:
While running interwiki.py when an interwiki dump file does not exists the script properly saves it and you can use -continue option to restart. When it exists it will not be saved and the bot restarts using old interwiki dump so when the previous run has started.
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7972, 2010/02/27, 10:13:26)
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-04 06:51
Message:
When a dumpfile still exists the dumpf will be saved to the existing one
and the bot takes the alphabetical last pages to -continue. This could
cause to continue like a previous run after processing all pages above.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2960436&group_…
Patches item #2960331, was opened at 2010-02-27 19:53
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&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: Translations
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: xqt (xqt)
Summary: featured.py +tt.wiki
Initial Comment:
in patch.
Tested - works OK
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-04 06:44
Message:
done in r7976. Thanks!
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-03-03 20:48
Message:
ok, done, Tested - OK
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-03 20:24
Message:
I would prefer a unicode string instead of such encoding stuff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&group_…
Patches item #2960331, was opened at 2010-02-27 19:53
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&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: Accepted
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: xqt (xqt)
Summary: featured.py +tt.wiki
Initial Comment:
in patch.
Tested - works OK
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-04 06:44
Message:
done in r7976. Thanks!
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-03-03 20:48
Message:
ok, done, Tested - OK
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-03 20:24
Message:
I would prefer a unicode string instead of such encoding stuff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&group_…
Patches item #2960331, was opened at 2010-02-27 21:53
Message generated for change (Comment added) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&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: Linar Khalitov (rubin16)
Assigned to: xqt (xqt)
Summary: featured.py +tt.wiki
Initial Comment:
in patch.
Tested - works OK
----------------------------------------------------------------------
>Comment By: Linar Khalitov (rubin16)
Date: 2010-03-03 22:48
Message:
ok, done, Tested - OK
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-03 22:24
Message:
I would prefer a unicode string instead of such encoding stuff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&group_…
Patches item #2960331, was opened at 2010-02-27 19:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&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: Linar Khalitov (rubin16)
>Assigned to: xqt (xqt)
Summary: featured.py +tt.wiki
Initial Comment:
in patch.
Tested - works OK
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-03-03 20:24
Message:
I would prefer a unicode string instead of such encoding stuff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2960331&group_…
Patches item #2789651, was opened at 2009-05-10 09:03
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2789651&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: Accepted
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: xqt (xqt)
Summary: proxy support for pywikibot
Initial Comment:
run this first: apt-get install python-socksipy
then configure like this in user-config.py:
import httplib2
import socks
proxy = httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP, 'localhost', 8000)
some lines like this will be printed, but it works.
Configuration variable 'httplib2' is defined but unknown. Misspelled?
Configuration variable 'socks' is defined but unknown. Misspelled?
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-03-03 02:20
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-02-16 16:04
Message:
please confirm the documentation at config2.py
----------------------------------------------------------------------
Comment By: liangent (liangent)
Date: 2009-12-01 04:54
Message:
It's for the rewrite version.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-11-30 11:54
Message:
This patch does not apply properly. "config2.py" and "threadedhttp.py" do
not exists in pywikipediabot. Please submit a new patch. Status set to
pending. Will be closed as invalid in case no corrected patch is submitted.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2789651&group_…
Bugs item #2605385, was opened at 2009-02-16 12:28
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2605385&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: Robert Ullmann (robertullmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: wiktionary sort order for ms and da
Initial Comment:
It was pointed out to me that the order used for ms.wikt (default code-alpha) is incorrect, they use the order used by ms.wp: "alphabetic_revised"
Also: da.wikt wants the order to be "alphabetic"
Does anyone look at "feature requests"? Took me a while to realize they were separate from "bugs".
Pywikipedia [http] trunk/pywikipedia (r6353, Feb 14 2009, 14:36:27)
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-03-03 02:20
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-02-16 07:51
Message:
Please give a link of a community consensus and register the new sorting
order at http://meta.wikimedia.org/wiki/Interwiki_sorting_order
----------------------------------------------------------------------
Comment By: Robert Ullmann (robertullmann)
Date: 2009-03-09 15:01
Message:
I have no idea how to "create a patch file".
----------------------------------------------------------------------
Comment By: erwin85 (erwin85_wp)
Date: 2009-03-07 11:01
Message:
Could you please create a patch file including the alphabetic_revised list
for the Wiktionary family?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2605385&group_…