Comments (5)
IPython 3.1 or master? Can you share any of the older notebooks? What version are you upgrading from? Are you using conda or pip? What platform, Python version, and how did you install IPython?
The r magic was removed from IPython a while ago. It's part of rpy2 now.
from notebook.
Linux. Using conda, which brings us to IPython 3.0.0. Just did conda update
to the latest version of Anaconda.
When creating a new notebook and using %load_ext rmagic
, I get this warning:
/home/jeffrey_alstott/anaconda3/lib/python3.4/site-packages/IPython/extensions/rmagic.py:693: UserWarning: The rmagic extension in IPython is deprecated in favour of rpy2.ipython. If available, that will be loaded instead.
http://rpy.sourceforge.net/
warnings.warn("The rmagic extension in IPython is deprecated in favour of "
Unfortunately the notebooks themselves contain sensitive data, which of course adds to the consternation of not being able to access them. I may be able to find a similarly non-working notebook without sensitive data and upload it on nbviewer? Or to somewhere else?
from notebook.
As the warning message states, the rmagic that ships with IPython is deprecated. That functionality is now part of rpy2, available as %load_ext rpy2.ipython
.
Upload wherever you are most comfortable. gists are common. nbviewer doesn't host anything, it's just a renderer of publicly available URLs.
Can you post more of the javascript console output when it fails? Can you open the notebook in an incognito/private browsing window, and see if that works? Do you have anything in custom.js?
from notebook.
Good thinking on the custom.js. I do in fact have things there, and they
are throwing errors:
:8888/static/notebook/js/celltoolbarpresets/default.js?v=20150503182811:48
Default extension for cell metadata editing loaded.
:8888/static/notebook/js/celltoolbarpresets/rawcell.js?v=20150503182811:82
Raw Cell Format toolbar preset loaded.
:8888/static/notebook/js/celltoolbarpresets/slideshow.js?v=20150503182811:43
Slideshow extension for metadata editing loaded.
:8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension:
usability/python-markdown
:8888/nbextensions/usability/execute_time/ExecuteTime.js?v=20150503182811:21
patching codecell to trigger ExecuteCell.ExecuteTime
:8888/nbextensions/usability/execute_time/ExecuteTime.js?v=20150503182811:178
Execute Timings loaded
:8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension:
usability/execute_time/ExecuteTime
:8888/static/base/js/utils.js?v=20150503182811:37 Failed to load
extension(s): Array[1] TypeError: Cannot read property 'toLowerCase' of
undefined
:8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension:
usability/codefolding/codefolding
http://localhost:8888/static/custom/usability/execute_time/ExecuteTime.css
Failed to load resource: the server responded with a status of 404 (Not
Found)
http://localhost:8888/static/components/codemirror/lib/codemirror?v=20150503182811
Failed to load resource: the server responded with a status of 404 (Not
Found)
require.js:141 Uncaught Error: Script error for:
/static/components/codemirror/lib/codemirror
http://requirejs.org/docs/errors.html#scripterror
http://localhost:8888/static/components/codemirror/addon/fold/foldcode?v=20150503182811
Failed to load resource: the server responded with a status of 404 (Not
Found)
require.js:141 Uncaught Error: Script error for:
/static/components/codemirror/addon/fold/foldcode
http://requirejs.org/docs/errors.html#scripterror
:8888/static/notebook/js/notebook.js?v=20150503182811:2119 Notebook failed
to load from JSON: ReferenceError: marked is not defined
:8888/static/services/sessions/session.js?v=20150503182811:52 Session:
kernel_created (487e0ecc-e3dc-4327-a983-4b179c5056d3)
:8888/static/services/kernels/kernel.js?v=20150503182811:436 Starting
WebSockets:
ws://localhost:8888/api/kernels/6f04d9d4-77af-4a74-b373-7b6ee96d0a40
:8888/static/services/kernels/kernel.js?v=20150503182811:97 Kernel:
kernel_connected (6f04d9d4-77af-4a74-b373-7b6ee96d0a40)
:8888/static/services/kernels/kernel.js?v=20150503182811:97 Kernel:
kernel_ready (6f04d9d4-77af-4a74-b373-7b6ee96d0a40)
http://localhost:8888/static/custom/usability/execute_time/ExecuteTime.css
Failed to load resource: the server responded with a status of 404 (Not
Found)
underscore-min.map:1 GET
http://localhost:8888/static/components/underscore/underscore-min.map 404
(Not Found)
backbone-min.map:1 GET
http://localhost:8888/static/components/backbone/backbone-min.map 404 (Not
Found)
I added these ages ago. What is the right way to turn these off with the
current Jupyter setup?
On Sun, May 3, 2015 at 11:24 PM, Min RK [email protected] wrote:
As the warning message states, the rmagic that ships with IPython is
deprecated. That functionality is now part of rpy2, available as %load_ext
rpy2.ipython.Upload wherever you are most comfortable. gists https://gist.github.com/
are common. nbviewer doesn't host anything, it's just a renderer of
publicly available URLs.Can you post more of the javascript console output when it fails? Can you
open the notebook in an incognito/private browsing window, and see if that
works? Do you have anything in custom.js?β
Reply to this email directly or view it on GitHub
#65 (comment)
.
from notebook.
And now I've figured it out. In order to remove this problem, I just needed
to deactivate two /static/custom/custom.js extensions I had:
IPython.load_extensions('usability/execute_time/ExecuteTime')
IPython.load_extensions('usability/python-markdown')
Commenting out both of these lines fixed the problem.
On Sun, May 3, 2015 at 11:29 PM, Jeff Alstott [email protected] wrote:
Good thinking on the custom.js. I do in fact have things there, and they
are throwing errors::8888/static/notebook/js/celltoolbarpresets/default.js?v=20150503182811:48 Default extension for cell metadata editing loaded. :8888/static/notebook/js/celltoolbarpresets/rawcell.js?v=20150503182811:82 Raw Cell Format toolbar preset loaded. :8888/static/notebook/js/celltoolbarpresets/slideshow.js?v=20150503182811:43 Slideshow extension for metadata editing loaded. :8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension: usability/python-markdown :8888/nbextensions/usability/execute_time/ExecuteTime.js?v=20150503182811:21 patching codecell to trigger ExecuteCell.ExecuteTime :8888/nbextensions/usability/execute_time/ExecuteTime.js?v=20150503182811:178 Execute Timings loaded :8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension: usability/execute_time/ExecuteTime :8888/static/base/js/utils.js?v=20150503182811:37 Failed to load extension(s): Array[1] TypeError: Cannot read property 'toLowerCase' of undefined :8888/static/base/js/utils.js?v=20150503182811:29 Loaded extension: usability/codefolding/codefolding http://localhost:8888/static/custom/usability/execute_time/ExecuteTime.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/static/components/codemirror/lib/codemirror?v=20150503182811 Failed to load resource: the server responded with a status of 404 (Not Found) require.js:141 Uncaught Error: Script error for: /static/components/codemirror/lib/codemirror http://requirejs.org/docs/errors.html#scripterror http://localhost:8888/static/components/codemirror/addon/fold/foldcode?v=20150503182811 Failed to load resource: the server responded with a status of 404 (Not Found) require.js:141 Uncaught Error: Script error for: /static/components/codemirror/addon/fold/foldcode http://requirejs.org/docs/errors.html#scripterror :8888/static/notebook/js/notebook.js?v=20150503182811:2119 Notebook failed to load from JSON: ReferenceError: marked is not defined :8888/static/services/sessions/session.js?v=20150503182811:52 Session: kernel_created (487e0ecc-e3dc-4327-a983-4b179c5056d3) :8888/static/services/kernels/kernel.js?v=20150503182811:436 Starting WebSockets: ws://localhost:8888/api/kernels/6f04d9d4-77af-4a74-b373-7b6ee96d0a40 :8888/static/services/kernels/kernel.js?v=20150503182811:97 Kernel: kernel_connected (6f04d9d4-77af-4a74-b373-7b6ee96d0a40) :8888/static/services/kernels/kernel.js?v=20150503182811:97 Kernel: kernel_ready (6f04d9d4-77af-4a74-b373-7b6ee96d0a40) http://localhost:8888/static/custom/usability/execute_time/ExecuteTime.css Failed to load resource: the server responded with a status of 404 (Not Found) underscore-min.map:1 GET http://localhost:8888/static/components/underscore/underscore-min.map 404 (Not Found) backbone-min.map:1 GET http://localhost:8888/static/components/backbone/backbone-min.map 404 (Not Found)
I added these ages ago. What is the right way to turn these off with the
current Jupyter setup?On Sun, May 3, 2015 at 11:24 PM, Min RK [email protected] wrote:
As the warning message states, the rmagic that ships with IPython is
deprecated. That functionality is now part of rpy2, available as %load_ext
rpy2.ipython.Upload wherever you are most comfortable. gists
https://gist.github.com/ are common. nbviewer doesn't host anything,
it's just a renderer of publicly available URLs.Can you post more of the javascript console output when it fails? Can you
open the notebook in an incognito/private browsing window, and see if that
works? Do you have anything in custom.js?β
Reply to this email directly or view it on GitHub
#65 (comment)
.
from notebook.
Related Issues (20)
- Cell numbering is broken for notebook/lab 7 (Anaconda) HOT 3
- Control the direction of flowcharts in Mermaid HOT 2
- Entering numbers in output automatically changes the code cell to markdown and kernel hangs HOT 6
- Keyboard shortcuts to jump to output of executed cell
- I canβt launch Jupyter notebook (PermissionError: [Errno 13] Permission denied) HOT 7
- Kernel is not connecting anymore. HOT 9
- Support the new filebrowser filter
- I can't Launch Jupyter Notebook HOT 8
- v6 -> v7 regressions make notebook impossible to use HOT 5
- Document Running Notebook over SSH Tunnel HOT 2
- Trying to open any notebook/lab v5-7 makes terminal completely unresponsive HOT 3
- Find & replace function also replaces text in read-only cells HOT 1
- OSError: [WinError 10038] - jupyter notebook crashing HOT 3
- Jupyter Notebook fails to run code with OSError and RunTimeError. HOT 8
- "Run this cell and advance" does not work in combination with getpass / input HOT 1
- shift-enter shortcut is too different from most other tools HOT 1
- no such file or directory: bin/ls HOT 2
- Syntax highlighting not on by default HOT 2
- Context-aware auto-indenting not on by default HOT 2
- import error dll load failed while importing rpds : the special procedure could not be find in while run jupyter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notebook.