python - Succeeds in building rodeo 0.4.3 but fails to run with ubuntu 15.04 -
i have build rodeo data oriented ide python:
$ sudo pip install rodeo -u directory '/home/jeanpat/.cache/pip/http' or parent directory not owned current user , cache has been disabled. please check permissions , owner of directory. if executing pip sudo, may want sudo's -h flag. directory '/home/jeanpat/.cache/pip/http' or parent directory not owned current user , cache has been disabled. please check permissions , owner of directory. if executing pip sudo, may want sudo's -h flag. requirement up-to-date: rodeo in /usr/local/lib/python2.7/dist-packages requirement up-to-date: mistune in /usr/local/lib/python2.7/dist-packages (from rodeo) requirement up-to-date: ipython>=3.0.0 in /usr/local/lib/python2.7/dist-packages (from rodeo) requirement up-to-date: docopt in /usr/local/lib/python2.7/dist-packages (from rodeo) requirement up-to-date: pyzmq>=13 in /usr/local/lib/python2.7/dist-packages (from rodeo) requirement up-to-date: flask>=0.10.1 in /usr/local/lib/python2.7/dist-packages (from rodeo) requirement up-to-date: werkzeug>=0.7 in /usr/local/lib/python2.7/dist-packages (from flask>=0.10.1->rodeo) requirement up-to-date: jinja2>=2.4 in /usr/local/lib/python2.7/dist-packages (from flask>=0.10.1->rodeo) requirement up-to-date: itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from flask>=0.10.1->rodeo) requirement up-to-date: markupsafe in /usr/local/lib/python2.7/dist-packages (from jinja2>=2.4->flask>=0.10.1->rodeo)
then when rodeo run terminal, things go wrong:
~$ rodeo . _______ ___ ______ ________ ___ |_ __ \ .' `.|_ _ `.|_ __ | .' `. | |__) | / .-. \ | | `. \ | |_ \_|/ .-. \ | __ / | | | | | | | | | _| _ | | | | _| | \ \_\ `-' /_| |_.' /_| |__/ |\ `-' / |____| |___|`.___.'|______.'|________| `.___.' '''''''''''''''''''''''''''''''''''''''''''''''''' url: http://localhost:5000/ directory: /home/jeanpat '''''''''''''''''''''''''''''''''''''''''''''''''' (process:13719): glib-critical **: g_slice_set_config: assertion 'sys_page_size == 0' failed [error]: exception on / [get] traceback (most recent call last): file "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() file "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) file "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) file "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() file "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) file "/usr/local/lib/python2.7/dist-packages/rodeo/rodeo.py", line 71, in home file_tree=file_tree, version=__version__) file "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 128, in render_template context, ctx.app) file "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 110, in _render rv = template.render(context) file "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render return self.environment.handle_exception(exc_info, true) file "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception reraise(exc_type, exc_value, tb) file "/usr/local/lib/python2.7/dist-packages/rodeo/templates/index.html", line 34, in top-level template code {% include 'bottom-right.html' %} file "/usr/local/lib/python2.7/dist-packages/rodeo/templates/bottom-right.html", line 17, in top-level template code <a id="file-{{ f.dirname }}" data-parnet-slug="{{ f.parentslug }}" data-dirname="{{ f.dirslug }}" href="#" class="list-group-item {{ f.parentslug }} showdir"> unicodedecodeerror: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
firefox says internal server error
this belongs in comment, don't have rep it, sorry...
but experienced same failure. had rodeo installed via pip on osx , working while (except raw_input() quietly crash whole thing), a) broke ipython notebook independently trying change default file location, 2) uninstalled , reinstalled ipython, 3) somehow rodeo got broken in of this. , got similar errors respect bottom-right.html, although picked differently seemingly random line claim couldn't understand ascii in. (as recall, character claimed confused 'a' -- seriously.)
then randomly came next day. suspect killing , restarting terminal helped. might try that, start.
Comments
Post a Comment