Closed chenxj2020 closed 3 years ago
Version: ckan: 2.9 python: 3.8
In order to update my translation file, firstly I re-extract the messages by running the command: python setup.py extract_messages
But there is error in the extracting process, it interrupts with:
File "/usr/lib/ckan/default/lib/python3.8/site-packages/jinja2/lexer.py", line 381, in expect raise TemplateSyntaxError("expected token %r, got %r" % jinja2.exceptions.TemplateSyntaxError: expected token ',', got 'old_link'
Do you know how to solve this problem? Appreciate for any reply.
Version: ckan: 2.9 python: 3.8
In order to update my translation file, firstly I re-extract the messages by running the command: python setup.py extract_messages
But there is error in the extracting process, it interrupts with:
File "/usr/lib/ckan/default/lib/python3.8/site-packages/jinja2/lexer.py", line 381, in expect raise TemplateSyntaxError("expected token %r, got %r" % jinja2.exceptions.TemplateSyntaxError: expected token ',', got 'old_link'
Do you know how to solve this problem? Appreciate for any reply.