Hi Henrik,
On Sep 20, 2017, at 08:58, Henrik Rasmussen <her@adm.ku.dk> wrote:
I am facing errors when using import21 to import list archives. The error message is "A string literal cannot contain NUL (0x00) characters." and the import stops, thus importing only mails up to 2009. The dublicates is mails already imported when retrying. If a mail contains illegal characters I would expect disregarding the particular mail and continue, or ignoring the nul character.
bash-4.3# python manage.py hyperkitty_import --verbosity 3 --since "01.01.1970" --list-address example@mailman3.ku.dk /opt/mailman-web-data/tmp/example@mailman3.ku.dk.mbox
This is actually a bug in HyperKitty, not import21 (which is part of the Core). I don’t see this issue previously reported. Can you submit a new issue here:
https://gitlab.com/mailman/hyperkitty/issues
Thanks, -Barry