Page MenuHomePhabricator

PAWS: Error loading notebook (Disk I/O error)
Closed, ResolvedPublic

Description

When I opened PAWS and selected one of my previously created notebook, the following error shows up.


When I open the browser console, the following info/error were logged:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead[Learn More]  main.min.js:84
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.  main.min.js:88:12747
Default extension for cell metadata editing loaded.  main.min.js:24135:9
Raw Cell Format toolbar preset loaded.  main.min.js:24221:5
Slideshow extension for metadata editing loaded.  main.min.js:24269:9
Use of Mutation Events is deprecated. Use MutationObserver instead.  main.min.js:88:7259
actions jupyter-notebook:find-and-replace does not exist, still binding it in case it will be defined later...  main.min.js:29057:17
load_extensions Arguments { 0: "jupyter-js-widgets/extension", 1: "bqplot/extension", 2: "nbresuse/main", 3: "jupyter-leaflet/extension", 4: "jupyter-threejs/extension", 3 more… }  main.min.js:12154:9
Object { readyState: 4, getResponseHeader: .ajax/T.getResponseHeader(), getAllResponseHeaders: .ajax/T.getAllResponseHeaders(), setRequestHeader: .ajax/T.setRequestHeader(), overrideMimeType: .ajax/T.overrideMimeType(), statusCode: .ajax/T.statusCode(), abort: .ajax/T.abort(), state: .Deferred/r.state(), always: .Deferred/r.always(), then: .Deferred/r.then(), 12 more… }  main.min.js:12716:9
API request failed (500): Traceback (most recent call last):
  File "/srv/paws/lib/python3.4/site-packages/notebook/base/handlers.py", line 457, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "/srv/paws/lib/python3.4/site-packages/tornado/gen.py", line 1015, in run
    value = future.result()
  File "/srv/paws/lib/python3.4/site-packages/tornado/concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "/srv/paws/lib/python3.4/site-packages/tornado/gen.py", line 285, in wrapper
    yielded = next(result)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/handlers.py", line 124, in get
    path=path, type=type, format=format, content=content,
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/filemanager.py", line 358, in get
    model = self._notebook_model(path, content=content)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/filemanager.py", line 318, in _notebook_model
    self.mark_trusted_cells(nb, path)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/manager.py", line 447, in mark_trusted_cells
    trusted = self.notary.check_signature(nb)
  File "/srv/paws/lib/python3.4/site-packages/nbformat/sign.py", line 243, in check_signature
    """, (self.algorithm, signature)).fetchone()
sqlite3.OperationalError: disk I/O error
  main.min.js:12718:9
Object { readyState: 4, getResponseHeader: .ajax/T.getResponseHeader(), getAllResponseHeaders: .ajax/T.getAllResponseHeaders(), setRequestHeader: .ajax/T.setRequestHeader(), overrideMimeType: .ajax/T.overrideMimeType(), statusCode: .ajax/T.statusCode(), abort: .ajax/T.abort(), state: .Deferred/r.state(), always: .Deferred/r.always(), then: .Deferred/r.then(), 12 more… }  main.min.js:12716:9
API request failed (500): Traceback (most recent call last):
  File "/srv/paws/lib/python3.4/site-packages/notebook/base/handlers.py", line 457, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "/srv/paws/lib/python3.4/site-packages/tornado/gen.py", line 1015, in run
    value = future.result()
  File "/srv/paws/lib/python3.4/site-packages/tornado/concurrent.py", line 237, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "/srv/paws/lib/python3.4/site-packages/tornado/gen.py", line 285, in wrapper
    yielded = next(result)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/handlers.py", line 124, in get
    path=path, type=type, format=format, content=content,
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/filemanager.py", line 358, in get
    model = self._notebook_model(path, content=content)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/filemanager.py", line 318, in _notebook_model
    self.mark_trusted_cells(nb, path)
  File "/srv/paws/lib/python3.4/site-packages/notebook/services/contents/manager.py", line 447, in mark_trusted_cells
    trusted = self.notary.check_signature(nb)
  File "/srv/paws/lib/python3.4/site-packages/nbformat/sign.py", line 243, in check_signature
    """, (self.algorithm, signature)).fetchone()
sqlite3.OperationalError: disk I/O error
  main.min.js:12718:9
Loading extension: bqplot/extension  main.min.js:12131:21
Loading extension: jupyter-leaflet/extension  main.min.js:12131:21
Failed to load extension: Array [ "nbextensions/nbresuse/main" ] Error: Script error for "nbextensions/nbresuse/main"
http://requirejs.org/docs/errors.html#scripterror
Stack trace:
makeError@https://paws.wmflabs.org/paws/user/Kenrick95/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165:17
newContext/context.onScriptError@https://paws.wmflabs.org/paws/user/Kenrick95/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732:36
  main.min.js:12156:13
Loading extension: jupyter-threejs/extension  main.min.js:12131:21
Widgets are not available.  Please install widgetsnbextension or ipywidgets 4.0  main.min.js:33966:17
Loading extension: jupyter-js-widgets/extension  main.min.js:12131:21
loaded widgets  extension.js:134:14

The Python error logged seemed to indicate a disk I/O error with PAWS.

Event Timeline

Same issue for me

can you go to control panel, stop your server and start it again to see if
it still persists? We had some NFS issues earlier that should be fixed
now...

Kenrick95 closed this task as Resolved.Jan 20 2017, 1:30 PM

It works now after stopping and starting the server. Thanks :)