Skip to content

OSError: [Errno 63] File name too long #23

@simonw

Description

@simonw

Got this error for a SQL query that returned a large number of columns. Here's the culprit:

template_name = "-".join(sorted(c.name for c in cursor.description))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions