Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-redirect.py, MediaWiki-API.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **List of steps to reproduce**:
  
  - run redirect.py script
  
  **What happens?**:
  
  **wikipedia:kn**
  
    >>> ಚರ್ಚೆಪುಟ:ಚುಟುಕು <<<
    WARNING: API error internal_api_error_TypeError: 
[1f9776d1-9aa9-4e54-b750-aea8c9
    d3fff8] Caught exception of type TypeError
    ERROR: Detected MediaWiki API exception internal_api_error_TypeError: 
[1f9776d1-
    9aa9-4e54-b750-aea8c9d3fff8] Caught exception of type TypeError
    [errorclass: TypeError;
     servedby: mw1356]; raising
    
    3 pages read
    0 pages written
    0 pages skipped
    Execution time: 5 seconds
    Read operation time: 1.7 seconds
    Script terminated by exception:
    
    ERROR: APIMWError: internal_api_error_TypeError: 
[1f9776d1-9aa9-4e54-b750-aea8c9
    d3fff8] Caught exception of type TypeError
    [errorclass: TypeError;
     servedby: mw1356]
    Traceback (most recent call last):
      File "C:\pwb\core\pwb.py", line 423, in <module>
        if not main():
      File "C:\pwb\core\pwb.py", line 418, in main
        module)
      File "C:\pwb\core\pwb.py", line 113, in run_python_file
        main_mod.__dict__)
      File ".\scripts\redirect.py", line 881, in <module>
        main()
      File ".\scripts\redirect.py", line 860, in main
        bot.run()
      File "C:\pwb\core\pywikibot\bot.py", line 1601, in run
        self.treat(page)
      File ".\scripts\redirect.py", line 754, in treat
        super().treat(page)
      File "C:\pwb\core\pywikibot\bot.py", line 1856, in treat
        self.treat_page()
      File ".\scripts\redirect.py", line 570, in delete_1_broken_redirect
        targetPage = redir_page.getRedirectTarget()
      File "C:\pwb\core\pywikibot\page\__init__.py", line 1564, in 
getRedirectTarget
    
        return self.site.getredirtarget(self)
      File "C:\pwb\core\pywikibot\site\_apisite.py", line 1222, in 
getredirtarget
        result = query.submit()
      File "C:\pwb\core\pywikibot\data\api.py", line 1817, in submit
        if self._internal_api_error(code, error, result):
      File "C:\pwb\core\pywikibot\data\api.py", line 1666, in 
_internal_api_error
        raise e
    pywikibot.exceptions.APIMWError: internal_api_error_TypeError: 
[1f9776d1-9aa9-4e
    54-b750-aea8c9d3fff8] Caught exception of type TypeError
    [errorclass: TypeError;
     servedby: mw1356]
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.APIMWEr
    ror'>
  
  Other internal_api_error_TypeError I've found:
  
  **wikipedia:tt**
  
    >>> Кулланучы:Lucien leGrey <<<
    WARNING: API error internal_api_error_TypeError: 
[1c3349e9-4170-4af4-a0bd-908c1b
    3d73c2] Caught exception of type TypeError
    ERROR: Detected MediaWiki API exception internal_api_error_TypeError: 
[1c3349e9-
    4170-4af4-a0bd-908c1b3d73c2] Caught exception of type TypeError
    [errorclass: TypeError;
     servedby: mw1410]; raising
  
  **wikipedia:tt**
  
    >>> Кулланучы:Lucien leGrey <<<
    WARNING: API error internal_api_error_TypeError: 
[72ee473b-bbcb-475d-b3f8-40495a
    e8576b] Caught exception of type TypeError
    ERROR: Detected MediaWiki API exception internal_api_error_TypeError: 
[72ee473b-
    bbcb-475d-b3f8-40495ae8576b] Caught exception of type TypeError
    [errorclass: TypeError;
     servedby: mw1346]; raising
  
  **What should have happened instead?**:
  
  Either work as expected and get the retrieved Information or give a more 
precise error message. I've no glue what this internal_api_error_TypeError means
  
  **Software version**:
  Pywikibot 7.0.0.dev0

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

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

To: Xqt
Cc: Legoktm, Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, WDoranWMF, Viztor, DannyS712, Wenyi, Amorymeltzer, 
Tbscho, MayS, Sethakill, Mdupont, JJMC89, dg711, Dvorapa, 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