Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "<stdin>", line 1, in to_javascript


 "python_to_pythonjs.py", line 3801, in main

module_path = module_path


 "python_to_pythonjs.py", line 259, in __init__

self.visit(node)


 "python_to_pythonjs.py", line 267, in visit

res = visitor(node)


 "python_to_pythonjs.py", line 406, in visit_ImportFrom

path = os.path.join( self._module_path, node.module+'.py')


 "/lib/python2.7/posixpath.py", line 68, in join

elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):


 "/home/andrew/projects/aiohttp/aiohttp/helpers.py", line 477, in log

for key, value in fmt_info:


 "/home/andrew/projects/aiohttp/aiohttp/helpers.py", line 469, in <genexpr>

for key, method in self._methods)


 "/home/andrew/projects/aiohttp/aiohttp/helpers.py", line 429, in _format_a

ip = request.remote


 "/home/andrew/projects/aiohttp/aiohttp/helpers.py", line 512, in __get__

val = self.wrapped(inst)


 "/home/andrew/projects/aiohttp/aiohttp/web_request.py", line 318, in remote

peername = self.transport.get_extra_info('peername')
AttributeError: 'NoneType' object has no attribute 'get_extra_info'
