No Data from myVaillant after migration from Multimatic App.

Before submitting a new issue

[ x ] I'm not using the older Vaillant sensoAPP (which is unsupported by this integration)
[ x ] I redownloaded the latest release and restarted Home Assistant
[ x ] I've enabled debug logs and attached the relevant logs to this ticket

Problem description
Hello and before i start. Thanks for this!
Just migrated from the Multimatic App to myVaillant. The myVaillant App shows all Settings and so i activated mypyllant...
But it is not loading Data from the myVaillant API.
Logs
2024-02-06 15:36:49.330 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-06 15:36:49.333 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration multimatic which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-06 15:36:49.335 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration mypyllant which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-06 15:37:04.870 WARNING (MainThread) [myPyllant.api] Could not get RTS data
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 1022, in get_rts
    response = await self.aiohttp_session.get(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 691, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 102, in on_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1060, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 404, message='Resource Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/vrc700/v1/rts/...CUT.../devices')
2024-02-06 15:37:04.912 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'DAY' is not a valid DHWOperationModeVRC700
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 350, in _async_update_data
    data = [
           ^
  File "/config/custom_components/mypyllant/__init__.py", line 350, in <listcomp>
    data = [
           ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 386, in get_systems
    system = System.from_api(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 554, in from_api
    system.domestic_hot_water = [
                                ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 555, in <listcomp>
    DomesticHotWater.from_api(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 490, in from_api
    kwargs["operation_mode_dhw"] = DHWOperationModeVRC700(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__
    raise ve_exc
ValueError: 'DAY' is not a valid DHWOperationModeVRC700
2024-02-06 15:37:05.292 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'DAY' is not a valid DHWOperationModeVRC700
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 379, in _async_update_data
    async for system in await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 386, in get_systems
    system = System.from_api(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 554, in from_api
    system.domestic_hot_water = [
                                ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 555, in <listcomp>
    DomesticHotWater.from_api(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 490, in from_api
    kwargs["operation_mode_dhw"] = DHWOperationModeVRC700(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__
    raise ve_exc
ValueError: 'DAY' is not a valid DHWOperationModeVRC700
2024-02-06 15:37:05.315 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors
2024-02-06 15:37:05.316 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors
2024-02-06 15:37:05.317 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors
2024-02-06 15:37:05.401 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate
2024-02-06 15:37:05.404 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities
2024-02-06 15:37:05.406 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities
2024-02-06 15:37:05.407 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities
2024-02-06 15:37:05.409 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater
2024-02-06 15:37:05.410 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities
2024-02-06 15:42:41.363 ERROR (MainThread) [frontend.js.latest.202401040] Uncaught error from Edge <IP_ADDRESS> on Windows 10
TypeError: Cannot read properties of undefined (reading 'takeControl')
_takeControl (src/panels/lovelace/strategies/device-registry-detail/dialog-dashboard-strategy-editor.ts:176:18)
call (src/lit-html.ts:2018:28)
dispatchEvent (mwc-list-item-base.ts:247:9)
fireRequestSelected (mwc-list-item-base.ts:92:9)
call (observer.ts:49:23)
forEach (observer.ts:42:28)
updated (src/reactive-element.ts:1378:9)
_$AE (src/reactive-element.ts:1343:11)
performUpdate (src/reactive-element.ts:1261:16)
2024-02-06 15:43:24.279 DEBUG (MainThread) [custom_components.mypyllant] Starting mypyllant component v0.7.2 (library 0.7.7) with homeassistant 2024.1.6, dacite 1.8.1, and aiohttp 3.9.3
2024-02-06 15:43:24.280 DEBUG (MainThread) [custom_components.mypyllant] Creating API and logging in with ...CUT... in realm germany
2024-02-06 15:43:27.505 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator
2024-02-06 15:43:27.505 DEBUG (MainThread) [custom_components.mypyllant] Starting async update data for SystemCoordinator
2024-02-06 15:43:27.505 DEBUG (MainThread) [custom_components.mypyllant] Waiting 119s until token refresh for ...CUT...
2024-02-06 15:43:28.999 WARNING (MainThread) [myPyllant.api] Could not get RTS data
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 1022, in get_rts
    response = await self.aiohttp_session.get(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 691, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 102, in on_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1060, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 404, message='Resource Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/vrc700/v1/rts/...CUT.../devices')
2024-02-06 15:43:29.020 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'DAY' is not a valid DHWOperationModeVRC700
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 350, in _async_update_data
    data = [
           ^
  File "/config/custom_components/mypyllant/__init__.py", line 350, in <listcomp>
    data = [
           ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 386, in get_systems
    system = System.from_api(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 554, in from_api
    system.domestic_hot_water = [
                                ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 555, in <listcomp>
    DomesticHotWater.from_api(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 490, in from_api
    kwargs["operation_mode_dhw"] = DHWOperationModeVRC700(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__
    raise ve_exc
ValueError: 'DAY' is not a valid DHWOperationModeVRC700
2024-02-06 15:43:29.026 DEBUG (MainThread) [custom_components.mypyllant] Finished fetching myVAILLANT data in 1.521 seconds (success: False)
2024-02-06 15:43:29.027 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator
2024-02-06 15:43:29.027 DEBUG (MainThread) [custom_components.mypyllant] Starting async update data for DailyDataCoordinator
2024-02-06 15:43:29.027 DEBUG (MainThread) [custom_components.mypyllant] Waiting 118s until token refresh for ...CUT...
2024-02-06 15:43:29.355 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'DAY' is not a valid DHWOperationModeVRC700
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 379, in _async_update_data
    async for system in await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 386, in get_systems
    system = System.from_api(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 554, in from_api
    system.domestic_hot_water = [
                                ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 555, in <listcomp>
    DomesticHotWater.from_api(
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 490, in from_api
    kwargs["operation_mode_dhw"] = DHWOperationModeVRC700(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 1135, in __new__
    raise ve_exc
ValueError: 'DAY' is not a valid DHWOperationModeVRC700
2024-02-06 15:43:29.363 DEBUG (MainThread) [custom_components.mypyllant] Finished fetching myVAILLANT data in 0.336 seconds (success: False)
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities
2024-02-06 15:43:29.367 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors
2024-02-06 15:43:29.367 DEBUG (MainThread) [custom_components.mypyllant.sensor] Daily data: None
2024-02-06 15:43:29.368 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors
2024-02-06 15:43:29.368 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities
2024-02-06 15:43:29.368 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater

Same

Please check out the latest pre-release, I added the missing value. If you get more errors, please post them. The Vaillant API isn't documented, and I don't have the same setup as you verify changes.

Thank you. With 0.7.3b0 it works fine.

First a big thank you for this integration.
Yesterday i migrated from the MultiMatic to the myVaillant app. The myVaillant app works like it should, but when i try to install mypyllant, i can't see anything. I tired 0.72 and also 0.73b but in both cases i get the following errors in the log:
2024-02-07 12:30:10.263 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'types.UnionType' object has no attribute 'origin'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 22, in extract_origin_collection
return collection.extra
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'extra'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/init.py", line 350, in async_update_data
data = [
^
File "/config/custom_components/mypyllant/init.py", line 350, in
data = [
^
File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 365, in get_systems
async for home in homes:
File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 339, in get_homes
yield Home.from_api(timezone=timezone, **home_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 69, in from_api
return from_dict(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 64, in from_dict
value = build_value(type=field_type, data=field_data, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 101, in build_value
if is_subclass(type, cast_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 168, in is_subclass
if is_generic_collection(sub_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 147, in is_generic_collection
origin = extract_origin_collection(type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 24, in extract_origin_collection
return collection.origin
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'origin'
2024-02-07 12:30:10.427 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 'types.UnionType' object has no attribute 'origin'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 22, in extract_origin_collection
return collection.extra
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'extra'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/init.py", line 379, in async_update_data
async for system in await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 365, in get_systems
async for home in homes:
File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 339, in get_homes
yield Home.from_api(timezone=timezone, **home_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 69, in from_api
return from_dict(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 64, in from_dict
value = build_value(type=field_type, data=field_data, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 101, in build_value
if is_subclass(type, cast_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 168, in is_subclass
if is_generic_collection(sub_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 147, in is_generic_collection
origin = extract_origin_collection(type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dacite/types.py", line 24, in extract_origin_collection
return collection.origin
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'origin'
2024-02-07 12:30:10.699 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors
2024-02-07 12:30:10.699 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities
2024-02-07 12:30:10.700 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate
2024-02-07 12:30:10.700 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities
2024-02-07 12:30:10.701 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors
2024-02-07 12:30:10.701 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors
2024-02-07 12:30:10.701 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities
2024-02-07 12:30:10.702 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater
2024-02-07 12:30:10.811 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities`

Same here. using v7.3.0b0. Removed govee and ended up with this error in the log.
Setup:

aroTherm plus 75/8
VRC921
VR700

`Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 72, in from_dict
value = get_default_value_for_field(field, field_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/dataclasses.py", line 21, in get_default_value_for_field
raise DefaultValueNotFoundError()
dacite.dataclasses.DefaultValueNotFoundError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/init.py", line 350, in _async_update_data
data = [
^
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 386, in get_systems
system = System.from_api(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 542, in from_api
Zone.from_api(
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 386, in from_api
ZoneCooling.from_api(**kwargs["cooling"]) if "cooling" in kwargs else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 313, in from_api
return super().from_api(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 69, in from_api
return from_dict(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 76, in from_dict
raise MissingValueError(field.name)
dacite.exceptions.MissingValueError: missing value for field "manual_mode_setpoint_cooling"`

Thank you. With 0.7.3b0 it works fine for me too

@signalkraft
how can i assist? Using 0.7.3b0 and the System will not Load new Data from Vaillant. I also have enabled Debugging and see some Errors in the Logs:
home-assistant_2024-02-08T08-32-19.352Z.log

Could you try the latest pre-release?

@signalkraft after 0.7.3b1 the errors in myVAILLANT debug log are gone.
I have an issue with hotwater boost it is possible to enable and disable it. But the switch goes automatically to off even oft the boost is still active.
workaround: enable it again and immediately stop it.

I use the latest release. Since then the integration fetches the data only once after a reload.

Seems to work with 0.7.3b1.
I recognized that there are now engery data fetched even it exists.
In the log I still have this error:
Error fetching myVAILLANT data: 404, message='Resource Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/vrc700/v1/emf/v2//devices//buckets?resolution=DAY&operationMode=COOLING&energyType=CONSUMED_ELECTRICAL_ENERGY&startDate=2024-02-08T00:00:00Z&endDate=2024-02-09T00:00:00Z')

Same here with v0.7.2.
After re-initialization fetches the data once
Values on eBus get refreshed nevertheless.
ecoCOMPACT VSC 206/4-5 90
VR 921 (Firmware Version 0357.40.33)
VR 700
Trace:
Logger: myPyllant.api
Source: /usr/local/lib/python3.12/site-packages/myPyllant/api.py:1027
First occurred: 16:38:54 (1 occurrences)
Last logged: 16:38:54
Could not get RTS data
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 1022, in get_rts
response = await self.aiohttp_session.get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 691, in _request
await raise_for_status(resp)
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 102, in on_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1060, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 404, message='Resource Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/vrc700/v1/rts/52108911-9b9b-474e-bcad-6815b5d9f2a9/devices')

I have an issue with hotwater boost it is possible to enable and disable it. But the switch goes automatically to off even oft the boost is still active.
workaround: enable it again and immediately stop it.

Please try https://github.com/signalkraft/mypyllant-component/releases/tag/v0.7.3b2

@stephanbaron you need the latest pre-release
@switschel do you get no energy entities at all? But they show up in the app? I'm not sure why that would happen.

No, no energy entities at all in HA. Yep, I can see them in the app.
Can I support you somehow?

Hello everyone,
I have also the problem that there is no shown entity for energy consumption.
Error fetching myVAILLANT data: 404, message='Resource Not Found', url=URL('https://api.vaillant-group.com/service-connected-control/vrc700/v1/emf/v2/859917fb-83e3-491a-bc56-a901ca99139d/devices/92fbe10e-3858-5044-ae4c-ff15c93cfc7b/buckets?resolution=DAY&operationMode=DOMESTIC_HOT_WATER&energyType=CONSUMED_ELECTRICAL_ENERGY&startDate=2024-02-09T00:00:00Z&endDate=2024-02-10T00:00:00Z')
Is there any solution?

No, no energy entities at all in HA. Yep, I can see them in the app.
Can I support you somehow?

If you have an Android phone, are somewhat technically inclined, and have some time on your hands - then yes: https://signalkraft.com/mypyllant-component/3-reverse-engineering/
I would need to know what API endpoints your app is calling to get this data, because it's apparently doing something new and exciting.

I discovered this URL and a few others. Let me know if you need additional ones. I clicked multipled times and recorded requests & responses.
GET /service-connected-control/end-user-app-api/v1/emf/v2/<removed>/devices/<removed>/buckets?resolution=DAY&operationMode=HEATING&energyType=CONSUMED_ELECTRICAL_ENERGY&startDate=2024-02-05T00%3A00%3A00%2B01%3A00&endDate=2024-02-12T00%3A00%3A00%2B01%3A00 HTTP/1.1

Let me know if https://github.com/signalkraft/mypyllant-component/releases/tag/v0.7.3b4 fixes things for you!

First of all - thanks for the integration and your effort on this!
My environment
VR920
VRC700
Version V0.7.3b4
My problem
After initialization and subsequent manual re-initialization fetches the data only once
But no further data updates afterwards
To me it looks like, it requests data from Vaillant site successfully - however I'm far away from being experienced
Sample log after retrieving data
2024-02-11 14:09:50.052 DEBUG (MainThread) [custom_components.mypyllant] Finished fetching myVAILLANT data in 0.687 seconds (success: True)
Following error:
2024-02-11 14:09:50.082 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 243, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 399, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 479, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 945, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1066, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1003, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 951, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 295, in state
hvac_mode = self.hvac_mode
^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/climate.py", line 427, in hvac_mode
return [
^
IndexError: list index out of range
If you need further info pls shout...

Could you generate test data please and attach it to this issue?

Version V0.7.3b4 has fixed it for me. Thank You.

Could you generate test data please and attach it to this issue?

Pls see attached
Test_data_20240212_thomas.txt

All works fine
I just installed the Home Assistant myVAILLANT integration V0.7.3b5 as the Home Assistant Multimatic integration is not working anymore after I migrated on my mobile phone from the Multimatic app to the new myVAILLANT app. I installed the latest Beta version (as of the discussions ongoing here). I have a VR900 and an ecoCompact VSC 146 with multiMATIC 700f/4. All works fine.

@thomasbendl57 please check in https://github.com/signalkraft/mypyllant-component/issues/102 - this issue was originally about another problem that's been resolved, so I'm gonna close it.


Find ways to let trial users avoid email spam when creating realms.

Particularly for non-English-speaking realms, but other realms as well, folks setting up realms may want to avoid sending out a bunch of emails to users before they've had a chance to set the realm's language, convince users in person to try Zulip, test out the realm, seed some streams, etc.
We probably want a way to reduce or postpone outgoing emails during realm creation.
This ticket will require significant discussion before we implement it.
Some related issues might be the following:

make sure our welcome mails get properly translated
have longer-term settings to reduce emails on a realm-wide basis

I think a first step here is to add an org setting to turn off the two welcome emails. Adding a help wanted label for that, since that's a relatively straightforward project.
The setting should go on https://chat.zulip.org/#organization/organization-settings, above the "Save changes" button here:

It can be called:
Send emails to new users explaining how to use Zulip
on the settings page, and the setting can be "Realm.send_welcome_emails"

@zulipbot claim


Add test/vectors to generate intermediate test vectors

Helpful to test other implementations.
Used for instance for go-xmssmt. (See #5.)
I'm happy to change the format, the outputs, etc.

Thanks! While the RFC allows for some flexibility in implementations with regards to key generation (i.e., implementations that do not match these test vectors may still be compatible), it is definitely useful to have a more robust way of comparing.


Update to 1.8.13

Creating a maintaince branch for the 1.8.x series and updating to 1.8.13
Ping @kwilcox
Django 1.8.13 release notes
===========================

*May 2, 2016*

Django 1.8.13 fixes several bugs in 1.8.12.

Bugfixes
========

* Fixed ``TimeField`` microseconds round-tripping on MySQL and SQLite
  (:ticket:`26498`).

* Restored conversion of an empty string to null when saving values of
  ``GenericIPAddressField`` on SQLite and MySQL (:ticket:`26557`).

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Sweet! Thanks.


Doubled aluminium piece exnihilocreatio-1.12-0.3.2

it is just doubled with different id numbers

The solution appears to be for America complete its cultural victory ... too bad there are Americans and non-Americans working on this project. I will try to add something to check for doubled alumini?um.


Fix: Install  events blocked on wait lock on retry

Fixing a corner case of install request being stuck in request queue up on initial install call is failed.
@aaustin @Sarkar

Looks good to me 👍


Support for Apple M1 / M2 / M3 CPUs - Metal/MPS

Hey there,
it would be great to have Metal as a supported target to fully leverage the power of the M1, M2, M3 chip family.
Thanks!

Thank you @ChristianWeyer! I'm moving this issue into our Discussions forum, so that we can prioritize.


AccessViolation Exception on VirtDisk.SetVirtualDiskInformation (only x64)

Describe the bug
When calling the PInvoke VirtDisk.SetVirtualDiskInformation method changing ParentFilePath configuration, using a StrPtrUni pointer, and access violation is thrown in x64 compilation, in x86 works as expected and ParentFilePath is changed. Passing null as value does not throw an exception in x64.
What code is involved
using static Vanara.PInvoke.VirtDisk;

OPEN_VIRTUAL_DISK_FLAG flags =  OPEN_VIRTUAL_DISK_FLAG.OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS;
OPEN_VIRTUAL_DISK_PARAMETERS param = new OPEN_VIRTUAL_DISK_PARAMETERS(false, false);

Win32Error ret = OpenVirtualDisk(new VIRTUAL_STORAGE_TYPE(), file_path,
    VIRTUAL_DISK_ACCESS_MASK.VIRTUAL_DISK_ACCESS_NONE,
    flags, param, out var _handle);

SET_VIRTUAL_DISK_INFO setInfo = new SET_VIRTUAL_DISK_INFO();
setInfo.Version = SET_VIRTUAL_DISK_INFO_VERSION.SET_VIRTUAL_DISK_INFO_PARENT_PATH;
setInfo.ParentFilePath = new StrPtrUni(@"C:\Temp\disk.vhdx" + '\0');

ret = SetVirtualDiskInformation(_handle, in setInfo);

Expected behavior
No exception should be thrown in x64.

Thank you for the report.
First, I'd encourage you to look at the Vanara.VirtualDisk package which wraps all the VirtDisk functions. Much simpler. For example, you can do the above with:
using Vanara.IO;

using var disk = VirtualDisk.Open(file_path, readOnly: false, getInfoOnly: false, noParents: true);
disk.SetParentPath(@"C:\Temp\disk.vhdx");

That said, in order to get sizing to work in an X64 build, you must create a build constant "X64". The `\Directory.Build.targets' file does this for you, but if you are building in a different way, you must do that in your project file.
Let me know if that doesn't fix your issue.

Thank you for the answer. I'll try the directory.build.targets x64 configuration.
I cannot find SetParentPath method in Virtualdisk.
Please note that not all methods present in virtdisk.h and declared in Vanara.PInvoke.VirtDisk are present in Vanara.VirtualDisk, for example these methods are not wrapped and must be used directly:

SetVirtualDiskInformation (with this method you can set a new Parent path)
GetStorageDependencyInformation

I just committed the addition of SetParentPath and SetParentPathWithDepth methods to VirtualDisk. You'll find them in the next release or in the current pull from AppVeyor (see homepage for details). I'm working on the addition of GetStorageDependencyInformation, but am finding it a little more difficult. If you have working code, I'd appreciate it.
One note, your code use of StrPtrUni will produce a memory leak. Use the following instead:
using var pStr = new SafeCoTaskMemString(@"C:\Temp\disk.vhdx");
setInfo.ParentFilePath = (IntPtr)pStr;

There were some big problems with the implementation of VirtDisk.GetStorageDependencyInformation. I just committed the fix along with a static method in VirtualDisk.GetStorageDependencyInformation that simply gets the array of results. Thanks for making me look at these. You can get the current build from the AppVeyor NuGet repo (see homepage) or wait a few days and I'll push to NuGet.org.

I have tested the changes you made (big changes!) with several parent disks and children involved and works as expected.
Great job!

Awesome. Thanks for the feedback. Were you using the raw PInvoke functions or the VirtualDisk class?

I applied the changes you commited in VirtualDisk class until the nuget package is updated.

I just committed a number of additions to the VirtualDisk class and the new pre-release packages are available on AppVeyor. I'd really appreciate it if you could run your tests against this code. I did a lot more testing and changed properties so if they are specific to a state (attached or differencing) they are nullable now and just return null if the state doesn't allow retrieval. A few method parameters changed as well. I know it may break existing code, but it is much less prone to exceptions now.
Adding https://ci.appveyor.com/nuget/vanara-prerelease to your NuGet sources will give you access to the new packages. I plan to publish in a few days and hope to have your feedback before I do. Thanks!

I'd also be interested to know if you have any enhancement requests for VirtualDisk or items from your codebase that would be valuable to others. :)

Sure, just give me a couple of days to run all the tests on the prerelease version. I'm currently running these VirtDisk operations:
GetAllAttachedVirtualDiskPaths, Metadata Add and Get, Attach, Detach, Open (to get info and RW ops), Close, SetVirtualDiskInformation, GetDependencyInfoByVolume.
I'll start using other operations in the coming weeks.
As an enhancement:
I found challenging how to get the assigned drive letters for an already mounted vhdx, something that can be easily achieved in powershell or diskpart.
The approach I followed:
With the physical drive property, loop throughout all the mounted Unit Drives (C:,D:..) and with a call to DeviceIOControl with Control IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS match the Unit Drive disk number with the physical drive disk number from the VHDX.
Another approach but only valid for a vhdx you are attaching:
you can attach it with the flag ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER, then loop all volumes with FindFirstVolume/FindNextVolume calls and match again the disk number, and finally mount it with SetVolumeMountPoint.

Thank you. I'm curious what property you're setting with SetVirtualDiskInformation. I thought I'd covered them all.
I'll work on incorporating the drive letter assignment.

Lots more updates today, including those you requested around mount points. You can now specify a mount drive or folder when calling AttachAsync and discover their details in VolumeGuidPath and VolumeMountPoint properties.

Looking forward to trying the new mount points details!.

I'm curious what property you're setting with SetVirtualDiskInformation

It's SetParentPath, it's already covered, I was using directly  SetVirtualDiskInformation  until you implemented the method.
I have run several tests with 4.4.1 version in different scenarios with no issues (parent and several children relationship, attached or not attached vhdx), these are the methods I have tested:
Open readonly and getinfo, true and false
Attach
Metadata, Add and TryGetValue values
GetStorageDependencyInformation
GetAllAttachedVirtualDiskPaths
SetParentPath
I haven't started with Merging or Creation methods yet.

Hello,
I've been testing the mount points details in VirtualDisks, please note that a single vhdx can have several volumes and mount points.

The new VolumeGuidPath and VolumeMountPoint properties should support several drives.
This function just modifies the FirstOrDefault from the code and gets all Volume Guids for the disk number:
private static string[] GetVolumeGuidFromDiskNumber(uint diskNo) => EnumVolumes().Where(v =>         {             using var hfile = OpenDrive(v.TrimEnd('\\'));             return !hfile.IsInvalid &&                 DeviceIoControl(hfile, IOControlCode.IOCTL_STORAGE_GET_DEVICE_NUMBER, out STORAGE_DEVICE_NUMBER output) &&                 output.DeviceNumber == diskNo;         }).ToArray();
These string properties should be replaced by string arrays
string[] VolumeGuidPath
string[] VolumeMountPoint
Other methods are affected with this change:
public string[] VolumeMountPoint 	{ 		get 		{ 			var volPath = VolumeGuidPath; 			return volPath is null ? null : GetVolumeMountPoints(volPath); 		} 	}
public string[] VolumeGuidPath
The Attach method with the option to specify a drive letter should also be able to accept a string[] parameter with all the drives letters for all the volumes present in the vhdx. Something like this, if the drive letters provided in the call are less than the actual volumes in the vhdx, these volumes will not have an assigned drive letter (the same that happens now), but it's not possible to specify one specific volume guid to be mounted.
`
public static void Attach(string[] mountPoint, bool readOnly = false, bool autoDetach = true, FileSecurity access = null)
{
ATTACH_VIRTUAL_DISK_FLAG flags = readOnly ? ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY : 0;
        if (!autoDetach)
            flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME;

        if (mountPoint is null || mountPoint.Length == 0)
            throw new ArgumentException();
        if (mountPoint[0] != "*")
            flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER;
        if (access is null)
            flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR;

        ATTACH_VIRTUAL_DISK_PARAMETERS param = ATTACH_VIRTUAL_DISK_PARAMETERS.Default;
        using SafePSECURITY_DESCRIPTOR sd = FileSecToSd(access);
        Attach(flags, param, sd);
        if (mountPoint[0] is not "*")
        {
            for (int i = 0; i < mountPoint.Length;i++)
                Win32Error.ThrowLastErrorIfFalse(SetVolumeMountPoint(mountPoint[i], VolumeGuidPath[i]));
        }
    }`

Thanks. I ended up with a slight variation to break less existing code:

Added VolumeGuidPaths and VolumeMountPoints properties to provide access to multiple values
Created Attach overload that takes string[] as first param, but implemented it so that passing null assigns no drives and error checks to ensure that only single enty of "*" will have system assign drive.

I have checked in the VirtualDisk.cs file and appreciate your review.

Hello, there's an error in this sentence from the new Attach method
		if (mountPoints.Length == 1 && mountPoints[0] != "*")
flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER;
should be:
if (mountPoints.Length > 0 && mountPoints[0] != "*")
flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER;
This way all this calls to the attach method work as expected:
Attach("M:\\", false);
Attach(new[] {"M:\\", "N:\\"}, false);
Attach(new[] { "M:\\" }, false);

I think I had two logic problems. Please check my work on latest commit. The XML docs for the method describe the use of the mountPoints parameter.

There's a problem with the new version.
When you call the Attach method you need the VolumeGuidPaths to have a not null value, but for that you need the vhdx to be attached and have the physicaldisk property already with a value.
I think you'd need to call the Attach(flags, param, sd); before using the vgp (VolumeGuidPaths) value for this to work.
Also please note that when you pass one or several mount points to the Attach method, the flag ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER should be used, otherwise the volumes will be mounted with the default drive letters and later the call to SetVolumeMountPoint will have no effect.
Please find below a working sample:
public static void Attach(string[] mountPoints, bool readOnly = false, bool autoDetach = true, FileSecurity access = null)
{
ATTACH_VIRTUAL_DISK_FLAG flags = 0;
if (mountPoints is null || (mountPoints.Length > 0 && mountPoints[0] != "*"))                 flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER;
if (readOnly)                 flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY;
 if (!autoDetach)                 flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME;
if (access is null)                 flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR;
        ATTACH_VIRTUAL_DISK_PARAMETERS param = ATTACH_VIRTUAL_DISK_PARAMETERS.Default;
        using SafePSECURITY_DESCRIPTOR sd = FileSecToSd(access);
        Attach(flags, param, sd);

        var vgp = VolumeGuidPaths;
        if (mountPoints is not null && (mountPoints.Length == 0 || mountPoints.Length > vgp.Length || (mountPoints[0] != "*" && mountPoints.Any(p => p == "*"))))
        {
            v.Detach();
            throw new ArgumentException(null, nameof(mountPoints));
        }

        if (mountPoints is null || mountPoints[0] is "*") return;
        for (var i = 0; i < mountPoints.Length; i++)
            Win32Error.ThrowLastErrorIfFalse(SetVolumeMountPoint(mountPoints[i], vgp[i]));
    }`

With this function these calls are succesful for a vhdx with 1 or several volumes:
Attach(new[] { "M:\\"});
Attach(new[] { "M:\\", "N:\\"});
Attach("*");
Please note that a call with a null value would be ambiguous between Attach(string) and Attach(string[]) param
Attach(null);

Damn. I thought I'd gotten that right. Thanks for checking it. I'll get it fixed and re-released.

What's the logic in checking conditions after attaching and detaching on failure rather than just checking before attaching?
What do you think about removing the mount point from the Attach(string... method so it always behaves like the Attach(new string[] { "*" }... overload? That will take care of the ambiguous call.

Please check my logic on the following:
public void Attach(string[] mountPoints, bool readOnly = false, bool autoDetach = true, FileSecurity access = null)
{
   if (mountPoints is not null && (mountPoints.Length == 0 || (mountPoints[0] != "*" && mountPoints.Any(p => p == "*"))))
      throw new ArgumentException(null, nameof(mountPoints));

   ATTACH_VIRTUAL_DISK_FLAG flags = 0;
   if (mountPoints is null || (mountPoints.Length > 0 && mountPoints[0] != "*"))
      flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER;
   if (readOnly)
      flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY;
   if (!autoDetach)
      flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME;
   if (access is null)
      flags |= ATTACH_VIRTUAL_DISK_FLAG.ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR;

   ATTACH_VIRTUAL_DISK_PARAMETERS param = ATTACH_VIRTUAL_DISK_PARAMETERS.Default;
   using SafePSECURITY_DESCRIPTOR sd = FileSecToSd(access);
   Attach(flags, param, sd);

   if (mountPoints is null || mountPoints[0] is "*")
      return;

   var vgp = VolumeGuidPaths;
   if (mountPoints.Length > vgp.Length)
   {
      Detach();
      throw new ArgumentException(null, nameof(mountPoints));
   }
   for (var i = 0; i < mountPoints.Length; i++)
      Win32Error.ThrowLastErrorIfFalse(SetVolumeMountPoint(mountPoints[i], vgp[i]));
}

Perfect!, all my tests work as expected with the new method.
As you said, I'd use a string[] param, also for properties VolumeGuidPaths and VolumeMountPoints removing the string VolumeGuidPath VolumeMountPoint properties

I just committed the changes and the NuGet packages should be available shortly on the AppVeyor feed.

Hello again,
I can see you have updated the packages in appveyor repository but I cannot find the latest changes, I'm still seeing the version with the string mountPoint and string[] mountPoints and some logic bugs when I inspect the code in the downloaded DLLs. It's version 3.4.2.
It looks like new Vanara.VirtualDisk hasn't been commited, can you confirm it?

See this commit

But the installed and compiled Vanara.VirtualDisk.dll v3.4.2 downloaded from appveyor still has the version from 6 days ago, not the new one.
In nuget.org the available version is 3.4.1
I tried from scratch with a new project in case the DLLs were cached.

I just pulled 3.4.2 from AppVeyor and it is the latest. Make sure you remove the package, then clear the NuGet caches, then re-add the package to get the latest from the server.


translation to other languages

I often use translation, but there is onlya way to translate to English (boolean). It would be fantastic to have an option to translate to other language (polish in my case).
### Tasks

The final solution for me would be the .srt file (translated).


libc: newlib: Call gettimeofday() also when CONFIG_POSIX_CLOCK

When CONFIG_POSIX_CLOCK is enabled, we should have implementation of gettimeofday() and therefore time(NULL) should return correct time, instead of -1.
Signed-off-by: Seppo Takalo<EMAIL_ADDRESS>

I wonder if that test should be only CONFIG_POSIX_CLOCK as in https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/posix/CMakeLists.txt#L18

I wonder if that test should be only CONFIG_POSIX_CLOCK

I agree.

Agree - thanks. I think I have this change in a huge patch set already that isn't merged, but yeah, POSIX_CLOCK please

Changed to POSIX_CLOCK


Is it possible to wait for initial set of requests to finish before bombarding next set of requests using Vegeta Lib

1) N jobs or requests are submitted at Once. Once all of them complete, then submit next N jobs.
Is this scenario possible using vegeta Library ?
Can you please provide more info here?
2) Also, I did not find proper documentation of the library, can you please point me to the same
3) One last question :- is it possible to get the results in the form of :- 90 percentile, 95 percentile...so on?
Thanks in advance.

N jobs or requests are submitted at Once. Once all of them complete, then submit next N jobs.

You can limit how many concurrent requests vegeta sends with the -rate flag. Look into the implementation of vegeta attack to see how it's done with the library.
You can limit how many workers send requests with the -max-workers flag or vegeta.MaxWorkers attacker option in library.

We don't have any functionality implemented to wait for N requests to finish before sending the next N. If you want something like this, you can implement your own Pacer.

Also, I did not find proper documentation of the library, can you please point me to the same

https://godoc.org/github.com/tsenart/vegeta/lib
https://github.com/tsenart/vegeta#usage-library

One last question :- is it possible to get the results in the form of :- 90 percentile, 95 percentile...so on?

Yes: https://godoc.org/github.com/tsenart/vegeta/lib#LatencyMetrics


Ability to make a subcommand the default if none specified

Right now, if you have a Command added to your kingpin.New() app, and no sub-command is specified at runtime, usage is printed and the program aborts.
My attempt to achieve this with the below failed:
var (
	appCommand          = kingpin.New("myapp", "Yum yum yum.")
	mySubcommand = appCommand.Command("mysubcommand", "Frob the bars")
)

func main() {
	switch kingpin.MustParse(appCommand.Parse(os.Args[1:])) {
	case mySubcommand():
                log.Print("my subcommand was selected")
	default:
		// default action - alas, usage is printed and we never make it here
                log.Print("my default action")
	}
}

I get the impression that https://github.com/alecthomas/kingpin/commit/19fc17384e8418cf98c11bd42a6687325ce830ea may have something to do with this ;)

That change actually made app.Parse() consistent with kingpin.Parse(), but yeah, some way of specifying a default command could be useful.

Yeah, that will be really helpful sometimes. But I think customized default action is the realy feature, the default command should be one way to do that.
BTW, nice job @alecthomas , I like this package. I will appreciate it if this feature could be supported soon.

+1
I'm using Kingpin in my Urban Dictionary CLI and would like to support getting definitions and synonyms with definition being the default command.
Here's an example:
# Get definitions
urbandict hacker

# Get synonyms
urbandict synonyms hacker

# Get definitions
urbandict define hacker

I'd like to set a default command per subcommand too:
So running "brightbox servers" is an alias for "brightbox servers list", but you can still run "brightbox servers create" etc.

I've pushed the branch default_commands.
This allows a command like this:
app command --flag subcommand arg

To be used like this:
app --flag arg

Via a command-line definition like this:
app := kingpin.New("app", "")
command := app.Command("command", "").Default()
flag := command.Flag("flag", "").Bool()
subcommand := command.Command("subcommand", "").Default()
arg := subcommand.Arg("arg", "").Required().String()

If you can give it a whirl and let me know if it works, I'd appreciate it.

I've tagged this as v2-unstable which you can import as gopkg.in/alecthomas/kingpin.v2-unstable

ah, whoops, I made the mistake of trying to use the v2-unstable branch on github to test this and it broke Fatalf :/
But then I figured out it's on the v2.0.14-unstable tag.
So, this is partly successful - it makes the given subcommand the default, but it breaks the help output (none of the subcommands are listed in the help if I make any one of them a default).

Sorry, I had deleted the old v2-unstable tag locally but not deleted it on github. Fixed. I'll fix the help up shortly.

Okay it should be fixed. Let me know either way and I'll push the release.

Found the change on v2.1.0-unstable, and the help output works now - thanks very much @alecthomas!

Pushed 2.1.0 to mainline. Thanks for testing.


Low Level Mouse Hook

A low level mouse hook is needed for upcoming powertoys.

I added a low level mouse hook using the runner’s LowlevelKeyboard Hook implementation as a frame of reference. According to the LowLevelMouseProc documentation if the hook procedure takes longer than the LowLevelHooksTimeout timespan defined in HKEY_CURRENT_USER\Control Panel\Desktop the hook procedure will timeout and be silently removed without being called.
The implementation is nearly identical to the keyboard hook we have set up already.
Because the mouse will be sending in a flood of events compared to the keyboard, we'll likely want to minimize the amount of processing done on the hook.
So right now the hooks are processed on the main thread. It may make sense to signal the even on a worker thread similar to the WinHookEvents implementation. A problem that may arise is that there may be specific Mouse events we want to mark as “handled”. If that be the case then perhaps signaling an event on a worker thread immediately wouldn’t be ideal here.

Having the events handled by the separate thread (like the keyboard hook) makes everything a lot easier. Having the same thread run the event handler and the windows message loop is tricky and leads to a lot of problems.

Correct me if I'm wrong, but I don't believe the keyboard hook is handled on a separate thread. I believe only the WinHookEvent is processed on it's own thread. @enricogior could you verify?

Ah, yes. The second thread is in the shortcut guide itself: https://github.com/microsoft/PowerToys/blob/94d07833c58c2fa4af02bcd4eecffe4844105933/src/modules/shortcut_guide/target_state.cpp#L9-L47
The handler needs to decide if the keypress needs to be suppressed so that part can't be done asynchronously. But the handling of the events themselves is done in separate thread.

I agree with you there. Any processing on the hook should only be to determine if the event should be handled by a PowerToy module. Once the PowerToy module determines it will use the event it needs to do two things. The first is probably to fire an event on a worker thread. The second is determine if the module will suppress the event or not (which would be done on the same thread as the Hook).
One thing to be careful of is if multiple PowerToys listen to the same event and the event gets suppressed, would it suppress the event for all the subsequent PowerToy modules?

Currently, each PowerToy event handler gets notified about the event.

Closing since we moved all low level hooks out of the runner.


Migrating from a .net framework application: missing features?

Hello,
I am trying to see how to migrate my existing .net framework application to asp.net core using this library. I cannot see an equivalent of PassiveRedirectEnabled in the new Microsoft.IdentityModel.Protocols.WsFederationConfiguration. Do you know if it is possible to have the same behavior for free?
Thanks!

I believe there is a property called AuthenticationMode that will do what
you want.
On Tue, Aug 1, 2017 at 2:52 AM epot<EMAIL_ADDRESS>wrote:

Hello,
I am trying to see how to migrate my existing .net framework application
to asp.net core using this library. I cannot see an equivalent of
PassiveRedirectEnabled in the new
Microsoft.IdentityModel.Protocols.WsFederationConfiguration. Do you know if
it is possible to have the same behavior for free?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chrisdrobison/aspnetcore-wsfed/issues/16, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABu24V5TqoCPRZ_vFFIbVEubIWM0-Q-2ks5sTudpgaJpZM4Opaww
.


feat(website): update the iconography page

Proposed Changes

Potential Breaking Changes
None, the old icons still exist and the Svg component too
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

The demo freeze instantly on my end, I cannot use the website :sweat_smile:
And it's not just my internet, mes others pages are fine and fluid...


use_spheroid parameter

Hi!
I saw that there's no support for passing the use_spheroid parameter in queries.
Maybe we could add it by doing something like this?
defmacro st_dwithin(geometryA, geometryB, float) do
  quote do:
    fragment("ST_DWithin(?,?,?)", unquote(geometryA), unquote(geometryB), unquote(float))
end

defmacro st_dwithin(geographyA, geographyB, float, use_spheroid) do
  quote do:
    fragment("ST_DWithin(?,?,?,?)", unquote(geographyA), unquote(geographyB), unquote(float), unquote(use_spheroid))
end

What do you think?
Thanks for the awesome work, by the way!

Sorry for just getting back. Yes, i think that's a good addition!


Add a Time type to SoberSwag::Reporting::Output

Currently, there are ways to use Dates and DateTimes with SoberSwag::Reporting, but not Time. We use Time in quite a few places, so we need to fix this before we can convert all of our output objects to the new API.

Time can mostly be safely converted to DateTime, so this is probably fine to exclude.


Create User - Backend task

Description
This issue involves creating a user model in the existing backend folder using Express and Node.js. The project structure is already initialized, and necessary dependencies are installed.
Tasks

Define User Model (Ensure there is a userType field that supports multiple user roles, including Teacher and Student.)
Implement User Controller (Adding new user, updating user details)
Set Up User Routes
Test the Implementation

Acceptance Criteria

A Mongoose user model is defined and includes necessary fields.
CRUD operations for the user model are implemented and tested.
Routes for user operations are set up and functional.
The implementation is tested and verified to be working correctly.

I would be taking this task @emmanuelAkpe

Thank you @Apoerakay . Assigned to you


Finds my Philips Hue Bridge, normal ?

The wemong node seems to discover my Philips Hue Bridge.  Is this normal ?

They both use uPNP so it's not a total surprise, I'll try and have a look at the Hue node to see if I can work out how to filter it out for now. If not I think we have a couple of Hue bridges kicking round the office I may be able to borrow to have a play

If not I can probably give you a bit of code to run that will get me all of the discovery information to work something out from


grafana-loki: 1.1.0 -> 1.2.0

Motivation for this change
New release: https://github.com/grafana/loki/releases/tag/v1.2.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test loki


Review SHDR Condition duplicates.

This issue was addressed before by Patrick's SHDR adapter, but Agent was also doing filtering.  Reproduce and identify issue.

non-issue


(Update on PR #543) Fixed TypeError in LU_comp, updated determinant docs and added rank function for matrices

This is an update on PR #543

fixed an issue in LU_comp which raised TypeError on singular matrices
added documentation of determinant function of matrices
added rank function of matrices

(PR #543 was originally opened and closed by sonntagsgesicht)

There are test failures.

minor changes to fixe test failures. tests should work now (as you can check here).


switch to featuregates via the API

rendering will need a future update, but I'm working that out with the installer first.

Observed a panic: &runtime.TypeAssertionError{_interface:(*runtime._type)(nil), concrete:(*runtime._type)(0x291f0a0), asserted:(*runtime._type)(0x25c1aa0), missingMethod:"FeatureGateAccessor"} (interface conversion: configobservation.Listers is not auth.FeatureGateLister: missing method FeatureGateAccessor)

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_cluster-kube-apiserver-operator/1485/pull-ci-openshift-cluster-kube-apiserver-operator-master-e2e-gcp-operator/1650894721830096896

/lgtm

labelling for the bugs to get this in to enable the external cloud provider unrevert.
/retest


Homebridge crash

This can happen 1-3 times a day.
Is it something obvious or should I leave it debugging?
Error: write EPIPE
    at ChildProcess.target._send (internal/child_process.js:713:20)
    at ChildProcess.target.send (internal/child_process.js:597:19)
    at Timeout.setInterval [as _onTimeout] (C:\Users\pax07\node_modules\homebridge-config-ui-x\src\index.ts:60:10)
    at ontimeout (timers.js:466:11)
    at tryOnTimeout (timers.js:304:5)
    at Timer.listOnTimeout (timers.js:267:5)

3.5.5 should fix this problem.


Issue creating AKS Cluster

I am creating a cluster with a service principal password via terraform. Intermittently, I get this issue:

azurerm_kubernetes_cluster.aks: Error creating Managed Kubernetes Cluster "abc123" (Resource Group "zyx987"): containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="The credentials in ServicePrincipalProfile were invalid. Please see https://aka.ms/aks-sp-help for more details. (Details: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: ae5b4f5b-182e-46f8-bad6-a17a66641101\r\nCorrelation ID: fd735819-1141-4ac8-a015-e266c4b2db98\r\nTimestamp: 2019-11-13 16:49:19Z","error_codes":[7000215],"timestamp":"2019-11-13 16:49:19Z","trace_id":"ae5b4f5b-182e-46f8-bad6-a17a66641101","correlation_id":"fd735819-1141-4ac8-a015-e266c4b2db98","error_uri":"https://login.microsoftonline.com/error?code=7000215\"})"

What can I do to avoid this intermittent error?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 25a0d502-ce71-76d4-bf8a-060e63913b52
Version Independent ID: 69d7fa26-1a37-e477-0a2c-db58ce19a84f
Content: Service principals for Azure Kubernetes Services (AKS)
Content Source: articles/aks/kubernetes-service-principal.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Error looks to state the SP credentials are invalid. Are you using the automatically created SP or a SP you created manually? Are you sure the credentials are correct?

@jmcshane I have worked offline a bit on this and the AKS team suggests opening an issue here: https://github.com/Azure/AKS/issues
That way they can have engineering take a look and better track. You can CC me in that issue so I can advise further as well.

Thanks @MicahMcKittrick-MSFT, created https://github.com/Azure/AKS/issues/1316

Great! I am following that issue now :)


ARGO MILO PLUS - doesn't work

Adding it could be a nice thing.
TnX
D.

Same here with Argo Milo Plus. :-(

Same here with Argo Milo Plus. :-( But you can use the Gree-App and the Gree HA Integration - that works. https://www.home-assistant.io/integrations/gree/

Thanks for the tip! Got it working instantly with Gree HA Integration. 😲


Update for Xcode 8. Turns on new warnings, and bumps iOS deployment target to iOS 8.

Should be safe to merge – doesn’t touch much.

Thanks!  Fortunately the Xcode 8 changes are no big deal.
After taking this, I moved the new warning flags into an .xcconfig file and fixed a bunch of my own warnings in the apps.


Login not working.

Hi,
I Installed IK as a cocoapod, and tried to implement login like in the demo, with a webview, but I get a compilation error, that IKLoginScope not found.
I tried the LoginWithBlock function as well, but that takes to the browser outside the application, and after logging in on the website, it takes me to the redirect uri, but does not return control to the application.
Please help.
Thanks
MK

It shows me an error, code :403 and eeror type: Oauthforbiddenexception, error message: implicit authentication is disabled

@Raja413 If you don't use a server component, you need to enable implicit authentication at the Manage clients dashboard.
More information about this can be found at https://instagram.com/developer/authentication/. In particular, the section about Client-Side (Implicit) Authentication.


revert: "chore: reduce Binding variant usages"

Reverts getgrit/gritql#132
This PR breaks 4 tests in crates/core:
test::access_empty_list
test::access_empty_map
test::match_on_falsy_accessor
test::match_on_falsy_list_index

Summary by CodeRabbit

Refactor

Standardized pattern matching capabilities using the Binding enum for improved efficiency.
Enhanced code readability and maintenance by updating method calls and import statements.

I found the issue btw: I changed an undefined check from using matches!() to PartialEq, but the PartialEq implementation says Undefined != Undefined.

I found the issue btw: I changed an undefined check from using matches!() to PartialEq, but the PartialEq implementation says Undefined != Undefined.

great! can you show in the offending pr?

Yeah, this is where the error was introduced: https://github.com/getgrit/gritql/pull/132/files#diff-e9003e100fb590893dd0bdf4759221a76b9761742d80ac8cecca9cc1e90bef8fR884
This is the correct fix: https://github.com/getgrit/gritql/pull/139/files

Yeah, this is where the error was introduced: https://github.com/getgrit/gritql/pull/132/files#diff-e9003e100fb590893dd0bdf4759221a76b9761742d80ac8cecca9cc1e90bef8fR884
This is the correct fix: https://github.com/getgrit/gritql/pull/139/files

yeah I have a pr for it: https://github.com/getgrit/gritql/pull/141


Code Lens is all over the place

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:46:00.226Z)
OS Version: Darwin x64 15.6.0
Extensions:

Extension
Author
Version

vscode-eslint
dbaeumer
1.1.0

csharp
ms-vscode
1.5.2

Steps to Reproduce:

Open any valid code
Look at the UI

Well, it seems that vertically it is at the correct height.

This has been fixed since. Can you get the update to 1.7.2, released yesterday and confirm?

Can confirm it is repaired, thanks!


Can the "Retry-After" header be accessed through methods like"Conversation.List"?

The docs about rate limiting say that there will be a header named "retry-after" that indicates how long the client should pause before retrying. Is that exposed anywhere in the library?
I initially hoped that it would somehow magically appear in the "OtherFields" dictionary but I've had a cursory glance through the source code and couldn't see any headers access and the tests about the Web calls seem to have sample responses that are the response body only and do not include any headers.. so I'm guessing that it wouldn't currently appear in "OtherFields"?
(Note the official docs show it as "Retry-After", with capital letters, while this Medium post indicates that it is "retry-after", all lower case - I'm not sure if one is correct and the other not!)

Hi @ProductiveRage - the retry-after header is part of a 429 status code in the response (there's an example in the Medium post). As this is a non-successful status code the HttpClient will throw this as an exception and won't ever be returned as part of a successful response.
As such this would have to be part of your client code to pick up in exception handling.

But when I've seen it happen (same with authentication problems), I get a response object from your library but with OK false and the failure code on the Error property. No 429 appears to be thrown from the call that it is make to your code - no exception at all, in fact.

Reproduce code (created partially to reassure myself that what I was saying was correct and that there isn't an exception that is thrown when I call the library!) -
var client = new SlackWebApiClient("ACCESS TOKEN GOES HERE");
var numberOfCallsQueued = 0;
var numberOfCallsCompleted = 0;
while (true)
{
    ThreadPool.QueueUserWorkItem(async _ =>
    {
        var response = await client.Users.List(limit: 100);
        Console.WriteLine($"Completed {Interlocked.Increment(ref numberOfCallsCompleted)} call(s)");
        if (!response.OK)
        {

        }
    });
    numberOfCallsQueued++;
    if (numberOfCallsQueued % 100 == 0)
        await Task.Yield();
}

The response that I get back when the !response.OK condition is met looks like this:

hmm that's odd - if that's coming from a 429 it shouldn't be parsed by my app....I'll take a look

I think that it might be because in SlackWebApiClient.MakeUrlEncodedCall you don't check the response code on the message from Client.PostAsync and that HttpClient doesn't throw exceptions for non-200 responses, which is why it has an IsSuccessStatusCode property.
Even in error responses, it seems like the Slack API will return data (with ok: false, error: "ratelimited"), as you can see in this SO question where they forgot to include an access token:

Nope - it was because I forgot that I am handling WebExceptions.
Just release v2.12.0 and v2.13.0-beta1, which have a RetryAfter TimeSpan property in all web api responses, and I've just used your code to try it and it works.

Oh, nice one - I'll give that a go! (And it means that I don't have to make many changes to my other code relating to catching other failure cases, which is much appreciated!)

Ran the repro code again and have got a "RetryAfter" value of 3s - fantastic! Thanks again for the rapid response!


Production example?

I would really appreciate an example for how we should use this in an application. Like it's been awesome in a notebook, but how should I hook this up in a flask application as a streaming REST endpoint (or similar sort of 'headless' python script)?

I am interested as well...

Check out #129 now as well.

I think the new release makes this all much easier, as what you have is basically python code. Please check it out :)


Release 7.11.0 lost file

Laravel Version: 7.0
PHP Version: 7.2.29
Database Driver & Version: doesn't matter

Description:
Lost a file:
framework/src/Illuminate/Http/Middleware/TrustHosts.php
Steps To Reproduce:
$ laravel new project
$ vi /project/app/Http/Middleware/TrustHosts.php
Line 5: use Illuminate\Http\Middleware\TrustHosts as Middleware;
I can find it in Branch 7.x, but it is not in release 7.11.0.
https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Middleware/TrustHosts.php
https://github.com/laravel/framework/tree/f4563bd2e0875c59a1f7967abdbe5cef7f240117/src/Illuminate/Http/Middleware

i haven't this issue with laravel last version

That file was added 10 hours ago
v7.11.0 was released 6 days ago
It was not released yet, nothing is missing, so you just need to wait for a new release for you to use it, or just use the unreleased (dev) version.

This will be included in today's release. The middleware is commented out by default in laravel/laravel, so new app creation until the release is made will still work fine.


Question - is it possible to save traces using file sink?

Hello there, I would like to use tracing in new project, but my limitation is that there is not back-end that could receive traces in target environments. For logs, I can user file sink and move files to different environment, where I can import files to Seq.
I have not option to install Seq or other tools in target environment and file is easy and reliable way for persisting logs (and hopefully traces) for transfer and investigation in different environment.
Is there some option to save traces using file sink so they can be imported to Seq using clef.exe?
Thank you for amazing work :)

Hi Ondrej,
It's possible to use Serilog.Sinks.File with the SeqCompactJsonFormatter class from Serilog.Sinks.Seq - after installing that package, pass a new SeqCompactJsonFormatter() in the first argument position of the WriteTo.File() method.
The resulting files will be in Seq's ingestion API format, including traces, which can be HTTP POSTed to /ingest/clef on the Seq server. I believe seqcli ingest should be able to do this, but I'm not 100% sure it's compatible and can't check just now - if you have trouble getting the files into Seq, just let me know here and I'll dig around :-)


Update documentation flag for moving a PVC between clusters.

Description
Seems to be --target-node, --node is an unknown flag.

/rebase test=true

@tom-asmblr thanks for your contribution

/merge


Update ignite.json

Pull request motivation(s)
What is the current behaviour?
Headings are not shown in the search modal. It also searches into _modules, _sources directories
What is the expected behaviour?
Headings should be shown in the search modal. It should not search into _modules and _sources directories
NB: Do you want to request a feature or report a bug?
NB2: Any other feedback / questions ?
Current behavior:

We want to show respective title (h1) in the place of "Documentation" and don't want to show "Source code for ..." results.
So I have included /_ and \\? in stop_urls, updated the lvl0 to .rst-content h1. Let me know if something needs to change.
cc: @vfdev-5, one of the maintainers of PyTorch-Ignite

Wrong PR again


Secret Key should be made secret with .env

In backend/safesteps/safesteps/settings.py, make the secret key actually a secret, or .gitignore the entire file until that's done

Done in rithvik branch, changes need to be committed to main


Fix tf pose normalize

Fixes

Pose.normalize if it has a tensorflow posebody and is used in graph mode
zero_filled if called on a tensorflow posebody instance

Besides fixes openpose tests because I'd like to get all tests passing in master. The remaining failing tests I am not sure how to fix.

It would probably have been easier to lint the code to 4 spaces as a separate pr, but no biggie


[ci:component:github.com/gardener/gardener-resource-manager:v0.15.0->v0.16.0]

Release Notes:
It is now possible to specify the leader election settings via the following command line parameters: `--leader-election-lease-duration` (default: `15s`), `--leader-election-renew-deadline` (default: `10s`), `--leader-election-retry-period` (default: `2s`).

/assign
/close in favour of #2667


Rewriting postorder and preorder

Summary
Refactored postorder and preorder to be more like client notes, plus tests and necessary changes to other functions that uses those.
Details and comments

A small note: maybe there could be a test for the case when the tree is not actually a tree but has a loop, just to see that nothing explodes if that's the case? I guess it shouldn't happen with this code

A small note: maybe there could be a test for the case when the tree is not actually a tree but has a loop, just to see that nothing explodes if that's the case? I guess it shouldn't happen with this code

postorder_traversal() and preorder_traversal() are only called with the input tree being constructed with rx.steiner_tree(), and a steiner tree should never have any loops, so I think that the test would be unnecessary.

That's true, I was wondering if someone else uses them with their own input graph but maybe it's the caller's responsibility


Use scrcpy with phone screen off

scrcpy is awesome, much better performance than SideSync, but the one feature I miss is being able to mirror the device on my computer while the real physical phone screen is turned off.  I can't help but feel that I'm shortening the lifespan of the device by keeping the screen on all day every day.  Is there any way to do this with scrcpy, or, can the feature be added?

Currently, there is no technical solution.
Duplicate of https://github.com/Genymobile/scrcpy/issues/175.

Implemented on dev by 12a3bb25d39037931f577dc0165b3e517aad92df.


Segmented pointer additions wrong offset inference

A reference such as es:[bx+1D70h] should print out correctly as: bx_var + 0x1d70.  Currently it prints as an offset from coincidental data segment location found at 0x1D70 as &ram0x000006D0+bx_var.  For es:[bx+1d80] it would be &ram0x000006D0+(bx+var+0x10) and so forth.
Looking at how the output varnode is used for the SEGMENTOP is the right approach is it should always come immediately after.  Obviously the DS segment is not used so just guessing here is totally ridiculous when the SEGMENTOP that happens in the next opcode binds to the ES segment.  Basically it ruins the clean output and wrongly queryies for nonsense addresses.
Note the comment in the source where this is showing one case where simple addition is not enough to start assuming things might be a pointer especially in 16 bit code where the data segment might be 10k and make any constant value less than 10k look like a near pointer:
// FIXME: need to fully explore additive tree
Tested and working.

@caheckman has this been superseded, or should it be included?


Issue in InnerClassList tooltip

In asm-tree/InnerClassNode.java#L39-52:
/** The internal name of an inner class (see {@link org.objectweb.asm.Type#getInternalName()}). */
public String name;

/**
 * The internal name of the class to which the inner class belongs (see {@link
 * org.objectweb.asm.Type#getInternalName()}). May be {@literal null}.
 */
public String outerName;

/**
 * The (simple) name of the inner class inside its enclosing class. May be {@literal null} for
 * anonymous inner classes.
 */
public String innerName;

According to this,
outerName is the internal name of the class to which the inner class belongs and
innerName is the simple name of the inner class inside its enclosing class.
However, in recaf/en.json#L217-L218:
"ui.bean.class.innerclasses.inner.tooltip": "The internal name of the class to which the inner class belongs. May be null.",
"ui.bean.class.innerclasses.outer.tooltip": "The simple name of the inner class inside its enclosing class. May be null for anonymous inner classes",

A simple fix:
From f6ee1dcf4d25f39d35a665b88b2479021ac490e2 Mon Sep 17 00:00:00 2001
From: andylizi<EMAIL_ADDRESS>Date: Fri, 28 Sep 2018 13:37:42 +0800
Subject: [PATCH] Fix a typo in translation. Closes #87

---
 src/resources/lang/en.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/resources/lang/en.json b/src/resources/lang/en.json
index 8a24cb9..0674fd9 100644
--- a/src/resources/lang/en.json
+++ b/src/resources/lang/en.json
@@ -214,8 +214,8 @@
 	"ui.bean.class.innerclasses.name": "Inner classes",
 	"ui.bean.class.innerclasses.desc": "List of inner classes.",
 	"ui.bean.class.innerclasses.name.tooltip": "The internal name of an inner class.",
-	"ui.bean.class.innerclasses.inner.tooltip": "The internal name of the class to which the inner class belongs. May be null.",
-	"ui.bean.class.innerclasses.outer.tooltip": "The simple name of the inner class inside its enclosing class. May be null for anonymous inner classes",
+	"ui.bean.class.innerclasses.outer.tooltip": "The internal name of the class to which the inner class belongs. May be null.",
+	"ui.bean.class.innerclasses.inner.tooltip": "The simple name of the inner class inside its enclosing class. May be null for anonymous inner classes",
 	"ui.bean.class.fields.name": "Fields",
 	"ui.bean.class.fields.desc": "List of fields.",
 	"ui.bean.class.methods.name": "Methods",
--
2.19.0.windows.1

:+1:
Nice catch


Scroll overflow issues on the pack screen in safari and on mobile

In safari the category columns overflow the viewport and can't be scrolled.
On mobile the same issue can sometimes occur. It seems to be due to the use of view height units

I found [this article on mobile view height calculation] https://css-tricks.com/the-trick-to-viewport-units-on-mobile/) helpful for addressing the issue on other projects I've worked on. This is likely from the fixed-layout.tsx use of height="100vh".

Hi @Alex-AK thanks for the link!
I will read that article properly when I get the chance. Looks like they are using window.innerHeight which means this solution may not work with server side rendering, but when I am free to pick up this issue I will keep this technique in mind.
Thanks again!


Screenshot and description in step #4 is not correct

Step 4 contains incorrect screenshot and description. If you go to QnA Maker portal the option you need to choose is called "Create a knowledge base". The screenshot shows also an outdated navigation. Navigation options are "My knowledge bases" and "Create a knowledge base" instead of "My Services" and "Create a new service".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 64fd704e-8e5f-c707-4e0c-ba74b739a724
Version Independent ID: f5a894b3-8ed0-dcb6-7749-bc98e55c268f
Content: How to import a knowledge base - Microsoft Cognitive Services - Azure
Content Source: articles/cognitive-services/QnAMaker/Tutorials/migrate-knowledge-base.md
Service: cognitive-services
GitHub Login: @nstulasi
Microsoft Alias: saneppal

@p2netdev Thanks for the feedback! We are currently investigating and will update you shortly.

@p2netdev Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@nstulasi Hi, this is a doc-bug, please check the screenshot in step 4, this is not consistent with the real UI. Thanks a lot.

#in-progress Updating document.

@p2netdev Thank you for your patience. The text has been corrected and the image is removed. The image will be replaced as a larger effort to verify and correct the screen shots for QnA Maker.

@p2netdev Thanks for reporting this issue. We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
@diberry Thanks a lot.


Add first session & cluster change tracking

Description
Changes proposed in this pull request:

Also fix tiny bug on Application details

Testing
Remember to enable TRACKING feature in defaultConfig.json (on frontend and probably on backend).
Related issue(s)

/retest

/retest

/retest


Top half of block cut off when using a statement input inside a square reporter

Expected Behavior
You see the whole block
Actual Behavior
The top half is cut off, statements offset, and bottom has no padding
Steps to Reproduce
Add my code to blocks_vertical/motion.js and and create the block
My Code
Blockly.Blocks['motion_lambda'] = {
  init: function() {
    this.jsonInit({
      "message0": "do %1",
      "message1": "and return %1",
      "args0": [
        {
          "type": "input_statement",
          "name": "FUNCTION"
        }
      ],
      "args1": [
        {
          "type": "input_value",
          "name": "RETURN"
        }
      ],
      "inputsInline": false,
      "category": Blockly.Categories.motion,
      "output": "String",
      "outputShape": Blockly.OUTPUT_SHAPE_SQUARE,
      "colour": Blockly.Colours.motion.primary,
      "colourSecondary": Blockly.Colours.motion.secondary,
      "colourTertiary": Blockly.Colours.motion.tertiary
    });
  }
};

Screenshot

Operating System and Browser
Google Chrome and Windows 10

Long shot: @tmickel do you know what's going on here?

Hmmm... well...not precisely...but I think it is safe to say we did the rendering code for blocks with outputs (i.e. reporters) assuming that the shape would be a single row.
To start imagining reporters with multiple rows is a lot of work. It might be intuitive for a "square"-shaped reporter like the one above (just don't render notches?) but for rounded ones and "hexagonal" boolean ones, it's very strange to think about having statement inputs like above...
maybe it could be considered to add a check that a block with output contains no statement inputs and only a single row; if this is not the case, it's not currently supported by the rendering.


Remove $ from code fences

Like the code fences on GitHub, our Docs support copying the content right away. It would be nicer to get rid of the $  signs to support copy and pasting into the terminal.

Great catch @lukasmalkmus fixed.


feat: add 7702

this might appear premature, but we need this already

wdyt about feature flagging this until it's live? Not opposed though.

@klkvr nope, 4844 should not exist for op

wdyt about feature flagging this until it's live? Not opposed though.

can discuss, but urgently need this, we have a better workaround for this, but needs more time

@clabby I definitely want to remove these again, but this unblocks a ton of workarounds we might need to do.

@mattsse nw. We'll add a manual check in the proof that disallows use of the 7702 tx. gl w/ alphanet launch 🫡


prevent web browser from remembering API keys

Hello,
Please consider to use input type password instead of text for API key fields, to prevent web browsers from remembering them as they are sensitive information.

Thanks, good catch. Let's check the other password fields while we're at it.

QA passed


[Skype]Fail to send message on Skype channel

Bot Info

App ID: afd5bf56-58c3-40bf-9c33-b4757f89880c
SDK Platform: Node.js
SDK Version: latest
Active Channels: Skype
Deployment Environment: Azure Bot Service

Issue Description
Since I couldn't get a message from Skype channel, I removed the channel and re-added it. And then I couldn't send messages to this bot anymore.
This is the Skype link: https://join.skype.com/bot/afd5bf56-58c3-40bf-9c33-b4757f89880c?add
Like this picture below:

But on bot framework portal, the Skype channel is alive. I have checked the log on Azure, but it seems that the bot doesn't receive any message from Skype(it works well through web).
Code Example
None
Reproduction Steps

Open this link: https://join.skype.com/bot/afd5bf56-58c3-40bf-9c33-b4757f89880c?add
Send message to it.

Expected Behavior

Actual Results

Hi @fanidamj
When you say " I removed the channel and re-added it. " did you fully republish your bot in the Skype channel?  What steps did you take to remove and re-add?
there is a nice third party blog that might help here.
Sincerely,
IoTGirl


pantheon.appcenter: 7.0.0 -> 7.1.0

Description of changes
https://github.com/NixOS/nixpkgs/issues/170361
https://github.com/elementary/appcenter/releases/tag/7.1.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build pantheon.elementary-onboarding


Android  Microsoft Remote Desktop not working to Windows 10

Greetings,
RDP connection is not working from my Android phone to wrapped Windows 10 VM. From PC to PC its working and from phone to W8.1/WS2008R2/linux RDP its working.
Error screen:
Connecting to <IP>
Configuring remote PC...

RDP host:
Windows 10 Enterprise
1803
OS build 17134.112

RDP client:
Android
Microsoft Remote Desktop <IP_ADDRESS>8

When i changed RDP wrapper configuration Authentication mode from GUI authentication only to Default RDP Authentication. Everything works :) God bless stascorp <3


upgrade chart versions

change jenkins-x/jenkins-x-platform to version 0.0.3847
change jenkins-x/prow to version 0.0.480

/test all


Brainstorming --

Hi Juan,
As discussed on OpenAstrodynamics, I am interested in a fast unit library. My application would need both Rust and Python support. Anyway, I fed the the video from your readme to ask-claude, and been asking it questions. It recommended the following ideas that I thought might be useful:
Question > Here's what I've been told about unit libraries: "the key idea is to abandon symbolic algebra engines for this, since usually people just want the 7 fundamental units and this number can be hardcoded upfront, saving a ton of complexity". What do you think?

This is an interesting perspective on unit libraries. There are a few arguments on both sides here:
For (abandoning symbolic algebra)

Simplicity - Hardcoding the set of fundamental units upfront avoids the complexity of implementing full symbolic unit conversion logic. This makes the library easier to develop and maintain.

Performance - Avoiding the symbolic logic leads to better performance, since you don't have the overhead of the reasoning engine. You have a predefined set of unit ratios to work with.

Limited use cases - For many basic use cases, the 7 fundamental SI units are sufficient. Only a subset of users will need more complex unit definitions.

Against

Inflexibility - The library is limited to a fixed set of units. Users can't define their own units or handle non-standard units. Dimensional analysis is limited.

Incorrectness - Without dimensionality checking, invalid unit operations could be allowed, producing incorrect results.

Lack of precision - For exact unit conversion between arbitrary units, symbolic logic is needed. Hardcoding a set of conversion factors loses this precision.

Unrealistic for some domains - Many specialized domains require far more than just the 7 SI units. Anything requiring imperial/US units would not work.

My view
For a basic introductory unit library or limited use cases, hardcoding a set of fundamental units and ratios is a pragmatic approach that avoids a lot of complexity. However, for a fully-featured, correct, and flexible unit library, symbolic logic is ultimately needed.
The ideal solution is probably a hybrid, e.g.:

Hardcode a limited set of fundamental units and the logic to handle them. This covers many simple use cases efficiently.

Build a symbolic logic/CAS layer to handle arbitrary units, non-standard units, dimensionality checking, etc. for users that need it.

Make the symbolic layer optional, and have a simple API so basic users aren't exposed to the complexity.

Explore performance optimizations/limitations of the symbolic layer, since speed is a concern.

So in summary, I would not abandoned symbolic algebra altogether for a serious unit library, but would use it judiciously in a way that balances simplicity, correctness, and performance for a wide range of use cases. With some creativity, it is possible to gain most of the pros of both approaches. But clearly defining the scope of your library will help determine whether a purely hardcoding approach would be sufficient or not.
Does this help explain my perspective on the trade-offs here? Let me know if you have any other questions!

Inflexibility - The library is limited to a fixed set of units. Users can't define their own units or handle non-standard units. Dimensional analysis is limited.

 The 7 fundamental SI dimensions are hardcoded for the default unit system:
https://github.com/astrojuanlu/fastunits/blob/ae149d0e2cc7e91b3e6024aa22162633cf510402/src/fastunits/dimensions.py#L11-L13
But the user can define their own:
https://github.com/astrojuanlu/fastunits/blob/ae149d0e2cc7e91b3e6024aa22162633cf510402/experiment.py#L7-L8
The key is that, within a given unit system, operations are well defined and generic symbolic algebra is not needed:
This means that one can avoid sympy, unlike projects like unyt:
https://github.com/yt-project/unyt/blob/b9c4c21b2e27fd4af9fafa1949dc01296125543c/unyt/unit_object.py#L23-L37
and instead use well defined operations between units:
https://github.com/astrojuanlu/fastunits/blob/ae149d0e2cc7e91b3e6024aa22162633cf510402/src/fastunits/quantities.py#L27-L37
https://github.com/astrojuanlu/fastunits/blob/ae149d0e2cc7e91b3e6024aa22162633cf510402/src/fastunits/units.py#L70-L97

Lack of precision - For exact unit conversion between arbitrary units, symbolic logic is needed. Hardcoding a set of conversion factors loses this precision.

I think this is a niche use case.

Unrealistic for some domains - Many specialized domains require far more than just the 7 SI units. Anything requiring imperial/US units would not work.

 There are 7 dimensions regardless of unit system.
Imperial/US units support would be nice, yes. The way to achieve that would be to define conversion factors within a given unit system. It's not difficult with the current system.

I appreciate your good intention @ChristopherRabotin, but I am not happy with using "AI" to try to reason about difficult engineering tradeoffs. I am happy to do some brainstorming but I would like to ask you to read the code and the resources that are linked in the README.
fastunits is a proof of concept, not even a fully working prototype, but the operation overloading between dimensions, units, and quantities is what makes it unique. This can be extended for floating point and symbolic arithmetic, while saving complexity from overly generic approaches.

Thanks for taking the time to answer. Yup, lots of these answers by the
generator aren't great. I'll read through the proof of concept code
On Thu, May 25, 2023, 05:47 Juan Luis Cano Rodríguez <
@.***> wrote:

I appreciate your good intention @ChristopherRabotin
https://github.com/ChristopherRabotin, but I am not happy with using
"AI" to try to reason about difficult engineering tradeoffs. I am happy to
do some brainstorming but I would like to ask you to read the code and the
resources that are linked in the README.
fastunits is a proof of concept, not even a fully working prototype, but
the operation overloading between dimensions, units, and quantities is what
makes it unique. This can be extended for floating point and symbolic
arithmetic, while saving complexity from overly generic approaches.
—
Reply to this email directly, view it on GitHub
https://github.com/astrojuanlu/fastunits/issues/6#issuecomment-1562763364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEZV2GTWFBOTQGQL5G2A4DXH5BGLANCNFSM6AAAAAAYOIXSM4
.
You are receiving this because you were mentioned.Message ID:
@.***>


提供配置自定义 model 路径

可以让一个项目同时配置多个数据库，如 mongodb 和 mysql.

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message follows commit guidelines

Affected core subsystem(s)

Description of change

@huacnlee
没问题的话 merge 了吧

impl in https://github.com/eggjs/egg-sequelize/pull/60


Feat/1381 notifications fiat

Describe the changes you have made in this PR

show fiat in notifications
refactor rate to be sats- instead of a btc-rate to work directly with sats everywhere

Link this PR to an issue
Fixes #1381
Type of change (Remove other not matching type)

feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes

with fiat

no fiat

How has this been tested?

manually (see screenshots)
unit-test

did you test it with currencies where the values are different? (e.g. different amount of decimal points or values?

No, thanks!
Currently this would be cut off:

We could move Fiat to next line:

Maybe something like this:
✅ Payment [to XYZ] Successful
Amount: 321 sats (25.73 NGN)
Fee: 0 sats

Maybe something like this: ✅ Payment [to XYZ] Successful Amount: 321 sats (25.73 NGN) Fee: 0 sats

Good idea, let me try if simple line-breaks work in there


Replace usage of the deprecated "io/ioutil" package (GEA-12683)

"io/ioutil" has been deprecated since Go v1.16.

Rebased onto latest main and fixed conflict.


Release 4.12.0

@rsyracuse with the removal of Domain "Edit Mode" and move of obj from v4beta to v4 we thought this warranted bumping minor verions from 4.11.0 to 4.12.0. The api is currently returning an X-Spec-Version response header of 4.12.0

@patthiel we didn't really remove obj from beta in server, just removed the beta note...all the endpoints still have the beta tag and /v4beta.

Closing in favor of https://github.com/linode/linode-api-docs/pull/190, which has a bumped 4.12.0 version number in the spec file too.


add file-search-regex -G functionality

ag -G '.*.gyp$' search_term

And you cleaned up the opts initialization. Nice.


image alignment Issue with large screen phones

Check the attached screenshot, there is a issue with alignment for more than 6 inch screens.
But no issues in small screens devices.

Embedded webview link : https://chatroom.tamil2friends.com/chat.php

What do you see on Chrome on the same device?

it works fine and there is no alignment issue in chrome view :)  Just the webview does this issue.

What Android version is it?
What happens if you build a minimal example with Android’s original WebView and as little custom code as necessary?

Its android version : 9
in default webview, it does the same issue, thats why i used your lib, advanced webview to fix it. But still it does the same.

In that case we probably can’t do anything about this, sorry.
If Android’s underlying WebView implementation renders this incorrectly, this is out of our control.
The strange thing is that it apparently renders correctly in Chrome on the same device.
The best solution may be trying to change your CSS.


Core: Create macros to deprecate functions / variables, since a given…

… eCAL version.
Pull request type
Please check the type of change your PR introduces:

[x] Refactoring (no functional changes, no api changes)

What is the current behavior?
We deprecate functionality and the user can not see, when it was deprecated.
Also we cannot deprecate functionality for upcoming releases, which makes code maintenance harder.

Regarding the naming: For Qt you would write code like this:
https://github.com/eclipse-ecal/ecal/blob/56f8751b98d3c41a867a311c93a07e57d8ab5636/lib/CustomQt/src/QAdvancedTreeView.cpp#L103-L107
However, I am not sure if I like the naming QT_VERSION_CHECK. It doesn't really check anything, the checking has to be done by the user. So I think _CALCULATE is better. However, I like having the plain QT_VERSION macro, without _INTEGER suffix. Is that macro already used?

There are even more places where you can replace the [[deprecated]] attributre with your fancy macro. Like for example eCAL::Process:GetHostId() I definitly know as I tagged this function a minor release ago.

@hannemn Please go ahead and mark the remaining functions. I know some are older, some not, but I marked only the ones which I have introduced for this or the next upcoming release.