ERROR: TypeError: unhashable type: 'Wikicode'
ERROR: 2019-03-04 03:49:14 (UTC) Error while trying to run subtask "red-markpages "! ***
Working on 'Diskussion:Fliegerhorst Nordholz'
Traceback (most recent call last):
File "red.py", line 150, in <module>
main()
File "red.py", line 146, in main
jogobot.bot.run_bot( task_slug, subtask, bot )
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/python3.5_venv/lib/python3.5/site-packages/jogobot/bot.py", line 250, in run_bot
bot.run()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 88, in run
super( MarkPagesBot, self ).run()
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1508, in run
self.treat(page)
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1735, in treat
self.treat_page()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 169, in treat_page
add_ret = self.add_disc_notice_template()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 221, in add_disc_notice_template
if self.disc_notice_present():
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 296, in disc_notice_present
matches=self.disc_notice.name ):
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 543, in <genexpr>
return (node for i, node in gen)
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 109, in _indexed_ifilter
if (not forcetype or isinstance(node, forcetype)) and match(node):
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 87, in <lambda>
return lambda obj: re.search(matches, str(obj), flags)
File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
File "/usr/lib/python3.5/re.py", line 281, in _compile
p, loc = _cache[type(pattern), pattern, flags]
TypeError: unhashable type: 'Wikicode'
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
Seit 04.03. funktioniert der MarkPagesBot nicht mehr (ggf. Python3.5 Umstellung)
https://tools.wmflabs.org/jogobot/logs/red/markpages/red_markpages_2019-03.log
````
ERROR: TypeError: unhashable type: 'Wikicode'
ERROR: 2019-03-04 03:49:14 (UTC) Error while trying to run subtask "red-markpages "! ***
Working on 'Diskussion:Fliegerhorst Nordholz'
Traceback (most recent call last):
File "red.py", line 150, in <module>
main()
File "red.py", line 146, in main
jogobot.bot.run_bot( task_slug, subtask, bot )
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/python3.5_venv/lib/python3.5/site-packages/jogobot/bot.py", line 250, in run_bot
bot.run()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 88, in run
super( MarkPagesBot, self ).run()
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1508, in run
self.treat(page)
File "/shared/pywikipedia/core/pywikibot/bot.py", line 1735, in treat
self.treat_page()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 169, in treat_page
add_ret = self.add_disc_notice_template()
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 221, in add_disc_notice_template
if self.disc_notice_present():
File "/mnt/nfs/labstore-secondary-tools-project/jogobot/bot/red/bots/markpages.py", line 296, in disc_notice_present
matches=self.disc_notice.name ):
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 543, in <genexpr>
return (node for i, node in gen)
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 109, in _indexed_ifilter
if (not forcetype or isinstance(node, forcetype)) and match(node):
File "/shared/pywikipedia/core/mwparserfromhell/wikicode.py", line 87, in <lambda>
return lambda obj: re.search(matches, str(obj), flags)
File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
File "/usr/lib/python3.5/re.py", line 281, in _compile
p, loc = _cache[type(pattern), pattern, flags]
TypeError: unhashable type: 'Wikicode'
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
````
Seit 04.03. funktioniert der MarkPagesBot nicht mehr (ggf. Python3.5 Umstellung)
https://tools.wmflabs.org/jogobot/logs/red/markpages/red_markpages_2019-03.log