FS#115: Fehler auf Diskussionsseiten ohne Vorlage im ABschnitt 0 #44

Closed
opened 6 years ago by golderweb · 1 comments
Owner

Enthält eine Diskussionsseite Inhalt aber keine Vorlage im Abschnitt 0 kommt es zu einem IndexError

ERROR: IndexError: list index out of range
ERROR: 2017-03-11 11:04:14 (UTC) Error while trying to run subtask "red-markpages "!
Traceback (most recent call last):
File "red.py", line 127, in
main()
File "red.py", line 123, in main
jogobot.bot.run_bot( task_slug, subtask, bot )
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/jogobot/bot.py", line 250, in run_bot
bot.run()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 82, in run
super( MarkPagesBot, self ).run()
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1434, in run
self.treat(page)
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1648, in treat
self.treat_page()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 157, in treat_page
add_ret = self.add_disc_notice_template()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 217, in add_disc_notice_template
ltemplate = leadsec.filter_templates()[-1]


Imported from https://fs.golderweb.de/task/115 via GOLDERWEB FS->GITEA TICKETIMPORTER

Originially opened: Sat Mar 11 11:18:34 2017

Enthält eine Diskussionsseite Inhalt aber keine Vorlage im Abschnitt 0 kommt es zu einem IndexError ERROR: IndexError: list index out of range ERROR: 2017-03-11 11:04:14 (UTC) Error while trying to run subtask "red-markpages "! Traceback (most recent call last): File "red.py", line 127, in <module> main() File "red.py", line 123, in main jogobot.bot.run_bot( task_slug, subtask, bot ) File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/jogobot/bot.py", line 250, in run_bot bot.run() File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 82, in run super( MarkPagesBot, self ).run() File "/shared/pywikipedia/core/pywikibot/bot.py", line 1434, in run self.treat(page) File "/shared/pywikipedia/core/pywikibot/bot.py", line 1648, in treat self.treat_page() File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 157, in treat_page add_ret = self.add_disc_notice_template() File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 217, in add_disc_notice_template ltemplate = leadsec.filter_templates()[-1] ---- Imported from https://fs.golderweb.de/task/115 via GOLDERWEB FS->GITEA TICKETIMPORTER Originially opened: Sat Mar 11 11:18:34 2017
golderweb closed this issue 6 years ago
Poster
Owner

Closed as https://fs.golderweb.de/task/115#taskclosed via GOLDERWEB FS->GITEA TICKETIMPORTER

Originally closed: Sat Mar 11 11:26:49 2017

---- Closed as https://fs.golderweb.de/task/115#taskclosed via GOLDERWEB FS->GITEA TICKETIMPORTER Originally closed: Sat Mar 11 11:26:49 2017
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.