these might be useful:
https://github.com/rkern/line_profiler/issues/61
https://github.com/rkern/line_profiler/issues/62
https://github.com/rkern/line_profiler/pull/65
https://github.com/rkern/line_profiler/pull/68
Best
S.
* Travis Scrimshaw <
tsc...@ucdavis.edu> [2016-09-01 07:03:31]:
> I just installed the line profiler because I want to do %lprun, but
> this is broken in 7.4.beta2 (likely is beta0)
> ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
> â SageMath version 7.4.beta2, Release Date: 2016-08-26 Â Â Â Â Â
> Â Â â
> â Type "notebook()" for the browser-based notebook interface. Â Â Â
> Â â
> â Type "help()" for help. Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
> Â Â Â Â Â Â Â â
> ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
> ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
> â Warning: this is a prerelease version, and it may be unstable. Â Â
> â
> ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
> from[SageTerminalApp] WARNING | Error in loading extension:
> line_profiler
> Check your config files in
> /home/travis/.sage/ipython-5.0.0/profile_default
> Traceback (most recent call last):
> Â File
> "/home/travis/sage-build/local/lib/python2.7/site-packages/IPython/core
> /shellapp.py", line 246, in init_extensions
> Â Â self.shell.extension_manager.load_extension(ext)
> Â File
> "/home/travis/sage-build/local/lib/python2.7/site-packages/IPython/core
> /extensions.py", line 85, in load_extension
> Â Â if self._call_load_ipython_extension(mod):
> Â File
> "/home/travis/sage-build/local/lib/python2.7/site-packages/IPython/core
> /extensions.py", line 132, in _call_load_ipython_extension
> Â Â mod.load_ipython_extension(self.shell)
> Â File
> "/home/travis/sage-build/local/lib/python2.7/site-packages/line_profile
> r.py", line 372, in load_ipython_extension
> Â Â ip.define_magic('lprun', magic_lprun)
> AttributeError: 'SageTerminalInteractiveShell' object has no attribute
> 'define_magic'
> Volker and IPython upgrade people, please fix this (and %attach).
> Travis
>
> --
> You received this message because you are subscribed to the Google
> Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]
sage-devel+...@googlegroups.com.
> To post to this group, send email to [2]
sage-...@googlegroups.com.
> Visit this group at [3]
https://groups.google.com/group/sage-devel.
> For more options, visit [4]
https://groups.google.com/d/optout.
>
> References
>
> 1. mailto:
sage-devel+...@googlegroups.com
> 2. mailto:
sage-...@googlegroups.com
> 3.
https://groups.google.com/group/sage-devel
> 4.
https://groups.google.com/d/optout