Zoranzoki21 created this task.
Zoranzoki21 added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  When I run casechecker.py script it throws this error:
  
    kizule@kizule:~/development/pywikibot-core$ python3 pwb.py casechecker
    /home/kizule/development/pywikibot-core/pywikibot/config2.py:1138: 
_ConfigurationDeprecationWarning: "sysopnames" present in our user-config.py is 
no longer a supported configuration variable. Please inform the maintainers if 
you depend on it.
      'depend on it.'.format(_key), _ConfigurationDeprecationWarning)
    Whitelist is not known for language sr
    WARNING: ./scripts/casechecker.py:242: RuntimeWarning: Request() invoked 
without a site
      req = api.Request(**params)
    
    WARNING: ./scripts/casechecker.py:242: DeprecationWarning: Instead of using 
kwargs from Request.__init__, parameters for the request to the API should be 
added via the "parameters" parameter.
      req = api.Request(**params)
    
    Processing Категорија:.NET Framework
    Exception at Title = Категорија:Mакедонски пливачи, Next = 
    Traceback (most recent call last):
      File "./scripts/casechecker.py", line 284, in Run
        self.ProcessDataBlock(data)
      File "./scripts/casechecker.py", line 321, in ProcessDataBlock
        err = self.ProcessTitle(title)
      File "./scripts/casechecker.py", line 550, in ProcessTitle
        for k, v in mapLat.items() + mapLcl.items():
    TypeError: unsupported operand type(s) for +: 'dict_items' and 'dict_items'
    
    Traceback (most recent call last):
      File "pwb.py", line 321, in <module>
        if not main():
      File "pwb.py", line 316, in main
        run_python_file(filename, [filename] + args, argvu, file_package)
      File "pwb.py", line 101, in run_python_file
        main_mod.__dict__)
      File "./scripts/casechecker.py", line 786, in <module>
        bot.Run()
      File "./scripts/casechecker.py", line 284, in Run
        self.ProcessDataBlock(data)
      File "./scripts/casechecker.py", line 321, in ProcessDataBlock
        err = self.ProcessTitle(title)
      File "./scripts/casechecker.py", line 550, in ProcessTitle
        for k, v in mapLat.items() + mapLcl.items():
    TypeError: unsupported operand type(s) for +: 'dict_items' and 'dict_items'
    CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
    kizule@kizule:~/development/pywikibot-core$ 
  
  **Version:**
  
    kizule@kizule:~/development/pywikibot-core$ python3 pwb.py version
    /home/kizule/development/pywikibot-core/pywikibot/config2.py:1138: 
_ConfigurationDeprecationWarning: "sysopnames" present in our user-config.py is 
no longer a supported configuration variable. Please inform the maintainers if 
you depend on it.
      'depend on it.'.format(_key), _ConfigurationDeprecationWarning)
    Pywikibot: [ssh] pywikibot-core (23dcbe6, g11551, 2019/09/27, 12:58:15, ok)
    Release version: 3.1.dev0
    requests version: 2.21.0
      cacerts: /etc/ssl/certs/ca-certificates.crt
        certificate test: ok
    Python: 3.7.3 (default, Aug 20 2019, 17:04:43) 
    [GCC 8.3.0]
    PYWIKIBOT_DIR: Not set
    PYWIKIBOT_DIR_PWB: 
    PYWIKIBOT_NO_USER_CONFIG: Not set
    Config base dir: /home/kizule/development/pywikibot-core
    Usernames for family "wikipedia":
        sr: Zoranzoki21 (also sysop)
    kizule@kizule:~/development/pywikibot-core$

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

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

To: Zoranzoki21
Cc: Aklapper, pywikibot-bugs-list, Zoranzoki21, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to