Hi Gregor,

On Thu, 16 Jan 2020, gregor herrmann wrote:
>   File "/usr/lib/calibre/calibre/library/catalogs/bibtex.py", line 400, in run
>     % (nb_entries, nowf().strftime("%A, %d. %B %Y 
> %H:%M").decode(preferred_encoding)))

That does not work. For a quick fix, use this:
--- bibtex.py.orig      2020-01-17 07:19:29.325310092 +0900
+++ bibtex.py   2020-01-17 07:19:31.577334960 +0900
@@ -397,7 +397,7 @@

             outfile.write('%%%Calibre catalog\n%%%{0} entries in 
catalog\n\n'.format(nb_entries))
             outfile.write('@preamble{"This catalog of %d entries was generated 
by calibre on %s"}\n\n'
-                % (nb_entries, nowf().strftime("%A, %d. %B %Y 
%H:%M").decode(preferred_encoding)))
+                % (nb_entries, nowf().strftime("%A, %d. %B %Y %H:%M")))

             for entry in data:
                 outfile.write(create_bibtex_entry(entry, fields, bib_entry, 
template_citation,

on /usr/lib/calibre/calibre/library/catalogs/bibtex.py

I will contact/check upstream and report.

Thanks for the report

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

Reply via email to