Skip to content

TypeError: b2a_base64() argument 1 must be bytes or buffer, not str during SMTP.login #50540

Description

@milivojm
mannequin
BPO 6291
Nosy @bitdancer
Superseder
  • bpo-5259: smtplib is broken in Python3
  • Files
  • test.py: Python example script invoking error
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-06-16.12:59:24.675>
    created_at = <Date 2009-06-16.08:19:53.487>
    labels = ['type-bug', 'library']
    title = 'TypeError: b2a_base64() argument 1 must be bytes or buffer, not str during SMTP.login'
    updated_at = <Date 2009-06-16.12:59:24.646>
    user = 'https://bugs.python.org/milivojm'

    bugs.python.org fields:

    activity = <Date 2009-06-16.12:59:24.646>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-06-16.12:59:24.675>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2009-06-16.08:19:53.487>
    creator = 'milivojm'
    dependencies = []
    files = ['14307']
    hgrepos = []
    issue_num = 6291
    keywords = []
    message_count = 2.0
    messages = ['89428', '89431']
    nosy_count = 2.0
    nosy_names = ['r.david.murray', 'milivojm']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '5259'
    type = 'behavior'
    url = 'https://bugs.python.org/issue6291'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions