Fix issue #3371 - tranform Error to RunTimeException in scans

Scan issues that throw Errors were not handled and caused the process to terminate.  The errors can be caused by user code, and should kill the scan thread, not the entire process.
Translating Errors to RuntimeExceptions allows the thread exception handler to process the exception, but prevents killing the process.
Adds a test iterator that can throw Errors and validates an exception on scan propagates to the client, but process is not killed.

I remembered that at one point I had made this configurable. I went back and looked and I did in an early commit in the PR that introduced this behavior. We also had this discussion on that PR as well (ref).
If we take VFS out of the equation - if a user mistakenly specifies that classpath for a classloader context, then runs a scan on table that uses that context to load iterator classes, then they can take down a good portion or the entire cluster. However, I believe that the client makes a call to the Tablet Server to test that it can load the iterator classes.
I believe the issue here is the class can only be loaded by a portion of the TabletServers, due to VFS. Given that we have users using the VFSClassLoader, I think we should resurrect the configuration property. If we can somehow scope that to apply only to scan threads and only to classloading Errors, that might be appropriate.

If we are going to try and handle Errors here we should at least narrow the scope to certain ones (like no class def found). There are a lot of Errors we don't want to handle and should crash.
Specifically, any VirtualMachineErrors we would never want to convert to a RuntimeException. These types of Errors include OOM, StackOverflow, etc.

I suspect a user could create an iterator and configure on their stack that does this translation.  Wondering if something like this would work ErrorHandlingIterator if configured at the top of the users iterator stack.  Seems like all errors would go through it.
In the PR I am curious if there a particular reason for catching the SourceSwitchingIterator?

I picked SourceSwitchingIterator after a brief internal discussion and that was where the issue reported was throwing the exception.  There was not an alternate, obvious iterator that would at least demonstrate the problem.
The only real benefit of this PR was being able to reproduce the stack trace as reported in the issue quickly.  It also identified what possible locations would need protection.
One underlying issue that has been discussed before, but I do not recall a resolution or even a proposed approach is how to isolate "user errors" from system errors and allowing a "user error" to halt otherwise healthy services.  This PR does not come close to solving that, other than this is "what not to do"
I converted this to draft and would just have closed it, but maybe something can come from the discussion?

@EdColeman Can we close this WIP PR? I don't think that it's still being worked on, and doesn't seem likely to go anywhere. We can still discuss on a closed PR.

Everyone agrees this is a bad approach and leveraging the SPI as discussed should be used by users.
There are also discussions of nesting / wrapping Errors with Exceptions that can occur (similar to what this looked like) in  PR 3396 - users and libraries that wrap Errors with Exceptions need to evaluate the expectations of the UncaughtExceptionHandler and the expected consequences when running in a thread.


Feature/code cleanup v3

Improve from :

Current coverage is 0.00% (diff: 100%)

Merging #143 into develop will not change coverage

@@           develop   #143   diff @@
=====================================
  Files            1      1
  Lines           36     36
  Methods          0      0
  Messages         0      0
  Branches         0      0
=====================================
  Hits             0      0
  Misses          36     36
  Partials         0      0

Powered by Codecov. Last update 11cf39e...90ebcb5

UPDATE


No utf8 support on mac

Description:
Attempting to run things like
π = 1

or
from numpy import pi as π

the console spits out
 File "<ipython-input-5-9b26ab3f94f3>", line 1
    π = 1
    ^
SyntaxError: invalid syntax

or
File "<ipython-input-4-9a9584e0e11b>", line 1
   from numpy import pi as π
                           ^
SyntaxError: invalid syntax

despite the magic comment
# -*- coding: utf-8 -*-

at the beginning of the file
Versions:
macOS    :10.12.6 (16G29)
Atom       : 1.25.0
Electron  : 1.7.11
Chrome   : 58.0.3029.110
Node    : 7.9.0

That probably depends on the Python installation you're using. If I recall correctly Python 2 doesn't fully support unicode, so I suspect you're using Python 2?
I just checked with Python 3 and it works as it should.

I am using python3

Could you run
import sys
print(sys.version)

in Hydrogen to check which exact version you're using?
Also upgrading ipython with:
python3 -m pip install ipykernel --upgrade
python3 -m ipykernel install --user

might help.

Still no progress, the kernel was already up to date...
The system version printed is:
2.7.14 (default, Mar 22 2018, 15:04:47)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]

The system version printed is:
2.7.14 (default, Mar 22 2018, 15:04:47)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]

Looks like your Python 3 executable is symlinked to Python 2 so you're using 2.7 instead of 3.x

Hmm you were right!
But I still think it is a bit strange, I would have assumed that either selecting the Python 3 kernel upon first execution of Hydrogen or the magic comment at the top of the file should have resulted in loading the correct version.
Instead I had to manually change all occurrences of python to python3 in
.atom/packages/script/lib/grammars/python.coffee, which seems sort of twisted.
What if I want to run a python2 script at some point, will I have to edit the coffee scripe everytime I want to switch back and forth between the two?
I'd appreciate if you could point me towards some more elegant solution to this.
In any case: thanks for the help so far! :)

But I still think it is a bit strange, I would have assumed that either selecting the Python 3 kernel upon first execution of Hydrogen or the magic comment at the top of the file should have resulted in loading the correct version.

Hydrogen will prompt you to select a kernel on startup if you have multiple kernels installed. If you run:
python3 -m pip install ipykernel --upgrade
python3 -m ipykernel install --user
python2 -m pip install ipykernel --upgrade
python2 -m ipykernel install --user

After Atom restart Hydrogen will then prompt you which kernel to use. This is inline with the behavior of jupyter.

If you want to be extra verbose you can remove the python folders in ~/Library/Jupyter/kernel before running the above commands.

This prompt is exactly what I meant! What confuses me is that despite selecting the python3 kernel to use with Hydrogen for the current file, the python command is invoked instead of python3.
I would expect that upon selection of a python 2 or 3 kernel that the corresponding version is started

Have you removed ~/Library/Jupyter/kernels before running the install commands?
While the above commands should install this correctly, it seams that there's something weird going on with your Python setup. In any case there's an easy manual fix:
Edit argv in ~/Library/Jupyter/kernels/python3/kernel.json to point to the correct Python 3 executable.
For me this looks something like this:
{
 "argv": [
  "/usr/local/opt/python3/bin/python3.6",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "Python 3",
 "language": "python"
}

Aah, I had overlooked your comment on ~/Library/Jupyter/kernels!
Deleting that directory and reissuing the pip commands seems to do it, even after reverting the python.coffee script.
Thank you for the help ;)


Adimako/remove old code

@cekees removed some bits of obsolete code associated with waveFunctions. If it passes the tests, I will merge

OK, thanks. I merged your fixes in the main proteus branch yesterday and had fixed the ones in mprans on my branch as well so this will get in soon. Thanks for finishing it up.


codebuild.Project.addToRoleInlinePolicy should allow you to specify the policyName

Currently there are two ways to attach an IAM policy to the default IAM role that is created with the codebuild project.

addToRolePolicy - Adds the provided policy statement to the default inline policy created with the role.
addToRoleInlinePolicy - Creates a new inline policy with the hardcoded name CodeBuildEC2Policy and adds the provided policy statement.

It would be great if the addToRoleInlinePolicy method allowed you to specify the policyName so that we could create as many inline policies as we want.

I was going to create a pull request to add this functionality, but I noticed there is already a pull request that is updating that method https://github.com/awslabs/aws-cdk/pull/2662. Can this be addressed in that pull request, or should I wait until that is implemented and create a separate PR?

Hey @corymhall ,
thanks for opening the issue. The method addToRoleInlinePolicy was exposed accidentally on Project. The intention of it was to keep it private, and that's what the PR #2662 will do. If you need that functionality, you should call it directly on the IRole Project exposes: project.role.attachInlinePolicy(new iam.Policy(...)).
Thanks,
Adam

ah that makes sense. Thanks for the quick response!


How to Modify Built AR.js

For an idea I have I would like to read and possibly modify AR.js source, specifically NFT project. Where can I get the max version? Or that can be done by exploring the component-anchor-ntf?
I am not sure but it appears that "make" is being used for creating the build? Asking because I am not good at Make (yet).

what do you mean with 'max' version?

@evaristoc make is used only to concat all the files into a sinlge one. Nothing else. I prefer tools like Grunt, Gulp or other i opened  isssue 79 on this subject. But sure make will be left with this PR  https://github.com/AR-js-org/AR.js/pull/86

@evaristoc Probably you mean the THREEx or AR.js classes instad the build version, yes this is possible, there are some examples that use this approach.
We should improve also the docs also for this topic, will boost also the contributions of other devs in the project.
In the near past, there was the minified version for Ar.js (both three.js and aframe) but we had a bug with the minified version with NFT, caused by the blob worker, we didn't sort out and we left only the non minified version, Antawy there was only a small difference...


Add MaximumClaims option to Consumer.

Fixes #1

I suspect I'd rather have GetCurrentLoad call an internal getNumActiveClaims method instead of exposing both. I'm not sure why we need to expose the limit methods?
Generally I think that minimizing the number of external methods is better. We can always add more later, but it's really had to remove them without breaking code.

Ah sure, let's not expose the new one. I gave a decent amount of thought to
the issue of whether I can use the existing method, but I didn't give any
thought to whether the API should be expanded
On Nov 24, 2015 7:28 PM, "Mark Smith"<EMAIL_ADDRESS>wrote:

I suspect I'd rather have GetCurrentLoad call an internal
getNumActiveClaims method instead of exposing both. I'm not sure why we
need to expose the limit methods?
Generally I think that minimizing the number of external methods is
better. We can always add more later, but it's really had to remove them
without breaking code.
—
Reply to this email directly or view it on GitHub
https://github.com/dropbox/marshal/pull/6#issuecomment-159477779.

Hmmm so re-running this made the test pass.


Can not inspect elements for our APP using inspect.exe

Hello, I want to confirm, if we want to use WinAppDriver to auto test our App on windows, what special work we need to do before the it can be auto test using WinAppDriver? As now, the element can not be found using the inspect.exe. What need to inplemented to support auto test? I found an answer that mentionded the App need to support/work with UI Automationin in another similar issue? https://docs.microsoft.com/zh-cn/windows/win32/winauto/uiauto-clientsideprovider
If so, we must change the exsiting code?
Any sugggestion is apprecaite. Thanks!

Yes u need to change the existing code for the inspect to find the element.

xisting code for the inspect to find the element.

@anunay1 Thank you for your reply. I have another quesstion here: Will WinAppDriver support WebView(hybrid app that embedded webview in the native app) test? If yes, when? Thanks!

I have no idea and the support of hybrid apps.


Add automatic-module-name to Tink jar

Using Tink with modular Java apps is really difficult. So I suggest that  an automatic-module-name entry should be added to the jar manifest.

This is a dup of https://github.com/google/tink/issues/473. I'm going to reply there.


Failure in test_utils.py

@iver56 - there's a failure to the assertion when comparing the PyTorch way of convolving versus scipy's version. I have made one small change here to match the required arguments as specified in numpy's documentation.

I've seen that failure too. My solution was to set decimal=6 in assert_almost_equal(). The default is 7.

Should I apply this change in my pull request for adding impulse response transformation?

Yes please

Closed by https://github.com/asteroid-team/torch-audiomentations/pull/5


Show Release Notes in Terminal on Update

Description of the new feature/enhancement
It would be cool if when the terminal upgrades it showed you the changes in the new version(s). This would help with feature discovery since many users would not know/think to look at the blog posts or github release notes.

Proposed technical implementation details (optional)

With https://github.com/microsoft/terminal/pull/11308 there will be some precedence for showing non-terminal content in the terminal, and that infrastructure could potentially be used to show a modal/textbox with the release notes.
With the ApplicationState it can also store the last used version, so that a diff between old ~ new could be showed.

Well, I tried searching the issues tracker for "release notes" but I guess I was just blind / missed it between all of the other things.


Auth not working properly on owner field itself

Describe the bug
When the auth rule is protecting the owner field itself it does not work.
Just for context, I'm protecting the owner field because I don't want other users to see what's the owner of the item.
Amplify CLI Version
4.27.3
To Reproduce

Create the following schema:

type Todo @model {
  id: ID!
  name: String!
  owner: String @auth(rules: [{ allow: owner, operations: [read] }])
}

Run the following query:

mutation {
  createTodo(input: {
    name: "Sample"
  }) {
    id
    name
    owner
  }
}

Expected behavior
The owner field should be returned because by definition I'm the owner of the entry.
Side note, it does fail also if you try to query the item after being created.
When the
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
N/A
Additional context
N/A

Sorry my bad, I wasn't logged in the console nor when I ran it on the app it self.


[Feature][Plugin] Add plugin-spark-source-redis

Purpose of this pull request

This pull request add plugin-spark-source-redis. related: #751
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] Change does not need document change, or I will submit document change to https://github.com/InterestingLab/seatunnel-docs later

cc @RickyHuo @CalvinKirs


[tool_crash] FileSystemException: readInto failed, OS Error: Operation timed out, errno = 60

Command
flutter build ios

Steps to Reproduce

...
...
...

Logs
FileSystemException: readInto failed, OS Error: Operation timed out, errno = 60
#0      _RandomAccessFile.readIntoSync (dart:io/file_impl.dart:835:7)
#1      _File.readAsBytesSync (dart:io/file_impl.dart:593:35)
#2      _File.readAsStringSync (dart:io/file_impl.dart:624:18)
#3      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:99:16)
#4      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:218:22)
#5      _runSync (package:flutter_tools/src/base/error_handling_io.dart:590:14)
#6      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:217:12)
#7      _readFileContent (package:flutter_tools/src/flutter_plugins.dart:275:35)
#8      _writeFlutterPluginsList (package:flutter_tools/src/flutter_plugins.dart:221:47)
#9      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1099:24)
<asynchronous suspension>
#10     FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:359:5)
<asynchronous suspension>
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1648:7)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1350:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-IN)
    • Flutter version 3.16.5 on channel stable at /Users/stipe/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (4 months ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/stipe/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    •[

@lavkushry
Do you get this crash every time running the same command ?
Do you have a stable / fast internet connection because the error says operation timed out.

Yes At that Time

Are you still able to replicate this crash while running the said command ?

No thanks


Added eu-west-1 registry

Added the eu-west-1 ECR registry so it's possible to run sm-docker with eu-west-1 as AWS_DEFAULT_REGION
Issue #, if available:
Description of changes:
Added the eu-west-1 registry for sagemaker studio images so it's possible to use sm-docker in ireland region
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We were getting these from the AWS Sagemaker docs: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html. I looks like they changed it to have a separate account per region and per algorithm. I guess a second PR should be made to handle these changes in a more complete fashion but if we can merge this at least I can continue for now

Thanks for the details. I recommend adding all the regions' account IDs for at-least the algo in question. Otherwise, it's a confusing user experience where tool only works  in one specific region.


docs: correct output.minify examples

Summary
Correct the output.minify code examples.
Related Links

Checklist

[ ] Tests updated.
[x] Documentation updated.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks! ❤


Exploration in Outdoor Environments

Hi,
I've studied both your papers and your codebase for awhile now. Amazing work here! I've 2 questions:
(1) Performance in outdoor environments
From my understanding, the algorithm works on choosing paths with highest exploration gain, which is a function of volumetric gain, while minimizing heading changes and path distance.
I would like to ask if your algorithm has been tested in outdoor environments? For instance, an area with many buildings (e.g. University campus, residential complex), or nature areas (e.g. forest)? How efficient is the path taken by the robot in mapping such an environment with many possible branching paths?
(2) Multi-Agent Exploration
Can your algorithm be used by multiple robots to perform concurrent exploration? Perhaps the map can be shared in real time between the robots for faster exploration completion, and the different robots can take charge of exploring different areas?
Thanks alot,
Derek

Hi @derektan95 ,
Thank you for your interest in our work!

As the planner works on maximizing the unknown volume perceived, it will work well in outdoor environments as well.  However, as this work was tailored towards and motivated by subterranean environments, we haven't done extensive testing in outdoor environments as we have done in indoor and subterranean environments. So there are no performance benchmarks available in outdoor environments as what we have for subterranean environments.
One challenge that I see is longer mapping times due to open space. You may want to reduce the max_ray_length_m parameter in the voxblox_sim_config.yaml if you are using voxblox or sensor_range_max in octomap_sim_config.yaml if using octomap to speed up the mapping.
Regarding your second question, the planner is not currently aware of the exploration of other robots. Hence, it won't work as it is for multi-robot exploration. Sharing an entire volumetric map between the robots will be expensive too. We are currently investigating on multi-robot exploration planning methods for subterranean environments and will release our work once complete.

I hope this information helps. Let me know if you have any other questions.
Thanks,
Mihir

Hi Mihir,
Thanks for the information provided, really helpful! I will try this out. Good luck with your endeavors!
-Derek

Hi @MihirDharmadhikari,
Thought I would like to ask this since we were on the topic of multi-robot exploration. Was excited when I saw that your team released the multi-robot version of the gbplanner, which integrates with the COHORT central planner. I wonder if this work will be released anytime soon? Would love to try it out.
P.s. glad that you are using PCA to derive the bounding box for RRT to work in!
Regards,
Derek

Hi @derektan95 ,
Thank you for your interest in our work on COHORT. We do plan to release this eventually but we don't have a specific timeline yet.
Best,
Mihir

Hi @MihirDharmadhikari,
Thanks alot! I'll stay tuned.


No need to read symbols

Should speed up build slightly.
If user has old symbols we don't care, so don't give an error.

:tada: This PR is included in version 3.17.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Not able to add integration

Hi,
I cannot add integration when trying to add it I receive error that not all field has been filled out:

I have Velis EVO Wi-fi and would like to test will it work with your integration :)

Hi krzysiek2788!
Thanks for testing the integration. Can show me your log file? That would be even better if you can create a debug log.
To do that add the following lines to configuration.yaml:
logger:
  default: error
  logs:
    custom_components.ariston: debug

It is going to show your username and password. Remove them before upload it.

Hi,
Below are logs I delete my personal info ;)
2022-01-08 16:52:54 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ariston 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
2022-01-08 16:52:54 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration average 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
2022-01-08 16:52:54 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor 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
2022-01-08 16:52:54 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration blitzortung 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
2022-01-08 16:52:54 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_miot 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
2022-01-08 16:52:54 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration grocy 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
2022-01-08 16:52:54 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration samsungtv_smart 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
2022-01-08 16:52:54 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration aquaariston 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
2022-01-08 16:52:54 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration localtuya 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
2022-01-08 16:52:54 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration anniversaries 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
2022-01-08 16:52:54 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration garbage_collection 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
2022-01-08 16:52:54 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration auto_backup 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
2022-01-08 16:52:54 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration scheduler 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
2022-01-08 16:52:54 WARNING (SyncWorker_0) [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
2022-01-08 16:53:00 INFO (SyncWorker_3) [custom_components.aquaariston.aristonaqua] API initiated
2022-01-08 16:53:00 INFO (SyncWorker_3) [custom_components.aquaariston.aristonaqua] Connection started
2022-01-08 16:53:01 DEBUG (Thread-7) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:53:04 INFO (Thread-10) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Plant ID is 840D8EC02458
2022-01-08 16:53:07 INFO (Thread-10) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_main
2022-01-08 16:53:07 INFO (Thread-10) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_version
2022-01-08 16:53:07 INFO (Thread-10) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:53:07 INFO (Thread-10) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_main
2022-01-08 16:53:21 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template("{{ state_attr(states('sensor.termostat_off'), 'current_temperature') <= 17.0 }}")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 406, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1771, in _render_with_context
    return template.render(**kwargs)
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1291, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
TypeError: '<=' not supported between instances of 'NoneType' and 'float'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 522, in async_render_to_info
    render_info._result = self.async_render(variables, strict=strict, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 408, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: '<=' not supported between instances of 'NoneType' and 'float'
2022-01-08 16:53:25 DEBUG (Thread-9) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:53:27 INFO (Thread-34) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_showers
2022-01-08 16:53:27 INFO (Thread-34) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:53:27 INFO (Thread-34) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_showers
2022-01-08 16:53:49 DEBUG (Thread-33) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:53:51 INFO (Thread-112) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_cleanse
2022-01-08 16:53:51 INFO (Thread-112) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:53:51 INFO (Thread-112) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_cleanse
2022-01-08 16:53:59 DEBUG (MainThread) [custom_components.ariston.ariston] Request method POST, path: https://www.ariston-net.remotethermo.com/api/v2/accounts/login, params: None, body: {'usr': '', 'pwd': ''}
2022-01-08 16:53:59 DEBUG (MainThread) [custom_components.ariston.ariston] Request method GET, path: https://www.ariston-net.remotethermo.com/api/v2/remote/plants/lite, params: None, body: None
2022-01-08 16:54:00 DEBUG (MainThread) [custom_components.ariston.ariston] Request method POST, path: https://www.ariston-net.remotethermo.com/api/v2/accounts/login, params: None, body: {'usr': '', 'pwd': ''}
2022-01-08 16:54:00 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/ariston/config_flow.py", line 72, in async_step_user
    cloud_devices = await self.api.async_get_devices()
  File "/config/custom_components/ariston/ariston.py", line 267, in async_get_devices
    return await self.get(
  File "/config/custom_components/ariston/ariston.py", line 455, in get
    return await self.__request("GET", path, params, None)
  File "/config/custom_components/ariston/ariston.py", line 436, in __request
    raise Exception("Login failed (password changed?)")
Exception: Login failed (password changed?)
2022-01-08 16:54:13 DEBUG (Thread-111) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:54:15 INFO (Thread-114) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_error
2022-01-08 16:54:15 INFO (Thread-114) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:54:15 INFO (Thread-114) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_error
2022-01-08 16:54:26 DEBUG (MainThread) [custom_components.ariston.ariston] Request method POST, path: https://www.ariston-net.remotethermo.com/api/v2/accounts/login, params: None, body: {'usr': '', 'pwd': ''}
2022-01-08 16:54:26 DEBUG (MainThread) [custom_components.ariston.ariston] Response {'token': '1B08B72C6E64C0D54A80A982739144322991E33BF210BE1105B150CD865B912DD2413FBE254F56C390ABE9610E8A8B32F7C7F164819FFFE42070654FD5B7C9A923B85D09870A71C6FDA9998BACA11022D7BF67BF2AD9DBDE97ED1AB77CB34CA93B09EC6A0593E66589CC0330D027B3F086B3E83CEDDEC07196BE64BAE8554B39D5044924489673ABE7DC8F693FE4406BC01CF68ABF76B871D11DB696CEF1771B7E3B190E', 'act': {'FirstName': '', 'LastName': 'Krzysztof', 'SecondaryEmail': '', 'Phone': '', 'CountryCode': 'PL', 'AcceptTermsAndCondsOfGdpr': True, 'CountryBounds': {'country': 'PL', 'neLat': , 'neLng': , 'swLat': , 'swLng': , 'markerLat': , 'markerLng': }}}
2022-01-08 16:54:26 DEBUG (MainThread) [custom_components.ariston.ariston] Request method GET, path: https://www.ariston-net.remotethermo.com/api/v2/remote/plants/lite, params: None, body: None
2022-01-08 16:54:27 DEBUG (MainThread) [custom_components.ariston.ariston] Response []
2022-01-08 16:54:37 DEBUG (Thread-113) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:54:39 INFO (Thread-116) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_time_prog
2022-01-08 16:54:40 INFO (Thread-116) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:54:40 INFO (Thread-116) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_time_prog
2022-01-08 16:55:01 DEBUG (Thread-115) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:55:25 DEBUG (Thread-117) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:55:28 INFO (Thread-119) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_main
2022-01-08 16:55:28 INFO (Thread-119) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_version
2022-01-08 16:55:28 INFO (Thread-119) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:55:28 INFO (Thread-119) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_main
2022-01-08 16:55:49 DEBUG (Thread-118) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:55:51 INFO (Thread-121) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_showers
2022-01-08 16:55:51 INFO (Thread-121) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:55:51 INFO (Thread-121) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_showers
2022-01-08 16:56:13 DEBUG (Thread-120) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:56:15 INFO (Thread-123) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_cleanse
2022-01-08 16:56:15 INFO (Thread-123) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:56:15 INFO (Thread-123) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_cleanse
2022-01-08 16:56:37 DEBUG (MainThread) [custom_components.ariston.ariston] Request method POST, path: https://www.ariston-net.remotethermo.com/api/v2/accounts/login, params: None, body: {'usr': '', 'pwd': ''}
2022-01-08 16:56:37 DEBUG (Thread-122) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:56:38 DEBUG (MainThread) [custom_components.ariston.ariston] Response {'token': 'C3702278D5F884C487C4DF418E45C3FC0488A77DFDC94BA86798286BA402771624B5870C3C6B190EB37FAB3AAD5264437B188021A57F0819A3F9811E9516C0FEDA3F4EF59DE4675886400E4AD879A30A39AE202D5FABCE4A325249773ADFB7F7E14EA034BFDFBD4B0A9B551D2054D61A282E8957C4B95ED05203F29D8D265098F8ADCFCBE682FD5F0D49ABAF46286C7C2CA0D99FE85FF1D0F1DA6057D645FC0E82D26DDA', 'act': {'FirstName': '', 'LastName': 'Krzysztof', 'SecondaryEmail': '', 'Phone': '', 'CountryCode': 'PL', 'AcceptTermsAndCondsOfGdpr': True, 'CountryBounds': {'country': 'PL', 'neLat': , 'neLng': , 'swLat': , 'swLng': , 'markerLat': , 'markerLng': }}}
2022-01-08 16:56:38 DEBUG (MainThread) [custom_components.ariston.ariston] Request method GET, path: https://www.ariston-net.remotethermo.com/api/v2/remote/plants/lite, params: None, body: None
2022-01-08 16:56:39 DEBUG (MainThread) [custom_components.ariston.ariston] Response []
2022-01-08 16:56:39 INFO (Thread-125) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_error
2022-01-08 16:56:39 INFO (Thread-125) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:56:39 INFO (Thread-125) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_error
2022-01-08 16:57:01 DEBUG (Thread-124) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:57:04 INFO (Thread-127) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_use
2022-01-08 16:57:04 INFO (Thread-127) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:57:04 INFO (Thread-127) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_use
2022-01-08 16:57:25 DEBUG (Thread-126) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:57:49 DEBUG (Thread-128) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:57:52 INFO (Thread-130) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_main
2022-01-08 16:57:52 INFO (Thread-130) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_version
2022-01-08 16:57:52 INFO (Thread-130) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:57:52 INFO (Thread-130) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_main
2022-01-08 16:58:13 DEBUG (Thread-129) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:58:16 INFO (Thread-132) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_showers
2022-01-08 16:58:16 INFO (Thread-132) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:58:16 INFO (Thread-132) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_showers
2022-01-08 16:58:37 DEBUG (Thread-131) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:58:40 INFO (Thread-134) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_cleanse
2022-01-08 16:58:40 INFO (Thread-134) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:58:40 INFO (Thread-134) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_cleanse
2022-01-08 16:59:01 DEBUG (Thread-133) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:59:03 INFO (Thread-136) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_error
2022-01-08 16:59:03 INFO (Thread-136) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:59:03 INFO (Thread-136) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_error
2022-01-08 16:59:25 DEBUG (Thread-135) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 16:59:27 INFO (Thread-138) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_version
2022-01-08 16:59:27 INFO (Thread-138) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 16:59:27 INFO (Thread-138) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_version
2022-01-08 16:59:49 DEBUG (Thread-137) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 17:00:13 DEBUG (Thread-139) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7fd6eaf52d30> Fetching next data in 24.0 seconds
2022-01-08 17:00:17 INFO (Thread-141) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_main
2022-01-08 17:00:17 INFO (Thread-141) [custom_components.aquaariston.aristonaqua] Setting sensors based on request _get_version
2022-01-08 17:00:17 INFO (Thread-141) [custom_components.aquaariston.aristonaqua] Data fetched
2022-01-08 17:00:17 INFO (Thread-141) [custom_components.aquaariston.aristonaqua] ariston action ok for _get_main

Thanks! I removed the tokens and your name from your comment. Currently I am working on the fix.

Ok. It seems Velis uses completely different API calls. So I have to reverse engineer them. To do so I need a temporally access for a Velis system. If you trust me, you can invite<EMAIL_ADDRESS>as a guest. (And delete whenever you feel I am crazy.) If you do not trust me, it is fine, but unfortunately I can not do anything in that case.

I do not see settings in ariston-net to invite someone.

So you don't have a guests menu?

Nope probably this model doesn't allow that :(

I think it is because Velis is using Aqua Ariston NET remotethermo which might be different from Ariston remotethermo.

That's a shame. Sometimes I feel like Ariston's cloud developers won't win the world best programmers award. Maybe that's why they don't create a public API documentation. But back to the topic. If you really trust me, you should change your password and send me as a temporary credentials. Then change back whenever you feel unsafe. But I don't recommend anyone to do that. :laughing:

I send you on e-mail. Regarding Ariston I'm thinking about re-programm boiler as It is on ESP chip (according to information from Unifi controler) :)

That's a good plan! It would be best if we could miss the cloud.

Alfa is working but have some issue. I checked setting temperature which is working but for setting operation mode it is failing with below error:
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/ariston/velis_device.py:72
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:52:02 (2 occurrences)
Last logged: 10:52:09

[140578451946464] Error handling message: Unknown error
ValueError: 'MANUAL' is not a valid VelisPlantMode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 527, in handle_execute_script
    await script_obj.async_run(msg.get("variables"), context=context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1260, in async_run
    await asyncio.shield(run.async_run())
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 363, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 381, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 584, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 663, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 896, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 700, in _handle_entity_call
    await result
  File "/config/custom_components/ariston/water_heater.py", line 141, in async_set_operation_mode
    await self.device.async_set_water_heater_operation_mode(operation_mode)
  File "/config/custom_components/ariston/velis_device.py", line 72, in async_set_water_heater_operation_mode
    self.attributes.get(DeviceAttribute.GW), VelisPlantMode(operation_mode)
  File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.9/enum.py", line 709, in __new__
    raise exc
  File "/usr/local/lib/python3.9/enum.py", line 692, in __new__
    result = cls._missing_(value)
  File "/usr/local/lib/python3.9/enum.py", line 934, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__qualname__))
ValueError: 'MANUAL' is not a valid VelisPlantMode

Hello guys,
do you reach anywhere about this? I too own a ariston velis. The aquaariston integration is very laggy.

If you enable in hacs Ariston integration to use beta you will have 7.0a which is a beta version supporting velis boiler.

Great, testing

added this integration, but did no show any entity:

But this means that you are in right track.

On the main page of integrations shows this:

@krzysiek2788: I released a new beta. I hope this fixes the setting operation mode.
@probrancor: Can you show me the related log entries as krzysiek2788 did?

Hi krzysiek2788!
Thanks for testing the integration. Can show me your log file? That would be even better if you can create a debug log.
To do that add the following lines to configuration.yaml:
logger:
  default: error
  logs:
    custom_components.ariston: debug

It is going to show your username and password. Remove them before upload it.

First, let me tell you, Nice work.
Now, i've updated to last beta versiom, and now we can get ariston_electric_consumption_for_water_last_two_hours and set the water temperature.
I think, we only need more 3 or 4 entity's:
switch.eco_mode
energy_use_in_the_last_day
energy_use_in_the_last_month
sensor.average_showers or available showers
For now i've this:

@fustom I have checked it and it is working flaweslly Thank you for your great and hard work :)

@fustom I think we can close this case as it is solved now. If I will get some new thoughts I will open Pull request ;)

@probrancor: After a few days of rest I released a new beta with:

switch.eco_mode
sensor.average_showers or available showers

I could not test them. So if something goes wrong please open a new issue.

Nice, i Will test this new features.
The new options for now are working without any issue.
Rui Branco
A terça, 18/01/2022, 21:48, fustom @.***> escreveu:

@probrancor https://github.com/probrancor: After a few days of rest I
released a new beta with:

switch.eco_mode
sensor.average_showers or available showers

I could not test them. So if something goes wrong please open a new issue.
—
Reply to this email directly, view it on GitHub
https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/10#issuecomment-1015864799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKACWSBBGTI6LYPO35XICILUWXN3RANCNFSM5LQT23QA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

I have a GENUS ONE SYSTEM 35, could you tell me how to reverse engineer API?

Hi @alphagold!
Does your system work with this integration properly? If something goes wrong, please open a new ticket with a description of the misbehavior and attach a log file. Hopefully I can fix it.
If you interested in a reverse engineering, there are lots of good articles about this topic. For example my first search result was this: https://peteraleksanderbizjak.medium.com/reverse-engineering-apis-with-http-toolkit-61670219e0a8
There are many ways to do that, but actually I used the official mobile app with a proxy and the official website javascript files for some enums and of course I played around with a rest client.

Thanks a lot Fustom, the integration seems to work.
Mine is a hybrid boiler. And some values are not reported correctly.
Also I don't find some specific entities of this model in homeassistant.
That's why I was asking you for info on the Reverese.
Through a proxy I am now able to intercept the api calls, but how to test my modified python script with homeassistant?
My instance is installed on docker.
Thank you

You did a great job.
Excellent

You can just overwrite my scripts at your config/custom_components folder and clear the cache files. I am not sure, but maybe ha restart is enough. To debug them you need a development environment with docker, git and visual studio core. Check https://developers.home-assistant.io/

Nothing, I'm not even remotely able to change it, I don't have your skills.
I guess I'll go back to the original version, in which I had a lot more sensors.
Thanks anyway for your suggestions.
Congratulations again, I envy you for your great skills.


[GOBBLIN-1710] Make Codecov optional in CI and not fail

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-1710] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1710

Description

[ ] Here are some details about my PR, including screenshots (if applicable):
Tested in this feature branch https://github.com/apache/gobblin/commit/ed460f021aeb0f86ecbc652e14a60c0b98326efb
https://github.com/homatthew/gobblin/actions/runs/3055275438
Example of successful run

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
https://github.com/homatthew/gobblin/actions/runs/3055275438

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3562 (1640dd9) into master (da914e2) will increase coverage by 0.95%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3562      +/-   ##
============================================
+ Coverage     46.76%   47.71%   +0.95%
+ Complexity    10510     3342    -7168
============================================
  Files          2099      665    -1434
  Lines         81988    26493   -55495
  Branches       9132     3114    -6018
============================================
- Hits          38340    12642   -25698
+ Misses        40104    12518   -27586
+ Partials       3544     1333    -2211

Impacted Files
Coverage Δ

...e/gobblin/service/monitoring/GitConfigMonitor.java
95.23% <0.00%> (-4.77%)
:arrow_down:

...lin/restli/throttling/ZookeeperLeaderElection.java
70.00% <0.00%> (-2.23%)
:arrow_down:

...in/source/extractor/watermark/SimpleWatermark.java

...ement/copy/replication/SourceHadoopFsEndPoint.java

...che/gobblin/runtime/local/CliLocalJobLauncher.java

...gobblin/compaction/mapreduce/MRCompactionTask.java

...he/gobblin/metrics/event/JobStateEventBuilder.java

...ement/retention/policy/CombineRetentionPolicy.java

...anagement/dataset/DefaultFileSystemGlobFinder.java

...management/partition/CopyableDatasetRequestor.java

... and 1429 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(web): add way of silencing role with volume

https://100ms-docs-git-silence-role-js-100mslive.vercel.app/docs/javascript/v2/advanced-features/volume-control

ready to merge? @triptu


Need Updated 2024.1 Drivers

Looking for the latest drivers after the release of 2024.1.

The driver version you are looking for is this one: JDBC/JDK18/intersystems-jdbc-3.8.4.jar
Andreas


Hydra initialization fix

Support using existing initialization of hydra.
Support loading config files from a project's local config folder

See - https://github.com/facebookresearch/segment-anything-2/issues/179.

Please I also need it


[netcore3.1] File.Move and File.MoveTo with overwrite option

Describe the solution you'd like
Starting with .NET Core 3.1 (not sure if in 3.0 aswell) Microsoft introduced the following overloads:

System.IO.File.Move(string, string, bool) see here
System.IO.FileInfo.MoveTo(string, bool) see here

where the user could say if he wants to overwrite the destination (if there's already a file).
I noticed that this NuGet-Package only supports net461, netstandard2.0 and netstandard2.1. These features are only available in netcoreapp3.1 though. Is there any chance you guys will consider supporting stuff like this too? Would be helpful i guess (also considering the future of .NET Core and stuff)

Related to #582

Thanks for your suggestion! This is very similar to #583. As mentioned in https://github.com/System-IO-Abstractions/System.IO.Abstractions/issues/583#issuecomment-619586881 I prefer to stay with .NET Standard (and .NET Framework for compat) and add new functionality once .NET 5 is out.

Totally understand that decision! Thanks for the head-up. I'm looking forward to the implementation of this feature.

Blocked by #633


Install binary package via common package managers (winget, brew, etc)

Combining #110, #32, #82, & #84 to make it easier for people to track the resolution.
As discussed in https://github.com/microsoft/inshellisense/issues/32#issuecomment-1984759946, there isn't a feasible solution yet to making the binary package that would enable distributing inshellisense via package manager. If Node 21 or Bun support gets added to node-pty, I'll retry those methods of creating the binary package. I don't want to create a dependency on any archived projects for now

I've been trying to package away the brew. but I've encountered errors in actual testing and haven't solved them yet.
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
- /opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>- /opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>- /opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/@microsoft/inshellisense/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js:10:15)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>    '/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>    '/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>  ]
}
node:internal/modules/cjs/loader:1340
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The module '/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 120. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/opt/homebrew/Cellar/inshellisense/0.0.1-rc.13/libexec/lib/node_modules/@microsoft/inshellisense/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js:6:11)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.16.1

Combining #110, #32, #82, & #84 to make it easier for people to track the resolution.
As discussed in #32 (comment), there isn't a feasible solution yet to making the binary package that would enable distributing inshellisense via package manager. If Node 21 or Bun support gets added to node-pty, I'll retry those methods of creating the binary package. I don't want to create a dependency on any archived projects for now

@cpendery For advice, what exactly do you mean by archived projects here?

Combining #110, #32, #82, & #84 to make it easier for people to track the resolution.
As discussed in #32 (comment), there isn't a feasible solution yet to making the binary package that would enable distributing inshellisense via package manager. If Node 21 or Bun support gets added to node-pty, I'll retry those methods of creating the binary package. I don't want to create a dependency on any archived projects for now

@cpendery For advice, what exactly do you mean by archived projects here?

If we migrated everything into common js, we might be able to use pkg to compile our code into a binary executable which would be easier to distribute. It handles compiling node-pty, so we could some using the @homebrew version, but I didn't want to depend on the project since they just deprecated it in January

I've tried using node's sea support in 22, pkg, and bun doesn't seem to have node-pty support yet.
Overall, I don't see a viable solution to this in the near term. Closing this issue, but I'll reopen it if it becomes possible


App crash when using configuration name different from Debug or Release

Describe the bug
Not sure this is a bug or just me doing something wrong, could not find documentation regarding this, but I get the following app crash when using a Configuration name different from Debug or Release:

Faulting application name: App1.exe, version: <IP_ADDRESS>, time stamp: 0x5bb69bfe
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.17763.404, time stamp: 0x5c3c199a
Exception code: 0xc000027b
Fault offset: 0x008dc0f1
Faulting process id: 0x28bc
Faulting application start time: 0x01d4ff7fbe41260f
Faulting application path: C:\xxxxx\WinUIConfig\App1\bin\x86\Debug1\AppX\App1.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: d999fdc1-4bb6-46d0-9e39-8aaf0168a949
Faulting package full name: 797cbdfa-8cfb-4c0f-9e19-79943324e67e_<IP_ADDRESS>_x86__wgcfbsqfkre0m
Faulting package-relative application ID: App

Steps to reproduce the bug
Open attached project WinUIConfig.zip and try to run the app using configuration Debug1
and platform x86. Debug1 is the same Debug default configuration with a different name. The app should crash almost immediately.
Here is debug output from when the app crashes:

Exception thrown at 0x75E8C6F2 in App1.exe: Microsoft C++ exception: EETypeLoadException at memory location 0x06C7D19C.
'App1.exe' (Win32): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Runtime.WindowsRuntime.dll'.
'App1.exe' (Win32): Unloaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Runtime.WindowsRuntime.dll'
'App1.exe' (Win32): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Runtime.WindowsRuntime.dll'.
'App1.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown at 0x75E8C6F2 in App1.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
Exception thrown: 'System.TypeLoadException' in App1.exe
Exception thrown at 0x75E8C6F2 (KernelBase.dll) in App1.exe: WinRT originate error - 0x80131522 : 'System.TypeLoadException: Could not find Windows Runtime type 'Microsoft.UI.Xaml.Controls.XamlControlsResources'.
at App1.App1_XamlTypeInfo.XamlTypeInfoProvider.InitTypeTables()
at App1.App1_XamlTypeInfo.XamlTypeInfoProvider.LookupTypeIndexByName(String typeName)
at App1.App1_XamlTypeInfo.XamlTypeInfoProvider.GetXamlTypeByName(String typeName)
at App1.App1_XamlTypeInfo.XamlMetaDataProvider.GetXamlType(String fullName)
at App1.App.GetXamlType(String fullName)'.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'. Cannot find or open the PDB file.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profext.dll'. Cannot find or open the PDB file.
'App1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\profext.dll'
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profext.dll'. Cannot find or open the PDB file.
Exception thrown at 0x75E8C6F2 (KernelBase.dll) in App1.exe: WinRT originate error - 0x802B000A : 'Cannot deserialize XBF metadata type list as 'XamlControlsResources' was not found in namespace 'Microsoft.UI.Xaml.Controls'. [Line: 0 Position: 0]'.
Windows.UI.Xaml.dll!046F1727: (caller: 0438AD7D) Exception(1) tid(3470) 80004005 Unspecified error
Exception thrown at 0x75E8C6F2 in App1.exe: Microsoft C++ exception: wil::ResultException at memory location 0x06C7DEB0.
Exception thrown at 0x75E8C6F2 in App1.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
Windows.UI.Xaml.dll!046F243C: (caller: 0451975E) ReturnHr(1) tid(3470) 80004005 Unspecified error
Msg:[Windows.UI.Xaml.dll!046F1727: (caller: 0438AD7D) Exception(1) tid(3470) 80004005 Unspecified error
]
'App1.exe' (Win32): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Diagnostics.Debug.dll'.
'App1.exe' (Win32): Unloaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Diagnostics.Debug.dll'
'App1.exe' (Win32): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Diagnostics.Debug.dll'.
'App1.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\src\WinUIConfig\App1\bin\x86\Debug1\AppX\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

App runs fine if using configuration Debug.
Expected behavior
App does not crash.
Version Info
NuGet package version: Microsoft.UI.Xaml 2.1.190405004.2

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2018 Update (17763)
Yes

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional Context
Not sure it matters, but I noticed the generated file XamlTypeInfo.g.cs is much larger when using Debug1 (38KB) than when using Debug (6KB) .

I think I agree that this is not a Winui issue given the fix proposed by RichPrism.  Although @jevansaks called this a bug in https://github.com/microsoft/microsoft-ui-xaml/issues/1406. I've transferred it to project Reunion which I think is a better home.

So this sounds like a tooling issue wrt to how the configuration switch and package dependencies are handled (see Rich's workaround). Reunion isn't the right home, either, but we'll hold onto it until we get the right contact and area.

Thanks for reporting this! This is actually a Windows platform bug and not a Project Reunion bug, so I've filed a bug with the platform team (internal bug #31583074) and asked them to follow up here with any updates.
I'll close this thread since this isn't an active issue with Project Reunion itself, but I appreciate you submitting this detailed report!
If you'd like to track the status of the bug, you could submit this bug report through Feedback Hub and then share your link to your feedback so that I can link it up with the platform bug I created.


Use inline code refactoring instead of popups

Current behavior

User presses Shift+F6 on the desired word
Popup appears showing refactoring options

User inputs new name and clicks OK to finalize the refactoring

Expected behavior

User presses Shift+F6 on the desired word
IDE enters the dynamic refactoring mode and highlights the word and all its mentions in the code
User changes the word and presses ENTER to finalize

OR user presses ESC to cancel editing

implemented in 1.4


Tracker metadata

Proposed changes:

add metadata to DialogueStateTracker and Dialogue
metadata can be used to request trackers in addition to sender_id

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

If I remember correctly, we do not need this because the information is not useful at the moment.


Rename to Develocity

Closing in preference to https://github.com/gradle/actions/commit/7fda81ffd58c1bfd748801f9c050385b444ad45d


Enhancement Add partition update time for hms table and use it at sql-cache. (#24491)

backport #24491

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.7 seconds
stream load tsv:          555 seconds loaded<PHONE_NUMBER>9 Bytes, about 128 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          30.0 seconds inserted 10000000 Rows, about 333K ops/s
storage size:<PHONE_NUMBER>9 Bytes


Bug in ci when this pipe is executed after a pull request.

Should not run dotnet nuget push when pipe was executed by pull request.

Done in "api documentation and tests changed to eng" #11


resolveFewCommentsForChangeFeedChange

For read_feed_ranges in aio package, change return type of Iterable -> AsyncIterable
For the changeFeedMode in the changeFeed continuation, change from Incremental -> LatestVersion

/azp run python - cosmos - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos

/check-enforcer override

Pipeline timed out, not caused by changes in this PR


Wrap animateStyle css transitions in a timeout in case transitionend doesn't fire - #2463

Description of the pull request:
This adds a timeout of duration + (delay || 0) + 10 to css transitions in animateStyle to force the transition to complete within 10ms of its target. transitionend events appear to not be particularly reliable in scenarios where you trigger transitions like a madman.
After aiming the fiddle from #2463 at a build of this branch and about 5 minutes of vigorous mouse wiggling, I'm reasonably confident that this will take care of transition-event-related orphan nodes. I'll probably go ahead and merge this later this afternoon (once it goes green) so that others can get their wiggle on as well to make sure I'm not experiencing the placebo effect.
Side note: I have an idea for a subscription-based software shake weight competitor...
Fixes the following issues:
Hopefully #2463
Is breaking:
No

I did another set of wiggle tests before and after this, and the before left stuck elements where the after didn't. @JonDum, of you have a few minutes, can you see if you can get it to break again?

Looks good now! 93682182ec38 seemed to do the trick.

Still looks hilarious, but that's what I would expect. The important part is that it's not leaving any orphans! 👍

Thanks! 🎉

There is a slight issue with this setTimeout when render/teardown ractive instances.
I use ractive as the view in a single-page app, with a menu  for switching between ractive views. When switching I unrender/teardown the previous view and render the new one. This is done using a fade effect.
Here is the fiddle:
http://jsfiddle.net/sabob/q2j22hL5/2/
Quickly click twice on the "Change view" button and notice the counter appears, then disapears as the timeout kicks in. If I remove the "cssTransitionsDone()" from the timeout, it works as expected.
I think the timeout should also be cleared when the view is unrendered?

Found it. Basically, a new instance was being torn down before it was rendered, and rendering the torn down (and thus unbindable) interim instance was causing the new, correct instance to be torn down. I've added a check for render on a torn down instance. It will now throw out a warning in debug mode and roll on without breaking stuff.

Thanks Chris, seems to work now.
From your explanation that ractive tears down before render, why does that occur? Is it because animations turns things asynchronous?

Pretty much, yes. It's the combination of transition asynchrony and triggering an additional round of callbacks before the previous round has completed.

Perhaps in a future release things could be more robust if render cancels current active intro/outro animations on the ractive instance. This will turn things back into synchronous mode.
On the other hand maybe I'm naive and there are use cases for the current behavior...

Unfortunately, once it's gone asynchronous there's no coming back, and I think transitions are pretty much required to be async.
In this particular case, you could side-step the issue by keeping the latest promise around to make sure you don't step on another transition by triggering a render during an outro. At that point, the user would experience some lag when rapid-fire clicking, but there's no opportunity to damage rendering.
// next to oldRactive declaration
var promise;
//...

if (oldRactive == null) {
    promise = (promise || Promise.resolve()).then(() => newRactive.render('main'));
} else {
    promise = promise.then(() => oldRactive.teardown().then(() => newRactive.render('main')));
}

oldRactive = newRactive;

Though with the teardown and render guards, I think it's pretty safe to do what the fiddle is doing. Unless you're depending on component render hooks to side-effect somewhere. Then your only option is to keep the promises around somewhere to ensure that all instances actually get rendered.


MassInstallAction: Install the BlueStyleFormatter workflow on this repository

This pull request sets up the BlueStyleFormatter workflow on this repository. cc: @mattBrzezinski

What is its scope on PRs? Will it suggest changes to unchanged files? Unchanged blocks of code?

What is its scope on PRs? Will it suggest changes to unchanged files? Unchanged blocks of code?

Without first formatting the entire repo, it will show changes to unchanged files. After this action is installed I'll go through and create PRs to all repos to initial re-format them. This way going forward it will only affect changed lines of code.


Refresh button

Added a refresh button, as mentioned here   https://github.com/jcgruenhage/PlayMusicExporter/issues/8

I just tried it, a toast or something to inform the user about the changes might be useful, I don't see anything confirming the reload yet.

Also, since we are using JACK, the anonymous class might better be replaced by a lambda (or even a method reference, depending on where we would put such a method)

I might fix those myself, but I have no time right now, so if you do @mgillespie go ahead.


How to install dashboard?

I refer to https://docs.traefik.io/getting-started/install-traefik/#exposing-the-traefik-dashboard
helm install traefik2  traefik/traefik --set  service.type=NodePort,dashboard.enable=true,dashboard.ingressRoute=true --namespace traefik
dashboard.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(traefik.domain.cn) && (PathPrefix(/dashboard) || PathPrefix(/api))
kind: Rule
services:
- name: api@internal
kind: TraefikService
kubectl apply -f dashboard.yaml
browser access
404 page not found

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Can not register passkey on iOS Simulator with local RelyingPartyServer

Code:
final passkeyAuthenticator = PasskeyAuthenticator();

    // initiate sign up by calling the relying party server
    final webAuthnChallenge = await _dio.post(
        'http://localhost:19200/v1/auth/register/passkey/initiate',
        data: {'email': 'vlatko3@test.com'});

    // call the platform authenticator to register a new passkey on the device
    final platformRes = await passkeyAuthenticator.register(webAuthnChallenge); // <--- Exception is thrown here

Error:
PlatformException (PlatformException(decodingChallenge, CustomErrors, Stacktrace: ["0   passkeys_ios                        0x000000010d21d654 $s12passkeys_ios9wrapError33_F74ED722C198BB4137EE305712CCDE86LLySayypSgGypF + 1588", "1   passkeys_ios                        0x000000010d22357f $s12passkeys_ios16PasskeysApiSetupC5setUp15binaryMessenger3apiySo013FlutterBinaryI0_p_AA0cD0_pSgtFZyypSg_yAJctcfU0_ys6ResultOyAA16RegisterResponseVs5Error_pGcfU_ + 559", "2   passkeys_ios                        0x000000010d226f67 $s12passkeys_ios14PasskeysPluginC8register9challenge12relyingParty4user10completionySS_AA07RelyingH0VAA4UserVys6ResultOyAA16RegisterResponseVs5Error_pGctF + 1591", "3   passkeys_ios                        0x000000010d227ed1 $s12passkeys_ios14PasskeysPluginCAA0C3ApiA2aDP8register9challenge12relyingParty4user10completionySS_AA07RelyingI0VAA4UserVys6ResultOyAA16RegisterResponseVs5Error_pGctFTW + 113", "4   passkeys_ios                        0x000000010d2232e3 $s12passkeys_ios16PasskeysApiSetupC5setUp15binaryMessenger3apiySo013FlutterBinaryI0_p_AA0cD0_pSgtFZyypSg_yAJctcfU0_ + 1459", "5   passkeys_ios                        0x000000010d222c31 $sypSgAAIegn_Iegng_yXlSgABIeyBy_IeyByy_TR + 225", "6   Flutter                             0x00000001187f863d __48-[FlutterBasicMessageChannel setMessageHandler:]_block_invoke + 171", "7   Flutter                             0x00000001181b0222 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt21_LIBCPP_ABI_NAMESPACE10unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 94", "8   libdispatch.dylib                   0x00007ff800156a90 _dispatch_call_block_and_release + 12", "9   libdispatch.dylib                   0x00007ff800157d3a _dispatch_client_callout + 8", "10  libdispatch.dylib                   0x00007ff800166ac0 _dispatch_main_queue_drain + 1420", "11  libdispatch.dylib                   0x00007ff800166526 _dispatch_main_queue_callback_4CF + 31", "12  CoreFoundation                      0x00007ff8003f5850 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9", "13  CoreFoundation                      0x00007ff8003f018b __CFRunLoopRun + 2463", "14  CoreFoundation                      0x00007ff8003ef409 CFRunLoopRunSpecific + 557", "15  GraphicsServices                    0x00007ff80fcdd187 GSEventRunModal + 137", "16  UIKitCore                           0x00007ff805b703a2 -[UIApplication _run] + 972", "17  UIKitCore                           0x00007ff805b74e10 UIApplicationMain + 123", "18  Runner                              0x000000010be632bf main + 63", "19  dyld                                0x000000010bf3c3ee start_sim + 10", "20  ???                                 0x00000001180763a6 0x0 +<PHONE_NUMBER>"], null))

Some of the RP server data for registration options:
const options = await generateRegistrationOptions({
      "Vlatko",
      "localhost",
      userID: user.id,
      userName: user.email,
      // Don't prompt users for additional information about the authenticator
      // (Recommended for smoother UX)
      attestationType: "none",
      // See "Guiding use of authenticators via authenticatorSelection" below
      authenticatorSelection: {
        // Defaults
        residentKey: "preferred",
        userVerification: "preferred",
        // Optional
        authenticatorAttachment: "platform"
      },
    });

Hey, Having the same problem here. Is there any solution to this?

I found a solution. To anybody still having this issue it might be your register passkey options
check if your user.id is base64 or base64URL (includes '_' or '-') and replace them with '/' and '+' respectively
File causing the error: passkeys_ios/ios/classes/PasskeysPlugin.swift
       guard let decodedChallenge = Data.fromBase64Url(challenge) else {
            completion(.failure(CustomErrors.decodingChallenge))
            return
        }

        guard let decodedUserId = Data.fromBase64(user.id) else {
            completion(.failure(CustomErrors.decodingChallenge))
            return
        }

Flutter code fixed:
RegisterRequestType(
          attestation: result.attestation,
          authSelectionType: AuthenticatorSelectionType(
              authenticatorAttachment: 'platform',
              requireResidentKey:
                  result.authenticatorSelection.requireResidentKey,
              residentKey: result.authenticatorSelection.residentKey,
              userVerification: result.authenticatorSelection.userVerification),
          challenge: result.challenge,
          excludeCredentials: result.excludeCredentials
              .map((e) =>
                  CredentialType(type: 'public-key', id: e.id, transports: []))
              .toList(),
          pubKeyCredParams: result.pubKeyCredParams
              .map((e) => PubKeyCredParamType(type: e.type, alg: e.alg))
              .toList(),
          relyingParty:
              RelyingPartyType(id: result.rp.id, name: result.rp.name),
          timeout: result.timeout,
          user: UserType(
              displayName: result.user.name,
              id: result.user.id.replaceAll("-", "+").replaceAll("_", "/"), // this is the fix
              name: result.user.name));

I am getting the format exception while performing the registerUserUsing the pass keys [log] FormatException during registration: FormatException: Unexpected character (at character 1) Socket operation failed: POST /v1/users/passkey/register/start

I am getting the format exception while performing the registerUserUsing the pass keys [log] FormatException during registration: FormatException: Unexpected character (at character 1) Socket operation failed: POST /v1/users/passkey/register/start

@helprush Most likely this is caused because of a missing configuration parameter (probably the corbado projectID is not configured).
Which package (passkeys, corbado_auth or corbado_auth_firebase) are you using?
Are you running one of the examples or are you using the package in your own application?


OOB write in relu6

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 18.04.6
Mobile device
No response
Python version
No response
Bazel version
bazel 5.3.0
GCC/compiler version
gcc 7.5.0
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
A maliciously constructed Relu6 operator model may lead to an out-of-bounds write in the Relu6Eval function, resulting in denial of service due to accessing an illegal address.
// activations.cc
TfLiteStatus Relu6Eval(TfLiteContext* context, TfLiteNode* node) {
  const TfLiteTensor* input;
  TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, 0, &input));
  TfLiteTensor* output;
  TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, 0, &output));
  ReluOpData* data = reinterpret_cast<ReluOpData*>(node->user_data);
  switch (input->type) {
    case kTfLiteFloat32: {
      size_t elements = input->bytes / sizeof(float);
      const float* in = GetTensorData<float>(input);
      const float* in_end = in + elements;
      float* out = GetTensorData<float>(output);
      for (; in < in_end; in++, out++) *out = std::min(std::max(0.f, *in), 6.f);  // this line

relu6.zip
Standalone code to reproduce the issue
I use the benchmark tool built according to [this official guide](https://www.tensorflow.org/lite/guide/build_cmake#step_1_install_cmake_tool), as follows:
1. git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
2. mkdir tflite_build
cd tflite_build
3. cmake ../tensorflow_src/tensorflow/lite
4. cmake --build . -j
5. cmake --build . -j -t benchmark_model

The benchmark is in the tools directory

When I use the benchmark tool for PoC validation, it causes the TensorFlow Lite inference process to be subjected to a DOS（coredump).

❯ ./benchmark_model --graph=../poc/relu6.tflite
INFO: STARTING!
INFO: Log parameter values verbosely: [0]
INFO: Graph: [../poc/relu6.tflite]
INFO: Loaded model ../poc/relu6.tflite
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
ERROR: failed to delegate RELU node #0
ERROR: Node number 2 (TfLiteXNNPackDelegate) failed to prepare.
ERROR: Restored original execution plan after delegate application failure.
INFO: The input model file size (MB): 0.00062
INFO: Initialized session in 181.67ms.
INFO: Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.
[1]    12443 segmentation fault (core dumped)  ./benchmark_model --graph=../poc/relu6.tflite

Relevant log output
No response

This issue originally reported by @SiriusHsh has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.


Added ambient glColor if lighting disabled.

If lighting is disabled, all materials render white.
This PR draws the ambient material color on the polygon, in the case where lighting is disabled or there are no normals given.

Thanks! Definitely looks looks like a reasonable default behavior.

The default texture env is GL_MODULATE, so this means the ambient material will affect textures. I guess this is still the most flexible solution.

1.3.1 is now on PyPI with these changes.


Use RNG Keys

Resolves #31
Blocked on https://github.com/elixir-nx/nx/pull/846
When that PR is ready then we can run with this. Currently you build the model with the seed, so init_fn will always return the same parameters.

@polvalente Any ideas on the Torchx failures?

@polvalente Any ideas on the Torchx failures?

Fixed!


Add docs for direct join to source

Doc-only PR

Add a description for the "direct join to source"
Update screenshots to reflect the new exemplar project

🦞
I imagine circle CI is failing for some other reason?

It is failing because the PR was created around the moment we setup CI/CD and it was not working yet :-)


Typo in docs build instructions

While trying to build the docs on my Mac, I came across this install line.
https://github.com/terrapower/armi/blob/9ebfe34b93a8040c69868c2199ee6ac6e73652eb/doc/developer/documenting.rst?plain=1#L28
I believe it should be
pip install -e .[docs,test]

or maybe even just
pip install -e .[docs]

Otherwise you are missing a bunch of dependencies and have to manually install them.

After getting the docs to build, there is a non-fatal error for a missing dependency here
https://github.com/terrapower/armi/blob/9ebfe34b93a8040c69868c2199ee6ac6e73652eb/armi/utils/gridEditor.py#L54
After running pip install wxPython, said error goes away. So this dep should probably get added to the pyproject.toml file.


'wget -qO- http://get.socketplane.io/ | sudo sh' doesnt pull an image

One liner install silently dies before getting to "first node y/n?" option. OS is fresh ubuntu 14.10 snapshot. If you go back and run "sudo socketplane install" after it fails then it will get past the following snippet below.
Looks like it is dying here but I didnt see where the one-liner magic occurs so opening a ticket. :
log_step "Starting the SocketPlane container"
        if [ -n "$(docker ps | grep socketplane/socketplane | awk '{ print $1 }')" ]; then
            log_fatal "A SocketPlane container is already running"
            return 1
        fi

        flags="--iface=auto"

        if [ "$1" = "unattended" ]; then
            [ -z $BOOTSTRAP ] && log_fatal "BOOTSTRAP not set" && exit 1

            if [ "$BOOTSTRAP" = "true" ] ; then
                flags="$flags --bootstrap=true"
            fi
        else

wget -qO- http://get.socketplane.io/ | sudo sh
-Output: https://gist.github.com/391bcbf650dc4fa3476e
Running "sudo socketplane install" after the failed 'wget xxx | sudo sh'
-Output: https://gist.github.com/0c3d7556f275f363a059

Looks like it fails on the read in start_socketplane
-----> Starting the SocketPlane container
+ awk { print $1 }
+ grep socketplane/socketplane
+ docker ps
+ [ -n  ]
+ flags=--iface=auto
+ [  = unattended ]
+ true
+ read -p Is this the first node in the cluster? (y/n) yn
vagrant@socketplane-t-1:~$

We need a way to check in the install.sh script if the the script is being called from a terminal or not and issue the appropriate  start.

socketplane install
or
socketplane install unattended


Use VNI attachment instead of network in ibmz

To get VPN working we need VNI attachment instead of simple network
See https://issues.redhat.com/browse/KFLUXINFRA-931

LGTM
we need to make sure this works in both type of IBM account we have, i.e. internal and external


Convert to font-awesome.

use font-awesome instead of bootstrap.

No idea what the impact is. But :+1: if you're waiting for a :+1:.


Quick Start

50% of the page is done

assign remaining 50% to me

hi @g-savitha are you still working on this issue?


Add Skype 7.59.37 as skype7

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

https://github.com/caskroom/homebrew-versions#acceptable-casks
Refuse legacy versions of gratis or open-source software, unless there is a clear demonstrable need for them.

Thanks for the tip @commitay. However I was wondering if Skype could be categorised as gratis software as it looks like a "commercial" product to me.
Skype 8.x is an overhaul of the app. My experience is that some features becomes missing in the new version and the CPU usage is much higher than 7.x. Perhaps Microsoft is aware of this, which is why the link to the classic 7.x Skype is provided officially and user cannot find 8.x upgrade from a 7.x app's "Check for Upgrade" feature.
I believe there are users who want to stick with the classic 7.x app until it becomes obsolete or 8.x app matures and having it in versions tap could be handy to them. If you disagrees, I'm fine with hosting it in my own tap. Cheers!

Reopened because of multiple requests: https://github.com/caskroom/homebrew-versions/issues/4923, https://github.com/caskroom/homebrew-versions/issues/4695

expected to be used by a reasonable number of people

Missing features would satisfy this requirement:

Refuse legacy versions of gratis or open-source software, unless there is a clear demonstrable need for them.

Ping @vitorgalvao for approval

I was wondering if Skype could be categorised as gratis software as it looks like a "commercial" product to me.

We have definitions for these terms as we use them in the contest of HBC. “Commercial” means closed-source paid software; “gratis” means closed source free (as in beer) software with no limitations that could be removed by paying (freemium).

Thanks for the PR @lukewang1024!


GitHub Project Description

It's terrible. It's not grammatically correct. It makes no sense.
If you want to stick strictly to what you have written use "Vanilla Tweaks but it's a plugin!"
Might I suggest some alternatives, too:

Vanilla Tweaks: Plugin Edition
Vanilla Tweaks for Spigot based servers

Updated to match Modrinth description


add slack badge

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

@williamFalcon ^^

typo - spack to slack


AzDatalake APIView

SAS APIs will be in separate PR
In this pr you'll notice categories of (in the comments):
dfs1 -> meaning its an HNS op using a dfs endpoint
dfs/blob2 -> meaning its an HNS op using a blob endpoint
blob3 -> meaning its purely a blob endpoint op (applies to flat and HNS) and uses the underlying blob client
This PR also includes:

API Design for path, service, dir, file and fs clients
Lease API Design + Implementation (most of it not all)
Generator upgrade
Generated Code fixes with transforms

/check-enforcer override


Improve "Add Traefik as API gateway/reverse proxy"

Add repos for submodules that were forgotten :D
Make it work for Vagrant as well (README)
Add utility makefile to not type always same things
@i3anaan you are assigned because it is better to test also with Vagrant env (since nico and sergey still use pure docker)

Once it is ok, then @i3anaan can PR it into dev

Got this during Vagrant installation:
The process "php artisan optimize" exceeded the timeout of 300 seconds.
Not sure how severe that is.

There are actually multiple errors occurring during installation. Could be looked into, not sure if it should prevent merging.

I think the first one chained the others, but sure enough the PR won't be merged until they work properly. I just need to add a timeout
On a related note, of course you could try "docker-only"

Using vagrant the installation did not succeed. It exited with the following line:
==> appserver: omsevents-bootstrap_1       | {"code":"InternalError","message":"Could not register microservice, core communication failed"}Bootstrap finished
Full log can be found here
Have fun solving! :D

Thanks, it seems something with file permissions, very easy to solve. Don't try docker only as it should have same results


Update DevGuide.md

looks like gradle eclipse needs to be run after gradle prepDev

Maybe a heisenbug, but seems like a good measure.

I searched the DevGuide but I cannot find anything about "jython-2.7.1". While syncing and building it is the only thing that gives error. I tried adding the jython files around but it always complains.
Did I miss something in the DevGuide?

@mnemonic-re Create ~/.gradle/init.d/repos.gradle according to guide.


Create User Stories

create user stories for the ReadMe file

Please create a README file and include all the user stories there so everybody can see them