Bugs item #2994661, was opened at 2010-04-30 09:53
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2994661&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: links to pages in error messages
Initial Comment:
Please make sure in warnings/error messages in bots output pages ALWAYS come with language codes. This would make it easier to analyse logs and track issues. So e.g. in wikipedia.py it should rather be
elif isinstance(error, PageNotSaved):
output(u"Saving page %s failed: %s"
% (page.aslink(True), error))
instead of
elif isinstance(error, PageNotSaved):
output(u"Saving page [[%s]] failed: %s"
% (page.title(), error))
Please fix all similar occurrences so that pages are always accompanied by a language code. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2994661&group_…
Bugs item #2993438, was opened at 2010-04-28 11:46
Message generated for change (Comment added) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&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: Works For Me
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py
Initial Comment:
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8133, 2010/04/27, 16:45:03)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
C:\pt>python redirect.py double
Traceback (most recent call last):
File "redirect.py", line 62, in <module>
import wikipedia as pywikibot
File "C:\pt\wikipedia.py", line 126, in <module>
import httplib, socket, urllib, urllib2, cookielib
File "C:\Python26\lib\httplib.py", line 78, in <module>
import mimetools
File "C:\Python26\lib\mimetools.py", line 6, in <module>
import tempfile
File "C:\Python26\lib\tempfile.py", line 34, in <module>
from random import Random as _Random
File "C:\Python26\lib\random.py", line 873, in <module>
_inst = Random()
File "C:\Python26\lib\random.py", line 96, in __init__
self.seed(x)
File "C:\Python26\lib\random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
WindowsError: [Error -2146893818]
So, redirect.py doesn't work :(
----------------------------------------------------------------------
>Comment By: Linar Khalitov (rubin16)
Date: 2010-04-28 18:00
Message:
my mistake. sorry
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-28 14:54
Message:
works OK on another server (*nix based), looking for a reason - if somebody
knows, help is needed :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&group_…
Bugs item #2993438, was opened at 2010-04-28 11:46
Message generated for change (Comment added) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&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: Pending
Resolution: None
>Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py
Initial Comment:
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8133, 2010/04/27, 16:45:03)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
C:\pt>python redirect.py double
Traceback (most recent call last):
File "redirect.py", line 62, in <module>
import wikipedia as pywikibot
File "C:\pt\wikipedia.py", line 126, in <module>
import httplib, socket, urllib, urllib2, cookielib
File "C:\Python26\lib\httplib.py", line 78, in <module>
import mimetools
File "C:\Python26\lib\mimetools.py", line 6, in <module>
import tempfile
File "C:\Python26\lib\tempfile.py", line 34, in <module>
from random import Random as _Random
File "C:\Python26\lib\random.py", line 873, in <module>
_inst = Random()
File "C:\Python26\lib\random.py", line 96, in __init__
self.seed(x)
File "C:\Python26\lib\random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
WindowsError: [Error -2146893818]
So, redirect.py doesn't work :(
----------------------------------------------------------------------
>Comment By: Linar Khalitov (rubin16)
Date: 2010-04-28 14:54
Message:
works OK on another server (*nix based), looking for a reason - if somebody
knows, help is needed :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&group_…
Bugs item #2993438, was opened at 2010-04-28 11:46
Message generated for change (Settings changed) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&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: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py
Initial Comment:
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8133, 2010/04/27, 16:45:03)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
C:\pt>python redirect.py double
Traceback (most recent call last):
File "redirect.py", line 62, in <module>
import wikipedia as pywikibot
File "C:\pt\wikipedia.py", line 126, in <module>
import httplib, socket, urllib, urllib2, cookielib
File "C:\Python26\lib\httplib.py", line 78, in <module>
import mimetools
File "C:\Python26\lib\mimetools.py", line 6, in <module>
import tempfile
File "C:\Python26\lib\tempfile.py", line 34, in <module>
from random import Random as _Random
File "C:\Python26\lib\random.py", line 873, in <module>
_inst = Random()
File "C:\Python26\lib\random.py", line 96, in __init__
self.seed(x)
File "C:\Python26\lib\random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
WindowsError: [Error -2146893818]
So, redirect.py doesn't work :(
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&group_…
Bugs item #2993438, was opened at 2010-04-28 11:46
Message generated for change (Tracker Item Submitted) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py
Initial Comment:
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8133, 2010/04/27, 16:45:03)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
C:\pt>python redirect.py double
Traceback (most recent call last):
File "redirect.py", line 62, in <module>
import wikipedia as pywikibot
File "C:\pt\wikipedia.py", line 126, in <module>
import httplib, socket, urllib, urllib2, cookielib
File "C:\Python26\lib\httplib.py", line 78, in <module>
import mimetools
File "C:\Python26\lib\mimetools.py", line 6, in <module>
import tempfile
File "C:\Python26\lib\tempfile.py", line 34, in <module>
from random import Random as _Random
File "C:\Python26\lib\random.py", line 873, in <module>
_inst = Random()
File "C:\Python26\lib\random.py", line 96, in __init__
self.seed(x)
File "C:\Python26\lib\random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
WindowsError: [Error -2146893818]
So, redirect.py doesn't work :(
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2993438&group_…
Bugs item #2985959, was opened at 2010-04-12 14:57
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985959&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: Invalid
Priority: 5
Private: No
Submitted By: shizhao (wikishizhao)
Assigned to: xqt (xqt)
Summary: IsRedirectPage error
Initial Comment:
if nontalkpage.isEmpty():
File "/home/shizhao2/talk/wikipedia.py", line 1025, in isEmpty
txt = self.get()
File "/home/shizhao2/talk/wikipedia.py", line 609, in get
raise IsRedirectPage, self._redirarg
pywikibot.exceptions.IsRedirectPage: Template:Canon DSLR cameras
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-04-28 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-04-13 07:03
Message:
isEmpty() can raise the same exceptions as get()
As I have no further information which script you are running on which
site (and I guess Template:Canon DSLR cameras is a redirect), I couldn't
help yet.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985959&group_…
Bugs item #2531935, was opened at 2009-01-23 23:29
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&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: Purodha B Blissenbach (purodha)
Summary: -hintfile: option
Initial Comment:
The newly introduced version -hintfile: is not well-documented or it's not working as expected.
It asks for a page to be checked (see below) while (according to [2284955] interwiki hints from file) it's supposed to read both a local page and a hint page from file. Please fix it. Thanks!
python interwiki.py -hintfile:
Please enter the hint filename: hints.txt
Which page to check:
Pywikipedia [http] trunk/pywikipedia (r6291, Jan 23 2009, 16:08:14)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-27 20:42
Message:
anyone out there to take care of this?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-06-26 13:25
Message:
this simple code should be working for this purpose
f = codecs.open(hintfilename, 'r', config.textfile_encoding)
R = re.compile(ur'\[\[\:?(.*?)\]\]\s+\[\[\:?(.*)\]\]')
for line in R.findall(f.read()):
pageTitle = line[0]
hintTitle = line[1]
just make a proper call to
yield wikipedia.Page(site, pageTitle)
and
hints.append(hintTitle)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-06-25 16:07
Message:
I guess we need to combine "TextfilePageGenerator" from pagegenerators.py
and "hintfile" from interwiki.py, so that both the page title and the hint
are read, line by line, from the same hintfilename - page title from the
first pair of brackets [[]], and the hint - from the second pair of
brackets in the same line within hintfile. Is it possible to implement
this, please?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-07 09:52
Message:
No, it's not exactly what I asked for. In the original feature request
#2284955
[http://sourceforge.net/tracker/index.php?func=detail&aid=2284955&group_id=9…],
as far as I can see, the idea was to read both starting pages and hints
from the same file, line per line, and to make an array of pages to be
processed and relevant hints.
# [[:xx:page_without_interwiki]] [[:en:English_page_used_as_a_hint]]
Working on a single page with -hintfile option doesn't seem to be that
useful.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2009-03-03 09:44
Message:
What you want to have, in the above example, can be had with:
python interwiki.py -v -hintfile: -file:
Pywikipediabot (r6439 (wikipedia.py), Feb 24 2009, 21:48:26)
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2]
Please enter the hint filename: hints.txt
Please enter the local file name: local-page-title.txt
There is no documentation saying that -hintfile: was overriding or
altering
the processing of any other parameter (and in fact, it does not)
Be aware that it is hardly useful to have a file with several page titles
given
via -file: when -hintfile: is being used, since hints would apply to each
of those
pages, provoking interwiki conflicts.
Thus -hintfile: is likely more often used with a singe page title on the
command
line. That does not preclude, however, a single page title being read from
a file
using -file:
If, and only if, the file given via -hintfile: has only unspecific hints,
such as [[10:]]
or [[en:]] or [[latin:]], (or all specific hinted pages do not exist) then
supplying a
list of pages via -file: would be likely free of conflicts.
There is a difference between hints and the page being processed. While
for the
outcome, in properly preset cases, it is often irrelevant where the bot
starts
processing, and which pages are then added because hinted, for the paths
the
bot follows while collecting links, it does make a huge difference
sometimes.
We can have hintless processing, but we cannot have a bot run on hints
alone,
without a starting page.
Maybe we should add some of these to the documentation? Is that, which
you
are asking for?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 08:54
Message:
Assigned to committer.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 08:50
Message:
Assigned to committer.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 08:45
Message:
Assigned to committer.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 08:36
Message:
Assigned to committer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&group_…
Bugs item #2992437, was opened at 2010-04-26 19:25
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437&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: André Malafaya Baptista (malafaya)
>Assigned to: xqt (xqt)
Summary: Very unrealistic estimation for putting pages on -async mode
Initial Comment:
When using the -async switch, and when interwiki is finishing processing, I get an "Estimated time remaining" totally off what is predictable:
Updating page [[pt:Categoria:Verbo (Interlíngua)]] via API
-->Waiting for 49 pages to be put. Estimated time remaining: 0:00:49<--
Sleeping for 9.3 seconds, 2010-04-26 18:14:55
Updating page [[en:Category:Interlingua verbs]] via API
Updating page [[fr:Catégorie:Verbes en interlingua]] via API
Sleeping for 8.9 seconds, 2010-04-26 18:15:29
As you can see from the above long, with a sleep time of about 9 seconds between pages, the 49 seconds estimate for 49 pages to be put is totally off.
Curiously, the number of seconds in the estimation is *ALWAYS* the same as the number of pages to be put.
Out of curiosity, the above process of putting those 49 pages took more than 10 minutes.
Pywikipedia [svn+ssh] wikimedia/svnroot/pywikipedia/trunk/pywikipedia (r8131, 20
10/04/26, 07:59:35)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-04-27 10:42
Message:
fixed in r8132
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437&group_…
Bugs item #2992437, was opened at 2010-04-26 18:25
Message generated for change (Tracker Item Submitted) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437&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: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Very unrealistic estimation for putting pages on -async mode
Initial Comment:
When using the -async switch, and when interwiki is finishing processing, I get an "Estimated time remaining" totally off what is predictable:
Updating page [[pt:Categoria:Verbo (Interlíngua)]] via API
-->Waiting for 49 pages to be put. Estimated time remaining: 0:00:49<--
Sleeping for 9.3 seconds, 2010-04-26 18:14:55
Updating page [[en:Category:Interlingua verbs]] via API
Updating page [[fr:Catégorie:Verbes en interlingua]] via API
Sleeping for 8.9 seconds, 2010-04-26 18:15:29
As you can see from the above long, with a sleep time of about 9 seconds between pages, the 49 seconds estimate for 49 pages to be put is totally off.
Curiously, the number of seconds in the estimation is *ALWAYS* the same as the number of pages to be put.
Out of curiosity, the above process of putting those 49 pages took more than 10 minutes.
Pywikipedia [svn+ssh] wikimedia/svnroot/pywikipedia/trunk/pywikipedia (r8131, 20
10/04/26, 07:59:35)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2992437&group_…
Patches item #2991912, was opened at 2010-04-25 06:18
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2991912&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: Mikko Silvonen (silvonen)
Assigned to: xqt (xqt)
Summary: Finnish translations for featured.py
Initial Comment:
The "good article" message was missing. I also improved the "featured list" message, which was a bit funny.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-26 09:17
Message:
done in r8129
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2991912&group_…