Skip to content

Sage unusable: Exception SagePrompts.continuation_prompt_tokens() got an unexpected keyword argument 'lineno' #36993

@Chaman-veteran

Description

@Chaman-veteran

Steps To Reproduce

When starting sage math everything seems fine but after the first space or carrier return I get the Exception SagePrompts.continuation_prompt_tokens() got an unexpected keyword argument 'lineno' with a tracecall, asking me to type enter to continue (to display the exception).

I let you the whole prompt copy-pasted in the sage_error.log file.

sage_error.log

Expected Behavior

Sage should let my type like usual.

Actual Behavior

It's only happening with the interactive prompt.
Idk if it depends on what I type or something, sometimes I can go up to the carrier return and sometimes I can't even type g = 2, it's returning the exception after the first space was typed!

Additional Information

No response

Environment

- **OS**: Arch Linux (6.6.8-arch1-1)
- **Sage Version**: 10.2
- **Python Version**: 3.11.6

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions