Public library error with 9.0.7 Pro

Just upgraded a Seafile Pro installation to 9.0.7. I can’t access public libraries anymore. Here’s the error

août 11 19:19:16 seafile python[43623]: 2022-08-11 17:19:16,186 [ERROR] django.request:230 log_response Internal Server Error: /published/public/
                                         Traceback (most recent call last):
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/core/handlers/exception.py", line 47, in inner
                                             response = get_response(request)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/core/handlers/base.py", line 181, in _get_response
                                             response = wrapped_callback(request, *callback_args, **callback_kwargs)
                                           File "/opt/seafile/seafile-server/seahub/seahub/wiki/views.py", line 233, in slug
                                             "has_index": has_index,
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/shortcuts.py", line 19, in render
                                             content = loader.render_to_string(template_name, context, request, using=using)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/loader.py", line 62, in render_to_string
                                             return template.render(context, request)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/backends/django.py", line 61, in render
                                             return self.template.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 170, in render
                                             return self._render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 162, in _render
                                             return self.nodelist.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 938, in render
                                             bit = node.render_annotated(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 905, in render_annotated
                                             return self.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/loader_tags.py", line 150, in render
                                             return compiled_parent._render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 162, in _render
                                             return self.nodelist.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 938, in render
                                             bit = node.render_annotated(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 905, in render_annotated
                                             return self.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/loader_tags.py", line 62, in render
                                             result = block.nodelist.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 938, in render
                                             bit = node.render_annotated(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 905, in render_annotated
                                             return self.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/defaulttags.py", line 315, in render
                                             return nodelist.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 938, in render
                                             bit = node.render_annotated(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 905, in render_annotated
                                             return self.render(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 988, in render
                                             output = self.filter_expression.resolve(context)
                                           File "/opt/seafile/seafile-server/seahub/thirdpart/django/template/base.py", line 698, in resolve
                                             new_obj = func(obj, *arg_vals)
                                           File "/opt/seafile/seafile-server/seahub/seahub/base/templatetags/seahub_tags.py", line 315, in translate_seahub_time_str
                                             if now < val:
                                         TypeError: '<' not supported between instances of 'datetime.datetime' and 'int'

9.0.7 (2022/08/11)

Note: included lxml library is removed for some compatiblity reason. The library is used in published libraries feature and WebDAV feature. You need to install lxml manually after upgrade to 9.0.7. Use command pip3 install lxml to install it.

lxml has been installed in the venv, and webdav is working correctly