https://bugzilla.wikimedia.org/show_bug.cgi?id=70978

Fabian <commodorefabia...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |commodorefabia...@gmx.de

--- Comment #1 from Fabian <commodorefabia...@gmx.de> ---
This happens also on Python 3.4.1 with Linux:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xzise/Programms/core/pywikibot/tools.py", line 317, in wrapper
    return method(*__args, **__kw)
  File "/home/xzise/Programms/core/pywikibot/page.py", line 968, in save
    if not force and not self.botMayEdit():
  File "/home/xzise/Programms/core/pywikibot/page.py", line 897, in botMayEdit
    templates = self.templatesWithParams()
  File "/home/xzise/Programms/core/pywikibot/tools.py", line 317, in wrapper
    return method(*__args, **__kw)
  File "/home/xzise/Programms/core/pywikibot/page.py", line 1267, in
templatesWithParams
    templates = textlib.extract_templates_and_params(self.text)
  File "/home/xzise/Programms/core/pywikibot/textlib.py", line 924, in
extract_templates_and_params
    return extract_templates_and_params_regex(text)
  File "/home/xzise/Programms/core/pywikibot/textlib.py", line 951, in
extract_templates_and_params_regex
    thistxt = removeDisabledParts(text)
  File "/home/xzise/Programms/core/pywikibot/textlib.py", line 294, in
removeDisabledParts
    return toRemoveR.sub('', text)
TypeError: expected string or buffer

I suspect they are all the same and only differ depending on the apicache and
not on the operating system or Python version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to