Skip to content

Instantly share code, notes, and snippets.

@mazz
Created November 20, 2016 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mazz/ba897d5adcb93aaa8090a83cd6132caf to your computer and use it in GitHub Desktop.
Save mazz/ba897d5adcb93aaa8090a83cd6132caf to your computer and use it in GitHub Desktop.
ipython server log 2
(sauna1_env)➜ pic2pic cat /tmp/pyramid_notebook/michaelkhanna@gmail.com/notebook.stderr.log
Starting notebook, daemon True
Starting with context {'greeting': '\n\nAvailable variables and functions:\n\n* **app** - The [WSGI application](http://docs.pylonsproject.org/docs/pyramid/en/latest/api/paster.html?highlight=wsgi%20application#pyramid.paster.get_app) object generated by bootstrapping.\n* **request** - A [pyramid.request.Request](http://docs.pylonsproject.org/projects/pyramid/en/latest/api/request.html#pyramid.request.Request) object implying the current request state for your script.\n* **root** - The resource [root](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-root) of your Pyramid application. This is an object generated by the [root factory](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-root-factory) configured in your application.\n* **registry** - The application [registry](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-application-registry) of your Pyramid application.\n\n* **datetime** - Python [datetime module](https://docs.python.org/3.5/library/datetime.html)\n* **time** - Python [time module](https://docs.python.org/3.5/library/time.html)\n* **transaction** - Zope [transaction manager](http://zodb.readthedocs.org/en/latest/transactions.html), e.g. `transaction.commit()`\n\n* **sqlalchemy** - sqlachemy module\n* **dbsession** - SQLAlchemy database session\n* **now()** - UTC time as timezone aware datetime object\n* **initializer** - websauna.system.Initializer instance\n\n* **Group** - websauna.system.user.models.Group\n* **UserGroup** - websauna.system.user.models.UserGroup\n* **User** - websauna.system.user.models.User\n* **Activation** - websauna.system.user.models.Activation\n\n', 'notebook_path': '/notebook/', 'http_port': 40009, 'extra_template_paths': ['/home/maz/webapp/sauna1_env/lib/python3.5/site-packages/pyramid_notebook/server/templates'], 'jinja_environment_options': {}, 'allow_origin': 'http://manosphere.xyz:6543', 'startup': "\n\nfrom pkg_resources import load_entry_point\nfrom pyramid_notebook.utils import change_directory\n\n# We need to use this to trigger a proper namespaced package loading\n# due to different approaches between pip / easy_install / python setup.py develop\n# (it doesn't matter which entry point we load as long as it's from websauna package)\nentry_point = load_entry_point('websauna', 'console_scripts', 'ws-shell')\n\nfrom websauna.system.devop.cmdline import init_websauna_script_env\n\n# Our development.ini, production.ini, etc.\nconfig_file = '/home/maz/webapp/sauna1_env/pic2pic/pic2pic/conf/development.ini'\n\nwith change_directory('/home/maz/webapp/sauna1_env/pic2pic'):\n script_env = init_websauna_script_env(config_file)\n globals().update(script_env)\n\n\nimport datetime\nimport time\nimport transaction\n\n\ndbsession = request.dbsession\nfrom websauna.utils.time import now\nimport sqlalchemy\n\nfrom websauna.system.user.models import Group\nfrom websauna.system.user.models import UserGroup\nfrom websauna.system.user.models import User\nfrom websauna.system.user.models import Activation\n\n", 'context_hash': 4536338824164878544, 'websocket_url': 'ws://localhost:40009'}
Launching on localhost:40009, having context {'kill_timeout': 1800, 'extra_template_paths': ['/home/maz/webapp/sauna1_env/lib/python3.5/site-packages/pyramid_notebook/server/templates'], 'notebook_name': 'default-4536338824164878544.ipynb', 'jinja_environment_options': {}, 'startup': "\n\nfrom pkg_resources import load_entry_point\nfrom pyramid_notebook.utils import change_directory\n\n# We need to use this to trigger a proper namespaced package loading\n# due to different approaches between pip / easy_install / python setup.py develop\n# (it doesn't matter which entry point we load as long as it's from websauna package)\nentry_point = load_entry_point('websauna', 'console_scripts', 'ws-shell')\n\nfrom websauna.system.devop.cmdline import init_websauna_script_env\n\n# Our development.ini, production.ini, etc.\nconfig_file = '/home/maz/webapp/sauna1_env/pic2pic/pic2pic/conf/development.ini'\n\nwith change_directory('/home/maz/webapp/sauna1_env/pic2pic'):\n script_env = init_websauna_script_env(config_file)\n globals().update(script_env)\n\n\nimport datetime\nimport time\nimport transaction\n\n\ndbsession = request.dbsession\nfrom websauna.utils.time import now\nimport sqlalchemy\n\nfrom websauna.system.user.models import Group\nfrom websauna.system.user.models import UserGroup\nfrom websauna.system.user.models import User\nfrom websauna.system.user.models import Activation\n\n", 'pid': 16011, 'greeting': '\n\nAvailable variables and functions:\n\n* **app** - The [WSGI application](http://docs.pylonsproject.org/docs/pyramid/en/latest/api/paster.html?highlight=wsgi%20application#pyramid.paster.get_app) object generated by bootstrapping.\n* **request** - A [pyramid.request.Request](http://docs.pylonsproject.org/projects/pyramid/en/latest/api/request.html#pyramid.request.Request) object implying the current request state for your script.\n* **root** - The resource [root](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-root) of your Pyramid application. This is an object generated by the [root factory](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-root-factory) configured in your application.\n* **registry** - The application [registry](http://docs.pylonsproject.org/docs/pyramid/en/latest/glossary.html#term-application-registry) of your Pyramid application.\n\n* **datetime** - Python [datetime module](https://docs.python.org/3.5/library/datetime.html)\n* **time** - Python [time module](https://docs.python.org/3.5/library/time.html)\n* **transaction** - Zope [transaction manager](http://zodb.readthedocs.org/en/latest/transactions.html), e.g. `transaction.commit()`\n\n* **sqlalchemy** - sqlachemy module\n* **dbsession** - SQLAlchemy database session\n* **now()** - UTC time as timezone aware datetime object\n* **initializer** - websauna.system.Initializer instance\n\n* **Group** - websauna.system.user.models.Group\n* **UserGroup** - websauna.system.user.models.UserGroup\n* **User** - websauna.system.user.models.User\n* **Activation** - websauna.system.user.models.Activation\n\n', 'notebook_path': '/notebook/', 'http_port': 40009, 'allow_origin': 'http://manosphere.xyz:6543', 'context_hash': 4536338824164878544, 'websocket_url': 'ws://localhost:40009'}
Dropping startup script /tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython/profile_default/startup/startup.py
[D 15:58:34.035 NotebookApp] Config changed:
[D 15:58:34.035 NotebookApp] {'NotebookApp': {'extra_template_paths': ['/home/maz/webapp/sauna1_env/lib/python3.5/site-packages/pyramid_notebook/server/templates'], 'log_level': 10, 'allow_origin': 'http://manosphere.xyz:6543', 'open_browser': False, 'port': 40009, 'websocket_url': 'ws://localhost:40009', 'base_url': '/notebook/'}}
[D 15:58:34.037 NotebookApp] IPYTHONDIR set to: /tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython
[D 15:58:34.039 NotebookApp] Using existing profile dir: '/tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython/profile_default'
[D 15:58:34.039 NotebookApp] Searching path ['/tmp/pyramid_notebook/michaelkhanna@gmail.com', '/tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython/profile_default', '/usr/local/etc/ipython', '/etc/ipython'] for config files
[D 15:58:34.039 NotebookApp] Attempting to load config file: ipython_config.py
[D 15:58:34.041 NotebookApp] Attempting to load config file: ipython_notebook_config.py
[D 15:58:34.045 NotebookApp] searching for local mathjax in ['/tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython/nbextensions', '/home/maz/webapp/sauna1_env/share/jupyter/nbextensions', '/usr/local/share/jupyter/nbextensions', '/usr/share/jupyter/nbextensions']
[D 15:58:34.045 NotebookApp] searching for local mathjax in ['/tmp/pyramid_notebook/michaelkhanna@gmail.com/.ipython/profile_default/static', '/home/maz/webapp/sauna1_env/lib/python3.5/site-packages/IPython/html/static']
[I 15:58:34.046 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 15:58:34.096 NotebookApp] Serving notebooks from local directory: /tmp/pyramid_notebook/michaelkhanna@gmail.com
[I 15:58:34.096 NotebookApp] 0 active kernels
[I 15:58:34.096 NotebookApp] The IPython Notebook is running at: http://localhost:40009/notebook/
[I 15:58:34.096 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[D 15:58:36.085 NotebookApp] Using contents: services/contents
[D 15:58:36.131 NotebookApp] 200 GET /notebook/notebooks/default-4536338824164878544.ipynb (::1) 48.38ms
[D 15:58:36.299 NotebookApp] 304 GET /notebook/static/custom/custom.css?v=900035aa0c126bb85df55c5b3e51b6f1 (::1) 5.42ms
[D 15:58:36.590 NotebookApp] 200 GET /notebook/static/components/jquery/jquery.min.js?v=20161120155834 (::1) 2.10ms
[D 15:58:36.606 NotebookApp] 200 GET /notebook/static/base/js/namespace.js?v=20161120155834 (::1) 1.16ms
[D 15:58:36.625 NotebookApp] 200 GET /notebook/static/services/contents.js?v=20161120155834 (::1) 0.99ms
[D 15:58:36.630 NotebookApp] 200 GET /notebook/static/base/js/utils.js?v=20161120155834 (::1) 0.97ms
[D 15:58:36.639 NotebookApp] 200 GET /notebook/static/services/config.js?v=20161120155834 (::1) 1.16ms
[D 15:58:36.648 NotebookApp] 200 GET /notebook/static/notebook/js/notebook.js?v=20161120155834 (::1) 4.28ms
[D 15:58:36.779 NotebookApp] 200 GET /notebook/static/base/js/page.js?v=20161120155834 (::1) 1.41ms
[D 15:58:36.781 NotebookApp] 200 GET /notebook/static/auth/js/loginwidget.js?v=20161120155834 (::1) 1.00ms
[D 15:58:36.783 NotebookApp] 200 GET /notebook/static/base/js/events.js?v=20161120155834 (::1) 1.60ms
[D 15:58:36.791 NotebookApp] 200 GET /notebook/static/notebook/js/pager.js?v=20161120155834 (::1) 1.09ms
[D 15:58:36.800 NotebookApp] 200 GET /notebook/static/notebook/js/maintoolbar.js?v=20161120155834 (::1) 1.09ms
[D 15:58:37.033 NotebookApp] 200 GET /notebook/static/notebook/js/menubar.js?v=20161120155834 (::1) 1.07ms
[D 15:58:37.036 NotebookApp] 200 GET /notebook/static/notebook/js/quickhelp.js?v=20161120155834 (::1) 1.01ms
[D 15:58:37.037 NotebookApp] 200 GET /notebook/static/notebook/js/notificationarea.js?v=20161120155834 (::1) 0.79ms
[D 15:58:37.061 NotebookApp] 200 GET /notebook/static/notebook/js/savewidget.js?v=20161120155834 (::1) 1.18ms
[D 15:58:37.063 NotebookApp] 200 GET /notebook/static/notebook/js/actions.js?v=20161120155834 (::1) 0.88ms
[D 15:58:37.072 NotebookApp] 200 GET /notebook/static/notebook/js/keyboardmanager.js?v=20161120155834 (::1) 1.23ms
[D 15:58:37.187 NotebookApp] 200 GET /notebook/static/notebook/js/kernelselector.js?v=20161120155834 (::1) 1.19ms
[D 15:58:37.207 NotebookApp] 200 GET /notebook/static/components/moment/moment.js?v=20161120155834 (::1) 1.33ms
[D 15:58:37.210 NotebookApp] 200 GET /notebook/static/custom/custom.js?v=20161120155834 (::1) 1.76ms
[D 15:58:37.217 NotebookApp] 200 GET /notebook/static/components/codemirror/lib/codemirror.js?v=20161120155834 (::1) 2.32ms
[D 15:58:37.229 NotebookApp] 200 GET /notebook/static/notebook/js/about.js?v=20161120155834 (::1) 1.03ms
[D 15:58:37.230 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/meta.js?v=20161120155834 (::1) 0.77ms
[D 15:58:37.479 NotebookApp] 200 GET /notebook/static/base/js/dialog.js?v=20161120155834 (::1) 1.10ms
[D 15:58:37.484 NotebookApp] 200 GET /notebook/static/notebook/js/cell.js?v=20161120155834 (::1) 1.20ms
[D 15:58:37.486 NotebookApp] 200 GET /notebook/static/notebook/js/textcell.js?v=20161120155834 (::1) 0.85ms
[D 15:58:37.487 NotebookApp] 200 GET /notebook/static/notebook/js/codecell.js?v=20161120155834 (::1) 0.82ms
[D 15:58:37.498 NotebookApp] 200 GET /notebook/static/services/sessions/session.js?v=20161120155834 (::1) 1.01ms
[D 15:58:37.525 NotebookApp] 200 GET /notebook/static/notebook/js/celltoolbar.js?v=20161120155834 (::1) 1.54ms
[D 15:58:37.536 NotebookApp] 200 GET /notebook/static/components/marked/lib/marked.js?v=20161120155834 (::1) 0.99ms
[D 15:58:37.640 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/runmode/runmode.js?v=20161120155834 (::1) 1.05ms
[D 15:58:37.642 NotebookApp] 200 GET /notebook/static/base/js/keyboard.js?v=20161120155834 (::1) 0.79ms
[D 15:58:37.646 NotebookApp] 200 GET /notebook/static/notebook/js/tooltip.js?v=20161120155834 (::1) 2.41ms
[D 15:58:37.650 NotebookApp] 200 GET /notebook/static/notebook/js/mathjaxutils.js?v=20161120155834 (::1) 2.38ms
[D 15:58:37.663 NotebookApp] 200 GET /notebook/static/notebook/js/celltoolbarpresets/default.js?v=20161120155834 (::1) 1.10ms
[D 15:58:37.664 NotebookApp] 200 GET /notebook/static/notebook/js/celltoolbarpresets/rawcell.js?v=20161120155834 (::1) 0.79ms
[D 15:58:37.679 NotebookApp] 200 GET /notebook/static/notebook/js/celltoolbarpresets/slideshow.js?v=20161120155834 (::1) 0.98ms
[D 15:58:37.719 NotebookApp] 200 GET /notebook/static/components/jquery-ui/ui/minified/jquery-ui.min.js?v=20161120155834 (::1) 1.61ms
[D 15:58:37.721 NotebookApp] 200 GET /notebook/static/base/js/notificationarea.js?v=20161120155834 (::1) 0.81ms
[D 15:58:37.722 NotebookApp] 200 GET /notebook/static/notebook/js/scrollmanager.js?v=20161120155834 (::1) 1.02ms
[D 15:58:37.726 NotebookApp] 200 GET /notebook/static/notebook/js/toolbar.js?v=20161120155834 (::1) 1.27ms
[D 15:58:37.743 NotebookApp] 200 GET /notebook/static/components/bootstrap/js/bootstrap.min.js?v=20161120155834 (::1) 1.15ms
[D 15:58:37.745 NotebookApp] 200 GET /notebook/static/notebook/js/tour.js?v=20161120155834 (::1) 0.99ms
[D 15:58:37.807 NotebookApp] 200 GET /notebook/static/components/underscore/underscore-min.js?v=20161120155834 (::1) 1.44ms
[D 15:58:37.826 NotebookApp] 200 GET /notebook/static/base/js/security.js?v=20161120155834 (::1) 1.41ms
[D 15:58:37.853 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/gfm/gfm.js?v=20161120155834 (::1) 1.57ms
[D 15:58:37.867 NotebookApp] 200 GET /notebook/static/notebook/js/codemirror-ipythongfm.js?v=20161120155834 (::1) 1.05ms
[D 15:58:37.891 NotebookApp] 200 GET /notebook/static/services/kernels/kernel.js?v=20161120155834 (::1) 2.79ms
[D 15:58:37.922 NotebookApp] 200 GET /notebook/static/notebook/js/outputarea.js?v=20161120155834 (::1) 1.68ms
[D 15:58:37.925 NotebookApp] 200 GET /notebook/static/notebook/js/completer.js?v=20161120155834 (::1) 1.60ms
[D 15:58:37.932 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/python/python.js?v=20161120155834 (::1) 1.13ms
[D 15:58:37.952 NotebookApp] 200 GET /notebook/static/notebook/js/codemirror-ipython.js?v=20161120155834 (::1) 1.09ms
[D 15:58:37.994 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/edit/matchbrackets.js?v=20161120155834 (::1) 1.07ms
[D 15:58:38.006 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/comment/comment.js?v=20161120155834 (::1) 0.98ms
[D 15:58:38.014 NotebookApp] 200 GET /notebook/static/components/bootstrap-tour/build/js/bootstrap-tour.min.js?v=20161120155834 (::1) 0.95ms
[D 15:58:38.016 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/edit/closebrackets.js?v=20161120155834 (::1) 0.91ms
[D 15:58:38.026 NotebookApp] 200 GET /notebook/static/components/google-caja/html-css-sanitizer-minified.js?v=20161120155834 (::1) 1.07ms
[D 15:58:38.047 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/markdown/markdown.js?v=20161120155834 (::1) 1.62ms
[D 15:58:38.053 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/mode/overlay.js?v=20161120155834 (::1) 0.87ms
[D 15:58:38.074 NotebookApp] 200 GET /notebook/static/components/codemirror/addon/mode/multiplex.js?v=20161120155834 (::1) 0.96ms
[D 15:58:38.076 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/stex/stex.js?v=20161120155834 (::1) 0.73ms
[D 15:58:38.101 NotebookApp] 200 GET /notebook/static/services/kernels/comm.js?v=20161120155834 (::1) 1.01ms
[D 15:58:38.139 NotebookApp] 200 GET /notebook/static/widgets/js/init.js?v=20161120155834 (::1) 1.70ms
[D 15:58:38.141 NotebookApp] 200 GET /notebook/static/services/kernels/serialize.js?v=20161120155834 (::1) 1.27ms
[D 15:58:38.144 NotebookApp] 200 GET /notebook/static/notebook/js/contexthint.js?v=20161120155834 (::1) 1.28ms
[D 15:58:38.179 NotebookApp] 200 GET /notebook/static/components/codemirror/mode/xml/xml.js?v=20161120155834 (::1) 1.92ms
[D 15:58:38.185 NotebookApp] 200 GET /notebook/static/base/js/notificationwidget.js?v=20161120155834 (::1) 1.49ms
[D 15:58:38.425 NotebookApp] 200 GET /notebook/static/widgets/js/widget_link.js?v=20161120155834 (::1) 0.99ms
[D 15:58:38.427 NotebookApp] 200 GET /notebook/static/widgets/js/manager.js?v=20161120155834 (::1) 0.70ms
[D 15:58:38.429 NotebookApp] 200 GET /notebook/static/widgets/js/widget_button.js?v=20161120155834 (::1) 1.55ms
[D 15:58:38.449 NotebookApp] 200 GET /notebook/static/widgets/js/widget_bool.js?v=20161120155834 (::1) 0.99ms
[D 15:58:38.452 NotebookApp] 200 GET /notebook/static/widgets/js/widget_float.js?v=20161120155834 (::1) 0.80ms
[D 15:58:38.459 NotebookApp] 200 GET /notebook/static/widgets/js/widget_box.js?v=20161120155834 (::1) 1.04ms
[D 15:58:38.534 NotebookApp] 200 GET /notebook/static/widgets/js/widget_image.js?v=20161120155834 (::1) 0.95ms
[D 15:58:38.536 NotebookApp] 200 GET /notebook/static/widgets/js/widget_int.js?v=20161120155834 (::1) 0.76ms
[D 15:58:38.537 NotebookApp] 200 GET /notebook/static/widgets/js/widget_output.js?v=20161120155834 (::1) 0.75ms
[D 15:58:38.541 NotebookApp] 200 GET /notebook/static/widgets/js/widget_selection.js?v=20161120155834 (::1) 0.82ms
[D 15:58:38.560 NotebookApp] 200 GET /notebook/static/widgets/js/widget_selectioncontainer.js?v=20161120155834 (::1) 1.00ms
[D 15:58:38.562 NotebookApp] 200 GET /notebook/static/widgets/js/widget_string.js?v=20161120155834 (::1) 0.76ms
[D 15:58:38.586 NotebookApp] 200 GET /notebook/static/widgets/js/widget.js?v=20161120155834 (::1) 1.05ms
[D 15:58:38.590 NotebookApp] 200 GET /notebook/static/components/backbone/backbone-min.js?v=20161120155834 (::1) 2.38ms
[D 15:58:38.878 NotebookApp] 200 GET /notebook/api/config/common?_=1479675516818 (::1) 1.48ms
[D 15:58:38.880 NotebookApp] 200 GET /notebook/api/config/notebook?_=1479675516817 (::1) 0.65ms
[W 15:58:39.070 NotebookApp] Notebook default-4536338824164878544.ipynb is not trusted
[D 15:58:39.072 NotebookApp] 200 GET /notebook/api/contents/default-4536338824164878544.ipynb?type=notebook&_=1479675516819 (::1) 6.49ms
[D 15:58:39.075 NotebookApp] 200 GET /notebook/api/kernelspecs (::1) 1.70ms
[D 15:58:39.449 NotebookApp] 200 GET /notebook/api/contents/default-4536338824164878544.ipynb/checkpoints?_=1479675516820 (::1) 1.91ms
[D 15:58:39.451 NotebookApp] No kernel name specified, using default kernel
[D 15:58:39.465 NotebookApp] Connecting to: tcp://127.0.0.1:35145
[I 15:58:39.466 NotebookApp] Kernel started: 96032ef1-eb22-49f0-acff-bd9abe9d42ae
[D 15:58:39.466 NotebookApp] Kernel args: {'cwd': '/tmp/pyramid_notebook/michaelkhanna@gmail.com'}
[D 15:58:39.468 NotebookApp] 201 POST /notebook/api/sessions (::1) 17.15ms
[D 15:58:39.728 NotebookApp] Serving kernel resource from: /home/maz/webapp/sauna1_env/lib/python3.5/site-packages/IPython/kernel/resources
[D 15:58:39.729 NotebookApp] 304 GET /notebook/kernelspecs/python3/logo-64x64.png (::1) 1.88ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment