Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing

Поиск
Список
Период
Сортировка
От Célestin Matte
Тема Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing
Дата
Msg-id cd426669-d5fb-fe3e-b0c1-28c10866ff28@cmatte.me
обсуждение исходный текст
Ответ на [PATCH] pgarchives: parser: handle messages in which Message-ID is missing  (Célestin Matte <celestin.matte@cmatte.me>)
Ответы Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing
Список pgsql-www
By the way, loader/load_message.py has a double crash issue, when importing a message raising an IgnorableException:

[...]
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/pgarchives/local//loader/load_message.py", line 155, in <module>
    log_failed_message(listid, "mbox", opt.mbox, ap, e)
  File "/srv/pgarchives/local//loader/load_message.py", line 36, in log_failed_message
    'err': str(str(err), 'us-ascii', 'replace'),
TypeError: decoding str is not supported

I don't understand what this line is supposed to do (removing non-ascii characters?), but a simple str(err) fixes the
issue.

Cheers,
-- 
Célestin Matte



В списке pgsql-www по дате отправления:

Предыдущее
От: Célestin Matte
Дата:
Сообщение: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing
Следующее
От: Célestin Matte
Дата:
Сообщение: [PATCH] pglister: load_subscribers.py: don't wait for user input when there is nothing to commit