On 2/17/2021 10:40 AM, Chris Green wrote:
I'm running this using Python 3.7 on a Linux system.
Most of the time (i.e. for a couple of days now) the program has been
satifactorily delivering mail messages, hundreds of them. However one
mail message has provoked the following error:-
chris@
On 2021-02-17 at 17:36:48 +,
Chris Green wrote:
> Stefan Ram wrote:
> > Chris Green writes:
> > >chris@cheddar$ tail mail.err
> > >Traceback (most recent call last):
> > > File "/home/chris/.mutt/bin/filter.py", line 95, in
> > >if sbstrip in msghdr["subject"]:
> > >
On 2021-02-17 at 16:52:55 +,
Chris Green wrote:
> Stefan Ram wrote:
> > Chris Green writes:
> > >But msghdr["subject"] is surely just a string isn't it? Why is it
> > >complaining about something of type 'Header'?
> >
> > What would you do to debug-print the type of an object?
> >
> I
Stestagg wrote:
> I don't particularly like to encourage this shotgun help request because,
> as previous commenter suggests, debugging this yourself is best.
>
> Sometimes debugging is super hard, and especially so when uncommon
> situations occur, but it's always far easier to debug things when
Some sources, in case they help:
Message.get() calls policy.header_fetch_parse (
https://github.com/python/cpython/blob/cd80f430daa7dfe7feeb431ed34f88db5f64aa30/Lib/email/message.py#L471
)
Compat32.header_fetch_parse calls self._sanitize_header (
https://github.com/python/cpython/blob/cd80f430daa7
Stefan Ram wrote:
> Chris Green writes:
> >chris@cheddar$ tail mail.err
> >Traceback (most recent call last):
> > File "/home/chris/.mutt/bin/filter.py", line 95, in
> >if sbstrip in msghdr["subject"]:
> >TypeError: argument of type 'Header' is not iterable
> >But msghdr
I don't particularly like to encourage this shotgun help request because,
as previous commenter suggests, debugging this yourself is best.
Sometimes debugging is super hard, and especially so when uncommon
situations occur, but it's always far easier to debug things when you have
visibility into t
2qdxy4rzwzuui...@potatochowder.com wrote:
> On 2021-02-17 at 16:42:03 +,
> Chris Green wrote:
>
> > 2qdxy4rzwzuui...@potatochowder.com wrote:
> > > On 2021-02-17 at 15:40:27 +,
> > > Chris Green wrote:
> > >
> > > > I'm running this using Python 3.7 on a Linux system.
> > > >
> > > > M
Stefan Ram wrote:
> Chris Green writes:
> >But msghdr["subject"] is surely just a string isn't it? Why is it
> >complaining about something of type 'Header'?
>
> What would you do to debug-print the type of an object?
>
I don't know, what would I do? :-)
Without knowing what provokes the
On 2021-02-17 at 16:42:03 +,
Chris Green wrote:
> 2qdxy4rzwzuui...@potatochowder.com wrote:
> > On 2021-02-17 at 15:40:27 +,
> > Chris Green wrote:
> >
> > > I'm running this using Python 3.7 on a Linux system.
> > >
> > > Most of the time (i.e. for a couple of days now) the program ha
2qdxy4rzwzuui...@potatochowder.com wrote:
> On 2021-02-17 at 15:40:27 +,
> Chris Green wrote:
>
> > I'm running this using Python 3.7 on a Linux system.
> >
> > Most of the time (i.e. for a couple of days now) the program has been
> > satifactorily delivering mail messages, hundreds of them.
On 2021-02-17 at 15:40:27 +,
Chris Green wrote:
> I'm running this using Python 3.7 on a Linux system.
>
> Most of the time (i.e. for a couple of days now) the program has been
> satifactorily delivering mail messages, hundreds of them. However one
> mail message has provoked the following
I'm running this using Python 3.7 on a Linux system.
Most of the time (i.e. for a couple of days now) the program has been
satifactorily delivering mail messages, hundreds of them. However one
mail message has provoked the following error:-
chris@cheddar$ tail mail.err
Traceback (most re
13 matches
Mail list logo