Skip to content

vibium text crashes on large page text (bufio.Scanner: token too long) #209

Description

@vincebln2

Description

vibium text crashes with bufio.Scanner: token too long on pages whose text exceeds ~64KB, such as large JSON API responses.

Steps to reproduce:

vibium go "https://randomuser.me/api/?results=5000&format=pretty"
vibium wait load
vibium text

Expected:
page text returned (truncated with a warning is fine), exit 0

Actual:

vibium text  → Error: read response: bufio.Scanner: token too long, exit 1

Environment

vibium v26.5.31 · Chrome for Testing 149.0.7827.115 · macOS 26.5.1

References

#112 (B25) · related: #168, #110 (same 64KB-buffer issue, Python client)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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