$ /opt/local/python3/bin/sigal build
Sorting albums [####################################] 100%
Sorting media [####################################] 100%
Traceback (most recent call last):
File "/opt/local/python3/bin/sigal", line 11, in <module>
sys.exit(main())
File "/opt/local/python3/lib/python3.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/opt/local/python3/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/local/python3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/local/python3/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/local/python3/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/local/python3/lib/python3.7/site-packages/sigal/__init__.py", line 141, in build
gal = Gallery(settings, ncpu=ncpu)
File "/opt/local/python3/lib/python3.7/site-packages/sigal/gallery.py", line 563, in __init__
album.sort_medias(settings['medias_sort_attr'])
File "/opt/local/python3/lib/python3.7/site-packages/sigal/gallery.py", line 344, in sort_medias
reverse=self.settings['medias_sort_reverse'])
File "/opt/local/python3/lib/python3.7/site-packages/sigal/gallery.py", line 341, in <lambda>
key = lambda s: strxfrm(getattr(s, medias_sort_attr))
ValueError: character U+1010769 is not in range [U+0000; U+10ffff]
Any idea on what could be wrong?
Here it is the system:
@mcmara - It looks similar to http://bugs.python.org/issue16258 ? If you don't find a workaround, I guess we could add a failover on sigal to use a simple sort if the sort with the locale failed.
Here it is a very simple structure:
A default config file:
It fails with an obscure error:
Any idea on what could be wrong? Here it is the system: