Skip to content

attach does not work in Jupyter notebooks with any sage jupyter kernel (broken since 2017!) #2916

Open
@williamstein

Description

@williamstein
  1. Make a file code.sage with code in it.
  2. Type attach('code.sage'). There is a weird warning that has nothing to do with code.sage, but attach pretends to work.
  3. Try to use something from code.sage -- it does not work.

Note that attach works fine in Sage worksheets and sage on the command line.

See https://cocalc.com/share/4a5f0542-5873-4eed-a85c-a18c706e8bcd/support/2018-06-12-sage-code/notebook.ipynb?viewer=share/

screenshot 2018-06-12 at 11 36 26 am

Attach fails in the same way using upstream plain jupyter, so this is a Sage bug or a problem with our kernel:

screenshot 2018-06-12 at 11 39 04 am

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions