PotsdamLamb reopened this task as "Open".
PotsdamLamb added a comment.


  @Xqt I just tried again, and I get the same errors. Here is the log:
  (Also still defaults me to test instead of logging into simple)
  
  **Notice** also that these are in different lines from the first error log I 
sent you.
  
    2024-04-17T19:05:13+00:00 [fix-34434-hq7hm] family and mylang are not set.
    2024-04-17T19:05:13+00:00 [fix-34434-hq7hm] Defaulting to 
family='wikipedia' and mylang='test'.
    2024-04-17T19:05:15+00:00 [fix-34434-hq7hm] Retrieving 1 pages from 
wikipedia:simple.
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Working on 
'User:PotsdamLamb/test'
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Found ref without references.
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] 1 read operation
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Execution time:
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Read operation time: 0.0 seconds
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Script terminated by exception:
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] ERROR: 'NoneType' object is not 
iterable (TypeError)
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] Traceback (most recent call 
last):
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File "/workspace/pwb.py", 
line 40, in <module>
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     sys.exit(main())
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File "/workspace/pwb.py", 
line 36, in main
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     runpy.run_path(str(path), 
run_name='__main__')
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/layers/heroku_python/python/lib/python3.9/runpy.py", line 288, in run_path
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     return 
_run_module_code(code, init_globals, run_name,
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/layers/heroku_python/python/lib/python3.9/runpy.py", line 97, in 
_run_module_code
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     _run_code(code, 
mod_globals, init_globals,
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/layers/heroku_python/python/lib/python3.9/runpy.py", line 87, in _run_code
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     exec(code, run_globals)
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/scripts/wrapper.py", line 519, in <module>
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     main()
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/scripts/wrapper.py", line 503, in main
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     if not execute():
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/scripts/wrapper.py", line 490, in execute
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     run_python_file(filename, 
script_args, module)
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/scripts/wrapper.py", line 147, in run_python_file
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     exec(compile(source, 
filename, 'exec', dont_inherit=True),
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/scripts/noreferences.py", line 790, in <module>
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     main()
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/scripts/noreferences.py", line 784, in main
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     bot.run()
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/bot.py", line 1468, in run
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     self.treat(page)
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/pywikibot/bot.py", line 1721, in treat
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     self.treat_page()
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/scripts/noreferences.py", line 745, in treat_page
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     
self.put_current(self.addReferences(text))
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]   File 
"/workspace/scripts/noreferences.py", line 614, in addReferences
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm]     for section in 
i18n.translate(self.site, referencesSections):
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] TypeError: 'NoneType' object is 
not iterable
    2024-04-17T19:05:16+00:00 [fix-34434-hq7hm] CRITICAL: Exiting due to 
uncaught exception TypeError: 'NoneType' object is not iterable

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

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

To: Xqt, PotsdamLamb
Cc: JJMC89, Xqt, Aklapper, pywikibot-bugs-list, PotsdamLamb, mevo, 
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 
786, Biggs657, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, 
Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, 
CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, 
MayS, Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Neuronton, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to