Traceback (most recent call last):


 "/Users/jkirkham/miniconda/envs/cython/bin/cython", line 11, in <module>

sys.exit(setuptools_main())


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 840, in setuptools_main

return main(command_line = 1)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 858, in main

result = compile(sources, options)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 780, in compile

return compile_multiple(source, options)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 757, in compile_multiple

result = run_pipeline(source, options, context=context)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline

err, enddata = Pipeline.run_pipeline(pipeline, source)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline

data = run(phase, data)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Pipeline.py", line 335, in run

return phase(data)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Pipeline.py", line 34, in parse

tree = context.parse(source_desc, scope, pxd = 0, full_module_name = full_module_name)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 369, in parse

tree = Parsing.p_module(s, pxd, full_module_name)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 3707, in p_module

body = p_statement_list(s, ctx(level=level), first_statement = 1)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 2341, in p_statement_list

stat = p_statement(s, ctx, first_statement = first_statement)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 2333, in p_statement

return p_simple_statement_list(s, ctx, first_statement=first_statement)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 2154, in p_simple_statement_list

stat = p_simple_statement(s, first_statement = first_statement)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 2148, in p_simple_statement

node = p_expression_or_assignment(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 1523, in p_expression_or_assignment

expr = p_testlist_star_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 1453, in p_testlist_star_expr

expr = p_test_or_starred_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 210, in p_test_or_starred_expr

return p_test(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 142, in p_test

expr = p_or_test(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 163, in p_or_test

return p_rassoc_binop_expr(s, ('or',), p_and_test)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 166, in p_rassoc_binop_expr

n1 = p_subexpr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 179, in p_and_test

return p_rassoc_binop_expr(s, ('and',), p_not_test)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 166, in p_rassoc_binop_expr

n1 = p_subexpr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 189, in p_not_test

return p_comparison(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 195, in p_comparison

n1 = p_starred_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 219, in p_starred_expr

expr = p_bit_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 261, in p_bit_expr

return p_binop_expr(s, ('|',), p_xor_expr)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 266, in p_xor_expr

return p_binop_expr(s, ('^',), p_and_expr)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 271, in p_and_expr

return p_binop_expr(s, ('&',), p_shift_expr)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 276, in p_shift_expr

return p_binop_expr(s, ('<<', '>>'), p_arith_expr)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 281, in p_arith_expr

return p_binop_expr(s, ('+', '-'), p_term)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 286, in p_term

return p_binop_expr(s, ('*', '@', '/', '%', '//'), p_factor)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 97, in p_binop_expr

n1 = p_sub_expr(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 292, in p_factor

return _p_factor(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 308, in _p_factor

return p_typecast(s)


 "/Users/jkirkham/miniconda/envs/cython/lib/python3.8/site-packages/Cython/Compiler/Parsing.py", line 322, in p_typecast

and base_type.name is None):
AttributeError: 'CTupleBaseTypeNode' object has no attribute 'name'

2018-04-02 10:13:48 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1522678428.8859806, level=ERROR, message=Update for media_player.philips_tv fails, exception=Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity.py", line 204, in async_update_ha_state

yield from self.async_device_update()


 "/usr/src/app/homeassistant/helpers/entity.py", line 327, in async_device_update

yield from self.hass.async_add_job(self.update)


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/app/homeassistant/util/__init__.py", line 319, in wrapper

result = method(*args, **kwargs)


 "/usr/src/app/homeassistant/components/media_player/philips_js.py", line 186, in update

self._tv.update()


 "/usr/local/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 61, in update

self.getName()


 "/usr/local/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 67, in getName

r = self._getReq('system/name')


 "/usr/local/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 33, in _getReq

resp = requests.get(BASE_URL.format(self._host, self.api_version, path), timeout=TIMEOUT)
AttributeError: 'PhilipsTV' object has no attribute 'api_version'
