verbalinsurection / next_rocket_launch Goto Github PK
View Code? Open in Web Editor NEWThe Next Rocket Launch sensor platform allows you to monitor the next rocket launch from Teamup.
License: Apache License 2.0
The Next Rocket Launch sensor platform allows you to monitor the next rocket launch from Teamup.
License: Apache License 2.0
A few days ago, the NRL integration disappeared from my HA. I'm on HAOS 11.2 and in the community folder, the folder in custom_components was gone. I just reinstalled from HACS and getting this:
Logger: homeassistant.loader
Source: loader.py:836
First occurred: 10:23:38 AM (3 occurrences)
Last logged: 10:24:08 AM
Unexpected exception importing platform custom_components.next_rocket_launch.sensor
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 790, in _option
yield
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 92, in block6
self.rule()
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 74, in wrapper
return self._call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 612, in _call
result = self._recursive_call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 643, in _recursive_call
return self._invoke_rule(ruleinfo, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 689, in _invoke_rule
ruleinfo.impl(self)
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 404, in rule
self.expre()
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 74, in wrapper
return self._call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 612, in _call
result = self._recursive_call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 643, in _recursive_call
return self._invoke_rule(ruleinfo, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 689, in _invoke_rule
ruleinfo.impl(self)
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 488, in expre
self._error(
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 548, in _error
raise self._make_exception(item, exclass=exclass)
tatsu.exceptions.FailedParse: (6:14) expecting one of: '|' :
ALPHADIGIT = ? "[a-zA-Z0-9]";
^
expre
rule
grammar
start
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 233, in parse
result = rule()
^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 74, in wrapper
return self._call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 612, in _call
result = self._recursive_call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 643, in _recursive_call
return self._invoke_rule(ruleinfo, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 689, in _invoke_rule
ruleinfo.impl(self)
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 66, in start
self.grammar()
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 74, in wrapper
return self._call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 612, in _call
result = self._recursive_call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 643, in _recursive_call
return self._invoke_rule(ruleinfo, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 689, in _invoke_rule
ruleinfo.impl(self)
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 101, in grammar
self._closure(block6)
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 882, in _closure
block()
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 91, in block6
with self._option():
File "/usr/local/lib/python3.11/contextlib.py", line 155, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 796, in _option
raise FailedCut(e)
tatsu.exceptions.FailedCut: (6:14) expecting one of: '|' :
ALPHADIGIT = ? "[a-zA-Z0-9]";
^
expre
rule
grammar
start
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 836, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 853, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/next_rocket_launch/sensor.py", line 6, in
from ics import Calendar
File "/usr/local/lib/python3.11/site-packages/ics/init.py", line 3, in
from .alarm import AudioAlarm, DisplayAlarm
File "/usr/local/lib/python3.11/site-packages/ics/alarm/init.py", line 1, in
from ics.alarm.audio import AudioAlarm
File "/usr/local/lib/python3.11/site-packages/ics/alarm/audio.py", line 3, in
from ics.alarm.base import BaseAlarm
File "/usr/local/lib/python3.11/site-packages/ics/alarm/base.py", line 6, in
from ics.component import Component
File "/usr/local/lib/python3.11/site-packages/ics/component.py", line 5, in
from ics.grammar.parse import Container
File "/usr/local/lib/python3.11/site-packages/ics/grammar/parse.py", line 10, in
GRAMMAR = tatsu.compile(fd.read())
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/tool.py", line 165, in compile
model = cache[key] = gen.parse(grammar, config=config, **settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 237, in parse
raise self._furthest_exception
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 790, in _option
yield
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 1173, in regex
self.STRING()
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 74, in wrapper
return self._call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 612, in _call
result = self._recursive_call(ruleinfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 643, in _recursive_call
return self._invoke_rule(ruleinfo, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 689, in _invoke_rule
ruleinfo.impl(self)
File "/usr/local/lib/python3.11/site-packages/tatsu/bootstrap.py", line 1110, in STRING
self._error(
File "/usr/local/lib/python3.11/site-packages/tatsu/contexts.py", line 548, in _error
raise self._make_exception(item, exclass=exclass)
tatsu.exceptions.FailedParse: (6:15) expecting one of: "((?:[^"\n]|"|\)?)"'((?:[^'\n]|'|\)?)' :
ALPHADIGIT = ? "[a-zA-Z0-9]";
^
STRING
regex
regexes
pattern
separator
gather
term
element
sequence
option
choice
expre
rule
grammar
start
Awesome integration but add a note about it being in french. ๐
Not sure what this means. (Integration appears to be working. Running v 1.0.3.)
This error originated from a custom integration.
Logger: custom_components.next_rocket_launch.sensor
Source: custom_components/next_rocket_launch/sensor.py:78
Integration: next_rocket_launch (documentation, issues)
First occurred: 9:29:01 AM (1 occurrences)
Last logged: 9:29:01 AM
Unexpected error fetching sensor data: timeout() got an unexpected keyword argument 'loop'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/next_rocket_launch/sensor.py", line 41, in async_update_data
return await ics_data_provider.ics_update()
File "/config/custom_components/next_rocket_launch/sensor.py", line 78, in ics_update
async with async_timeout.timeout(10, loop=self.hass.loop):
TypeError: timeout() got an unexpected keyword argument 'loop'
No 'version' key in the manifest file for custom integration 'next_rocket_launch'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'next_rocket_launch'
My Home assistant is on version 2021.4.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.