Dvorapa created this task.
Dvorapa added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to reproduce**
  
  1. run `python3 pwb.py add_text -text:"[[Kategorie:Údržba:Články s 
referencemi v nadpisech]]" -summary:"Robot: reference v nadpisech" 
-search:'insource:/\<\/ref\> *==/ -incategory:"Údržba:Články s referencemi v 
nadpisech"' -ns:0 -always`
  
  **Expected behavior**
  It should just add category to the pages.
  
  **Current behavior**
  
    0 pages read
    0 pages written
    0 pages skipped
    Execution time: 0 seconds
    Script terminated by exception:
    
    ERROR: TypeError: super(type, obj): obj must be an instance or subtype of 
type
    Traceback (most recent call last):
      File "pwb.py", line 399, in <module>
        if not main():
      File "pwb.py", line 394, in main
        module)
      File "pwb.py", line 109, in run_python_file
        main_mod.__dict__)
      File "./scripts/add_text.py", line 444, in <module>
        main()
      File "./scripts/add_text.py", line 395, in main
        bot.run()
      File 
"/mnt/nfs/labstore-secondary-tools-project/dvorapabot/pywikibot/pywikibot/bot.py",
 line 1510, in run
        if self.skip_page(page):
      File "./scripts/add_text.py", line 340, in skip_page
        if not page.isTalkPage() and ExistingPageBot.skip_page(self, page):
      File 
"/mnt/nfs/labstore-secondary-tools-project/dvorapabot/pywikibot/pywikibot/bot.py",
 line 1840, in skip_page
        return super().skip_page(page)
    TypeError: super(type, obj): obj must be an instance or subtype of type
    CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
  
  **Configuration**
  Toolforge, Python 3.5, Pywikibot master

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

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

To: Dvorapa
Cc: Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to