Feature Requests item #3295312, was opened at 2011-04-30 13:05
Message generated for change (Comment added) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295312&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
Priority: 5
Private: No
Submitted By: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add roman.py to framework
Initial Comment:
I wrote a new script, see at http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/roman.py
It transforms any Arabic number to Roman and Romans to Arabic from 1 to 3999 (the largest regular Roman number) and has a list comprehension function as well.
I would like to have it in the framework, because TOCbot (http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/TOCbot) will need it. Please help to supply a version number.
----------------------------------------------------------------------
>Comment By: Bináris (binbot)
Date: 2011-04-30 14:18
Message:
Duplicate of 3295329, sorry (correct version is there)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295312&group_…
Feature Requests item #3295329, was opened at 2011-04-30 14:05
Message generated for change (Tracker Item Submitted) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295329&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: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add roman.py to framework
Initial Comment:
I wrote a new script, see at http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/roman.py
It transforms any Arabic number to Roman and Romans to Arabic from 1 to 3999 (the largest regular Roman number) and has a list comprehension function as well.
I would like to have it in the framework, because TOCbot (http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/TOCbot) will need it. Please help to supply a version number.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295329&group_…
Feature Requests item #3295312, was opened at 2011-04-30 13:05
Message generated for change (Tracker Item Submitted) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295312&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: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add roman.py to framework
Initial Comment:
I wrote a new script, see at http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/roman.py
It transforms any Arabic number to Roman and Romans to Arabic from 1 to 3999 (the largest regular Roman number) and has a list comprehension function as well.
I would like to have it in the framework, because TOCbot (http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/TOCbot) will need it. Please help to supply a version number.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295312&group_…
Bugs item #3295288, was opened at 2011-04-30 11:13
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295288&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py crashes
Initial Comment:
python redirect.py double -api -namespace:0
Retrieving pages....Traceback (most recent call last):
File "redirect.py", line 800, in <module>
main()
File "redirect.py", line 796, in main
bot.run()
File "redirect.py", line 712, in run
self.fix_double_redirects()
File "redirect.py", line 539, in fix_double_redirects
for redir_name in self.generator.retrieve_double_redirects():
File "redirect.py", line 328, in retrieve_double_redirects
in self.get_redirects_via_api(maxlen=2):
File "redirect.py", line 252, in get_redirects_via_api
data = query.GetData(params, self.site)
File "/home/mst/pw/pywikipedia/query.py", line 55, in GetData
data[k] = unicode(ListToParam(v))
File "/home/mst/pw/pywikipedia/query.py", line 278, in ListToParam
raise wikipedia.Error(u'unknown item class %s' % item.__class__.__name__)
pywikibot.exceptions.Error: unknown item class int
Pywikipedia [http] trunk/pywikipedia (r9202, 2011/04/29, 04:59:18)
Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295288&group_…
Bugs item #3295284, was opened at 2011-04-30 10:54
Message generated for change (Tracker Item Submitted) made by wikimercy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295284&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: Mercy (wikimercy)
Assigned to: Nobody/Anonymous (nobody)
Summary: commonscat.py update
Initial Comment:
Please add the following line for the "commonscatTemplates" variable:
'sh' : (u'Commonscat', [u'Commons cat',]),
Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3295284&group_…
Bugs item #3290754, was opened at 2011-04-21 05:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3290754&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: 8
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: xqt (xqt)
Summary: interwiki.py crashes with AttributeError in date.py
Initial Comment:
My interwiki.py run didnt start at all this morning, most probably due to the recent changes made in date.py (r9184 and r9186).
>interwiki.py -autonomous -lang:fi -start:1786
C:\svn\pywikipedia>interwiki.py -autonomous -lang:fi -start:1786
********** Error in date.formats['MillenniumBC']['ca'](1)
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 377, in <module>
import pagegenerators
File "c:\svn\pywikipedia\pagegenerators.py", line 34, in <module>
import date, catlib, userlib, query
File "c:\svn\pywikipedia\date.py", line 1655, in <module>
test(quick=True)
File "c:\svn\pywikipedia\date.py", line 1643, in test
testMapEntry( formatName, showAll, formatLimits[formatName][1] ) # Only test the first value in the test range
File "c:\svn\pywikipedia\date.py", line 1621, in testMapEntry
newValue = convFunc(convFunc(value))
File "c:\svn\pywikipedia\date.py", line 1192, in <lambda>
'ca' : lambda v: dh_millenniumBC( v, u'Mil┬Àlenni %R aC' ),
File "c:\svn\pywikipedia\date.py", line 139, in dh_millenniumBC
return dh_noConv(value, pattern, formatLimits['MillenniumBC'][0])
File "c:\svn\pywikipedia\date.py", line 78, in dh_noConv
return dh( value, pattern, encNoConv, decSinglVal, limit )
File "c:\svn\pywikipedia\date.py", line 371, in dh
values = [ decoders[i][2](m.group(i+1)) for i in range(len(decoders))]
File "c:\svn\pywikipedia\date.py", line 257, in romanNumToInt
return _romanNumbers.index(v)
AttributeError: 'tuple' object has no attribute 'index'
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9188, 2011/04/20, 16:02:00)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-04-21 08:28
Message:
I learned tuple.index() method was introduced in pyrev. 2.6 first. Sorry
for that.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3290754&group_…
Bugs item #3290754, was opened at 2011-04-21 06:38
Message generated for change (Settings changed) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3290754&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: 8
Private: No
Submitted By: Mikko Silvonen (silvonen)
>Assigned to: xqt (xqt)
Summary: interwiki.py crashes with AttributeError in date.py
Initial Comment:
My interwiki.py run didnt start at all this morning, most probably due to the recent changes made in date.py (r9184 and r9186).
>interwiki.py -autonomous -lang:fi -start:1786
C:\svn\pywikipedia>interwiki.py -autonomous -lang:fi -start:1786
********** Error in date.formats['MillenniumBC']['ca'](1)
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 377, in <module>
import pagegenerators
File "c:\svn\pywikipedia\pagegenerators.py", line 34, in <module>
import date, catlib, userlib, query
File "c:\svn\pywikipedia\date.py", line 1655, in <module>
test(quick=True)
File "c:\svn\pywikipedia\date.py", line 1643, in test
testMapEntry( formatName, showAll, formatLimits[formatName][1] ) # Only test the first value in the test range
File "c:\svn\pywikipedia\date.py", line 1621, in testMapEntry
newValue = convFunc(convFunc(value))
File "c:\svn\pywikipedia\date.py", line 1192, in <lambda>
'ca' : lambda v: dh_millenniumBC( v, u'Mil┬Àlenni %R aC' ),
File "c:\svn\pywikipedia\date.py", line 139, in dh_millenniumBC
return dh_noConv(value, pattern, formatLimits['MillenniumBC'][0])
File "c:\svn\pywikipedia\date.py", line 78, in dh_noConv
return dh( value, pattern, encNoConv, decSinglVal, limit )
File "c:\svn\pywikipedia\date.py", line 371, in dh
values = [ decoders[i][2](m.group(i+1)) for i in range(len(decoders))]
File "c:\svn\pywikipedia\date.py", line 257, in romanNumToInt
return _romanNumbers.index(v)
AttributeError: 'tuple' object has no attribute 'index'
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9188, 2011/04/20, 16:02:00)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3290754&group_…
Patches item #3287310, was opened at 2011-04-15 10:55
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3287310&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: dmitrynikitin ()
>Assigned to: xqt (xqt)
Summary: osm_family.py update
Initial Comment:
Image --> File
+ couple of namespaces
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-04-19 11:07
Message:
done in r9182. thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3287310&group_…
Bugs item #3208937, was opened at 2011-03-13 15:00
Message generated for change (Settings changed) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3208937&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: Works For Me
Priority: 7
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py using -subcats with -untranslated isn't working
Initial Comment:
When running:
interwiki.py -lang:de -family:wiktionary -async -untranslated -subcats:"Deklinierte Form"
I'm only asked for a hint for [[de:Kategorie:Deklinierte Form (Türkisch)]] but I can see there are many categories there with no interwikis:
[[Kategorie:Deklinierte Form (Tschechisch)]], [[Kategorie:Deklinierte Form (Mazedonisch)]] .....
The category above holds 33K members. The last fetching log is "Getting [[Kategorie:Deklinierte Form]] list from 21620...". My suspicion is that it may be failing to retrieve all subcats.
Thanks.
-----
Pywikipedia [http] trunk/pywikipedia (r9037, 2011/03/12, 23:12:11)
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2011-04-14 18:39
Message:
I confirm: it is working as of today.
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date: 2011-04-14 09:42
Message:
I checked, and it does seem to work correctly now. Could you please
confirm?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3208937&group_…
Patches item #3287310, was opened at 2011-04-15 08:55
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3287310&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: dmitrynikitin ()
Assigned to: Nobody/Anonymous (nobody)
Summary: osm_family.py update
Initial Comment:
Image --> File
+ couple of namespaces
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3287310&group_…