Traceback (most recent call last): ...

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/prompt_toolkit/contrib/python_input.py", line 481, in get_completions
completions = script.completions()

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/__init__.py", line 157, in completions
completions = get_completions(user_stmt, b)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/__init__.py", line 136, in get_completions
return self._simple_complete(path, like)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/__init__.py", line 648, in _simple_complete
return super(Interpreter, self)._simple_complete(path, like)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/__init__.py", line 203, in _simple_complete
scopes = list(self._prepare_goto(path, True))

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/__init__.py", line 265, in _prepare_goto
scopes = self._evaluator.eval_statement(eval_stmt)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 39, in wrapper
rv = function(obj, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/recursion.py", line 24, in run
result = func(evaluator, stmt, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 132, in eval_statement
result = self.eval_expression_list(expression_list)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 170, in eval_expression_list
return self.process_precedence_element(p) or []

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 180, in process_precedence_element
return self.eval_statement_element(el)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 215, in eval_statement_element
return self.eval_call(element)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 226, in eval_call
return self.eval_call_path(path, par, s.start_pos)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 246, in eval_call_path
return self.follow_path(path, types, scope)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 260, in follow_path
fp = self._follow_path(iter_paths[i], typ, call_scope)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 296, in _follow_path
result = self.execute(typ, current)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 336, in execute
stmts = er.FunctionExecution(self, obj, params).get_return_types(evaluate_generator)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 39, in wrapper
rv = function(obj, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/recursion.py", line 108, in run
result = func(execution, evaluate_generator)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/representation.py", line 437, in get_return_types
stmts += self._evaluator.eval_statement(r)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 39, in wrapper
rv = function(obj, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/recursion.py", line 24, in run
result = func(evaluator, stmt, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 132, in eval_statement
result = self.eval_expression_list(expression_list)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 170, in eval_expression_list
return self.process_precedence_element(p) or []

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 180, in process_precedence_element
return self.eval_statement_element(el)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 215, in eval_statement_element
return self.eval_call(element)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 226, in eval_call
return self.eval_call_path(path, par, s.start_pos)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 240, in eval_call_path
search_global=True)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 113, in find_types
return f.find(scopes, resolve_decorator, search_global)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 47, in find
types = self._names_to_types(names, resolve_decorator)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 216, in _names_to_types
types += self._eval_param(typ)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 322, in _eval_param
return res_new + evaluator.eval_statement(param, seek_name=unicode(self.name_str))

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 39, in wrapper
rv = function(obj, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/recursion.py", line 24, in run
result = func(evaluator, stmt, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 132, in eval_statement
result = self.eval_expression_list(expression_list)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 170, in eval_expression_list
return self.process_precedence_element(p) or []

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 180, in process_precedence_element
return self.eval_statement_element(el)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 195, in eval_statement_element
for s in element))

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 195, in <genexpr>
for s in element))

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/cache.py", line 39, in wrapper
rv = function(obj, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/recursion.py", line 24, in run
result = func(evaluator, stmt, *args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 132, in eval_statement
result = self.eval_expression_list(expression_list)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 170, in eval_expression_list
return self.process_precedence_element(p) or []

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 180, in process_precedence_element
return self.eval_statement_element(el)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 215, in eval_statement_element
return self.eval_call(element)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 226, in eval_call
return self.eval_call_path(path, par, s.start_pos)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 240, in eval_call_path
search_global=True)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py", line 113, in find_types
return f.find(scopes, resolve_decorator, search_global)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/debug.py", line 51, in wrapper
result = func(*args, **kwargs)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 46, in find
names = self.filter_name(scopes)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/finder.py", line 89, in filter_name
scope = name.parent.parent

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/cache.py", line 139, in wrapper
result = func(self)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/api/interpreter.py", line 97, in parent
return compiled.create(self._evaluator, self._value, module, module)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/compiled/__init__.py", line 409, in wrapper
result = func(evaluator, obj, parent, module)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/compiled/__init__.py", line 424, in create
faked = fake.get_faked(module and module.obj, obj)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/compiled/fake.py", line 102, in get_faked
result = _faked(module, obj, name)

 "/home/jonathan/env/test4/local/lib/python2.7/site-packages/jedi/evaluate/compiled/fake.py", line 86, in _faked
cls = search_scope(faked_mod, obj.__objclass__.__name__)AttributeError: 'generator' object has no attribute '__objclass__'
Traceback (most recent call last):


 "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap

self.run()


 "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)


 "/usr/local/lib/python3.4/dist-packages/elephas/spark_model.py", line 165, in start_service

threaded=True, use_reloader=False)


 "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 843, in run

run_simple(host, port, self, **options)


 "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 694, in run_simple

inner()


 "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 656, in inner

fd=fd)


 "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 544, in make_server

passthrough_errors, ssl_context, fd=fd)


 "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 464, in __init__

HTTPServer.__init__(self, (host, int(port)), handler)


 "/usr/lib/python3.4/socketserver.py", line 430, in __init__

self.server_bind()


 "/usr/lib/python3.4/http/server.py", line 133, in server_bind

socketserver.TCPServer.server_bind(self)


 "/usr/lib/python3.4/socketserver.py", line 444, in server_bind

self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
