Skip to content

Instantly share code, notes, and snippets.

@Carreau
Created July 22, 2012 18:07
Show Gist options
  • Save Carreau/3160540 to your computer and use it in GitHub Desktop.
Save Carreau/3160540 to your computer and use it in GitHub Desktop.
Find File Handler crashlog
git checkout minrk/staticfile 1 ↵ ──(Dim,jul22)─┘
Note: checking out 'minrk/staticfile'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at f374909... install mathjax to profile by default, instead of IPython tree
theme_precmd:12: command not found: rbenv_prompt_info
zsh: command not found: rbenv_prompt_info
┌─(~/ipython)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(bussonniermatthias@mac:s001)─┐
└─(20:04:05 ✭)──> gti diff ──(Dim,jul22)─┘
zsh: correct 'gti' to 'git' [nyae]? % theme_precmd:12: command not found: rbenv_prompt_info
zsh: command not found: rbenv_prompt_info
┌─(~/ipython)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(bussonniermatthias@mac:s001)─┐
└─(20:04:11 ✭)──> ipython notebook 1 ↵ ──(Dim,jul22)─┘
[NotebookApp] Using existing profile dir: u'/Users/bussonniermatthias/.ipython/profile_default'
[NotebookApp] Serving notebooks from /Users/bussonniermatthias/ipython
[NotebookApp] The port 8888 is already in use, trying another random port.
[NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8889/
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
ERROR:root:projectdashboard.html code:
1 def _execute():
2 _buffer = []
3 _append = _buffer.append
4 _append('<!DOCTYPE HTML>\n<html>\n<head>\n<meta charset="utf-8">\n<title>')
5 _append('IPython Dashboard')
6 _append('</title>\n<link rel="stylesheet" href="')
7 _tmp = static_url("jquery/css/themes/base/jquery-ui.min.css")
8 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
9 else: _tmp = _utf8(str(_tmp))
10 _tmp = _utf8(xhtml_escape(_tmp))
11 _append(_tmp)
12 _append('" type="text/css" />\n<link rel="stylesheet" href="')
13 _tmp = static_url("css/boilerplate.css")
14 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
15 else: _tmp = _utf8(str(_tmp))
16 _tmp = _utf8(xhtml_escape(_tmp))
17 _append(_tmp)
18 _append('" type="text/css" />\n<link rel="stylesheet" href="')
19 _tmp = static_url("css/fbm.css")
20 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
21 else: _tmp = _utf8(str(_tmp))
22 _tmp = _utf8(xhtml_escape(_tmp))
23 _append(_tmp)
24 _append('" type="text/css" />\n<link rel="stylesheet" href="')
25 _tmp = static_url("css/page.css")
26 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
27 else: _tmp = _utf8(str(_tmp))
28 _tmp = _utf8(xhtml_escape(_tmp))
29 _append(_tmp)
30 _append('" type="text/css"/>\n')
31 _append('\n<link rel="stylesheet" href="')
32 _tmp = static_url("css/projectdashboard.css")
33 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
34 else: _tmp = _utf8(str(_tmp))
35 _tmp = _utf8(xhtml_escape(_tmp))
36 _append(_tmp)
37 _append('" type="text/css" />\n<link rel="stylesheet" href="')
38 _tmp = static_url("css/alternateuploadform.css")
39 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
40 else: _tmp = _utf8(str(_tmp))
41 _tmp = _utf8(xhtml_escape(_tmp))
42 _append(_tmp)
43 _append('" type="text/css" />\n')
44 _append('\n<link rel="stylesheet" href="')
45 _tmp = static_url("css/custom.css")
46 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
47 else: _tmp = _utf8(str(_tmp))
48 _tmp = _utf8(xhtml_escape(_tmp))
49 _append(_tmp)
50 _append('" type="text/css" />\n')
51 _append('\n')
52 _append('\n</head>\n<body ')
53 _append('\ndata-project=')
54 _tmp = project
55 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
56 else: _tmp = _utf8(str(_tmp))
57 _tmp = _utf8(xhtml_escape(_tmp))
58 _append(_tmp)
59 _append('\ndata-base-project-url=')
60 _tmp = base_project_url
61 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
62 else: _tmp = _utf8(str(_tmp))
63 _tmp = _utf8(xhtml_escape(_tmp))
64 _append(_tmp)
65 _append('\ndata-base-kernel-url=')
66 _tmp = base_kernel_url
67 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
68 else: _tmp = _utf8(str(_tmp))
69 _tmp = _utf8(xhtml_escape(_tmp))
70 _append(_tmp)
71 _append('\ndata-read-only=')
72 _tmp = read_only
73 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
74 else: _tmp = _utf8(str(_tmp))
75 _tmp = _utf8(xhtml_escape(_tmp))
76 _append(_tmp)
77 _append('\n')
78 _append('>\n<div id="header">\n<span id="ipython_notebook"><h1><a href=')
79 _tmp = base_project_url
80 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
81 else: _tmp = _utf8(str(_tmp))
82 _tmp = _utf8(xhtml_escape(_tmp))
83 _append(_tmp)
84 _append(" alt='dashboard'><img src='")
85 _tmp = static_url("ipynblogo.png")
86 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
87 else: _tmp = _utf8(str(_tmp))
88 _tmp = _utf8(xhtml_escape(_tmp))
89 _append(_tmp)
90 _append("' alt='IPython Notebook'/></a></h1></span>\n")
91 _append('\n<span id="login_widget">\n')
92 if logged_in:
93 _append('\n<button id="logout">Logout</button>\n')
94 elif login_available and not logged_in:
95 _append('\n<button id="login">Login</button>\n')
96 _append('\n</span>\n')
97 _append('\n')
98 _append('\n')
99 _append('\n</div>\n<div id="site">\n')
100 _append('\n<div id="main_app">\n<div id="tabs">\n<ul>\n<li><a href="#tab1">Notebooks</a></li>\n<li><a href="#tab2">Clusters</a></li>\n</ul>\n<div id="tab1">\n')
101 if logged_in or not read_only:
102 _append('\n<div id="notebook_toolbar">\n<form id=\'alternate_upload\' class=\'alternate_upload\' >\n<span id="drag_info" style="position:absolute" >\nTo import a notebook, drag the file onto the listing below or <strong>click here</strong>.\n</span>\n<input type="file" name="datafile" class="fileinput" multiple=\'multiple\'>\n</form>\n<span id="notebook_buttons">\n<button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button>\n<button id="new_notebook" title="Create new notebook">New Notebook</button>\n</span>\n</div>\n')
103 _append('\n<div id="notebook_list">\n<div id="project_name"><h2>')
104 _tmp = project
105 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
106 else: _tmp = _utf8(str(_tmp))
107 _tmp = _utf8(xhtml_escape(_tmp))
108 _append(_tmp)
109 _append('</h2></div>\n</div>\n</div>\n<div id="tab2">\n<div id="cluster_toolbar">\n<span id="cluster_list_info">IPython parallel computing clusters</span>\n<span id="cluster_buttons">\n<button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button>\n</span>\n</div>\n<div id="cluster_list">\n<div id="cluster_header">\n<span>profile</span>\n<span>action</span>\n<span title="Enter the number of engines to start or empty for default"># of engines</span>\n<span>status</span>\n</div>\n</div>\n</div>\n</div>\n</div>\n')
110 _append('\n</div>\n<script src="')
111 _tmp = static_url("jquery/js/jquery-1.7.1.min.js")
112 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
113 else: _tmp = _utf8(str(_tmp))
114 _tmp = _utf8(xhtml_escape(_tmp))
115 _append(_tmp)
116 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
117 _tmp = static_url("jquery/js/jquery-ui.min.js")
118 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
119 else: _tmp = _utf8(str(_tmp))
120 _tmp = _utf8(xhtml_escape(_tmp))
121 _append(_tmp)
122 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
123 _tmp = static_url("js/namespace.js")
124 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
125 else: _tmp = _utf8(str(_tmp))
126 _tmp = _utf8(xhtml_escape(_tmp))
127 _append(_tmp)
128 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
129 _tmp = static_url("js/page.js")
130 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
131 else: _tmp = _utf8(str(_tmp))
132 _tmp = _utf8(xhtml_escape(_tmp))
133 _append(_tmp)
134 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
135 _tmp = static_url("js/loginwidget.js")
136 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
137 else: _tmp = _utf8(str(_tmp))
138 _tmp = _utf8(xhtml_escape(_tmp))
139 _append(_tmp)
140 _append('" type="text/javascript" charset="utf-8"></script>\n')
141 _append('\n<script src="')
142 _tmp = static_url("js/notebooklist.js")
143 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
144 else: _tmp = _utf8(str(_tmp))
145 _tmp = _utf8(xhtml_escape(_tmp))
146 _append(_tmp)
147 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
148 _tmp = static_url("js/clusterlist.js")
149 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
150 else: _tmp = _utf8(str(_tmp))
151 _tmp = _utf8(xhtml_escape(_tmp))
152 _append(_tmp)
153 _append('" type="text/javascript" charset="utf-8"></script>\n<script src="')
154 _tmp = static_url("js/projectdashboardmain.js")
155 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
156 else: _tmp = _utf8(str(_tmp))
157 _tmp = _utf8(xhtml_escape(_tmp))
158 _append(_tmp)
159 _append('" type="text/javascript" charset="utf-8"></script>\n')
160 _append('\n<script src="')
161 _tmp = static_url("js/custom.js")
162 if isinstance(_tmp, _string_types): _tmp = _utf8(_tmp)
163 else: _tmp = _utf8(str(_tmp))
164 _tmp = _utf8(xhtml_escape(_tmp))
165 _append(_tmp)
166 _append('" type="text/javascript" charset="utf-8"></script>\n</body>\n</html>\n')
167 return _utf8('').join(_buffer)
ERROR:root:Uncaught exception GET / (127.0.0.1)
HTTPRequest(protocol='http', host='127.0.0.1:8889', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Accept-Language': 'fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4', 'Accept-Encoding': 'gzip,deflate,sdch', 'Host': '127.0.0.1:8889', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1201.0 Safari/537.1', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'Connection': 'keep-alive', 'If-None-Match': '"1beb58f2fef0e00096dab4821cace84beb48275a"'})
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "<string>", line 2, in get
File "/Users/bussonniermatthias/ipython/IPython/frontend/html/notebook/handlers.py", line 123, in authenticate_unless_readonly
return auth_f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 1667, in wrapper
return method(self, *args, **kwargs)
File "/Users/bussonniermatthias/ipython/IPython/frontend/html/notebook/handlers.py", line 118, in auth_f
return f(self, *args, **kwargs)
File "/Users/bussonniermatthias/ipython/IPython/frontend/html/notebook/handlers.py", line 210, in get
login_available=self.login_available
File "/Users/bussonniermatthias/ipython/IPython/frontend/html/notebook/handlers.py", line 134, in render
return web.RequestHandler.render(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 447, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 558, in render_string
return t.generate(**args)
File "/usr/local/lib/python2.7/site-packages/tornado/template.py", line 236, in generate
return execute()
File "<template projectdashboard.html>", line 7, in _execute
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 884, in static_url
return base + static_handler_class.make_static_url(self.settings, path)
File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 1521, in make_static_url
abs_path = os.path.join(settings["static_path"], path)
File "/usr/local/bin/../Cellar/python/2.7.3/lib/python2.7/posixpath.py", line 68, in join
elif path == '' or path.endswith('/'):
AttributeError: 'list' object has no attribute 'endswith'
ERROR:root:500 GET / (127.0.0.1) 82.42ms
^CShutdown Notebook Server (y/[n])? ^C[NotebookApp] received signal 2, stopping
[NotebookApp] Shutting down kernels
theme_precmd:12: command not found: rbenv_prompt_info
zsh: command not found: rbenv_prompt_info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment