Skip to content

Some magics (e. g %%mathematica) have vanished #35246

@EmmanuelCharpentier

Description

@EmmanuelCharpentier

Is there an existing issue for this?

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

Did you read the documentation and troubleshoot guide?

  • I have read the documentation and troubleshoot guide

Environment

- **OS**: Debian testing
- **Sage Version**: 10.0.beta1 and 10.0.beta3

Steps To Reproduce

sage: %%mathematica
....: D[Sin[x], x]
....: 
....: 

Expected Behavior

Cos[x]

Actual Behavior

UsageError: Cell magic `%%mathematica` not found.

Additional Information

FWIW, in a console :

sage: %display ascii_art # see https://github.com/sagemath/sage/issues/30661
sage: %lsmagic
Available line magics:
%alias  %alias_magic  %attach  %autoawait  %autocall  %autoindent  %automagic  %bookmark  %cat  %cd  %clear  %colors  %conda  %config  %cp  %cpaste  %crun  %debug  %dhist  %dirs  %display  %doctest_mode  %ed  %edit  %env  %gap  %gp  %gui  %hist  %history  %iload  %killbgscripts  %ldir  %less  %lf  %lk  %ll  %load  %load_ext  %loadpy  %logoff  %logon  %logstart  %logstate  %logstop  %ls  %lsmagic  %lx  %macro  %magic  %magma  %man  %matplotlib  %maxima  %mkdir  %more  %mv  %notebook  %page  %paste  %pastebin  %pdb  %pdef  %pdoc  %pfile  %pinfo  %pinfo2  %pip  %polymake  %popd  %pprint  %precision  %prun  %psearch  %psource  %pushd  %pwd  %pycat  %pylab  %quickref  %recall  %rehashx  %reload_ext  %rep  %rerun  %reset  %reset_selective  %rm  %rmdir  %run  %runfile  %sage0  %save  %sc  %set_env  %singular  %store  %sx  %system  %tb  %time  %timeit  %unalias  %unload_ext  %who  %who_ls  %whos  %xdel  %xmode

Available cell magics:
%%!  %%HTML  %%SVG  %%bash  %%capture  %%cython  %%debug  %%file  %%fortran  %%gap  %%gp  %%html  %%javascript  %%js  %%latex  %%magma  %%markdown  %%maxima  %%perl  %%polymake  %%prun  %%pypy  %%python  %%python2  %%python3  %%ruby  %%sage0  %%script  %%sh  %%singular  %%svg  %%sx  %%system  %%time  %%timeit  %%writefile

Automagic is ON, % prefix IS NOT needed for line magics.

The %sage0 and %%sage0 entries look suspicious...

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