I need some help interpreting this error
2QdxY4RzWzUUiLuE at potatochowder.com
2QdxY4RzWzUUiLuE at potatochowder.com
Wed Feb 17 13:23:21 EST 2021
On 2021-02-17 at 16:52:55 +0000,
Chris Green <cl at isbd.net> wrote:
> Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> > Chris Green <cl at isbd.net> 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 problem I could be waiting for days
> or weeks even before I see the error again. As I'd need to print the
> type for every message I'd get some big logs or I'd need to add a try:
> except to trap the specific error.
An intermittent problem! They're our favorite! ;-)
Seriously, though, do you have a message that provokes the problem? Is
there a log at all? Can you re-run that message through the code, in a
debugger or otherwise?
More information about the Python-list
mailing list