Bugs item #3583461, was opened at 2012-11-04 10:17
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583461&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: Talk pages ending with .js cannot be edited
Initial Comment:
I think the framework does not recognize a talk page ending with ".js" as a talk page, but just thinks sysop rights are needed.
Try this (de.wikipedia):
-> python replace.py -page:"Benutzer Diskussion:Euku/Spielwiese.js" "def" "xyz"
"""
1 page was changed.
Page [[de:Benutzer Diskussion:Euku/Spielwiese.js]] not saved; sysop privileges required.
"""
I did not configured a sysop account for my bot. All other pages work fine.
In my real script a NoUsername exception is raised somewhere while executing wikipedia.put(). But I think it's the same reason.
Pywikipedia [http] trunk/pywikipedia (r10659, 2012/11/04, 09:17:59)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
server: toolserver.willow
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-04 11:54
Message:
fixed in r10663
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583461&group_…
Bugs item #3583461, was opened at 2012-11-04 10:17
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583461&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: Talk pages ending with .js cannot be edited
Initial Comment:
I think the framework does not recognize a talk page ending with ".js" as a talk page, but just thinks sysop rights are needed.
Try this (de.wikipedia):
-> python replace.py -page:"Benutzer Diskussion:Euku/Spielwiese.js" "def" "xyz"
"""
1 page was changed.
Page [[de:Benutzer Diskussion:Euku/Spielwiese.js]] not saved; sysop privileges required.
"""
I did not configured a sysop account for my bot. All other pages work fine.
In my real script a NoUsername exception is raised somewhere while executing wikipedia.put(). But I think it's the same reason.
Pywikipedia [http] trunk/pywikipedia (r10659, 2012/11/04, 09:17:59)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
server: toolserver.willow
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583461&group_…
Bugs item #3582644, was opened at 2012-11-02 03:05
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&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: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: xqt (xqt)
Summary: Missing parameters in Page.templatesWithParams()
Initial Comment:
C:\pwb\rewrite>pwb.py version
Pywikibot branches/rewrite/ (r10647, 2012/11/01, 20:25:15)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
There is a difference on this method between trunk and rewrite which caused that error:
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 1854, in replaceLinks
if not botMayEdit(page):
File "C:\pwb\rewrite\scripts\interwiki.py", line 2333, in botMayEdit
templates = page.templatesWithParams(get_redirect=True);
TypeError: templatesWithParams() got an unexpected keyword argument 'get_redirect'
These parameters where introduced in trunk r5496 but the code base of the rewrite was r5088
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 01:01
Message:
I marked get_redirect parameter as deprecated_arg in r10649 and removed it
at that call in r10651. I hope this would be ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&group_…
Bugs item #3582644, was opened at 2012-11-02 03:05
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&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: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: xqt (xqt)
Summary: Missing parameters in Page.templatesWithParams()
Initial Comment:
C:\pwb\rewrite>pwb.py version
Pywikibot branches/rewrite/ (r10647, 2012/11/01, 20:25:15)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
There is a difference on this method between trunk and rewrite which caused that error:
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 1854, in replaceLinks
if not botMayEdit(page):
File "C:\pwb\rewrite\scripts\interwiki.py", line 2333, in botMayEdit
templates = page.templatesWithParams(get_redirect=True);
TypeError: templatesWithParams() got an unexpected keyword argument 'get_redirect'
These parameters where introduced in trunk r5496 but the code base of the rewrite was r5088
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-11-04 07:31
Message:
The Solo is actually deemed the official PC igaming headset for MLG
(Important League Playing games). When it arrives at gaming face-to-face
with a large, noisy gang, you have to have a headset that can block
external usb noise��
[url=http://www.longchampfr.info]longchamp pliage pas cher[/url]
<a href="http://www.longchampfr.info" title="longchamp pliage pas
cher">longchamp pliage pas cher</a>
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-11-04 07:26
Message:
If the photostream has photos that will - irrespective of whether good and
also not -- triggered the spirited comments�� line, we just want to see
it!
[url=http://www.soldesacslongchamp.com/about]about longchamps[/url]
<a href="http://www.soldesacslongchamp.com/about" title="about
longchamps">about longchamps</a>
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 01:01
Message:
I marked get_redirect parameter as deprecated_arg in r10649 and removed it
at that call in r10651. I hope this would be ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&group_…
Bugs item #3582644, was opened at 2012-11-02 03:05
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&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: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: xqt (xqt)
Summary: Missing parameters in Page.templatesWithParams()
Initial Comment:
C:\pwb\rewrite>pwb.py version
Pywikibot branches/rewrite/ (r10647, 2012/11/01, 20:25:15)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
There is a difference on this method between trunk and rewrite which caused that error:
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 1854, in replaceLinks
if not botMayEdit(page):
File "C:\pwb\rewrite\scripts\interwiki.py", line 2333, in botMayEdit
templates = page.templatesWithParams(get_redirect=True);
TypeError: templatesWithParams() got an unexpected keyword argument 'get_redirect'
These parameters where introduced in trunk r5496 but the code base of the rewrite was r5088
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-11-04 07:26
Message:
If the photostream has photos that will - irrespective of whether good and
also not -- triggered the spirited comments�� line, we just want to see
it!
[url=http://www.soldesacslongchamp.com/about]about longchamps[/url]
<a href="http://www.soldesacslongchamp.com/about" title="about
longchamps">about longchamps</a>
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 01:01
Message:
I marked get_redirect parameter as deprecated_arg in r10649 and removed it
at that call in r10651. I hope this would be ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582644&group_…
Bugs item #3583215, was opened at 2012-11-04 03:08
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
Summary: missing attribut page._pagid after Site.loadinfo(page)
Initial Comment:
Another missing attribut:
Retrieving 50 pages from wikipedia:en.
WARNING: preloadpages: Query returned unexpected title 'International law'
Dump de (wikipedia) appended.
Traceback (most recent call last):
File "C:\Pywikipedia\rw\pwb.py", line 42, in <module>
execfile(sys.argv[0])
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2516, in <module>
if __name__ == "__main__":
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2490, in main
try:
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2248, in run
"""Start the process until finished"""
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2221, in queryStep
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2217, in oneQuery
# Tell all of the subjects that the promised work is done
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 1224, in batchLoaded
if not page.exists():
File "C:\Pywikipedia\rw\pywikibot\page.py", line 411, in exists
return self.site.page_exists(self)
File "C:\Pywikipedia\rw\pywikibot\site.py", line 1153, in page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
and btw "en:International law" exists!
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-04 06:25
Message:
a simple example for that is the following command line:
pwb.py interwiki -auto -page:"Liste der Episoden von White Collar" -lang:de
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&group_…
Bugs item #3583215, was opened at 2012-11-04 03:08
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
Summary: missing attribut page._pagid after Site.loadinfo(page)
Initial Comment:
Another missing attribut:
Retrieving 50 pages from wikipedia:en.
WARNING: preloadpages: Query returned unexpected title 'International law'
Dump de (wikipedia) appended.
Traceback (most recent call last):
File "C:\Pywikipedia\rw\pwb.py", line 42, in <module>
execfile(sys.argv[0])
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2516, in <module>
if __name__ == "__main__":
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2490, in main
try:
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2248, in run
"""Start the process until finished"""
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2221, in queryStep
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2217, in oneQuery
# Tell all of the subjects that the promised work is done
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 1224, in batchLoaded
if not page.exists():
File "C:\Pywikipedia\rw\pywikibot\page.py", line 411, in exists
return self.site.page_exists(self)
File "C:\Pywikipedia\rw\pywikibot\site.py", line 1153, in page_exists
return page._pageid > 0
AttributeError: 'Page' object has no attribute '_pageid'
and btw "en:International law" exists!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215&group_…
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=3583160&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: 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=3583160&group_…
Bugs item #3582867, was opened at 2012-11-03 15:19
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582867&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: YFdyh000 (yfdyh000)
>Assigned to: xqt (xqt)
Summary: add ignoreTemplates for zh
Initial Comment:
add ignoreTemplates in interwiki.py:
'zh' : [u'inuse'],
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-04 01:51
Message:
done in r10658, r10659
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582867&group_…
Bugs item #3583160, was opened at 2012-11-04 01:12
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583160&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Russell Blau (russblau)
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'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583160&group_…