https://bugzilla.wikimedia.org/show_bug.cgi?id=56879
Web browser: ---
Bug ID: 56879
Summary: TypeError in listpages
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
running listpages.py always fail into TypeError while closing the script:
c:\Pywikipedia\core>pwb.py listpages -random:5 -lang:en
1: Category:2001 World Weightlifting Championships
2: Ministry for the Propagation of Virtue and the Prevention of Vice
(Afghani
stan)
3: User talk:Oshirochan
4: Talk:Bardney monastery
5: User talk:62.45.39.95
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound
m
ethod ConnectionPool.__del__ of {'https:en.wikipedia.org':
[<httplib2.python2.ht
tplib2.HTTPSConnectionWithTimeout instance at 0x000000000394E588>]}> ignored
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55070
Web browser: ---
Bug ID: 55070
Summary: WIKTIONARY linker
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/233/
Reported by: jandudik
Created on: 2009-12-21 10:10:59
Subject: WIKTIONARY linker
Original description:
It would be useful some module like commonscat.py, which would gou through
wiktionary articles and check, if there is the same-name article in same
language wikipedia. If yes, bot would ask if I want to connect these articles
including \{\{wiktionary|article\}\} to wikipedia \[\[article\]\] or
\[\[article \(something\)\]\] \(or both\) and \{\{Wikipedia|article\}\}
\(alternatively more articles\) to wiktionary one.
This maybe cannot be full autonomously, but helpful
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57495
Web browser: ---
Bug ID: 57495
Summary: "MaxTriesExceededError" in catimages.py during debug
info/log output
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: dr.trigon(a)surfeu.ch
Classification: Unclassified
Mobile Platform: ---
At the end of all runs a log output is created as further info for debug and
development purposes. This worked initially but now since several months
generated following error:
2013-11-23 21:06:54 wikipedia.py, 2335 in _putPage: INFO
Updating page [[User:DrTrigon/User:DrTrigonBot/logging]] via API
2013-11-23 21:08:43 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:08:43 wikipedia.py, 7044 in postData: WARNING
Could not open 'https://commons.wikimedia.org/w/api.php'.
Maybe the server is down. Retrying in 1 minutes...
2013-11-23 21:11:38 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:11:38 wikipedia.py, 7044 in postData: WARNING
Could not open 'https://commons.wikimedia.org/w/api.php'.
Maybe the server is down. Retrying in 2 minutes...
2013-11-23 21:15:32 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:15:32 wikipedia.py, 7044 in postData: WARNING
Could not open 'https://commons.wikimedia.org/w/api.php'.
Maybe the server is down. Retrying in 4 minutes...
2013-11-23 21:21:26 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:21:26 wikipedia.py, 7044 in postData: WARNING
Could not open 'https://commons.wikimedia.org/w/api.php'.
Maybe the server is down. Retrying in 8 minutes...
2013-11-23 21:31:21 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:31:21 wikipedia.py, 7044 in postData: WARNING
Could not open 'https://commons.wikimedia.org/w/api.php'.
Maybe the server is down. Retrying in 16 minutes...
2013-11-23 21:49:11 wikipedia.py, 7037 in postData: INFO
HTTPError: 504 Gateway Time-out
2013-11-23 21:49:11 catimages.py, 4572 in <module>: INFO
Execution time: 6173
2013-11-23 21:49:11 pwb.py, 169 in <module>: ERROR
MaxTriesExceededError
Traceback (most recent call last):
File "/home/drtrigon/pywikipedia/pwb.py", line 163, in <module>
execfile(sys.argv[0])
File "/home/drtrigon/pywikipedia/catimages.py", line 4565, in <module>
main()
File "/home/drtrigon/pywikipedia/catimages.py", line 4420, in main
outpage.put(tmp[:pos], comment="bot writing log for last run")
File "/home/drtrigon/pywikibot-compat/wikipedia.py", line 2243, in put
sysop=sysop, botflag=botflag, maxTries=maxTries)
File "/home/drtrigon/pywikibot-compat/wikipedia.py", line 2340, in _putPage
back_response=True)
File "/home/drtrigon/pywikibot-compat/pywikibot/support.py", line 121, in
wrapper
return method(*__args, **__kw)
File "/home/drtrigon/pywikibot-compat/query.py", line 139, in GetData
site.cookies(sysop=sysop))
File "/home/drtrigon/pywikibot-compat/wikipedia.py", line 6977, in postForm
cookies=cookies)
File "/home/drtrigon/pywikibot-compat/wikipedia.py", line 7041, in postData
raise MaxTriesExceededError()
MaxTriesExceededError
Also splitting up the data into several smaller bunches did not help.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54709
Web browser: ---
Bug ID: 54709
Summary: Cannot init
Product: Pywikibot
Version: unspecified
Hardware: Macintosh
OS: Mac OS X 10.8
Status: NEW
Severity: blocker
Priority: Unprioritized
Component: login.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mrandmrsmurphy(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Traceback (most recent call last):
File "login.py", line 58, in <module>
import re, os, query
File "/Users/...../pywikipedia/query.py", line 29, in <module>
import wikipedia as pywikibot
File "/Users/...../pywikipedia/wikipedia.py", line 150, in <module>
externals.check_setup('BeautifulSoup.py')
File "/Users/...../pywikipedia/externals/__init__.py", line 377, in
check_setup
if globals()[dist[0] + '_install'](modules_needed[m][0]):
KeyError: u'darwin_install'
Out of the box, won't run on Mac OS 10.8.5. Python 2.7.2
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56901
Web browser: ---
Bug ID: 56901
Summary: Port unusedfiles.py to Pywikibot core
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
CC: aklapper(a)wikimedia.org, ladsgroup(a)gmail.com,
qgil(a)wikimedia.org
Blocks: 55880
Classification: Unclassified
Mobile Platform: ---
PyWikibot [1] is a Python-based framework to write bots for MediaWiki. There
are currently 2 versions of pywikibot currently used:
- version 1.0 (also known as pywikibot-compat) is the legacy version
- version 2.0 (also known as pywikibot-core) is a rewrite of the original
framework, focusing solely on MediaWiki wikis with an API (version 1.14 or
newer) and offering an improved internal architecture.
There are a number of scripts used by various robot operators that were used in
pywikibot-compat but have not yet been adapted to work with pywikibot-core. One
of those is unusedfiles.py, which Finds unused media using
[[Special:Unusedimages]].
You can find information about how to convert the script on [2], [3]. Patches
can be submited through the gerrit uploader [4] (you need a MediaWiki.org
account). More documentation on gerrit can be found at [5].
[1] https://www.mediawiki.org/wiki/Manual:Pywikibot
[2] https://www.mediawiki.org/wiki/Manual:Pywikibot/2.0/Conversion
[3] https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n_conversion
[4] https://tools.wmflabs.org/gerrit-patch-uploader/
[5] http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
Web browser: ---
Bug ID: 56897
Summary: Port pagefromfile.py to Pywikibot core
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
CC: aklapper(a)wikimedia.org, ladsgroup(a)gmail.com,
qgil(a)wikimedia.org
Blocks: 55880
Classification: Unclassified
Mobile Platform: ---
PyWikibot [1] is a Python-based framework to write bots for MediaWiki. There
are currently 2 versions of pywikibot currently used:
- version 1.0 (also known as pywikibot-compat) is the legacy version
- version 2.0 (also known as pywikibot-core) is a rewrite of the original
framework, focusing solely on MediaWiki wikis with an API (version 1.14 or
newer) and offering an improved internal architecture.
There are a number of scripts used by various robot operators that were used in
pywikibot-compat but have not yet been adapted to work with pywikibot-core. One
of those is pagefromfile.py, which creates pages from a text file.
You can find information about how to convert the script on [2], [3]. Patches
can be submited through the gerrit uploader [4] (you need a MediaWiki.org
account). More documentation on gerrit can be found at [5].
[1] https://www.mediawiki.org/wiki/Manual:Pywikibot
[2] https://www.mediawiki.org/wiki/Manual:Pywikibot/2.0/Conversion
[3] https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n_conversion
[4] https://tools.wmflabs.org/gerrit-patch-uploader/
[5] http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56898
Web browser: ---
Bug ID: 56898
Summary: Port protect.py to Pywikibot core
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
CC: aklapper(a)wikimedia.org, ladsgroup(a)gmail.com,
qgil(a)wikimedia.org
Blocks: 55880
Classification: Unclassified
Mobile Platform: ---
PyWikibot [1] is a Python-based framework to write bots for MediaWiki. There
are currently 2 versions of pywikibot currently used:
- version 1.0 (also known as pywikibot-compat) is the legacy version
- version 2.0 (also known as pywikibot-core) is a rewrite of the original
framework, focusing solely on MediaWiki wikis with an API (version 1.14 or
newer) and offering an improved internal architecture.
There are a number of scripts used by various robot operators that were used in
pywikibot-compat but have not yet been adapted to work with pywikibot-core. One
of those is protect.py, which is used to Protect and unprotect pages en masse.
You can find information about how to convert the script on [2], [3]. Patches
can be submited through the gerrit uploader [4] (you need a MediaWiki.org
account). More documentation on gerrit can be found at [5].
[1] https://www.mediawiki.org/wiki/Manual:Pywikibot
[2] https://www.mediawiki.org/wiki/Manual:Pywikibot/2.0/Conversion
[3] https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n_conversion
[4] https://tools.wmflabs.org/gerrit-patch-uploader/
[5] http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57322
Web browser: ---
Bug ID: 57322
Summary: Port image.py to Pywikibot core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57344
Web browser: ---
Bug ID: 57344
Summary: UnusedFilesGenerator throws an exception when being
called without extension parameter
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
Classification: Unclassified
Mobile Platform: ---
Traceback (most recent call last):
File "pwb.py", line 123, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 64, in run_python_file
exec compile(source, filename, "exec") in main_mod.__dict__
File "unusedfiles.py", line 130, in <module>
main()
File "unusedfiles.py", line 111, in main
for page in generator:
File "/home/acipu/stage/core/pywikibot/pagegenerators.py", line 849, in
PreloadingGenerator
for page in generator:
File "/home/acipu/stage/core/pywikibot/pagegenerators.py", line 922, in
UnusedFilesGenerator
extension=extension):
File "/home/acipu/stage/core/pywikibot/__init__.py", line 251, in wrapper
return method(*__args, **__kw)
File "/home/acipu/stage/core/pywikibot/__init__.py", line 251, in wrapper
return method(*__args, **__kw)
TypeError: unusedfiles() got an unexpected keyword argument 'extension'
The reason for that is site.unusedfiles no longer has this parameter. Adding a
patch that solves the problem. I kept the extension param in the generator for
compatibility reasons.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57164
Web browser: ---
Bug ID: 57164
Summary: noreferences.py must not place <noreferences /> tag on
disambig pages
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
see
https://en.wikipedia.org/wiki/User_talk:Xqt#Bot_shouldn.27t_add_.22Referenc…
--
You are receiving this mail because:
You are the assignee for the bug.