TheSandDoctor added a comment.

  @zhuyifei1999 The only log currently available is as follows (and linked 
above):
  
    2020-02-18 18:45:16,662 __main__    : INFO File:PICT0430 - 301032 - 
onroerenderfgoed.jpg :Not corrupt. Stored
    Traceback (most recent call last):
      File "rcworker.py", line 221, in <module>
        main()
      File "rcworker.py", line 214, in main
        run_worker()
      File "rcworker.py", line 61, in run_worker
        file_page = pywikibot.FilePage(site, change.title)
      File 
"/usr/local/lib/python3.8/site-packages/pywikibot/tools/__init__.py", line 
1744, in wrapper
     return obj(*__args, **__kw)
      File "/usr/local/lib/python3.8/site-packages/pywikibot/page.py", line 
2478, in __init__
        super(FilePage, self).__init__(source, title, 6)
      File 
"/usr/local/lib/python3.8/site-packages/pywikibot/tools/__init__.py", line 
1744, in wrapper
        return obj(*__args, **__kw)
      File "/usr/local/lib/python3.8/site-packages/pywikibot/page.py", line 
2327, in __init__
        super(Page, self).__init__(source, title, ns)
      File "/usr/local/lib/python3.8/site-packages/pywikibot/page.py", line 
200, in __init__
        self._link = Link(title, source=source, default_namespace=ns)
    File "/usr/local/lib/python3.8/site-packages/pywikibot/tools/__init__.py", 
line 1744, in wrapper
        return obj(*__args, **__kw)
      File "/usr/local/lib/python3.8/site-packages/pywikibot/page.py", line 
6029, in __init__
        raise pywikibot.Error(
    pywikibot.exceptions.Error: Title contains illegal char (\uFFFD 
'REPLACEMENT CHARACTER')
  
  I have improved the logging so that prior to attempting to generate a 
FilePage object it logs the name, instead of doing so afterwords. The current 
code setup is basically a minimal test case in the sense that rcwatcher.py 
would not change and rcworker.py would just be reduced to a few lines. The best 
way to go forward with this would be to just wait for it to crash again as that 
way it is still doing work in the meantime. I will post here when the next log 
is available.

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

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

To: Dvorapa, TheSandDoctor
Cc: Dvorapa, zhuyifei1999, TheSandDoctor, Mpaa, Aklapper, pywikibot-bugs-list, 
Fructibus, CBogen, Zkhalido, Viztor, DannyS712, Wenyi, Chicocvenancio, Tbscho, 
MayS, Mdupont, JJMC89, Poyekhali, Altostratus, Taiwania_Justo, Avicennasis, 
Ixocactus, Wong128hk, mys_721tx, El_Grafo, Dinoguy1000, jayvdb, Masti, 
Alchimista, Steinsplitter, Rxy, Keegan
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to