Bugs item #3583160, was opened at 2012-11-04 01:12
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=358316…
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: Fixed
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: xqt (xqt)
Summary: missing attribute
get_throttle
Initial Comment:
C:\pwb\rewrite>pwb.py version
Pywikibot branches/rewrite/ (r10656, 2012/11/03, 13:18:05)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
While running interwiki.py the scripts tries to calculate the remaining wait time for
processing a new loop. But it fails:
Dump de (wikipedia) appended.
Traceback (most recent call last):
File "C:\pwb\rewrite\pwb.py", line 42, in <module>
execfile(sys.argv[0])
File "C:\pwb\rewrite\scripts\interwiki.py", line 2531, in <module>
main()
File "C:\pwb\rewrite\scripts\interwiki.py", line 2505, in main
bot.run()
File "C:\pwb\rewrite\scripts\interwiki.py", line 2263, in run
self.queryStep()
File "C:\pwb\rewrite\scripts\interwiki.py", line 2241, in queryStep
subj.finish(self)
File "C:\pwb\rewrite\scripts\interwiki.py", line 1699, in finish
if self.replaceLinks(page, new, bot):
File "C:\pwb\rewrite\scripts\interwiki.py", line 1911, in replaceLinks
while pywikibot.get_throttle.waittime() + 2.0 < pywikibot.put_throttle.waitt
ime():
AttributeError: 'module' object has no attribute 'get_throttle'
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 02:34
Message:
since we have -async option (and threadedhttp) we don't need to make
another get request while finishing a subject. Therefore I removed it it
r10660.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=358316…