-
Notifications
You must be signed in to change notification settings - Fork 95
cylc review: can't handle suite names with special characters #3441
Copy link
Copy link
Open
Description
If I create a suite named cylc-run/test and then try to list my suites using cylc review (7.8.4) I get:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/net/home/h03/fcm/cylc-7.8.4/lib/cherrypy/_cprequest.py", line 679, in respond
response.body = self.handler()
File "/net/home/h03/fcm/cylc-7.8.4/lib/cherrypy/lib/encoding.py", line 230, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/net/home/h03/fcm/cylc-7.8.4/lib/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "/net/home/h03/fcm/cylc-7.8.4/lib/cylc/review.py", line 493, in suites
return template.render(**data)
File "/net/home/h03/fcm/cylc-7.8.4/lib/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/net/home/h03/fcm/cylc-7.8.4/lib/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/net/home/h03/fcm/cylc-7.8.4/lib/cylc/cylc-review/template/suites.html", line 170, in top-level template code
<td><small>{{entry.name}}</small></td>
File "/net/home/h03/fcm/cylc-7.8.4/lib/markupsafe/_native.py", line 22, in escape
return Markup(text_type(s)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4: ordinal not in range(128)
Probably not worth fixing at this stage?
Reactions are currently unavailable