Feature Requests item #1780662, was opened at 2007-08-24 01:03
Message generated for change (Settings changed) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1780662&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: Merlijn S. van Deen (valhallasw)
>Assigned to: Merlijn S. van Deen (valhallasw)
Summary: interwiki.py ignoring commented iw-links
Initial Comment:
Quote:
:::::The "AI" I've been proposing for a while is simple: check whether the link is already on the page but has been commented out. That means human editors are aware the link target exists, but have made a conscious decision to not use it. Which is all the bot needs to know. Shouldn't be difficult to implement. [[User:Future Perfect at Sunrise|Fut.Perf.]] [[User talk:Future Perfect at Sunrise|☼]] 17:30, 23 August 2007 (UTC)
i.e. interwiki.py should check the page for existing interwiki links in the format
<!--[[ru-sib:...]]-->
or check for a template in the form
{{iwignore|[[ru-sib:...]]}}
which might be easier to implement.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1780662&group_…
Feature Requests item #1780662, was opened at 2007-08-24 01:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1780662&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: Merlijn S. van Deen (valhallasw)
Assigned to: Daniel Herding (wikipedian)
Summary: interwiki.py ignoring commented iw-links
Initial Comment:
Quote:
:::::The "AI" I've been proposing for a while is simple: check whether the link is already on the page but has been commented out. That means human editors are aware the link target exists, but have made a conscious decision to not use it. Which is all the bot needs to know. Shouldn't be difficult to implement. [[User:Future Perfect at Sunrise|Fut.Perf.]] [[User talk:Future Perfect at Sunrise|☼]] 17:30, 23 August 2007 (UTC)
i.e. interwiki.py should check the page for existing interwiki links in the format
<!--[[ru-sib:...]]-->
or check for a template in the form
{{iwignore|[[ru-sib:...]]}}
which might be easier to implement.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1780662&group_…
Bugs item #1672346, was opened at 2007-03-02 12:33
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1672346&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: uncaught socket.error exception
Initial Comment:
I got an uncaught socket error in one of my scripts today:
Traceback (most recent call last):
File "./replace-link.py", line 256, in ?
page.put(changedict[title], summ)
File "wikipedia.py", line 981, in put
return self.putPage(newtext, comment, watchArticle, minorEdit, newPage, self.site().getToken(sysop = sysop), sysop = sysop)
File "wikipedia.py", line 1049, in putPage
response, data = self.site().postForm(address, predata, sysop = sysop)
File "wikipedia.py", line 2673, in postForm
return self.postData(address, data, sysop = sysop)
File "wikipedia.py", line 2696, in postData
conn.endheaders()
File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
self._send_output()
File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
self.send(msg)
File "/usr/lib/python2.4/httplib.py", line 646, in send
self.connect()
File "/usr/lib/python2.4/httplib.py", line 630, in connect
raise socket.error, msg
socket.error: (110, 'Connection timed out')
Since all that socket juggling is private to wikipedia.py, I suggest that this exception be caught and re-raised as a wikipedia.Error.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-23 18:01
Message:
Logged In: YES
user_id=687283
Originator: NO
Fixed in r4099 (socked.error is caught in postForm)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-08-23 16:44
Message:
Logged In: NO
As of SVN revision 4096, socket errors from wikipedia.py:3174-3176 are not
caught (the comment just before these lines even makes note of this
fact).
I suggest
response = conn.getresponse()
data = response.read().decode(self.encoding())
conn.close()
be changed to
try:
response = conn.getresponse()
data = response.read().decode(self.encoding())
conn.close()
except socket.error, errmsg:
raise ServerError(errmsg)
It's really annoying to have a longer bot job that is aware of
wikipedia.Error crash because of an intermittent "Connection reset by
peer".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1672346&group_…
Bugs item #1780332, was opened at 2007-08-23 17:08
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332&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: page.put refuses to edit redirects
Initial Comment:
As of rev 4096, page.put raises IsRedirectPage whenever page is a redirect page:
File "./nsrw-move.py", line 79, in ?
page.put(overwrite, oversumm, minorEdit = False)
File "wikipedia.py", line 1056, in put
if not self.botMayEdit():
File "wikipedia.py", line 753, in botMayEdit
txt = self.get();
File "wikipedia.py", line 519, in get
self._contents, self._isWatched, self.editRestriction = self.getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "wikipedia.py", line 663, in getEditPage
raise IsRedirectPage(redirtarget)
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-23 17:50
Message:
Logged In: YES
user_id=687283
Originator: NO
Fixed in r4098. Sorry for the inconvenience (:
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332&group_…
Bugs item #1573102, was opened at 2006-10-08 03:34
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1573102&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: Leonardo Gregianin (leogregianin)
Summary: Page moves are unthrottled
Initial Comment:
Not sure if this is a feature or a bug:
The -putthrottle:xx flag does not seem to have any
effect on page moves.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-08-23 08:10
Message:
Logged In: NO
Page moves appear to be unthrottled again. A regression must have sneaked
in somewhere.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2006-12-15 02:44
Message:
Logged In: YES
user_id=1136737
Originator: NO
movepages.py 1.17 and wikipedia.py 1.775 fixed this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1573102&group_…
Bugs item #1780332, was opened at 2007-08-23 08:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332&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: page.put refuses to edit redirects
Initial Comment:
As of rev 4096, page.put raises IsRedirectPage whenever page is a redirect page:
File "./nsrw-move.py", line 79, in ?
page.put(overwrite, oversumm, minorEdit = False)
File "wikipedia.py", line 1056, in put
if not self.botMayEdit():
File "wikipedia.py", line 753, in botMayEdit
txt = self.get();
File "wikipedia.py", line 519, in get
self._contents, self._isWatched, self.editRestriction = self.getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "wikipedia.py", line 663, in getEditPage
raise IsRedirectPage(redirtarget)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332&group_…
Bugs item #1752923, was opened at 2007-07-12 21:34
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1752923&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: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki edits pages marked with {{nobots}}
Initial Comment:
{{nobots}} on a page doenst have any effect. The bot still edits these pages.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-23 16:50
Message:
Logged In: YES
user_id=687283
Originator: NO
Fixed in r4096 (page.put() now obeys {{bots}} and {{nobots}} by default)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1752923&group_…
Bugs item #1735770, was opened at 2007-06-12 16:04
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1735770&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: 3
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interrupting bot with Ctrl-C doesn't decrement process count
Initial Comment:
If I hit Ctrl-C while interwiki.py is running, I'll get the corresponding dump of what was being processed. If I run again interwiki.py, I'll get the message:
Checked for running processes. 2 processes currently running, including the current process.
If I repeat the above procedure, I'll get 3 and so on.
This will eventually degrade the processing throttle and in no time the bot will be sleeping over a minute between page fetches.
A bot process count decrement would be desireable every time a bot exits (whether graciously or not, if possible).
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-23 16:49
Message:
Logged In: YES
user_id=687283
Originator: NO
I added a stopme() in the quit function in r4096, so this problem should
no longer exist (as long as you don't press ctrl-c 20 times or so, and kill
-9 probably still breaks it). Oh, and don't try reload(wikipedia) ;)
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2007-06-13 19:30
Message:
Logged In: YES
user_id=1037345
Originator: YES
I pressed Ctrl-C immediately after the bot started retrieving from
AllPages in the source Wikipedia (after noticing I had incorrect language
code).
Curiously, as of today, it seems I can't reproduce it anymore either...
Dropped issue?
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2007-06-13 18:03
Message:
Logged In: YES
user_id=880694
Originator: NO
I cannot reproduce this. At which moment do you press CTRL-C?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1735770&group_…