invalid config in hass.io/ hassbian

installed as described in hass.io 0.52.1 i get the following errors in log:
2017-09-06 09:23:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component toon
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 194, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/toon.py", line 47, in setup
    solar)
  File "/config/custom_components/toon.py", line 82, in __init__
    self.update()
  File "/config/custom_components/toon.py", line 106, in update
    float(plug.daily_usage) / 1000, 2),
TypeError: float() argument must be a string or a number, not 'NoneType'
2017-09-06 09:23:33 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2017-09-06 09:23:33 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-09-06 09:23:35 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.

please advise

I get the same error in Hassbian 0.53.1:
2017-09-16 10:54:17 ERROR (MainThread) [homeassistant.setup] Error during setup of component toon
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py", line 194, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 47, in setup
    solar)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 82, in __init__
    self.update()
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 106, in update
    float(plug.daily_usage) / 1000, 2),
TypeError: float() argument must be a string or a number, not 'NoneType'

Hi @kurniawan77
I am on a much older version, I think 0.39. From what I see on the stack trace it fails on updating the smartplugs values. What components do you use? Do you only have Toon, or do you also have fibaro plugs, solar and such. It might be that we are not properly identifying them dynamically but if you don't have components it would be good if you explicitly disable them in your configuration and see where that takes you.

Hi Costas,
I do not have solar. I do have plugs but those aren't fibaro's and they
don't measure power.
How can I disable them in configuration?
On Sep 16, 2017 12:39, "Costas"<EMAIL_ADDRESS>wrote:
Hi @kurniawan77 https://github.com/kurniawan77
I am on a much older version, I think 0.39. From what I see on the stack
trace it fails on updating the smartplugs values. What components do you
use? Do you only have Toon, or do you also have fibaro plugs, solar and
such. It might be that we are not properly identifying them dynamically but
if you don't have components it would be good if you explicitly disable
them in your configuration and see where that takes you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/krocat/ToonHA/issues/9#issuecomment-329960714, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADJxoAEUG-eUmI9Aru9pTX4gFkiuaRBjks5si6VwgaJpZM4PN9C7
.

Are your plugs connected with toon? Does toon handle them in some way? Because then we might need to update the underlying library to be aware of this case. As a workaround for now you can try to comment out lines #103-108 of https://github.com/krocat/ToonHA/blob/master/toon.py and see how that works for you.

Yes, my plugs are connected to toon and I only can switch them on and off
with toon. It works perfect on toon. I will try to uncomment the lines and
see if it works this evening.
On Sep 16, 2017 12:52, "Costas"<EMAIL_ADDRESS>wrote:
Are your plugs connected with toon? Does toon handle them in some way?
Because then we might need to update the underlying library to be aware of
this case. As a workaround for now you can try to comment out lines
#103-108 of https://github.com/krocat/ToonHA/blob/master/toon.py and see
how that works for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/krocat/ToonHA/issues/9#issuecomment-329961254, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADJxoAReIpa-AfpyS_VoRipA-AbhB9CQks5si6hRgaJpZM4PN9C7
.

Right. In that case we need to update the underlying library with a model of your plugs so it is aware of how they show up and what are their capabilities. Please let me know how commeting out goes and then we can try to fix them in toonlib and have your stuff working at least with switching.

Good news!
In dev-state list i now have:

climate.toon_van_eneco

group.all_switches, with switch.bank_hoek and switch.tv_hoek but these two don't come up separately in the dev-state entity_id list and/ or in the "Home" view. However, i can call the services in dev-service and switch them on and off.

sensor.gas_current

sensor.gas_today

sensor.power_current

sensor.power_today

in the error log now:
2017-09-16 23:24:46 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
    return self.toon.get_data(value, self._plug_name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
    return self.toon.get_data(value, self._plug_name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
    return self.toon.get_data(value, self._plug_name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
    return self.toon.get_data(value, self._plug_name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 350, in state
    return STATE_ON if self.is_on else STATE_OFF
  File "/home/homeassistant/.homeassistant/custom_components/switch/toon.py", line 59, in is_on
    return self.toon_data_store.get_data('current_state', self.name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
    state = self.state
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 350, in state
    return STATE_ON if self.is_on else STATE_OFF
  File "/home/homeassistant/.homeassistant/custom_components/switch/toon.py", line 59, in is_on
    return self.toon_data_store.get_data('current_state', self.name)
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
    if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'

Ok, cool. That means that I need to handle your plugs in toon lib as a
device. Today I will be off but tomorrow I will give you some steps to
follow if you want to help out to fix this. It should be an easy fix.
On Sep 16, 2017 23:26, "kurniawan77"<EMAIL_ADDRESS>wrote:

Good news!
In dev-state list i now have:

climate.toon_van_eneco
group.all_switches, with switch.bank_hoek and switch.tv_hoek but these
two don't come up separately in the dev-state entity_id list and/ or in the
"Home" view. However, i can call the services in dev-service and switch
them on and off.
sensor.gas_current
sensor.gas_today
sensor.power_current
sensor.power_today
in the error log now:
2017-09-16 23:24:46 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
return self.toon.get_data(value, self._plug_name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
return self.toon.get_data(value, self._plug_name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
return self.toon.get_data(value, self._plug_name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 122, in state
return self.toon.get_data(value, self._plug_name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 350, in state
return STATE_ON if self.is_on else STATE_OFF
File "/home/homeassistant/.homeassistant/custom_components/switch/toon.py", line 59, in is_on
return self.toon_data_store.get_data('current_state', self.name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'Bank Hoek'
2017-09-16 23:24:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
state = self.state
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 350, in state
return STATE_ON if self.is_on else STATE_OFF
File "/home/homeassistant/.homeassistant/custom_components/switch/toon.py", line 59, in is_on
return self.toon_data_store.get_data('current_state', self.name)
File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 139, in get_data
if data_id in self.data[plug_name]:
KeyError: 'TV Hoek'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/krocat/ToonHA/issues/9#issuecomment-329995874, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEbFaw1pk26vdUsUFw4P0fowXW_BQ6uiks5sjD0hgaJpZM4PN9C7
.

sure/no/problem

What I need for you to do is
install toonlib from pypi
use python REPL
from toonlib import Toon
import logging
import pprint
logging.basicConfig(level=logging.DEBUG)
toon=Toon(EnecoUsername, EnecoPassword)
print toon.smartplugs # (to get the state)
pprint.pprint(toon._state)
and provide me with the outcome of that print, after you censor all the personal info that might be in there. Thanks in advance!

Sorry for responding late.
I think i need some guidance with this. I am not so familiar with this.

I think @krokat is much more suitable to guide you since he was the one
who tried to do it the first time.
kind regards
Costas
On 09/19/2017 04:14 PM, kurniawan77 wrote:

Sorry for responding late.
I think i need some guidance with this. I am not so familiar with this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/krocat/ToonHA/issues/9#issuecomment-330551242, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AEbFaxQMKaUW8RZc_naYfA-vXfiSMEEoks5sj8r1gaJpZM4PN9C7.

Oké no problem.

Sorry, I mixed up the threads. I will guide you with this. What operating
system as you on?
On Sep 19, 2017 22:40, "kurniawan77"<EMAIL_ADDRESS>wrote:

Oké no problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/krocat/ToonHA/issues/9#issuecomment-330666873, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEbFayUQ3X8meuaX4MBl2u7cYLFw8Cf_ks5skCaygaJpZM4PN9C7
.

O great!
My personal/ work laptop is windows10 with python 2.7.13 installed. And i one raspberry2 running wheezy and raspberry3 running from hassbian image. 0.53.1

Great!
I think that things will be easier with the wheezy one.
So on that get a shell and install toonlib.
if you don't have pip:
sudo apt-get install python-pip
it would be good to use virtualenv but this is out of the scope of this right now... If you do know how to use it please do.
if you do have pip:
pip install toonlib, ptpython  # ptpython is a very nice python REPL
start ptpython
ptpython
asign your username and password
username = ENECO_USERNAME
password = ENECO_PASSWORD
and then paste the following on the shell
from toonlib import Toon
import pprint
toon=Toon(username, password)
_ = toon.smartplugs
pprint.pprint(toon._state)
The output you will get is the output I need. Prune it for any personal references like address and such and open an issue on https://github.com/costastf/toonlib/issues and paste it there. I will close this since this is not an issue with ToonHA. I hope this is helpful enough, if not lets take it over to the toonlib issue that you will create for this.

i get :
>>><EMAIL_ADDRESS>Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'irwan' is not defined
name 'irwan' is not defined

@kurniawan77 after updating the underlying toonllib dependency, please give this a try. Update the dependency in the main toon.py file of this add on to reflect the newest version.
So line 15 should be from REQUIREMENTS = ['toonlib==1.0.0'] to REQUIREMENTS = ['toonlib==1.0.1']
Give this a go and post here if everything is working as expected so I can close both issues. Thanks for all your time!

@costastf , Good morning.
Did it yesterday evening. It's working!

however, i do get some new errors:
2017-09-26 09:09:17 WARNING (Thread-6) [homeassistant.components.emulated_hue] Listen IP address not specified, auto-detected address is <IP_ADDRESS>
2017-09-26 09:09:27 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2017-09-26 09:15:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.tv_hoek is taking over 10 seconds
2017-09-26 09:19:19 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bank_hoek_today_energy is taking over 10 seconds
2017-09-26 09:22:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bank_hoek_today_energy is taking over 10 seconds
2017-09-26 09:23:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bank_hoek_today_energy is taking over 10 seconds
2017-09-26 09:28:27 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.bank_hoek_today_energy fails
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
    response.begin()
  File "/usr/lib/python3.4/http/client.py", line 351, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.4/http/client.py", line 321, in _read_status
    raise BadStatusLine(line)
http.client.BadStatusLine: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py", line 438, in send
    timeout=timeout
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py", line 357, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
    response.begin()
  File "/usr/lib/python3.4/http/client.py", line 351, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.4/http/client.py", line 321, in _read_status
    raise BadStatusLine(line)
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine("''",))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/.homeassistant/custom_components/sensor/toon.py", line 131, in update
    self.toon.update()
  File "/home/homeassistant/.homeassistant/custom_components/toon.py", line 86, in update
    self.data['power_current'] = self.toon.power.value
  File "/srv/homeassistant/lib/python3.4/site-packages/toonlib/toonlib.py", line 281, in power
    power = self._state['powerUsage']
  File "/srv/homeassistant/lib/python3.4/site-packages/cachetools/__init__.py", line 46, in wrapper
    v = func(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/toonlib/toonlib.py", line 175, in _state
    state.update(self._get_data('/client/auth/retrieveToonState'))
  File "/srv/homeassistant/lib/python3.4/site-packages/toonlib/toonlib.py", line 189, in _get_data
    response = self._session.get(url, params=params or self._parameters)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py", line 531, in get
    return self.request('GET', url, **kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py", line 518, in request
    resp = self.send(prep, **send_kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py", line 639, in send
    r = adapter.send(request, **kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py", line 488, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
2017-09-26 09:28:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.eet_hoek_today_energy is taking over 10 seconds
2017-09-26 09:33:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.tv_hoek is taking over 10 seconds
2017-09-26 09:36:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bank_hoek_today_energy is taking over 10 seconds
2017-09-26 09:37:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bank_hoek_today_energy is taking over 10 seconds
2017-09-26 09:38:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.tv_hoek is taking over 10 seconds

This is as you can see a "http.client.BadStatusLine: '' which means that something on the network barfed. That being said please update to version 1.0.2 because I have implemented a very small change that would help perform less network calls and let me know how it went. Thanks!

Hi!
I'm getting less errors with 1.0.2 but the warnings still come over time.
2017-09-27 17:32:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 17:32:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:38:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:41:00 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:43:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 17:46:10 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:47:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 17:48:45 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 17:48:45 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:50:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 17:50:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:52:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:58:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 17:59:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:01:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 18:01:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:10:27 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 18:11:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:13:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:17:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:22:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:25:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:26:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:29:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 18:31:07 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:34:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:39:58 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
OSError: [Errno 113] No route to host
2017-09-27 18:46:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:52:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:53:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 18:54:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:02:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:04:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:05:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.toon_van_eneco is taking over 10 seconds
2017-09-27 19:07:17 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:12:27 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:14:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:15:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:24:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:24:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:25:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:27:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:30:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:34:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:35:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:38:48 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:39:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:43:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:46:02 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:47:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:48:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:50:10 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:54:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.toon_van_eneco is taking over 10 seconds
2017-09-27 19:55:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 19:58:26 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 19:59:28 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:02:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:07:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:08:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:13:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:15:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:18:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:19:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:21:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:26:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:27:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:28:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:29:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:32:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:33:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:36:09 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:42:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:45:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:48:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:52:09 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 20:52:09 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:56:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:57:49 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 20:58:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:02:28 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:03:30 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:04:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:09:46 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.toon_van_eneco is taking over 10 seconds
2017-09-27 21:10:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:10:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:12:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:14:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:18:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:23:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:24:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:25:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:25:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:33:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:35:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:39:08 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:39:08 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:41:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:41:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:44:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:51:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:53:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:53:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:54:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 21:57:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 21:58:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.bank_hoek is taking over 10 seconds
2017-09-27 22:01:21 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 22:02:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds
2017-09-27 22:03:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.power_today is taking over 10 seconds

Although, besides the errors, it works fine.

I cannot imagine how this could be the underlying libraries issues since what that does is gets any information that it can from the api (which sadly is very inconsistent) and caches them and any access to any internal object is being serviced by the cache so there are not network calls being performed. This would seem like some kind of locking issue from HA's side. I will go ahead and close this if you are ok with the usability so far. If you get something else feel free to reopen.

Well... somewhere in the middle of the night something went wrong...
home-assistant.log
just reporting and rebooting

Experiencing the same issues here. This has probably been going on for some time already, but i've been looking a lot more at my console now because of #13. I'm noticing that sensors won't update while it's spamming the Update of X is taking over 10 seconds warnings.

It's still outputting the warnings regularly, but the sensor values won't change. The app seems very unresponsive too, could it be ratelimiting?

I did some digging.
Looking at wireshark, toonlib makes 2 requests to the eneco servers. About 10 seconds later we get the 2 warnings above, as you'd expect. 10 more seconds after that home assistant logs the following on the DEBUG channel:
2017-10-13 17:45:43 DEBUG (Thread-8) [toonlib.Toon]
	Status Code :200
	Text :
2017-10-13 17:45:43 DEBUG (Thread-8) [toonlib.Toon] Updating internal state with retrieved state:{}
2017-10-13 17:45:44 DEBUG (Thread-10) [toonlib.Toon]
	Status Code :200
	Text :
2017-10-13 17:45:44 DEBUG (Thread-10) [toonlib.Toon] Updating internal state with retrieved state:{}

The "Status Code" lines seem to come from the failure to decode JSON here, which is to be expected with an empty response. What seems suspicious to me is that the timing of the empty response is almost exactly 20 seconds after the request is made, so it's probably a timeout somewhere.
Another curious thing: The first request is working as expected and quite fast.

I can reproduce this issue with toonlib alone, so this isn't a problem with ToonHA itself. Moving issue over here. Sorry for the spam.


Automated Package Upgrade

:tada: This PR is included in version 25.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Accessibility statement

Context
Add an accessibility statement to the user, based on the template in the Service Manual.
Changes proposed in this pull request
Add the /accessibility page and link to it from the footer.
Re-engineer some of our layout code and the markdown renderer to allow us to write this page in markdown. :artist:
Guidance to review

Checklist
https://trello.com/c/2rceoM9n/344-accessibility-page-accessibility-accessibility-statement

[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

Looks great @tvararu. Two teeny style things:

Please can we change the last sentence in the para 'Feedback and contact information' so it reads: '...contact us if you need them in a different format, for example, large print, audio recording or braille'. The sentence that currently starts 'For example' isn't a proper sentence.
In 'What we are doing to improve accessibility', please can we change 'on-going' to 'ongoing'.

Thank you!


[Feature] cp4data: Install CP4D v3.5

This PR has the code to allow to install Cloud Pak for Data v3.5.
The module require the install_version parameter with the possible values: 3.0 and 3.5. Also includes several parameters to install CPD modules. The modules on 3.5 are completely different to the 3.0 modules.
The installation of CPD 3.5 is different. It follows a similar procedure to the CP4Data Public Catalog. It deploys a Job using the cpd installer image and installs the CP from within the cluster. The same approach is done for CP4A.
The cpd installer for v3.5 throw an error when the --accept-licenses flag is in use.

The code has been tested and it works for version 3.0 and 3.5.
After this merge, will be tested using the cloud-pak-sandboxes project.

The code has been tested and it works for version 3.0 and 3.5.
After this merge, will be tested using the cloud-pak-sandboxes project.


QAing Eye: Does not have an associated user

The QAing eye and externally blocked eye are borked. They look like this:

It seems like this is a webhook bug because Pulldasher is not moving QA pulls with my label to the top, nor using the blue eye to indicate ownership.
CC @MooreGuy

❤


Dotnet 7 SDK doesn't show up via --list-sdks nor does the runtime via --list-runtimes

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: macOS arm64
I see the .net 6 SDKs and runtimes that were already present before installing the .NET 7 SDK. How do I test specifically for .NET 7?

You should see it right next to the existing SDKs.
How did you install it?
Have you tried closing and reopening the terminal after the installation?

It seems I need to set the PATH to look for it in /usr/local/share/dotnet/x64. The one in /usr/local/share/dotnet does not know about .NET 7, but that’s the location that’s in the PATH by default.

On Nov 22, 2022, at 1:59 PM, Marie Píchová @.***> wrote:
You should see it right next to the existing SDKs.
How did you install it?
Have you tried closing and reopening the terminal after the installation?
—
Reply to this email directly, view it on GitHub https://github.com/dotnet/core/issues/7986#issuecomment-1324118490, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXJOEZNA325LMUHEXOAXZPTWJUJ25ANCNFSM6AAAAAASIEJ6CE.
You are receiving this because you authored the thread.

Related issue https://github.com/dotnet/core/issues/6930 and design doc https://github.com/dotnet/designs/blob/main/accepted/2021/x64-emulation-on-arm64/x64-emulation.md
Seems like you have x64 install on arm64 machine.

Related issue #6930 and design doc https://github.com/dotnet/designs/blob/main/accepted/2021/x64-emulation-on-arm64/x64-emulation.md
Seems like you have x64 install on arm64 machine.

I have exact same behavior on a M1 Macbook Air with the ARM64 installer (dotnet-sdk-7.0.100-osx-arm64.pkg)

I'm closing this issue, question was answered.


GitHub action for code coverage

This GitHub Action automates the generation and publishing of code coverage reports of the modules. It captures code coverage data using lcov, filters out third-party, mock files, gtest folders and system libraries.
Then it generates an HTML report that is deployed to GitHub Pages.
Changes made:
Added code-coverage.yml
Added CodeCoverage.cmake
Made changes in CMakeLists.txt

I think this action should be split into parts. Similar to the documentation action:

Build the coverage, zip it and upload the artifact. Should only run on PR's. This way you can still view the output by downloading the zip.
Download the zip, unpack it and publish it. Should only run on push to master (and as a dependency to action 1).

Action 2 could be combined with the doc publish action.
Additionally action 1 could also be integrated into the release workflow. But probably this should be done in another PR, because the permissions in the release workflow need to be fixed.

@marcmo Right now the link is only available in the action log. But we could look into posting the link as a comment to the pr.
For an example see here -> Upload docs

Since we don't have debug symbols in the debug build now the code coverage info might be imprecise. This is fixed in #23 along with failing unit test. I suggest merging it first.


Unable to build project with terra-i18n

Issue Description
I've added terra-i18n as a dependency and when trying to build my project it fails with the following error:
/Users/sk048480/Documents/submissions/devOps/submissions/node_modules/terra-i18n/scripts/aggregate-translations/aggregate-messages.js:21
  );
  ^
SyntaxError: Unexpected token )
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/sk048480/Documents/submissions/devOps/submissions/node_modules/terra-i18n/scripts/aggregate-translations/aggregate-translations.js:6:27)
    at Module._compile (module.js:570:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Issue Type

[ ] New Feature
[ ] Enhancement
[x] Bug
[ ] Other

Expected Behavior
The project build should not fail because of the dependency.
Current Behavior
Build fails to complete.
Steps to Reproduce

Add terra-i18n to a project
In webpack.config.js add translation dependencies as per the aggregate-translations setup steps
Build the project

Environment

Component Version: 2.6.0
Browser Name and Version: Chrome/Safari
Operating System and version (desktop or mobile): OS X Sierra

The aggregate translations pre-build script has moved to terra-toolkit. The [linked docs](https://github.com/cerner/terra-core/blob/master/packages/terra-i18n/docs/AggregateTranslations.md need to be updated to better note this. Can you try following the docs noted here and see if the issue is resolved.


Is the source for the modules available???

I am interested in seeing the source for the modules, which is currently compiled as a module map file. Is there anyway you can share that for others to learn from. It would be much appreciated.
Thank you

Source code added


fix Git SSH known hosts

Signed-off-by: Roke Jung<EMAIL_ADDRESS>Bringing missing fix https://github.com/stolostron/multicloud-operators-subscription/pull/578 into main

/lgtm


增加动态配置中心功能，支持ZooKeeper

#82 . 增加动态配置中心功能，支持ZooKeeper.

this is the re-created PR from https://github.com/huaweicloud/java-mesh/pull/104 with the correct target branch.  The PR was already approved.  So just merge directly this time.


[SPARK-47265][SQL][FOLLOWUP] V2SessionCatalog#createTable should not fail

What changes were proposed in this pull request?

This is a followup of https://github.com/apache/spark/pull/45368 . DelegatingCatalogExtension can invoke any method in V2SessionCatalog, and we should make sure the two overloads of createTable in V2SessionCatalog both work.
Why are the changes needed?

Avoid breaking custom catalogs that extend DelegatingCatalogExtension.
Does this PR introduce any user-facing change?

no
How was this patch tested?

N/A
Was this patch authored or co-authored using generative AI tooling?

no

cc @panbingkun

Merged to master. Thank you @HyukjinKwon @cloud-fan

late LGTM.


Error discord.js version

Hello i have a problem...
I type: b!create and i have this error:
Uncaught Promise Error You must install and use discord.js version 12 or higher to use this package!
[FATAL] Possibly Unhandled Rejection at: Promise  Promise {
 'You must install and use discord.js version 12 or higher to use this package!' }  reason:  undefined
How to resolve this??

Hello i have a problem...
I type: b!create and i have this error:
Uncaught Promise Error You must install and use discord.js version 12 or higher to use this package!
[FATAL] Possibly Unhandled Rejection at: Promise Promise {
'You must install and use discord.js version 12 or higher to use this package!' } reason: undefined
How to resolve this??


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=563241754
https://github.com/Azure/azure-cli-extensions/commit/a5398b2745c7d4c06cd1fdd578212a1864e496a6

Docs Build status updates of commit 4d97fe4:
:clock10: Full build: the average full build time is 7 min(s) 2 sec(s), this is based on the last 141 build(s) for this repository.

Docs Build status updates of commit 4d97fe4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How are the DMS score calculated and normalized

Thanks for providing the benchmark. I was recently trying benchmark some models on the dataset and found the DMS scores highly diverse for regression. For most of the assays, the max-min DMS score range from around -5 to 5, but for some assays like Q6WV13_9MAXI, D7PM05_CLYGR, the number ranges from 589 to 40000, which is clearly not in the same scale.
And for B2L11_HUMAN the min_max activity is 2640756.73 ~ 100215199.65. It seems that the score is not a normalized metric.
I checked the github repository and ProteinGym paper but didn't find how the score was defined. Could you provide more clear definition of the score?
Thanks in advance for any kind help

Hello Pascal, thanks for your quick and comprehensive reply! The reference file provides exactly the information I need! So in the benchmark on protengym website, I wonder how the zero shot regression was performed as the DMS score was in different scales?
One more question, the download link for the full proteinGYM-substitution dataset is not accessible now: https://marks.hms.harvard.edu/proteingym/DMS_ProteinGym_substitutions.zip
Since I want to download the newest version of the dataset. Would you mind check when would the downloadable dataset be available again? Thanks again for your kind support.

Hi @Joey-Xue,
For the first question, we standard normalize the targets in the regression setting, as done here.
For the second question, we recently added versioning to the benchmarks and updated the download links as described in the revised README here.

Hi Pascal, thanks for your kind reply! Was pretty helpful


maisi TSP question

Please use MONAI's Discussions tab
For questions relating to MONAI usage, please do not create an issue.
Instead, use MONAI's GitHub Discussions tab. This can be found on the MONAI repository's main page (not the tutorials) next to Issues and Pull Requests along the top.
Thank you very much for your work, but I see that the training of the VAE is still based on sliding window inference code. Is there any code that uses the TSP method?

Not really...It was trained with sliding window. TSP is used for inference.


Question about the bricked badges

Could bricked badges (due to the buggy 'The Legend of Zelda' or even something else) be unbricked, for example by reflashing?
By the way, I didn't attend to the event, just finished reading a post of yours about it and really wanted to ask that.

Yes! Luckily you could simply re-flash the badges although it was a pain in the ass to have to go there and get help doing so if you didn’t understand how to
It’s been a while but I also recall that someone pwned the flashing bar though so I whenever you’d re-flash your badge you’d get rick rolled or something meaning at that point you were screwed until they fixed it (don’t quote me on that though, I need to refresh my memory)

I guess it wouldn't make much sense if a malfunctioning software like that caused it to brick beyond repair, as I think even bricking it on purpose with just software should be a challenge on its own, but I'm quite new to all of this so I decided to ask anyway.
And infecting the flashing station was probably just a natural step for the event it seems xD
I think the badge creators made firmware images readily available so people more familiar with it could flash themselves.
Thanks for clarifying that to me :D and also for open-sourcing your projects on the event. I'll probably see if I can do something with it on my ESP8266.


Apache Kyuubi(Incubating) Maturity Self Assessment

Why are the changes needed?

Apache Kyuubi(Incubating) Maturity Self Assessment
Overview
This is an assessment of the overall maturity of Apache Kyuubi(Incubating) as an Apache project, meant to inform the decision (of mentors, community, incubator PMCs, and ASF Board of Directors) to graduate Kyuubi as a top-level Apache project. It is based on the Apache Project Maturity Model.
Mentors and community members are encouraged to contribute to this page and comment on it, the following tables summarize our self-assessment against the Apache Project Maturity Model.
:white_check_mark: means that the related item is in good status.
:white_large_square: means that the related item need long-term attention.
:x: means that the related item need to be fixed ASAP.
Code

ID
Description
Status

C10
The project produces Open Source software for distribution to the public, at no charge.
:white_check_mark: The project source code is licensed under the Apache License, v2.0

C20
Anyone can easily discover and access the project's code.
:x: The source code is available on GitHub directly, :bangbang: Missing link on website

C30
Anyone using standard, widely-available tools, can build the code in a reproducible way.
:x: The source code is automatically built for each Pull Request commit, with license checks, style checks, doc builds unit and end to end tests, via GitHub actions and Travis. Development environment setup and build instructions to do the same locally are documented on the website. :bangbang: The side is not sync with codebase.

C40
The full history of the project's code is available via a source code control system, in a way that allows anyone to recreate any released version.
:white_check_mark: The project uses git to manage source code, documentation and website, all releases are tagged. The commit history is available from the beginning of the project.

C50
The source code control system establishes the provenance of each line of code in a reliable way, based on strong authentication of the committer. When third parties contribute code, commit messages provide reliable information about the code provenance.
:white_check_mark: The project uses GitHub which managed by Apache Infra, it ensuring provenance of each line of code to a committer. All code is checked in after review and approval via GitHub pull requests.

Licenses and Copyright

ID
Description
Status

LC10
The Apache License, version 2.0, covers the released code.
:white_check_mark: The LICENSE file is in GitHub repository. All releases are verified by IPMC to contain the copy.

LC20
Libraries that are mandatory dependencies of the project's code do not create more restrictions than the Apache License does.
:white_check_mark: The list of mandatory dependencies have been reviewed to contain approved and compatible licenses only.

LC30
The libraries mentioned in LC20 are available as Open Source software.
:white_check_mark: All mandatory dependencies listed in L20 are available as open source software.

LC40
Committers are bound by an Individual Contributor Agreement (the "Apache iCLA") that defines which code they may commit and how they need to identify code that is not their own.
:white_check_mark: All committers have iCLAs on file before they have an apache account.

LC50
The project clearly defines and documents the copyright ownership of everything that the project produces.
:white_check_mark: All files in the source repository have appropriate headers. The Github workflow is in place to ensure every file has the expected license header.

Releases

ID
Description
Status

RE10
Releases consist of source code, distributed using standard and open archive formats that are expected to stay readable in the long term.
:white_check_mark: Recent releases are available via the download page on the website. All releases are available via the apache archive.

RE20
The project's PMC (Project Management Committee, see CS10) approves each software release in order to make the release an act of the Foundation.
:white_check_mark: All incubating releases have been approved by the Kyuubi community and the Incubator, all with at least 3 PPMC/IPMC votes and more +1 than -1.

RE30
Releases are signed and/or distributed along with digests that anyone can reliably use to validate the downloaded archives.
:white_check_mark: Releases are signed, the keys are available from the download page. Every release has a corresponding hash(sha512) to prevent content tampering.

RE40
The project can distribute convenience binaries alongside source code, but they are not Apache Releases, they are provided with no guarantee.
:white_check_mark: Convenience binaries are distributed alongside source code at the same time via Maven Central RepositoryDockerHubdist.apache.org

RE50
The project documents a repeatable release process so that someone new to the project can independently generate the complete set of artifacts required for a release.
:white_check_mark: Release guide is available. The releases of the project have been performed by 4 different release managers.

Quality

ID
Description
Status

QU10
The project is open and honest about the quality of its code. Various levels of quality and maturity for various modules are natural and acceptable as long as they are clearly communicated.
:white_check_mark: All issues are tracked on Kyuubi's GitHub Issues.

QU20
The project puts a very high priority on producing secure software.
:white_check_mark: Security issues are treated with the highest priority. We use Apache's default way to submit security related information.

QU30
The project provides a well-documented, secure and private channel to report security issues, along with a documented way of responding to them.
:white_check_mark: Website provides a link to https://www.apache.org/security/

QU40
The project puts a high priority on backwards compatibility and aims to document any incompatible changes and provide tools and documentation to help users transition to new features.
:white_check_mark: Each release note contains all related issues and pull requests in the milestone, and extract mainly updates and API changes from milestones.

QU50
The project strives to respond to documented bug reports in a timely manner.
:white_check_mark: The community is very active in responding to bug reports and usually fixes them within a short time period.

Community

ID
Description
Status

CO10
The project has a well-known homepage that points to all the information required to operate according to this maturity model.
:white_check_mark: The website describes of the project with download, user manual, technical details, how to contribute and team introduce.

CO20
The community welcomes contributions from anyone who acts in good faith and in a respectful manner, and who adds value to the project.
:white_large_square: Committers are really welcome contributions and the community is actively seeking for new committers. The community has elected 0 new PPMC members and 2 new committers during incubation, based on meritocracy.

CO30
Contributions include source code, documentation, constructive bug reports, constructive discussions, marketing and generally anything that adds value to the project.
:white_check_mark: The community welcomes all contributions. The contribution guide refers to non source code contribution. The community is very clear about contributions being more than code.

CO40
The community strives to be meritocratic and gives more rights and responsibilities to contributors who, over time, add value to the project.
:white_large_square:. The community has elected 0 new PPMC members and 2 new committers during incubation, based on meritocracy.

CO50
The project documents how contributors can earn more rights such as commit access or decision power, and applies these principles consistently.
:x: ~The process to become a committer or PPMC member is documented on the website~. see, https://community.apache.org/newcommitter.html

CO60
The community operates based on consensus of its members (see CS10) who have decision power. Dictators, benevolent or not, are not welcome in Apache projects.
:white_large_square: The project works to build consensus. All PPMC votes have been unanimous so far.

CO70
The project strives to answer user questions in a timely manner.
:white_large_square: The project typically provides detailed answers to user questions within a few days via dev mailing list, GitHub issues and Github Discussions.

Consensus Building

ID
Description
Status

CS10
The project maintains a public list of its contributors who have decision power. The project's PMC (Project Management Committee) consists of those contributors.
:x: ~Committers and PPMC members are listed on the website’s community page~

CS20
Decisions require a consensus among PMC members and are documented on the project's main communications channel. The PMC takes community opinions into account, but the PMC has the final word.
:white_check_mark: The project has been making important decisions on the mailing lists.

CS30
The project uses documented voting rules to build consensus when discussion is not sufficient.
:white_check_mark: The project uses the standard ASF voting rules.

CS40
In Apache projects, vetoes are only valid for code commits. The person exercising the veto must justify it with a technical explanation, as per the Apache voting rules defined in CS30.
:white_large_square: The project has not used a veto at any point during incubation.

CS50
All "important" discussions happen asynchronously in written form on the project's main communications channel. Offline, face-to-face or private discussions that affect the project are also documented on that channel.
:white_large_square: The project has been making important decisions on the project mailing lists. Minor decisions may occasionally happen during code reviews, which are also asynchronous and in written form.

Independence

ID
Description
Status

IN10
The project is independent from any corporate or organizational influence.
:white_large_square: The project team gathers people from different companies (China Mobile, eBay, NetEase, T3). No company or organization has significantly more influence than any other. We can note a growth of the contributions coming from different contributors.

IN20
Contributors act as themselves, not as representatives of a corporation or organization.
:white_check_mark: The contributors act on their own initiative without representing a corporation or organization.

How was this patch tested?
Pending reviews by Kyuubi Mentors, PPMC, and community.

Should we add this to the website repo rather than the code repo?

Send a discussion to mailing list, https://lists.apache.org/thread/03hkvd79rmbfhpggv84g98m7wnh5z5fy

Codecov Report

Merging #1986 (3ce62ad) into master (d6bbe32) will decrease coverage by 0.04%.
The diff coverage is n/a.

:exclamation: Current head 3ce62ad differs from pull request most recent head 1c76752. Consider uploading reports for the commit 1c76752 to get more accurate results

@@             Coverage Diff              @@
##             master    #1986      +/-   ##
============================================
- Coverage     60.48%   60.43%   -0.05%
  Complexity       69       69
============================================
  Files           305      305
  Lines         14858    14858
  Branches       1921     1921
============================================
- Hits           8987     8980       -7
- Misses         5103     5111       +8
+ Partials        768      767       -1

Impacted Files
Coverage Δ

...org/apache/kyuubi/operation/ExecuteStatement.scala
80.89% <0.00%> (-6.75%)
:arrow_down:

.../org/apache/kyuubi/operation/KyuubiOperation.scala
62.66% <0.00%> (-2.67%)
:arrow_down:

...rg/apache/kyuubi/operation/AbstractOperation.scala
83.58% <0.00%> (-1.50%)
:arrow_down:

...n/scala/org/apache/kyuubi/KyuubiSQLException.scala
93.97% <0.00%> (+1.20%)
:arrow_up:

.../org/apache/kyuubi/session/KyuubiSessionImpl.scala
82.35% <0.00%> (+1.47%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6bbe32...1c76752. Read the comment docs.

@apache/kyuubi-committers thanks for the help, please join me to fix the pieces of stuff with :x: mark in the matrix. I appreciate.


Use html "class" attribute to set code style

It is now customizable by frontends!

Do you think HTML constants should go to some resource files?

Do you think HTML constants should go to some resource files?

I am not sure. Some constants refer to each other, so it may be hard (or make the usage code longer) to extract.

Do you think HTML constants should go to some resource files?

I am not sure. Some constants refer to each other, so it may be hard (or make the usage code longer) to extract.

We can extract the basic ones


Fix rowcount on empty input

Fixes a problem where setting the column header parameter and loading an empty file
lead to high non-zero rowcounts (unsigned integer underflow).
Separate commits for unit test and actual fix.

Thanks for the contribution @radioflash - I'll proceed to merge this PR.


[dv/otp_ctrl] Test access sequence

This PR connects test access prim_tl_i/o to tl_agent.
The tool should automatically create this tl_agent, but currently the
auto-generated RAL block does not contain any registers, thus we will
run into a runtime error.
Until the reggen tool is optimized, the current solution is to only
manually create a tl_agent for this test_access area without an adapter
or RAL.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Hi @dkabely-ot,
I do not think this PR affects you because you forced the prim_tl_i/o and probably override the test_access task in otp_ctrl_base_vseq.
But just tag you in case anything I missed.


allow stable namespaces to be created/claimed in parallel

When running TestValidation with stable namespaces enabled:

both tests read the NS, see it doesn't exist
since it doesn't exist they both try to create it
one will succeed and one with fail out

This PR lets the failing one succeed if the error was due to the create succeeding on another thread.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
53747188a8088707e9b1214895896e64c71eb89d
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
53747188a8088707e9b1214895896e64c71eb89d
link
/test unit-tests_istio

gencheck_istio
53747188a8088707e9b1214895896e64c71eb89d
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #30902

In response to a cherrypick label: new pull request created: #30903


OCW logic improvement with error handling

Based on the #51 , an improved version of OCW is required, with implementation of the following points:

[ ] Make use of newly added errors
[ ] Update the documentation
[ ] Consider the OCW to TEE migration

I think it's better to separate TEE related issue to a new one. The scope is so different


mirrors-autopep8 used at .pre-commit-config.yaml seems to be deprecated

As described at https://github.com/pre-commit/mirrors-autopep8 this repo is deprecated and we should move to https://github.com/hhatto/autopep8 directly.

Changing in https://github.com/teemtee/tmt/pull/2421


Jupyter Notebook

I have tried using it in Jupyter notebook but I cannot see a way yo install it. I have tried 'conda install connectorx' and 'conda install -c conda-forge connectorx' with no luck.
Is it available for that platform?

Hi @stareagle , do you see any error when you install from conda-forge? Thanks to Tim we do support conda-forge now https://github.com/sfu-db/connector-x/issues/179

Hi, Yes I do; it basically says it does not exist although I can install via pip for use outside of Jupyter Notebook.
I will try again tomorrow.
Stuart

On Jul 13, 2022, at 7:42 PM, Xiaoying Wang @.***> wrote:
Hi @stareagle https://github.com/stareagle , do you see any error when you install from conda-forge? Thanks to Tim we do support conda-forge now #179 https://github.com/sfu-db/connector-x/issues/179
—
Reply to this email directly, view it on GitHub https://github.com/sfu-db/connector-x/issues/312#issuecomment-1183786964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFIEEVGZ23HNVQISSL33J3VT5H4ZANCNFSM53BNZQSA.
You are receiving this because you were mentioned.


Adding optional redis check to stockpile-wrapper

The stockpile-wrapper will now optionally take a redis host and port. If they are not given nothing changes. If they are given and there is a valid uuid and node then it will attempt to check if metadata has already been gathered from the node. If it has then it just exits. If it has not, then it marks the node so it is not run again and then begins collecting data.

Is there something that would give back a link to where the data is already stored in ES?    Don't need to copy the data, just get a pointer to it?   BUT if that other data set is removed, then the performance data in this dataset  has a dangling link to backpack data that no longer exists?

Is there something that would give back a link to where the data is already stored in ES? Don't need to copy the data, just get a pointer to it? BUT if that other data set is removed, then the performance data in this dataset has a dangling link to backpack data that no longer exists?

@bengland2 I added a check to see if some basic data is there for the uuid and node. If it is actively running the collection, however, I let it be the only one running.

@dry923 Maybe we can add a flag to "force-metadata-collection". I know we can force metadata collection if we don't pass redis arguments to stockpile, to be honest I'm not sure if it makes sense.
What do you think?

@dry923 Maybe we can add a flag to "force-metadata-collection". I know we can force metadata collection if we don't pass redis arguments to stockpile, to be honest I'm not sure if it makes sense.
What do you think?

@rsevilla87 Yeah I think its valid to be able to force it. The optional redis arguments are to allow it to still work outside of ripsaw with no change.
I'll add something in shortly for the force flag.


[BUG]

Hi team, we are facing this issue on elastic dump, we have configure in my kubernetes cluster, I have to dump elastic data to s3, so before that we are generating the file ,...facing the issue
Tue, 23 Aug 2022 09:31:56 GMT | starting dump
Tue, 23 Aug 2022 09:32:16 GMT | Error Emitted => getaddrinfo ENOTFOUND http
Tue, 23 Aug 2022 09:32:16 GMT | Error Emitted => getaddrinfo ENOTFOUND http
Tue, 23 Aug 2022 09:32:16 GMT | Total Writes: 0
Tue, 23 Aug 2022 09:32:16 GMT | dump ended with error (get phase) => Error: getaddrinfo ENOTFOUND http

Hi, my issue is not resolved

Hello @ferronrsmith my issue is not resolved yet

A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What was the url? What steps will reproduce the issue? What OS experience the problem? All these details will help to fix any potential bugs as soon as possible.

we are facing this issue on elastic dump, present in dev env environment, we have configure in my kubernetes cluster in Amazon EKS ,we have installed EFK in dev cluster and I want to dump elastic data to s3, so we have installed elastic dump in that env, After that when im giving the command to before that we are generating the file ,...facing the issue
-> elasticdump \

--input=http://elastic:MaralTNIJefffgrtuy@http/://ggtbtgtacc87d1vrvrg1968grgr-vrgtg26555vgrvrvr.us-east-1.elb.amazonaws.com:9200/data-source
--output=/data/vfef33ddrf.json
--type=data
Tue, 23 Aug 2022 09:31:56 GMT | starting dump
Tue, 23 Aug 2022 09:32:16 GMT | Error Emitted => getaddrinfo ENOTFOUND http
Tue, 23 Aug 2022 09:32:16 GMT | Error Emitted => getaddrinfo ENOTFOUND http
Tue, 23 Aug 2022 09:32:16 GMT | Total Writes: 0
Tue, 23 Aug 2022 09:32:16 GMT | dump ended with error (get phase) => Error: getaddrinfo ENOTFOUND http

ENOTFOUND is dns/network issue. Essentially, it's unable to reach the URL you're specifying. Try access the container and then try pinging the ES instance. If you can't ping it then you have a network problem

@ferronrsmith can u suggest any doc in kubernetes level for elastic dump to s3

There is no documentation, as this isn't an elasticdump issue. This is purely a container network issue. Some googling will help, but beyond that there isn't much I can help with.

connect to a pod
try communicating with the ES service
try communicating with the S3 service
fix communication issue and then repeat steps 1-3


Unify flutter.yaml and pubspec.yaml by adding a 'flutter' section to pubspec.yaml for Flutter projects

Is there any reason we couldn't have a flutter section in the pubspec.yaml file that contained what is now in flutter.yaml?

Sure, we could do that.

I talked to the pub folks, and we can add new keys to pubspec.yaml and it won't blow up the world.
cc @munificent

Should we group our keys under a specific heading, like flutter ?  That way we won't conflict with future pubspec keys.

Yeah, that was my thought too. Makes it clearer what's flutter-specific for people coming from the Dart world or otherwise interacting with the Dart world, too.

Should we group our keys under a specific heading, like flutter ?

Yes please. Aside from that, you're more than welcome to put your stuff in the pubspec.yaml if it avoids cluttering the user's root directory with extra files. We picked YAML in part because it is open-ended and extensible, and pub's own pubspec parser is designed to ignore extra keys it doesn't care about.

@danrubel This is the bug I was talking about.

@danrubel: are you still looking at this?

Nope. Not currently on my list anymore.

Thanks!  FYI @mit-mit.


Fix Xcode 6.4 warning

I just cloned the repo and opened it with Xcode 6.4 to check it out and see if there were any new warnings or issues to fix. This was the only one!

Comparison of constant 200 with boolean expression is always false

Fix broken comparison when checking the HTTP response status code

Updated the Pods as well. Still builds fine and runs great!

This PR is superseded by #2, which includes these changes as well.


Nogrod Quest Issues

Minertech 5000
Grammatical error in dialogue, should be "didn't" instead of "did"
Bothersome Boldore
The initial Boldore encounter is catchable instead of being a boss, and catching it prevents the quest from progressing.

Both issues are resolved


Unexpected expression type in QuerySimulation

$queries = [ 'SELECT 1' ];

foreach( $queries as $test )
{
	$test = $pdo->prepare( $test ); // reusing variable
	$test->execute();
}

However this doesn't crash:
$test = 'SELECT 1';
$test = Container::Database()->prepare( $test );
$test->execute();

Something about the loop makes it confuse the type. Obviously reusing the variable isn't a good idea (and I fixed it in my code), but it probably shouldn't crash.
Uncaught staabm\PHPStanDba\DbaException: Unexpected expression type [snip] of class PHPStan\Type\Generic\GenericObjectType in phpstan-dba\src\QueryReflection\QuerySimulation.php:117
#0 phpstan-dba\src\QueryReflection\QueryReflection.php(189): staabm\PHPStanDba\QueryReflection\QuerySimulation::simulateParamValueType(Object(PHPStan\Type\Generic\GenericObjectType), false)
#1 phpstan-dba\src\QueryReflection\QueryReflection.php(165): staabm\PHPStanDba\QueryReflection\QueryReflection->resolveQueryStringExpr(Object(PhpParser\Node\Expr\Variable), Object(PHPStan\Analyser\MutatingScope))
#2 phpstan-dba\src\QueryReflection\QueryReflection.php(137): staabm\PHPStanDba\QueryReflection\QueryReflection->resolveQueryExpr(Object(PhpParser\Node\Expr\Variable), Object(PHPStan\Analyser\MutatingScope))

thx for reporting. does your real world example really contains a array of literal strings above the loop?
or will it be more complex then that?
I am asking, because we might fix the case you reported, while not fixing your actual problem in case the above example is not realistic

does your real world example really contains a array of literal strings above the loop?

I did have an array of queries to run, yeah.

I think this could be fixed by resolveing the query expression type and look whether it contains a constant steing.
if so, return immediately in https://github.com/staabm/phpstan-dba/blob/6bd6e84331c6e15d76868e14444ed20c2aab06b9/src/QueryReflection/QueryReflection.php#L148

Thinking more about it.. a example with more then 1 query is more obvious.
Within the loop the result of the query function would be a union of all possible result types, not just a single one as the initial example might suggest


Packager gets stuck unless all k8s yamls are in a folder called "templates"

If you have your k8s yaml files not in a folder called "templates" then the step where the packager packages up the helm chart then it simply hangs forever taking 100% cpu, likely in a loop.
In the bazel-way you can have your files in whatever structure you want, then simply point to them when invoking a bazel rule. But there still seems to be an implicit reliance that all templates are in a folder called "templates". Perhaps that is a fundamental problem with the helm binary, so you might have to work around that limitation.

Yes, I think it makes sense to change the behavior so that instead of expecting the template files to already be in the templates folder that they would just be moved into the templates folder which the package binary creates.
An example is where you have a generated file you want to add to the templates.


CAMEL-15656: Support batch consumer in Azure Storage Blob component in order support multiple blobs

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Really weird, deleting this again. Sorry