Message7199
We got frequently this exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/roundup/cgi/client.py", line 719, in inner_main
self.write_html(self.renderContext())
File "/usr/lib/python3.8/site-packages/roundup/cgi/client.py", line 1866, in renderContext
tplname = self.selectTemplate(self.classname, self.template)
File "/usr/lib/python3.8/site-packages/roundup/cgi/client.py", line 1859, in selectTemplate
raise templating.NoTemplate('No template file exists for templating '
roundup.cgi.templating.NoTemplate: No template file exists for templating "issue" with template "calendar" (neither "issue.calendar" nor "_generic.calendar")
I think it is due to crawling bot but they keep trying because roundup return a status 500.
I think the NoTemplate exception should be catch in renderContext also when calling selectTemplate, here is a patch that does that. |
|
Date |
User |
Action |
Args |
2021-04-16 07:29:12 | ced | set | recipients:
+ ced |
2021-04-16 07:29:12 | ced | set | messageid: <1618558152.49.0.321760854412.issue2551129@roundup.psfhosted.org> |
2021-04-16 07:29:12 | ced | link | issue2551129 messages |
2021-04-16 07:29:12 | ced | create | |
|