UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Reader = _TemplateReader(name, escape.native_str(template_string),įile "/usr/local/lib/python3.5/site-packages/tornado/escape.py", line 218, in to_unicode Template = Template(f.read(), name=name, loader=self)įile "/usr/local/lib/python3.5/site-packages/tornado/template.py", line 304, in _init_ Self.templates = self._create_template(name)įile "/usr/local/lib/python3.5/site-packages/tornado/template.py", line 455, in _create_template Html = self.render_string(template_name, **kwargs)įile "/usr/local/lib/python3.5/site-packages/tornado/web.py", line 862, in render_stringįile "/usr/local/lib/python3.5/site-packages/tornado/template.py", line 427, in load Result = method(*self.path_args, **self.path_kwargs)įile "/usr/local/lib/python3.5/site-packages/tornado/web.py", line 724, in render HTTPServerRequest(protocol='http', host='X.X.X.X', method='GET', uri='/images/main-img1.jpg', version='HTTP/1.1', remote_ip='X.X.X.X', headers=)įile "/usr/local/lib/python3.5/site-packages/tornado/web.py", line 1509, in _execute httpbody press(data) And also added http header: 'Content-Encoding': 'gzip' However, when I receive this http request in another tornado web application, I see that it results in decompressing failure as mentioned above. Login using a dummy user and start the server.Uncaught exception GET /images/main-img1.jpg (X.X.X.X) From one of the tornado web application, I am sending http request by compressing the body using zlib. Start jupyterhub as: jupyterhub -ip -port -f jupyterhub_config.py Install jupyterhub on python3 alt install env. Jupyterhub should be able to spawn the single-user servers. Return (yield from _wait(fs, timeout, return_when, loop))įile "/usr/lib64/python3.6/asyncio/tasks.py", line 396, in _waitĬoncurrent.futures._base.CancelledError Expected behaviour Uncaught exception GET /hub/api/users/admin/server/progress (10.61.51.140) Unhandled error waiting for admin's server to show up at : ^C Received signal SIGINT, initiating shutdown. : HTTP 500: Internal Server Error (Spawner failed to start. Timedelta(seconds=self.slow_spawn_timeout), finish_spawn_futureĭuring handling of the above exception, another exception occurred:įile "/home/myuser/jupyterhub/jupyterhub/handlers/base.py", line 972, in spawn_single_user body) except ValueError, e: decode track data error. In the python3 alt install env, when i start the hub, the spawn fails with the following error:ĮRROR:asyncio:Task exception was never retrievedįile "/home/myuser/jupyterhub/jupyterhub/handlers/base.py", line 939, in spawn_single_user write(b POST /echo HTTP/1.1 Transfer-Encoding: chunked Content-Type. When I start the hub in a conda environment, i am able to login, do a notebook server spawn and perform python operations. The python3 installed is a python alt install and not a virtual env via conda. I have installed jupyter hub development install using the following documentation:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |