https://bugzilla.wikimedia.org/show_bug.cgi?id=55836
Web browser: ---
Bug ID: 55836
Summary: Invalid link found while title parsing
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Externsteine -> no corresponding page in wikipedia:bn
** wikipedia:an has 0 good articles
** wikipedia:ar has 233 good articles
Retrieving 50 pages from wikipedia:ar.
أحمد ياسين -> no corresponding page in wikipedia:bn
الإخوان المسلمون -> corresponding page is মুসলিম ব্রাদারহুড
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 104, in <module>
run_python_file(fn, args)
File "C:\pwb\core\pwb.py", line 49, in run_python_file
exec compile(source, filename, "exec") in main_mod.__dict__
File "C:\pwb\core\scripts\featured.py", line 672, in <module>
main()
File "C:\pwb\core\scripts\featured.py", line 665, in main
bot.run()
File "C:\pwb\core\scripts\featured.py", line 278, in run
self.run_good()
File "C:\pwb\core\scripts\featured.py", line 313, in run_good
self.treat(code, task)
File "C:\pwb\core\scripts\featured.py", line 359, in treat
self.featuredWithInterwiki(fromsite, process)
File "C:\pwb\core\scripts\featured.py", line 601, in featuredWithInterwiki
atrans.put(text, comment)
File "C:\pwb\core\pywikibot\page.py", line 898, in put
async=async, callback=callback, **kwargs)
File "C:\pwb\core\pywikibot\page.py", line 821, in save
**kwargs)
File "C:\pwb\core\pywikibot\page.py", line 827, in _save
comment = self._cosmetic_changes_hook(comment) or comment
File "C:\pwb\core\pywikibot\page.py", line 877, in _cosmetic_changes_hook
self.text = ccToolkit.change(old)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 174, in change
text = self.cleanUpLinks(text)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 508, in cleanUpLinks
'startspace'])
File "C:\pwb\core\pywikibot\textlib.py", line 199, in replaceExcept
replacement = new(match)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 403, in handleOneLink
namespace = page.namespace()
File "C:\pwb\core\pywikibot\page.py", line 114, in namespace
return self._link.namespace
File "C:\pwb\core\pywikibot\page.py", line 3256, in namespace
self.parse()
File "C:\pwb\core\pywikibot\page.py", line 3241, in parse
% self._text)
pywikibot.exceptions.Error: Invalid link (no page title):
'বিষ
য়শ্রেণী:'
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound
m
ethod ConnectionPool.__del__ of {'https:ar.wikipedia.org':
[<httplib2.python2.ht
tplib2.HTTPSConnectionWithTimeout instance at 0x0000000006662AC8>],
'https:bn.wi
kipedia.org': [<httplib2.python2.httplib2.HTTPSConnectionWithTimeout instance
at
0x0000000002AA4E88>], 'https:als.wikipedia.org':
[<httplib2.python2.httplib2.HT
TPSConnectionWithTimeout instance at 0x0000000005745C08>],
'https:www.wikidata.o
rg': [<httplib2.python2.httplib2.HTTPSConnectionWithTimeout instance at
0x000000
0002C4B148>], 'https:an.wikipedia.org':
[<httplib2.python2.httplib2.HTTPSConnect
ionWithTimeout instance at 0x000000000666C488>]}> ignored
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l