##// END OF EJS Templates
fix bug in stale profile clean up for clusters...
fix bug in stale profile clean up for clusters "clusters" tab of my notebook wasn't rendering, so checked the log, found the stack trace: ``` [...] File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/handlers.py", line 21, in get self.finish(json.dumps(self.cluster_manager.list_profiles())) File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/clustermanager.py", line 77, in list_profiles self.update_profiles() File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/clustermanager.py", line 74, in update_profiles self.profiles.pop(stale) TypeError: unhashable type: 'set' ``` looks like a pretty straightforward mistake

File last commit:

r21208:e65db1aa
r21236:10a376e0
Show More
terminal.html
64 lines | 1.2 KiB | text/html | HtmlLexer
Thomas Kluyver
Basic infrastructure for terminal page
r18480 {% extends "page.html" %}
{% block title %}{{page_title}}{% endblock %}
Jason Grout
Split apart the body attributes and classes in the notebook templates
r19841 {% block bodyclasses %}terminal-app {{super()}}{% endblock %}
Thomas Kluyver
Basic infrastructure for terminal page
r18480 {% block params %}
data-base-url="{{base_url}}"
Thomas Kluyver
Multiple terminals and conditional initialisation
r18482 data-ws-path="{{ws_path}}"
Thomas Kluyver
Basic infrastructure for terminal page
r18480
{% endblock %}
Jonathan Frederic
Prevent terminal from scrolling
r19656 {% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("terminal/css/override.css") }}" type="text/css" />
{% endblock %}
Thomas Kluyver
Basic infrastructure for terminal page
r18480
{% block site %}
Jonathan Frederic
Make terminal pretty
r19649 <div id="terminado-container" class="container"></div>
Thomas Kluyver
Basic infrastructure for terminal page
r18480
{% endblock %}
{% block script %}
Thomas Kluyver
Terminal basically working...
r18481
<!-- Hack: this needs to be outside the display:none block, so we can measure
its size in JS in setting up the page. It is still invisible. Putting in
the script block gets it outside the initially undisplayed region. -->
<!-- test size: 25x80 -->
Bussonnier Matthias
recompute dummy size dynamically + styling in css
r18489 <div style='position:absolute; left:-1000em'>
Thomas Kluyver
HTML fix
r18490 <pre id="dummy-screen" style="border: solid 5px white;" class="terminal">0
Thomas Kluyver
Terminal basically working...
r18481 1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
Bussonnier Matthias
recompute dummy size dynamically + styling in css
r18489 <span id="dummy-screen-rows" style="">01234567890123456789012345678901234567890123456789012345678901234567890123456789</span>
Thomas Kluyver
Terminal basically working...
r18481 </pre>
Bussonnier Matthias
recompute dummy size dynamically + styling in css
r18489 </div>
Thomas Kluyver
Terminal basically working...
r18481
Thomas Kluyver
Basic infrastructure for terminal page
r18480 {{super()}}
<script src="{{ static_url("terminal/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}