valhallasw created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.

TASK DESCRIPTION
  Currently, this throws an unclear error message
  
    Can't delete [[en:Item:Q112]]; do you want to mark it for deletion instead? 
([y]es, [N]o, [a]ll): y
    WARNING: /usr/lib/python3/dist-packages/urllib3/connectionpool.py:732: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.org/en/latest/security.html (This warning will only 
appear once by default.)
    Traceback (most recent call last):
      File "repo.py", line 11, in <module>
        repoitem.delete(reason, prompt=False)
      File 
"/home/till/Documents/Masterarbeit/TillsWiki/pywikibot/core/pywikibot/tools/__init__.py",
 line 1368, in wrapper
        return obj(*__args, **__kw)
      File 
"/home/till/Documents/Masterarbeit/TillsWiki/pywikibot/core/pywikibot/page.py", 
line 1780, in delete
        self.text = template + self.text
    TypeError: Can't convert 'dict' object to str implicitly
    <class 'TypeError'>
  
  because self.text (i.e. the page contents) is a dictionary.

TASK DETAIL
  https://phabricator.wikimedia.org/T134563

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: valhallasw
Cc: Aklapper, Zppix, valhallasw, pywikibot-bugs-list, Mdupont, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to