[MXNET-1414]fix gradient bug of boolean mask

Description
Related Issue: https://github.com/apache/incubator-mxnet/issues/15172
Hi, there.
The operator mx.nd.contrib.boolean_mask gives the wrong gradient.
I have fixed it and add a unittest.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Support Gradient Addition for boolean mask operator
[x] Fix the gradient bug
[x] Add a related unittest

Comment
In the CPU backward of boolean mask, it uses BooleanMaskBackwardCPUWriteKernel kernel to accelerate when req is WriteTo.

Hi, @szha . Could you please help review this PR? Thank you!

I have merged this PR. Thank you! @junrushao1994 @haojin2


Enhancement to enable visual cue when Sticky's sibling content scrolls underneath it

This PR adds stickyOverContentClassName, stickyOverContentStyle and onStickyOverContentChange properties to <Sticky>.
These are similar in function to the similarly named properties that handle styling and change for sticky state.
These properties enable visual cues for when a <Sticky>s sibling content has scrolled underneath it.
In some use cases, content can be scrolled under a <Sticky> which may have column headings that can be clicked on to re-order the content. When it is not obvious that the content has scrolled under the <Sticky>, after changing the content order, the user will most often incorrectly assume the content just below the <Sticky> is the top of the list, when in fact it is not.
A simple style setting is to add a drop-shadow to the bottom of the <Sticky> for example.
Further details of the PR in in README and code.

It seems there's a lack of interest here, and along with the divergence of other features we've since added (such as vertical stickies), we're closing this PR.


[Bug]:

Bug Description
When trying to use gpt-4o-mini with a chat engine, chat I get following error:
llama_index_asset.py chat(55) Error code: 400 - {'error': {'code': 'OperationNotSupported', 'message': 'The chatCompletion operation does not work with the specified model, gpt-4o-mini. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.'}}
Version
0.11.17
Steps to Reproduce
azure_conf = #dict with your credentials, see below
memory = ChatMemoryBuffer.from_defaults(token_limit=100000)

Settings.llm = AzureOpenAI(
            model="gpt-4o-mini",
            deployment_name=DEPLOYMENT_NAME,
            api_key=azure_conf['api_key'],
            azure_endpoint=azure_conf['endpoint'],
            api_version=self.azure_conf['api_version'],
            temperature=0.3,
        )

chat_engine = SimpleChatEngine.from_defaults(
            system_prompt= MY_SYS_PROMPT,
            memory=self.memory,
        )

result = chat_engine.chat(message=MY_MSG, chat_history=MY_HISTORY)

Relevant Logs/Tracbacks
No response

Actually I do think it is on azure side and not an issue with llama index. Sorry guys!

Maybe for more details:
I created another gpt-4o-mini instance and with that I have no issues.
I will comment here as soon as I found out what discrepancy was causing it


incode SVG instead of webrequest +PNGs

Is your feature request related to a problem? Please describe.
Not really a problem but could minimize webrequests for images and remove the need of locally saving images used in the utility. I shortly talked about this with @og-mrk and @Marterich, but changed some details to the logics of solution 2.
Describe the solution you'd like
Using SVGs with them embetted in the code of the utility, use them where possible and converting them to needed filetype.
This is not as easy as one might think, because .net does not officially support SVGs.
Solution 1: "Library"
We could use a library that let's us use the svg in the utility, which would add a dependency and delay first start of the utility but would let use them. We would still have to convert the svg into another image format or make a webrequest for the shortcut.
Solution 2: "Convertion to Bitmap" (the better, but harder one Ig)
I have the checkmark.png and warning.png in svg format, filesize for both together is around 1 kilobyte.
We could work on a simplified logo for chris without a complicated shadow in svg format.
Those could be saved in the utility and converted into a bitmap string saved into a variable. This bitmap string can be used almost everywhere exept for the shortcut icon, which would need an additional convertion into a .ico file that needs to be saved to the disk.
Additional context
I did not yet find out how to convert svg to bitmap using powershell without a 3rd party tool. This is why I am making this issue and kind of asking for help on that.

Cool idea @MyDrift-user, if it get passed on & implemented, it'd be nice to edit these SVG files rather then hard-coded paths in some text file. It can be done by adding a new step in Compilation, which copies the contents of SVG Files, and pasts them inside final compiled winutil.ps1 file.
In general, I do like this idea.


feat(core): add type functions

related: https://github.com/denoland/deno/pull/21669

These seem reasonable. Can you add unit tests to a new testing/unit/type_test.ts, please?


Call with -nobuiltin will still pull in pre-compiled *.slpp and *.slpa (was: 'make install' fails)

Currently, 'make install' fails; it seems to not be able to find the generated pkg ?
It does seem to generate the packages:
make
#... all kinds of stuff
[ 98%] Building CXX object CMakeFiles/hellosureworld.dir/src/hellosureworld.cpp.o
[100%] Linking CXX executable dist/Release/surelog
       Creating staging for precompiled packages
       Creating OVM precompiled package...
       Creating UVM precompiled package...
       Packages created
make[3]: Leaving directory '/home/hzeller/src/Surelog/build'
# ...

But then this happens
sudo make install
# ...
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/surelog
-- Installing: /usr/local/lib/surelog/libsurelog.a
-- Installing: /usr/local/include/surelog/surelog.h
-- Up-to-date: /usr/local/lib/surelog/python
-- Installing: /usr/local/lib/surelog/python/slSV3_1aPythonListener.py
-- Installing: /usr/local/lib/surelog/python/slwaivers.py
-- Installing: /usr/local/lib/surelog/python/slformatmsg.py
-- Up-to-date: /usr/local/lib/surelog/sv
-- Installing: /usr/local/lib/surelog/sv/builtin.sv
CMake Error at cmake_install.cmake:65 (file):
  file INSTALL cannot find
  "/home/hzeller/src/Surelog/build/dist/Release/pkg".

make[1]: *** [Makefile:74: install] Error 1

This is what is in build/dist/Release
$ find build/dist/Release/
build/dist/Release/
build/dist/Release/hellosureworld
build/dist/Release/uhdm-test2
build/dist/Release/uhdm-test1
build/dist/Release/python
build/dist/Release/python/slSV3_1aPythonListener.py
build/dist/Release/python/slwaivers.py
build/dist/Release/python/slformatmsg.py
build/dist/Release/sv
build/dist/Release/sv/builtin.sv
build/dist/Release/uhdm-test3
build/dist/Release/uhdm-dump
build/dist/Release/uhdm-listener
build/dist/Release/surelog
build/dist/Release/uhdm-test4

These are the only places where directories named pkg/ exist:
$ find . -name "pkg"
./third_party/UVM/ovm-2.1.2/examples/basic_examples/pkg
./third_party/UVM/uvm-1.2/examples/simple/basic_examples/pkg
./third_party/UVM/uvm-1.1d/examples/simple/basic_examples/pkg

This was working fine until some recent change I guess.
The .travis contains all these steps that make sure the install is correct:

make release
sudo make install
make test_install
make test

This is actually working fine for me locally and in travis.
The only explanation is that the packages are not built in your local branch.
Pull the latest as I made changes to build the latest UVM package without error.

I have looked further what is happening on my machine: From earlier experiments, Surelog was installed in /usr/local/, so the surelog call in the build context was finding the precompiled version in /usr/local/lib/surelog/pkg and considered itself to be done and so didn't actually generate the pkg file.
The call is with -nobuiltin but apparently this does not prevent from looking at the pre-installed package file.

I see, you have to de-install to get the packages built
Sent from Yahoo Mail on Android
On Thu, Feb 13, 2020 at 11:39, Henner<EMAIL_ADDRESS>wrote:
I have looked further what is happening on my machine: From earlier experiments, Surelog was installed in /usr/local/, so the surelog call in the build context was finding the precompiled version in /usr/local/lib/surelog/pkg and considered itself to be done and so didn't actually generate the pkg file.
The call is with -nobuiltin but apparently this does not prevent from looking at the pre-installed package file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, did de-install now and it workd.
For this to work, we essentially have to either make a -nopkg flag or make -nobuiltin don't use the installed packages.

Is anyone working on this ? It makes consistent compiling hard, because if there is already an installed version of ovm_pkg.sv.slpa or uvm_pkg.sv.slpa, the generation of these files will not happen in the build, thus failing to produce the artifacts needed for a new build. i.e. it is impossible to build and install a surelog on a machine that already has some surelog installed.


Add GIT_DESCRIBE to Config and task git.describe in order to be able …

…to get a version information for debugging

Lets not introduce additional dependencies. If someone requests this feature we can introduce it.

Do you mind adding initialize to all tasks? In seed.tasks it can be empty but it would make it easier to add custom initialize tasks to the pipeline.
Without it I have to move all tasks to project.tasks which complicates updates.
I would reduce the pull request to just this change if you agree ...

The initialization task is merged. Thanks!


sys_brk not supported in enable_syscalls

sys_brk and brk are not recognised in "enable_syscalls" entry in the config.
Trying to add this in config
"enable_syscalls": ["brk"] ,
result: unknown enabled syscall: brk
also happens with sys_brk, so not sure how to target this call.

brk syscall is not described and is not known to syzkaller, see https://github.com/google/syzkaller/blob/master/docs/syscall_descriptions.md for info on how to do it.


Make plugin integration tests runnable against empty local Maven repository with Apache Snapshots repository disabled

@essobedo incremental-build.sh puts tooling/maven/camel-package-maven-plugin/src/it/HeaderSupport into -pl if there was a change under it. Apparently, it cannot work like that. findProjectRoot should climb up to tooling/maven/camel-package-maven-plugin. I am not going to risk breaking it more with my sparse bash syntax knowledge.


Add a mock redis in go for testing purpose.

As discussed in #435,  a mock redis in go is quite helpful for testing purpose, for both redis quota adapter and config value store. And there are already open-sourced implementations, for example: https://github.com/alicebob/miniredis

Imported miniredis in unit tests for redis quota adapter.

Reopen this since the mock redis did not implement the timeout function for keys, so expiring keys can not be fully tested here.

Added timeout in miniredis. Expiring keys can be covered in unit test now. But the code coverage is < 80%, needs to be improved.

#537

#537 is merged so this issue can probably be closed

Tracked by Galley work items.


✨ Adds role property to User model

Adds role (STRING) property on User model
Adds role (STRING) column on Users table via migration
Updates specified users by setting role to 'admin' via migration

NOTE: Also fixes issue in User model with "PROTECTED_ATTRIBUTES" and toJSON class method.

This PR Addresses Issue #76

I added a hasRole and isAdmin class method to the User model. This should enable us to keep the role data private if we want (by adding it to the PROTECTED_ATTRIBUTES array).


Is there an option to read values from rtmbot.conf in plugins?

Are plugins aware in any way to the parameters from the conf file?
I'd like to add parameters such as 'bot_name' to use later on in my plugins.
I can do this on my own and create a PR, but don't want to do a duplicate job.

There's an option to pass "plugin_config" to the plugin's init:
`class OhHeyPlugin(Plugin):
def init(self, name=None, slack_client=None, plugin_config=None):
super(OhHeyPlugin, self).init(name, slack_client, plugin_config)
print json.dumps(plugin_config)`
Then in rtmbot.conf
#DEBUG: True # make this False in production DEBUG: False # ok SLACK_TOKEN: "xoxb-xxxxxxxxxxxxxxxxxxxxxxx" ACTIVE_PLUGINS:     - plugins.ohhey.OhHeyPlugin OhHeyPlugin:     name : Bob Bobber     things :       - item1       - item2       - item3
Gives:
rtmbot {"things": ["item1", "item2", "item3"], "name": "Bob Bobber"}

Thanks!


FeedDiscovery URL Error

[Enter feedback here]
Checking for a feed at listed URL https://rdweb.wvd.microsoft.com/api/arm/feeddiscovery gives:
{
"error": {
"code": "INCOMPATIBLE_CLIENT_VERSION",
"message": "Client did not send any User Agent approved header"
}
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0517ea6a-9417-31a8-39a5-f6128387fee5
Version Independent ID: 7636ec70-e1dd-8c6b-516c-8af324d9f645
Content: Get started with the macOS client
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-mac.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

Well, that is also the response I get when clicking the link in a web browser.
Seems like that address expects a specific client software and version, not a web browser.
How did you test the link yourself?

#assign:xelu86

Hey imrananwar,
Thanks for contacting Microsoft. We value your feedback.
As we understand it, you've described an issue with a Windows product or service, rather than the documentation itself.
GitHub issues in the Windows Server repo are monitored for content issues that we can address, such as broken links, grammar or wording, typos, updates, or incorrect code in examples. We offer other channels for engaging with us, whether you have a support question, product feedback, or other feedback.
We cannot assist with the following as it's outside our scope of work:

Support cases or support tickets
Bug submittal or Feature requests
Extended troubleshooting, technical support, or product support

Instead, please use one or more of the following:

On a Windows OS, use Windows Feedback Hub or press Windows + F. You can also provide feedback with using our Feedback Portal.
Open a ticket with Microsoft Support.
Search or engage with Microsoft TechNet.
Search or engage with the Microsoft Developer Network.
Search or engage with the Microsoft Support Community.

As this is a non-documentation issue, we’re closing this thread.
Thank you and have a most pleasant day.
#please-close


Python kernel doesn't update after downgrading python version in conda env

Issue Type: Bug

Start a jupyter notebook in vscode
Select a higher version of python i.e. 3.9 kernel in conda env
Remove the conda env and create another conda env with the same name and downgrade with python=3.7
go back to vscode. The jupyter interface still shows python 3.9 conda env kernel. However, if I run !python --version the output shows the lower version of python (3.7)

Extension version: 2021.8.1046824664
VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:10:15.214Z)
OS version: Windows_NT x64 10.0.22419
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (12 x 3592)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.92GB (44.20GB free)

Process Argv
--crash-reporter-id f3adedc0-6cce-44a3-ad27-5471077a85ef

Screen Reader
no

VM
0%

A/B Experiments
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vspre833:30321513
vsdfh931cf:30280410
vshan820:30294714
vscus158:30321503
vscod805:30301674
bridge0708:30335490

Thanks for the bug.
This seems unlikely we'd update the name. It should refresh after reloading VS code (we get the name from the python extension actually).

Thanks for the feedback! However, we don't have plans on addressing this issue at this time. The name should get update on next VS Code load. And the right environment is being used.


Enable VueJS devtools plugin in production

Describe the issue / bug.
I'm running an app in a production format, however, I still need access to the devtools to debug some of the incoming data.  I've been able to enable the standard devtools in production mode but I'm having trouble loading the vuejs specific dev tools extension.
How can I reproduce this problem?
#
I added
require('electron-debug')({   enabled: true })
to index.js which enabled the devtools
I've tried adding:

  let installExtension = require('electron-devtools-installer')
  if (process.env.NODE_ENV === 'development') {
    installExtension.default(installExtension.VUEJS_DEVTOOLS)
      .then(() => {})
      .catch(err => {
        console.log('Unable to install `vue-devtools`: \n', err)
      })
  }

to the createWindow function - but this doesn't seem to work correctly.
Am I missing something?

https://github.com/vuejs/vue-devtools/issues/190

Trying to use the vue-devtools with the production build from webpack is not possible. Vue strips out all devtool APIs needed for the devtools to function.

I have moved this line of code to main/index.js file (main process)
require("electron-debug")({ showDevTools: true })

but still when I press ctrl+shift+i, it doesn't open dev-tools in production.

I am using minified version of Vue js , any way to make this work ? @mittalyashu @jeeftor


(chaos-operator): Add unit test cases for function engineMonitorService()

UNIT TEST
What happened:

Write the unit-test

What you expected to happen:

The test case should be written for function engineMonitorService() of file https://github.com/litmuschaos/chaos-operator/blob/master/pkg/controller/chaosengine/chaosengine_controller.go

Anything else we need to know?:

Issue related to Repository: https://github.com/litmuschaos/chaos-operator
Reference:- https://github.com/litmuschaos/chaos-operator/blob/master/pkg/controller/chaosengine/chaosengine_controller_test.go

@chandankumar4
I would like to work on this issue.

The chaosengine controller code has undergone significant refactor as part of effort to be compliant with the betterCodeHub coding standards.
A similar/corresponding unit test is available here: https://github.com/litmuschaos/chaos-operator/blob/master/pkg/controller/chaosengine/chaosengine_controller_test.go#L168


Support Sublime Text

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Is there any plan to support other text editor? Like Sublime Text.
Solution
No response

@DavidBM We've done the up front work to make this as straightforward as possible (Continue can be packaged as a binary to communicate with the IDE over a strict protocol, much like a language server), but we are trying to focus for a bit longer on really nailing the Jetbrains+VS Code experience before spreading our focus.
Similar conversation happening regarding Neovim here. That and Visual Studio seem to be the most requested IDEs to build for next, but for any Sublime users that come across this issue please give a 👍!

Very interested in this project but I'm too in love with Sublime Text to leave it for anything short of AGI writing all the code.
Don't spread yourselves too thin, but I'm eager to join the party!

Very interested in this project but I'm too in love with Sublime Text to leave it for anything short of AGI writing all the code.
Don't spread yourselves too thin, but I'm eager to join the party!
LSP-copilot might help (but I see the project has no license mentioned) - they do mention some shared logic for handing Neovim, so maybe two birds with one stone?
https://github.com/TerminalFi/LSP-copilot/issues/99


[Sidebars]Cant open SB1 settings

Sidebar setup only shows the window for configure sidebar 2.

NVM , i tried opening it from the skins menu instead of the settings menu.

NVM , i tried opening it from the skins menu instead of the settings menu.


Can not start spyder

version 5.1.5
fromIccProfile: failed minimal tag size sanity
Traceback (most recent call last):
  File "D:\DataScience\PythonSet\IDES\Anacondanew\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\start.py", line 237, in main
    mainwindow.main(options, args)
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\mainwindow.py", line 1992, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\utils.py", line 292, in create_window
    main.post_visible_setup()
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\mainwindow.py", line 1222, in post_visible_setup
    self.projects.reopen_last_project()
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 578, in reopen_last_project
    self.open_project(path=current_project_path,
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 433, in open_project
    project_type_class = self._load_project_type_class(path)
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 864, in _load_project_type_class
    config.read(fpath)
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\configparser.py", line 697, in read
    self._read(fp, filename)
  File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\configparser.py", line 1017, in _read
    for lineno, line in enumerate(fp, start=1):
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 185: illegal multibyte sequence

It seems I copy a existed project and I can be open, however，after closimng， when reopen it ，the spyder crashed(the windows can be show and after seconds it disappears).

additional remarks:
I have checked that the path(not project name) of project which has chinese may cause this problem.

Hi @yanyu2015,
Can you walk me through the process to see if I can reproduce this on my end? It is highly probable that chinese characters are causing this problem. Did this work in previous versions?

1 create a directory whose name is yanyu, its path is D:\example\测试\yanyu\
2 create project with this existed directory
3 create py file in this project,such as bug复现.py
4 write some code
5 cloase the spyder
6 reopen spyder，then this problem appears( windows is open but after some second it close automatically).
you can also use anaconda prompt and type spyder in order to see details.
This work in previous versions which is version  4.2.5

can you explain the meaning of this command
conda create -n spyder-env -c conda-forge spyder python=3.8

so I need to substitute 3.8 to 3.9?(my python of anaconda is 3.9)
you'll always need to run the last two commands to start 5.2.0

is there something wrong? is 5.2.0 really right now version?
I need to confirm for fear that it disturb my normal work again.

can you explain the meaning of this command

That command will install the latest version of Spyder (5.2.0) in a new environment (i.e. an isolated Python installation) from the Conda-forge channel, i.e. a set of conda packages maintained by the community (not Anaconda) which is much more up to date.

so I need to substitute 3.8 to 3.9?(my python of anaconda is 3.9)

Yes, you can change python=3.8 to python=3.9 if you prefer to do it.

is there something wrong? is 5.2.0 really right now version?

5.2.0 is the version that contains the fix for the problem you reported here. The thing is that lately it takes several months for the Anaconda team to update Spyder, so we have to advice people to use Conda-forge instead if they want to use our latest version.

I need to confirm for fear that it disturb my normal work again.

I understand and don't worry, you won't break your Anaconda installation by following the instructions I posted above. That's the beauty of conda environments: they are totally isolated.

You are so kind ,and It seems work well. Howvere, this version of python doesn‘t have lots of packages. I am confuse of installing new version of spyder and connect it with current anaconda which has been installed.

I am confuse of installing new version of spyder and connect it with current anaconda which has been installed.

That's the next step you need to do so you don't need to install everything again in your environment. To learn how to connect this new Spyder to your previous environment, please read this FAQ in our docs:
http://docs.spyder-ide.org/current/faq.html#using-existing-environment

sorry to tell you a bad message.
after I change the interpreter as follew.

this version of spyder also has a error.
(spyder-env) C:\Users\xuanQS>spyder
QWindowsWindow::setGeometry: Unable to set geometry 2520x1480+32+66 (frame: 2542x1536+21+21) on QWidgetWindow/"MainWindowClassWindow" on "\\.\DISPLAY4". Resulting geometry: 2520x1050+32+66 (frame: 2542x1106+21+21) margins: 11, 45, 11, 11 minimum size: 384x362 MINMAXINFO maxSize=0,0 maxpos=0,0 mintrack=790,780 maxtrack=0,0)
Traceback (most recent call last):
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\app\start.py", line 237, in main
    mainwindow.main(options, args)
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\app\mainwindow.py", line 2036, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\app\utils.py", line 300, in create_window
    main.post_visible_setup()
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\app\mainwindow.py", line 1232, in post_visible_setup
    projects.reopen_last_project()
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\projects\plugin.py", line 616, in reopen_last_project
    self.open_project(path=current_project_path,
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\projects\plugin.py", line 514, in open_project
    self.restart_consoles()
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\projects\plugin.py", line 708, in restart_consoles
    self.ipyconsole.restart()
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 803, in restart
    self.get_widget().restart()
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1822, in restart
    self.close_client(client=client, ask_recursive=False)
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1746, in close_client
    client.shutdown(last_client)
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\ipythonconsole\widgets\client.py", line 585, in shutdown
    self.shellwidget.shutdown(shutdown_kernel)
  File "D:\DataScience\PythonSet\IDES\anaconda\envs\spyder-env\lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 176, in shutdown
    self.kernel_manager.stop_restarter()
AttributeError: 'NoneType' object has no attribute 'stop_restarter'

windows can be open but close automatically

I think that happens because you don't have Spyder-kernels 2.2.0 in your base environment. Unfortunately, you won't be able to install it until Anaconda releases a package for it (you can't install is using conda-forge or pip because it'll break your installation).
So you can either all packages you need in your spyder-env environment or wait until Anaconda upgrades Spyder to 5.2.0 to start using it. If you go for the first option, you need to close Spyder, open the Anaconda prompt and run the following commands
conda activate spyder-env
conda install -c conda-forge pandas matplotlib <any other package that you need>

I'm going to close this issue because there's nothing else we can do in our side.

Thank you again,I understand why I was strictly operating, but wasn't able to successfully switch python versions, and it boils down to poor compatibility support for anaconda.


fix: Avoid compilation failures:  for C90 mode / for -Werror mode

--
Regards ... Detlef

Please check the AUTHORS file and submit a PR in case you want to be mentioned differently.


remove the unused run() and output() functions in daemon/container.go

Signed-off-by: Shijiang Wei<EMAIL_ADDRESS>

LGTM if janky's happy

LGTM, but re-running windows (which shouldn't be affected by this change, but still...)

@cpuguy83 Haha, it was, at least indirectly. See #17985


orca: 3.36.3 -> 3.36.4

Motivation for this change
Version bump.
Release news:
3.36.4 - 10 August 2020

Web:

 * Fix false positive causing us to not present self-referential labels

 * Fix crash caused by author using aria-labelledby pointing to itself

 * Always speak the current line when caret moves due to mouse click
   so that presentation is consistent regardless of the element

 * Fix bug causing events from Google Docs to be ignored when a dialog
   appears but lacks focus

Thunderbird:

 * Fix bug causing us to incorrectly update our location within settings

General:

 * Fix bug causing learn mode to not work in (at least) gnome-shell
   controls

New and updated translations (THANKS EVERYONE!!!):

   fr            French                Charles Monzat
   kk            Kazakh                Baurzhan Muftakhidinov
   uk            Ukrainian             Yuri Chornoivan

=========

Things done

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

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

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

Thanks.


seiso-import-master expects a singleton JSON object and can't cope with a list

I want to keep nodes in related service instances in the same JSON file. The default syntax for a node file is as follows:
  {
       "type": "nodes",
       "serviceInstance": "example-service-instance-1",
       "items": [
           {
             "name": "srvexample001-example",
             "machine": "srvexample001.example.com",
           }
 }

However I have two closely related service instances which will in the future be conflated into a single instance. I have to create separate files for each of these, whereas what I'd like to do is supply them as a list in a JSON file, like this:
[
    {
         "type": "nodes",
         "serviceInstance": "example-service-instance-1",
         "items": [
             {
               "name": "srvexample001-example",
               "machine": "srvexample001.example.com",
             }
   },
    {
         "type": "nodes",
         "serviceInstance": "example-service-instance-2",
         "items": [
             {
               "name": "srvexample002-example",
               "machine": "srvexample002.example.com",
             }
   }
]

The importer should be able to detect whether or not it has been supplied with a list of objects or a singleton, and in the former case, iterate over each supplied object in turn.
The error message supplied when attempting to import a list in this case is:
LONC02ML1VLFD58:prod twilkinson$ seiso-import-master nodes-example-prod.json
Using: /Users/twilkinson/.seiso-importers/seiso-prod.yml
Using: format=json
Using SSL
Processing: nodes-example-prod.json
/Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/lib/seiso/import_master.rb:78:in `[]': can't convert String into Integer (TypeError)
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/lib/seiso/import_master.rb:78:in `import_file'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/lib/seiso/import_master.rb:68:in `block in import_files'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/lib/seiso/import_master.rb:65:in `loop'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/lib/seiso/import_master.rb:65:in `import_files'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/gems/seiso-import_master-0.0.12/bin/seiso-import-master:51:in `<top (required)>'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/bin/seiso-import-master:23:in `load'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/bin/seiso-import-master:23:in `<main>'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `eval'
	from /Users/twilkinson/.rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `<main>'

In principle there's nothing to prevent us from doing this, but to me it seems like there's value in having a single consistent approach to the schema across all entity types and across all files. It just makes things simpler for users.
In your example, what's to prevent somebody from putting two different types of entity in the list? (E.g. mixing services and service instances in a single file.) Is allowing that part of the proposal? I can see that making it tricky to find things, where now it's pretty easy.
If that's not the proposal, then why repeat "type": "nodes" instead of just declaring the type once at the top, and then having a list like this...
{
  "type": "nodes",
  "serviceInstanceNodes": [ {
    "serviceInstance": "example-service-instance-1",
    "items": [ ... ]
  }, {
    "serviceInstance": "example-service-instance-2",
    "items": [ ... ]
  } ]
}

It starts getting complicated. That's why I'd prefer to keep the schema pretty basic.
Couldn't you just use related filenames in this sort of situation; e.g., service-instances-example-1.json and service-instances-example-2.json?


BugSnag data persistence

Identify a strategy for saving BugSnag data over 60 days.

Note that individual error occurrences will be grouped into errors triggered by the same location in the code, so you will still see an error in your dashboard if any occurrences were in the last 60 days. >Only the specific occurrences older than 60 days are deleted.
If you to maintain a more permanent record of historical errors you could use one of our issue tracker or data forwarding integrations:
https://docs.bugsnag.com/product/integrations/

Integration should preferably be written in Kotlin to match Flank.
https://cloud.google.com/bigquery/docs/reference/libraries#client-libraries-usage-java
Probably BigQuery + Data Studio makes sense.

we're moving away from bugsnag.

we're moving away from bugsnag.


Unabled to use custom fhir resource in SearchOptionsFactory

Describe the bug
The SearchOptionsFactory uses ResourceType enum. It will throw ResourceNotSupportedException when resource isn't matching value of the enum. This exception is throws for custom resources added to ModelInfoProvider
FHIR Version?
Stu3/R4/R5
Data provider?
CosmosDB/SQL Server
To Reproduce

Register custom type Formulary ModelInfo.ModelInspector.ImportType(typeof(Formulary));
implement and register a custom IModelProvider to return the custom resource name and types.
perform a search on that resource. e.g. {{ServerUrl}}/Formulary?_id=84fab1ea-9851-4220-8b76-cc58ec2b1faf

Expected behavior
A Bundle either empty or containing the item.
Actual behavior
ResourceNotSupportedException is thrown. yielding a  issue "Resource type 'Formulary' is not supported."

@CCRalfvandenBurg - We do not support creating custom resources today and hence you are seeing the behavior. Let us know if you have any further questions.

@EXPEkesheth would it be better to suggest a refactoring of the SearchOptionsFactory? The SearchOptionsFactory::Create method is quite long. To achieve custom resources the only option i see (and tested) is to copy and past the class/method.
Indeed there are more thinks that need to change to fully support custom resources ( the enum is used in multiple places).
although with a little tweaking we got a few custom resources "working".
I think it would be a nice thing to have the ability to support custom resources. for our case a few hooks to achieve this with more easy would be nice.

@CCRalfvandenBurg - Refactoring can be suggested. It does not guarantee the change will be accepted, as it needs to go through review by the technical experts. We do not plan to support custom search parameters.

Closing with no further comments


feat: add insert sort and heap sort in sort.c

add insert sort and heap sort in sort.c and add related unit.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3ed2c48). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 9de1243 differs from pull request most recent head b4c8825. Consider uploading reports for the commit b4c8825 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage        ?   78.41%
=======================================
  Files           ?       63
  Lines           ?    10631
  Branches        ?        0
=======================================
  Hits            ?     8336
  Misses          ?     1955
  Partials        ?      340

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

Thanks, this pr seems is still old as #459


add kinetic energy; change heat to thermal energy

see #522

I think this PR can be merged now, right?


Using credentials file

Hello, is there a way to connect to a secure NATS with a user credentials file ?

Do you have any solution?


Make sections labels consistent with mkdocs navigation labels

This issue raises two distinct but connected issues.
In #400 work on the pdf rendering, each section has to be treated as a "Chapter" and is explicitly given a "Chapter ?" number.  As we already number the Appendices, and as it common for  standards to have explicitly numbered sections to make it easier to reference different sections, I would like to propose that use numbering.  This can be activated during the PDF rendering, but apparently also with the HTML rendering?  (see here).
Secondly, as the PDF rendering is based entirely on the section header labels, it does not match the mkdocs HTML, left-panel navigation menu. Below is the comparison between the labels used in the left-nav HTML (left col) and the section headers (right col).
I propose these should be revised to agree exactly, and going forward require they are the same, to consistency between navigation and the headings, and between perceived navigation (HMTL) and PDF navigation.
Thoughts?

 - Introduction                                        |Introduction
 - Common principles                                   |Common principles
 - Modality agnostic files                             |Modality-agnostic files
 - Modality specific files                             |
   - Magnetic Resonance Imaging                        |Magnetic Resonance Imaging data
   - Magnetoencephalography                            |Magnetoencephalography (MEG)
   - Electroencephalography                            |Electroencephalography  (EEG)
   - intracranial Electroencephalography               |intracranial Electroencephalography  (iEEG)
   - Task events                                       |Task events
   - Physiological and other continuous recordings     |Physiological and other continuous recordings
   - Behavioral experiments (with no MRI)              |Behavioral experiments (with no MRI)
 - Longitudinal and multi-site studies                 |Longitudinal studies with multiple sessions (visits)
 - Extending the BIDS specification                    |BIDS Extension Proposals
 - Appendix                                            |
   - Contributors                                      |Appendix I: Contributors
   - Licenses                                          |Appendix II: Licenses
   - HED                                               |Appendix III: Hierarchical Event Descriptor (HED) Tags
   - Entity-table                                      |Appendix IV: Entity table
   - Units                                             |Appendix V: Units
   - MEG file formats                                  |Appendix VI: MEG file formats
   - MEG systems                                       |Appendix VII: preferred names of MEG systems
   - Coordinate-systems                                |Appendix VIII: Preferred Names of Coordinate Systems
 - Changelog                                           |Changelog

The differences identified are now resolved as part of #422.
This leaves open the issue of section numbering... interested in what @Arshitha and @sappelhoff thinks of adding number, and in particular if CSS can be used to add numbering as described in https://stackoverflow.com/questions/19999696/are-numbered-headings-in-markdown-rdiscount-possible/21126615

The differences identified are now resolved as part of #422.

I think this is an important point, that improves congruence between PDF and HTML (and makes sense just in general consistency terms).

This leaves open the issue of section numbering.
As we already number the Appendices, and as it common for standards to have explicitly numbered sections to make it easier to reference different sections, I would like to propose that use numbering.

I also think section numbers would be a nice addition.

As you point out: It's common in specifications and we already have it in the appendix
It would thus be consistent to also number the sections outside the appendix
The appendix is currently numbered manually ... it'd be cool to have this done automatically upon rendering

That being said: If there is no easy solution for this, it would not give me a headache to ignore section numbers in the HTML.

This can be activated during the PDF rendering, but apparently also with the HTML rendering?

In the PDF rendering we opted for it because it currently produces the most stable result, and I think we should have the labelling in the PDF regardless of our decision on the HTML.

Yes!  Agree numbering would be good to have in PDF regardless!
Just a quick question: Can we / are we using custom CSS?  Just wondering if the HTML numbering solution in that stackoverflow link is a non-starter or not.

just to have a quick (but only maybe helpful) answer: I think we can use custom CSS.
This link might be helpful: https://stackoverflow.com/questions/48029165/is-there-a-way-to-make-the-headings-sections-and-subsections-numbering-in-markd
@effigies knows more about extending mkdocs with css.

Yes. Add a CSS file here: https://github.com/bids-standard/bids-specification/tree/master/src/css
And add an extra_css entry similar to:
https://github.com/bids-standard/bids-specification/blob/245860df989e3568ba80e447a429b5a2ca653a73/mkdocs.yml#L7-L8
So something like:
extra_css:
   - css/numbering.css


Extract the typeface-finding logic to findEffectiveTypeface

Summary:
Extract the typeface-finding logic to findEffectiveTypeface extension methods.
Changelog:
[INTERNAL] [CHANGED] - Extract the typeface-finding logic to findEffectiveTypeface
Test Plan:

This is not a very big deal, but helps me later down the road in my work on https://github.com/facebook/react-native/issues/42602


Extend capability system to detect unsupported numerical types

The following types are not supported in WGSL

i8, u8, i16, u16
f64 (double)
texture_1d_array
integer matrices

We should extend the capability system such that it will emit errors when the user tries to emit these types in e.g. WGSL.
(Currently the WGSL backend just spits out a diagnostic error when asked to emit some of these, or invalid WGSL in the case of integer matrices.)
Affected tests:

texture_1d_array

texture-get-dimensions
texture-sampling
texture-simple

When this is fixed, remember to check that tests/compute/transcendental-double.slang doesn't just "crash" with SLANG_UNEXPECTED. Rather this should be caught and reported nicely to the user by capability checking.
Context: https://github.com/shader-slang/slang/issues/5172#issuecomment-2388452963

Moving to Q1 as nice to have.


Missing Portraits folder in Assets

Describe the bug
Fail to build the solution
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Will be fixed in next update, but is issue is only there if you download the source code and not the release there is no rush.
I will leave the issue open until then.


fix: Fix crash due to enum passed into requests headers, Fixes #23

See #23 for info,
this fixes it by getting string value of Enum by geting value attribute of enum

This doesn't seem to be needed right now. See discussion in #23


AUnit isn’t built.

Because the Makefile’s all: doesn’t do so.

Fixed in f842c117010834ef824968bdde4b992634d048cf.


[BUG] run hive task , failed to send mail

1.run sql-hive task ， Failed to send mail
2.The alert service does not print logs

Which version of Dolphin Scheduler:
-[dev]

this is not have task or mail  problem , mybe hive udf  problem， I will track this problem

after pulling the dev code again,The problem has not been reproduced


Increase retryCount for curl multi to 100

Since on some systems it takes more then 10 trys to get the sockets.
Should fix #64

Tested and fixed the issue. :+1:

@DracoBlue Thank you!


Lock direction (X, Y, Z)

Hello, i think there should exist a field, method or anything that should lock a rotation direction of the physical object.
I hope you can impliment that :)

Does something like this exists in JoltPhysics? If yes I can port it here

Does something like this exists in JoltPhysics? If yes I can port it here

To impliment this yu nd to impliment the Character.
Of youn could impliment it 🙂


Add support for Google nest temperature sensors

Talking about these guys: https://store.google.com/product/nest_temperature_sensor?hl=en-US
Are these exposed in the SDM API?

Nope: https://developers.google.com/nest/device-access/supported-devices

Bummer

@guillochon: Probably the same reason smoke alarms are not supported, they are low power devices.  If they were exposed via an API they would have to be constantly updating their status which would run down the batteries inside very quickly.

Any idea how the other Google Nest homebridge plugin accesses them? They are exposed there, though I have no idea how it does it. Just wondering if that's replicable.

They use unofficial/undocumented API calls.


Kill all threads after all tests have passed

With this PR, we solve the issue of pytest not being able to finalize because there are active threads running.

good work!

good work!

one liner! lol


Convert Car demo to ECS

I've created the demo-ecs branch for working on this then

Initial implementation done with https://github.com/GameDevTecnico/cubos/commit/77d95d8d3615a13b644769e58d6ea49a8d9d233a


Add options to specify contentType for translation and a replace function for translated text

I want to be able to pass text like
What's up in
München<\/div>?
to ULIS. To ensure that this text is processed correctly, the content type must be changed to text/html and the
...<\/div> HTML-part has to be removed from the translated text before sending it to LUIS. To make this possible, the two options contentType and replaceInTranslation can be specified during the setup of the ULIS client (see readme).

Thanks for the feedback, i will review over the next week and merge if there are no issues sorry for the delay.


[WIP] extract assertion helper

Looking at how this shakes out, I don't like the idea anymore. This increases the complexity of our business logic while reducing readability. I vote for not doing this at all and leaving the code as it is.
implements #841

I like the Ensure helper but agree its easier to read with the higher level methods. What about having EnsureDoesNotHaveBranch call the Ensure method? That should help reduce some duplication but keep the high level readable

Good idea. I have added the suggested refactorings, leading to a nice cleanup!


21-04-14 19:09:18 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-audio with version 2021.02.1
21-04-14 19:09:18 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-04-14 19:09:20 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio homeassistant/aarch64-hassio-audio with version 2021.02.1 - <IP_ADDRESS>
21-04-14 19:09:20 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-cli with version 2021.03.1
21-04-14 19:09:20 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
21-04-14 19:09:21 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI homeassistant/aarch64-hassio-cli with version 2021.03.1 - <IP_ADDRESS>
21-04-14 19:09:21 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-observer with version 2020.10.1
21-04-14 19:09:21 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-multicast with version 2021.04.0
21-04-14 19:09:21 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
21-04-14 19:09:22 INFO (SyncWorker_1) [supervisor.docker.multicast] Starting Multicast homeassistant/aarch64-hassio-multicast with version 2021.04.0 - Host
21-04-14 19:09:22 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-04-14 19:09:43 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/raspberrypi4-64-homeassistant with version 2021.4.4
21-04-14 19:09:43 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
21-04-14 19:09:43 INFO (MainThread) [supervisor.hassos] Detect Home Assistant Operating System 6.0.dev20210408 / BootSlot A
21-04-14 19:09:43 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
21-04-14 19:09:43 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/e4704d1b repository
21-04-14 19:09:43 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
21-04-14 19:09:44 INFO (MainThread) [supervisor.store] Loading add-ons from store: 68 all - 68 new - 0 remove
21-04-14 19:09:44 INFO (MainThread) [supervisor.addons] Found 6 installed add-ons
21-04-14 19:09:44 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/jens-maus/raspberrymatic with version <IP_ADDRESS>10413-57b74e8
21-04-14 19:09:44 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mosquitto with version 5.1.1
21-04-14 19:09:44 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/node-red/aarch64 with version 8.2.1
21-04-14 19:09:44 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/motioneye/aarch64 with version 0.11.1
21-04-14 19:09:44 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/tasmoadmin/aarch64 with version 0.14.1
21-04-14 19:09:44 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.2.0
21-04-14 19:09:44 INFO (MainThread) [supervisor.snapshots] Found 10 snapshot files
21-04-14 19:09:44 INFO (MainThread) [supervisor.discovery] Loaded 1 messages
21-04-14 19:09:44 INFO (MainThread) [supervisor.ingress] Loaded 59 ingress sessions
21-04-14 19:09:44 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
21-04-14 19:09:44 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-04-14 19:09:44 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-04-14 19:09:44 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-04-14 19:09:44 INFO (MainThread) [__main__] Running Supervisor
21-04-14 19:09:44 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
21-04-14 19:09:44 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
21-04-14 19:09:44 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 2 add-ons
21-04-14 19:09:46 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/tasmoadmin/aarch64 with version 0.14.1
21-04-14 19:09:49 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 5.1.1
21-04-14 19:09:52 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
21-04-14 19:09:53 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
21-04-14 19:09:53 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
21-04-14 19:09:54 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 1 add-ons
21-04-14 19:09:54 WARNING (SyncWorker_6) [supervisor.docker.addon] RaspberryMatic CCU running with disabled protected mode!
21-04-14 19:09:56 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on ghcr.io/jens-maus/raspberrymatic with version <IP_ADDRESS>10413-57b74e8
21-04-14 19:10:01 INFO (MainThread) [supervisor.core] Start Home Assistant Core
21-04-14 19:10:01 INFO (SyncWorker_7) [supervisor.docker.interface] Starting homeassistant
21-04-14 19:10:01 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-04-14 19:10:17 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
21-04-14 19:10:17 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-04-14 19:10:23 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-04-14 19:10:43 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-04-14 19:10:43 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 2 add-ons
21-04-14 19:10:45 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.2.0
21-04-14 19:10:46 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/aarch64 with version 8.2.1
21-04-14 19:10:51 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
21-04-14 19:10:51 INFO (MainThread) [supervisor.core] Supervisor is up and running
21-04-14 19:10:51 INFO (MainThread) [supervisor.host.info] Updating local host information
21-04-14 19:10:51 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-04-14 19:10:51 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-04-14 19:10:51 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-04-14 19:10:51 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-04-14 19:10:52 INFO (MainThread) [supervisor.host.services] Updating service information
21-04-14 19:10:52 INFO (MainThread) [supervisor.host.network] Updating local network information
21-04-14 19:10:52 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-04-14 19:10:52 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-04-14 19:10:52 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-04-14 19:10:52 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-04-14 19:10:56 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-04-14 19:10:56 INFO (MainThread) [supervisor.host] Host information reload completed
21-04-14 19:11:12 INFO (SyncWorker_4) [supervisor.docker.interface] Restarting homeassistant/raspberrypi4-64-homeassistant
21-04-14 19:11:29 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-04-14 19:11:37 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-04-14 19:11:37 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-04-14 19:11:55 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
21-04-14 19:11:55 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
21-04-14 19:11:55 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
21-04-14 19:11:57 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance

still remains the issue that the server restart (from within Home Assistant ) is required after powercyling, looks like the raspberrymatic addon is not completey up and running when the the python based homematic device integrations in HA is accessing the raspberrymatic?

Correct, the add-on has to be running prior to Home Assistant loading the HomeMatic integration. I don't know if there's a mechanism to assign priorities which make the OS start the add-on before Home Assistant is started. But that would be useful. Until then you can use the homematic.reconnect service available within Home Assistant to try to re-connect to the add-on at a later time.

Hi Daniel,
thanks for confirming. so nothing wrong here with the add-on, just requires a few more steps to configure properly.
you refer to this probably?
https://www.home-assistant.io/integrations/homematic/#detecting-lost-connections
It would be nice to have the possibility to call the homematic.reconnect service from the raspberrymatic add-on to trigger this service after completing a boot-up or reboot, but i am not sure if this is at all possible.

It would be nice to have the possibility to call the homematic.reconnect service from the raspberrymatic add-on to trigger this service after completing a boot-up or reboot, but i am not sure if this is at all possible.

I don't think that's possible. That function is only available inside of Home Assistant. The only solution that I can think of is that the add-on sends a POST request to Home Assistant to activate a webhook trigger automation that calls the reconnect-service. But that would be complicated as well because the add-on would need to know about the required URL and webhook ID.

as the configuration in the yaml requires to set up a name for the host that will be used as an entitiy name I assuemed that the same name could be used. as there is a format requirement to have a unique number to define the entity i trapped into this.

Well, you should have followed the documentation I explicitly wrote for this. So see here for an example config section for the homematic integration:
https://github.com/jens-maus/RaspberryMatic/blob/master/home-assistant-addon/DOCS.md#setup-homematic-integration-in-home-assistant

in the raspberrymatic add.on log there is a message about read-only file system - does this harm?
RaspberryMatic CCU
Mounting /data as /usr/local (Home Assistant Add-On): OK
Starting watchdog...
/etc/init.d/S01InitHost: line 113: can't create /proc/sys/abi/cp15_barrier: Read-only file system

This is non-critical and a result of WIP. The next add-on update today/tomorrow should fix it.

https://www.home-assistant.io/integrations/homematic/#detecting-lost-connections
It would be nice to have the possibility to call the homematic.reconnect service from the raspberrymatic add-on to trigger this service after completing a boot-up or reboot, but i am not sure if this is at all possible.

I agree. If there would be a possibility to execute this homematic.reconnect command via an internal or external (http?) HA APIs I could add this to the add-on startup and thus force the homematic integration to reconnect. @danielperna84 do you know if there is a way to execute this command in via some internal or external API?

I agree. If there would be a possibility to execute this homematic.reconnect command via an internal or external (http?) HA APIs I could add this to the add-on startup and thus force the homematic integration to reconnect. @danielperna84 do you know if there is a way to execute this command in via some internal or external API?

I personally don't work with the add-ons. I'm just the HomeMatic integration guy. 😳 So I don't know which possibilities are available. But as mentioned above, I know about the webhook triggers. That would require the user to set up the automation though. And depending on connectivity-restrictions that might not be to most robust solution either.
I think for this problem someone from the Home Assistant core devs needs to provide some input. In general I think Home Assistant needs to provide a consistent implementation that allows add-ons to say "I need to be fully started before Home Assistant will be started (within a given timeout to not block when the add-on is broken), and I'm informing about my state by calling the provided API".

I agree. If there would be a possibility to execute this homematic.reconnect command via an internal or external (http?) HA APIs I could add this to the add-on startup and thus force the homematic integration to reconnect. @danielperna84 do you know if there is a way to execute this command in via some internal or external API?

I personally don't work with the add-ons. I'm just the HomeMatic integration guy. 😳 So I don't know which possibilities are available. But as mentioned above, I know about the webhook triggers. That would require the user to set up the automation though. And depending on connectivity-restrictions that might not be to most robust solution either.

And what about other REST APIs (see https://developers.home-assistant.io/docs/api/rest)? Perhaps there is potential in using these to actually get the homematic integration to perform a reconnect.

I think for this problem someone from the Home Assistant core devs needs to provide some input. In general I think Home Assistant needs to provide a consistent implementation that allows add-ons to say "I need to be fully started before Home Assistant will be started (within a given timeout to not block when the add-on is broken), and I'm informing about my state by calling the provided API".

Well, I think there might easily be some good reasons why HA add-ons are started after HA itself. But of course, HA core developers like @pvizeli or @agners would be better to judge that and potentially tell if there are some APIs that an add-on (after completion of its startup) can execute homematic.reconnect to get the HomeMatic integration to re-initialize. And then I could easily add that call once the RaspberryMatic add-on started successfully.
Nevertheless, of course it would be best if you could rework your HomeMatic integration that such an explicit reconnect trigger is not necessary anymore. Other homematic integrations (like ioBroker) also don't have to be reinitialised after a CCU/HomeMatic service restart.

And what about other REST APIs (see https://developers.home-assistant.io/docs/api/rest)? Perhaps there is potential in using these to actually get the homematic integration to perform a reconnect.

Yes, that could be an option as well I guess. 🤷♂

Nevertheless, of course it would be best if you could rework your HomeMatic integration that such an explicit reconnect trigger is not necessary anymore. Other homematic integrations (like ioBroker) also don't have to be reinitialised after a CCU/HomeMatic service restart.

True. I'm currently working on hahomematic, which should eventually become the new foundation for a new HomeMatic integration in Home Assistant. And there I already have prepared automatic reconnecting. But it's still in a rather early stage, and the Home Assistant part is non existent right now. So it will take a while for that to arrive.

Two weeks ago I've bought a HM-MOD-RPI-PCB. HM hardware works but HmIP not.
Is there anybody to tell me how to get HM-IP-MOD-PCB working with HmIP and hot to setup the configuration if it's possible?

@Pivpov Do you have the RaspberryMatic add-on Home Assistant add-on installed as outlined in the first post including the 6.0dev development version of HAos?

Also hallo erstmal, ich bin der Dirk aus Finsterwalde.  Raspberrymatic hatte ich
kurz mal am laufen, hab dann wieder Homematic Add-On installiert. Da ging
dann irgendwie nix mehr und ich mußte HM-MOD-UART mit der 3.55.10 neu
flashen. Jetzt geht Raspberrymatic garnicht mehr (no GPIO Hardware found).
Am Do., 15. Apr. 2021 um 17:27 Uhr schrieb Jens Maus <
@.***>:

@Pivpov https://github.com/Pivpov Do you have the RaspberryMatic add-on
Home Assistant add-on installed as outlined in the first post including the
6.0dev development version of HAos?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jens-maus/RaspberryMatic/issues/1087#issuecomment-820519007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATWFT2P4XMVQO44NEWWINRDTI4AV3ANCNFSM4WNY27SQ
.

Also hallo erstmal, ich bin der Dirk aus Finsterwalde.  Raspberrymatic hatte ich kurz mal am laufen, hab dann wieder Homematic Add-On installiert. Da ging dann irgendwie nix mehr und ich mußte HM-MOD-UART mit der 3.55.10 neu flashen. Jetzt geht Raspberrymatic garnicht mehr (no GPIO Hardware found).

Ok, jetzt bitte erst einmal fullstopp hier! Das ist kein Supportforum und hier geht es auch nicht darum sämtliche Probleme zu lösen die irgendwie auftreten können! Hier geht es einzig und alleine um die Entwicklung des HomeAssistant Addonteils von RaspberryMatic. Und daher bitte einfach etwas mehr Zurückhaltung hier mit problemen melden wenn diese nichts mit dem inhalt dieses github tickets zu tun hat! Also bitte einfach in das Thema entsprechend selbst einlesen und anhand der hier beschriebenen Dinge vorgehen - aber eben nur wenn man dann eben feedback geben will und kann!

I installed the 6.0.dev20210415 build and added Raspberrymatic as described in the first post. HM-MOD-RPI-PCB integration is working fine and I was able to connect my existing devices.
The problem starts when trying to create a group.
What I did

Paired devices and confirmed all of them in the inbox
Inbox is empty
Tried to create a group

What happened

The modal saying that the group is being created is in an infinite loop
A XHR POST request to http://homeassistant.local:8123/pages/jpages/group/save?sid=@srqlB32Qsw@ is getting a 404 answer and therefore fails

What should happen

The group is created without an error

I did the configuration according to the first post. My guess is that the POST request should go to  http://homeassistant.local:8123/e4704d1b_raspberrymatic/pages/jpages/group/save?sid=@srqlB32Qsw@ which is part of the URL containing my installation's hostname. Any pointer on that?

HB-RF-USB-2 is detected under Hass-OS (Alpine) V6.  (device is /dev/raw-uart)
Thank you very much !
Identifying Homematic RF-Hardware: .....HmRF<EMAIL_ADDRESS>HmIP<EMAIL_ADDRESS>OK
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, OK

Thank you, it works with HA dev6.0. It was my mistake, it did not work because i forgot to turn off secure mode.
If you try to use it again with the release version of HA with Homematic or Raspberrymatic Addon you need to reflassh HM-MOD-UART firmware.

Thank you, it works with HA dev6.0. It was my mistake, it did not work because i forgot to turn off secure mode.

Yes, unfortunately turning off secure/protection mode is still required. However, I still have an open issue in the supervisor project (https://github.com/home-assistant/supervisor/issues/2690) and do hope that @pvizeli can add some modifications to the supervisor which could allow the addon to refrain from having to turn off protection mode altogether since IMHO it should not be required after sone minor tweaks to the supervisor.

All works fine here , but I can't get any communication with an DRAP. It seems something is blocked. Opened all Ports in the config. HP-RF-ETH works fine .
Some one who use an DRAP for HM IP wired successful ?

All works fine here , but I can't get any communication with an DRAP. It seems something is blocked. Opened all Ports in the config. HP-RF-ETH works fine .
Some one who use an DRAP for HM IP wired successful ?

Which HomeMatic RF module do you use on the HB-RF-ETH?

I use RPI-RF-MOD. At Rasberrymatic on PI4 all works with same configuration
Tried to learn it again but doesn't work.

When will version 6 be released? I'm considering whether to wait or go back to Raspberrymatic.
Has someone a tip for me ?

When will version 6 be released? I'm considering whether to wait or go back to Raspberrymatic.
Has someone a tip for me ?

This is a question you have to ask the Home Assistant OS developers and not here.

@jens-maus Do you know if it is now possible to find a way for the homematic addon to work with protection mode? If i understand the problem correctly it was not possible because of cgroup problems but i thought this pr would fix it: https://github.com/home-assistant/os-agent/pull/15
Or are there still other things which need to be changed in the supervisor?

@chrste90 Thus is something you would have to ask the HAdevs @agners and @pvizeli because my corresponding issue (https://github.com/home-assistant/supervisor/issues/2690) is still unresolved and AFAIK they are still working on a potential solution to provide add-ons the possibility to dynamically generate devices.

@jens-maus core-2021.5.2 / supervisor-2021.04.3
I had already correctly switched off the protection mode. Unfortunately, the error nevertheless occurs in my case.

@jens-maus I'm also running core-2021.5.2 / supervisor-2021.04.3 and have protection mode disabled.
A few weeks ago I've tested the RaspberryMatic addon on a virtual machine on my Synology NAS with HA OS 6 dev and got it running. If it helps, I can try that again later today with 6.0.RC1

@stefangries @noxhirsch That's strange. Yesterday evening I tried a complete fresh install on a intelNUC with 6.0rc1 and a HB-RF-USB and didn't face any issue with ERROR: not enough real-time shares (cpu.rt_runtime_us == 0) ? So did you both try a complete fresh install of 6.0rc1 or did you install it as an update/upgrade using raucb?

@jens-maus I did an update from the latest stable version (I think it was 5.13) via command line:
ha os update --version 6.0.rc1
I think this uses the raucb.

@jens-maus I installed it as an update with ha os update 6.0.rc1 in the terminal. I can try a fresh install today in the evening (if @stefangries doesn't have this error on a fresh system)

Ok, @stefangries was faster 😃 I'll reinstall my NUC later 👍

@jens-maus @noxhirsch I already did a fresh install and it does work correctly. Seems like only the update is not working correctly. Any ideas, why this happens?

@jens-maus @noxhirsch I already did a fresh install and it does work correctly. Seems like only the update is not working correctly. Any ideas, why this happens?

That's very interesting. Then probably that means that not all components of HAos are updated if performing an update using raucb (e.g. using 'haos update..' command). @agners Can you verify that?

It's because the supervisor missing an option that only gets set on the next container recreating.

It's because the supervisor missing an option that only gets set on the next container recreating.

Thanks for clearing that up! So what is then the suggested upgrade path for existing users coming with old HAos/HA installations and wanting to use HAos 6.0+ with the new supervisor CPU runtime options? Or is a complete fresh installation the only path (can't be?!?)?

Hm I see. Ideally we should force recreate the container on OS upgrade (or downgrade). Not sure if we know on OS level if its the first run after an upgrade. I'll have a look at that.

@noxhirsch As workaround: temporarily switch supervisor to dev channel via ssh and update. This triggers a recreation.

@stefangries Thanks for the tip! That worked wonderfully 👍

After experimenting a bit, I found a few bugs. As I use a restored config from my previous charly, it should be validated if those problems also exist on an fresh install. First bug is encoding errors with umlauts and degree values (red). Second bug is, that the Hinzufügen-button is not working (green). On the browser-console you can see an error for each click on the button. For me, it looks like the "api/hassio_ingress"-part of the request URL is missing.

After experimenting a bit, I found a few bugs. As I use a restored config from my previous charly, it should be validated if those problems also exist on an fresh install. First bug is encoding errors with umlauts and degree values (red). Second bug is, that the Hinzufügen-button is not working (green). On the browser-console you can see an error for each click on the button. For me, it looks like the "api/hassio_ingress"-part of the request URL is missing.

After experimenting a bit, I found a few bugs.

Then please open separate issues for these bugs and don't stuff this into the current issue. I am about to close this issue here as soon as HAos 6.0 is released!

Yesterday I noticed that when the RaspberryMatic addon is running HA can't access my Deconz stick over ZHA anymore. Today I reinstalled the NUC to rule out that it has something to do with the dev version of the supervisor, but the problem still remains (OS 6.0.RC1 / supervisor-2021.04.3 / core-2021.5.3).
Could this rather be a problem of this addon, the supervisor or the OS? (so where should I open the issue?)
Or is this a known limitation, that I somehow missed?

ZHA error in the log
2021-05-13 13:25:18 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 157, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.8/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/zigbee/application.py", line 66, in startup
    self.version = await self._api.version()
  File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 455, in version
    (self._proto_ver,) = await self[NetworkParameter.protocol_version]
  File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 420, in read_parameter
    r = await self._command(Command.read_parameter, 1 + len(data), param, data)
  File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 305, in _command
    return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

Yesterday I noticed that when the RaspberryMatic addon is running HA can't access my Deconz stick over ZHA anymore. Today I reinstalled the NUC to rule out that it has something to do with the dev version of the supervisor, but the problem still remains (OS 6.0.RC1 / supervisor-2021.04.3 / core-2021.5.3).
Could this rather be a problem of this addon, the supervisor or the OS? (so where should I open the issue?)

I'm running the Conbee II with deCONZ addon instead of ZHA without any problems next to the RaspberryMatic Addon (HassOS 6.0.RC1 / supervisor-2021.05.dev1204 / core-2021.5.3). Therefore I think it's not an OS issue.

@stefangries It only happens when RaspberryMatic is running.
I also tried removing and adding back the ZHA integration (while RaspberryMatic is running), but that also doesn't work. It shows the Deconz stick, but can't connect.

I would report it to the core team, as running addons should never impact core functionality.

I have updated HAOS 6.0.RC1 today and have also radpberrymatic Add on Running. I also use the Conbee II stick with ZHA Integration with no problem.
Check if you may have running cuxd on raspberrymatic  as well.  I would remove it to avoid any interference from there. There is anyway IMHO no benefit of running CUXD in raspberrymatic when using home assistant.

Check if you may have running cuxd on raspberrymatic as well. I would remove it to avoid any interference from there. There is anyway IMHO no benefit of running CUXD in raspberrymatic when using home assistant.

This is indeed a good hint. So please check if you guys have the CUxD CCU add-on installed within RaspberryMatic. However, there is no reason to completely uninstall it because you can add USB/tty device exceptions to the cuxd configuration so that it ignores devices which might be necessary for other purposes.

Check if you may have running cuxd on raspberrymatic as well. I would remove it to avoid any interference from there. There is anyway IMHO no benefit of running CUXD in raspberrymatic when using home assistant.

Thank you very much @hpsteff  - that is the solution to my problem 👍

Check if you may have running cuxd on raspberrymatic as well. I would remove it to avoid any interference from there. There is anyway IMHO no benefit of running CUXD in raspberrymatic when using home assistant.

Thank you very much @hpsteff - that is the solution to my problem 👍

As I figured out, CUxD is trying to connect to the conbee. Maybe there is a way to prevent this.

Check if you may have running cuxd on raspberrymatic as well. I would remove it to avoid any interference from there. There is anyway IMHO no benefit of running CUXD in raspberrymatic when using home assistant.

Thank you very much @hpsteff - that is the solution to my problem 👍

As I figured out, CUxD is trying to connect to the conbee. Maybe there is a way to prevent this.

@stefangries As I read, it switches from "device auto detection" to "whitelist ony" as soon as one device is configured. So I added a non existing device under setup:
TTYPARAM=ttyACM10
Maybe there's also an option to disable the auto detection completely, but I didn't find this option. My "hack" seems to work and I can't see any drawbacks so far.

@noxhirsch Laut CUxD Dokumentation sollte als Konfigurationsparameter TTYPARAM=NONE reichen um CUxD das grabben aller tty geräte abzugewöhnen.

I have some problems to discover my devices in HA directly. I followed all the steps including the configuration in ha (configuration.yml) and changed the hostname and password in the config snippet (and tried also the IP instead of the hostname).
My device is a rpi4 with a HM-MOD-RPI-PCB. I installed the HA 6 RC1 64Bit on my new memory-card.
The raspberrymatic on HA is fresh configured and I added two new devices to it. After this I changed the security settings to "widely open" for testing purposes (ports open, all accessible, IP range access for the hole priv-network and for docker aka "<IP_ADDRESS>/8"). My fresh installed Node Red system on this HA host can connect the raspberrymatic and control the two new devices.
But the new HA 6 RC1 64Bit itself cant find the devices and cant connect the raspberrymatic proxy.
In the HA logs i can see some warnings about that but I have no idea what I can do here..
ServerThread.jsonRpcLogin: Unable to open session.
18:15:03 – (WARNUNG) /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py
Error handling request
18:15:02 – (FEHLER) /usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py - Die Nachricht ist zum ersten Mal um 18:15:02 aufgetreten und erscheint 2 mal
Skipping init for homeassistant-raspberrymatic
18:15:00 – (WARNUNG) /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py
Failed to initialize proxy for homeassistant-rf
18:15:00 – (WARNUNG) /usr/local/lib/python3.8/site-packages/pyhomematic/_hm.py - Die Nachricht ist zum ersten Mal um 18:14:58 aufgetreten und erscheint 3 mal

2021-05-19 18:14:58 WARNING (SyncWorker_2) [pyhomematic._hm] Failed to initialize proxy for homeassistant-rf
2021-05-19 18:14:59 WARNING (SyncWorker_2) [pyhomematic._hm] Failed to initialize proxy for homeassistant-hmip
2021-05-19 18:15:00 WARNING (SyncWorker_2) [pyhomematic._hm] Failed to initialize proxy for homeassistant-groups
2021-05-19 18:15:00 WARNING (SyncWorker_2) [pyhomematic._hm] Skipping init for homeassistant-raspberrymatic
2021-05-19 18:15:02 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 314, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'"
2021-05-19 18:15:02 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 314, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'"
2021-05-19 18:15:03 WARNING (SyncWorker_0) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.

Any suggestions for that?

what is the log in the raspberrymatic add-on? if the add on starts and the logs are ok then also you need to make sure that HA connects to the add on. after a server reboot, the raspberrymatic add-on is not ready when the homematic integration tries to load. this has been mentioned earlier:
https://github.com/jens-maus/RaspberryMatic/issues/1087#issuecomment-776824281
when the log in the add-on itself is ok, additional configuration steps are required to ensure the proper connection to HA.
Maybe this is the issue.

what is the log in the raspberrymatic add-on? if the add on starts and the logs are ok then also you need to make sure that HA connects to the add on. after a server reboot, the raspberrymatic add-on is not ready when the homematic integration tries to load. this has been mentioned earlier:
#1087 (comment)
when the log in the add-on itself is ok, additional configuration steps are required to ensure the proper connection to HA.
Maybe this is the issue.

This sounds like a possible problem.
My raspberrymatic log looks good
Mounting /data as /usr/local (Home Assistant Add-On): OK
Starting watchdog...
Identifying onboard hardware: oci, OK
Initializing RTC Clock: no hardware found
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting irqbalance: OK
Starting network: eth0: link up, fixed, firewall, inet up, <IP_ADDRESS>, OK
Identifying Homematic RF-Hardware: ....HmRF: HM-MOD-RPI-PCB/GPIO, HmIP: HM-MOD-RPI-PCB/GPIO, OK
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting sshd: OK
Starting ha-proxy: OK
Starting NUT services: disabled
Initializing Third-Party Addons: OK
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: .OK
Starting rfd: .OK
Starting HMIPServer: .............OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting NeoServer: disabled
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK

Can be a race condition.
Could someone else get the ha recognition to work?

what is the log in the raspberrymatic add-on? if the add on starts and the logs are ok then also you need to make sure that HA connects to the add on. after a server reboot, the raspberrymatic add-on is not ready when the homematic integration tries to load. this has been mentioned earlier:
#1087 (comment)
when the log in the add-on itself is ok, additional configuration steps are required to ensure the proper connection to HA.
Maybe this is the issue.

Perfect.
I have implemented this: https://www.home-assistant.io/integrations/homematic/#detecting-lost-connections
Starting with "Create a string variable V_Last_Reboot on the CCU"
This realized the working ccu after it is fully started and then my HA setup detects all devices on it.
Thank you for the hint :)
PS: In step 3 you have to change the entity_id with yours (like homematic.raspberrymatic) two times ;)

@chillje As we lack some own detailed documentation on the homematic integration part here, would you please be so kind in addition the necessary documentation steps to https://github.com/jens-maus/RaspberryMatic/wiki/Installation-HomeAssistant#home-assistant-integration-setup so that users can follow your steps in getting the homematic integration going without having to wade through this issue ticket? thanks!

Now that <IP_ADDRESS>10525 has been released and seems to run significantly stable enough with recent HAos 6.0rc versions I am going to close this issue and would like to ask anyone to open up new dedicated issues in case problems / enhancement ideas might arise for the ha-addon platform.
And of course thanks to anyone having contributed to the overall success of the ha-addon integration of RaspberryMatic. Special thanks have to go to @angelnu for the initial work on converting RaspberryMatic into a docker container which paved the way to get the ha-addon story going. But of course also thanks to all testers in here! Hope you all have a great HomeAssistant experience with RaspberryMatic as an add-on!


feat(player): add default css skin

Description
Resolves #165 by offering a default CSS theme for the player interface. This default theme includes the video player as well as the audio player bar.
The folder architecture and file naming of the CSS files strictly respect those provided by video.js.
Finally, all CSS rules are encapsulated in the theme class named pillarbox-js.
Changes made

customization of visual components
definition of different breakpoint sizes

Looks good to me! Could you please add an example in the README to showcase how to integrate theme? This would be really helpful for integrators that want to use the default theme.


Unusable example

The minMaxDate demo is set with a maxDate of "2016-12-20" and a minDate of today. So essentially all you can do is go back a month before you you are unable to do anything else - you can't even change the year.
If you want the demo to still use a string, then maybe build a date string and update the demo with today's date plus 30 days, or something.

https://github.com/chmln/flatpickr/pull/496

Should be fixed in about a minute
build https://github.com/chmln/flatpickr/commit/ce4fc2c0e4041091d2300381ef7c9509756dbd29


Refactor to opentelemetry-azure-monitor-python

List of changes:

Move auto_collection under sdk folder. This is reflected in code, README, examples and docs
Change github repo name (already done) -> user's might need to update their remote repo urls, TravisCI points to new repo name
Changed Github team new for maintainers (already done)
Add test for supress_instrumentation

TODO:
Upload new package to PyPi
Deprecate old package by pointing to new package
Update versions and CHANGELOGs on release to beta
Update ALL READMEs to reflect new package + badges

https://travis-ci.org/github/lzchen/opentelemetry-exporters-python?utm_medium=notification&utm_source=github_status

Codecov Report

Merging #64 into master will increase coverage by 0.39%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   98.27%   98.67%   +0.39%
==========================================
  Files          13       14       +1
  Lines         753      753
  Branches       97       97
==========================================
+ Hits          740      743       +3
+ Misses          9        8       -1
+ Partials        4        2       -2

Impacted Files
Coverage Δ

..._monitor/sdk/auto_collection/dependency_metrics.py
100.00% <ø> (ø)

...monitor/sdk/auto_collection/performance_metrics.py
100.00% <ø> (ø)

...ure_monitor/sdk/auto_collection/request_metrics.py
100.00% <ø> (ø)

azure_monitor/src/azure_monitor/__init__.py
100.00% <100.00%> (ø)

azure_monitor/src/azure_monitor/sdk/__init__.py
100.00% <100.00%> (ø)

.../src/azure_monitor/sdk/auto_collection/__init__.py
100.00% <100.00%> (ø)

...nitor/src/azure_monitor/export/metrics/__init__.py
100.00% <0.00%> (+4.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Removed internalization of one-time-use pkgs

Closes #19 .
ThisPR removes code that internalizes one-time-use packages, as they won't be used again and slow down initial setup. This will greatly improve speed of total setup.

I'm gonna request we pull this back out. Sure it speeds up initial setup, but what happens if they need to reinstall something? Gonna need those dependencies in the repo.

Upon further review and reconsideration. I'm with Stephen that we internalize the CCM packages. We often recommend internalizing the packages from the licensed feed on support calls. It's only right we set good first practice by internalizing these packages and implementing what we preach.
As a side note to this i'd like to play around with creating a Jenkins job that we ship with this, and possibly any future QDE releases we do, that would internalize the packages from the chocolatey.licensed source, push them to the test repo. And have the job trigger the already existing Update Production Repository Job.

So I've just gone over this with @steviecoaster.
I've tested this on Windows Server 2016, 2019, and 2022 multiple times. Leaving the internalization and push to Nexus in the setup adds at least 20 minutes to the install time. If their box is any slower or their  WAN connection slow in any way, this could increase the time by 30 minutes to an hour.
Let's break down what is actually changing. We are leaving out the following packages:

sql-server-express
sql-server-management-studio
dotnet4.6.1

These have dependency on large KB packages, one of which is 2.7GB. These KB's also no-op anyway, since they're only relevant to 2012 R2. I see the above as one-time-use only packages, and the benefit of internalizing them only to push them into a repo and then use them immediately after is of very limited utility. If they're somehow unavailable at install, then it's just as likely they won't be available at internalize.
The other packages we're leaving out are Chocolatey's own packages from the licensed feed. These aren't that large, and I'm not opposed to putting them back in based on @ryanrichter94's rationale above. I'll create a separate issue for this, and submit a separate PR.
@steviecoaster & @ryanrichter94 , I've discussed it with you both individually, and we've agreed to leave this PR merged for the time being. We can always revisit later.
Hope that makes sense.


Add fingerprints for Italy, Cyprus, Denmark, Portugal, Norway and UK

This should be merged when the pipeline can afford it.

@hellais can we now merge this PR?


Please add output of element name when there is an error

When getting an error like this:
panic: reflect: call of reflect.Value.SetFloat on int32 Value [recovered]
	panic: reflect: call of reflect.Value.SetFloat on int32 Value

When calling vf.FromValue(v, target) it is time consuming to figure out where the problem is when there are multiple int32 values in the target structure.
Suggest adding the name of the type/member that it is failing on in the error message. There should probably be a general catch that amends all error messages.

There is a similar problem when the yaml file does not parse ok.


consider changing the rules of style_checks?

Under this configuration, many rules are anti habit, for example:

The field ''{0}'' must be declared final.

When we see the source code in spring or Java, we rarely see it in this way,
and it is not used in normal development.
It is a good thing to have specifications,
but perhaps too anti customary rules will not be conducive to the participation of developers.

First sentence should end with a period.

This rule only accepts ., with out 。 and newline

...

Google style is the most widely used code style, but Chinese code style maybe a little different from it, such as indentation, which can be adjusted according to the common habits.

I have added the google code style configure xml in pr https://github.com/nebula-contrib/ngbatis/pull/23, (have changed the tab size to 4 from 2) .  please force merge and change it in another pr.

We could gradually Add English Javadoc in front of the Chinese ones(or replace them?)

We could gradually Add English Javadoc in front of the Chinese ones(or replace them?)

I think the domestic market should be easier to promote than the international market. It is necessary to keep the Chinese documents on the basis of adding i18n.
After all, there are still some programmers who are hard to accept English docs.(Take me for example.)

We could gradually Add English Javadoc in front of the Chinese ones(or replace them?)

I think the domestic market should be easier to promote than the international market. It is necessary to keep the Chinese documents on the basis of adding i18n. After all, there are still some programmers who are hard to accept English docs.(Take me for example.)

Yes, agreed, we should maintain both lang :)


License?

What's comet's license?

Whoops, it's licensed under MIT, I've added the license now, thanks.

Thanks


Table not displaying cells with a value of 0

Steps to reproduce:

pass data with values of 0 to table.addBody()

table.addBody([
            {description: 'Product 1', quantity: 0, price: 20.10, total: 20.10},
            {description: 'Product 2', quantity: 0, price: 4.00, total: 16.00},
            {description: 'Product 3', quantity: 0, price: 17.85, total: 35.70}
        ]);

The cells for quantity are empty

with quantity set to 10, 20, 30, here's the PDF:

Is this a bug? Does it have a work-around?

I think the problem is in this line of code
https://github.com/voilab/voilab-pdf-table/blob/fa1f0f30031efa72c534b88a58dd36f14f114945/voilab-table.js#L91
While it is not fixed! You might try to pass values as strings, or provide a renderer to handle this case.

Please try with new version 0.5.0


created singleton design pattern

created java singleton design pattern
Replace this sentence with a brief description of the awesome changes your PR has. 😊

✅ By submitting this PR, I have verified the following:

[x] Added descriptive name to PR

Your PR should NOT be called Update index.md, since it does not help the maintainer understand what has been changed.
For example, if you create a Variables article inside the Python directory, the pull request title should be Python: add Variables article.
Additional PR title examples:

Git: edit Git Commit article
PHP: create PHP section and add Data Structures article

[x] Reviewed necessary formatting guidelines in CONTRIBUTING.md.
[x] No plagiarized, duplicate, or repetitive content that has been directly copied from another source.

excited  to work on this repo..


freshness prep for retire

@Rick-Anderson - This pull request will fail validation because the author value is required. I'm closing it. If the freshness date needs to be updated, pls make that change in the private repo so your changes go through validation. Thx.


#161527250 refactor code

Pull Request Test Coverage Report for Build 21

29 of 29 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 96.396%

Totals

Change from base Build 19:
0.5%

Covered Lines:
214

Relevant Lines:
222

💛  - Coveralls