[bug] protobuf needs downgrade?

Describe the bug
getting an error when i run comfyui - tried doing the reqs_windows.txt from comfy_mtb folder... no luck.
C:\AI\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py --listen --windows-standalone-build
** ComfyUI start up time: 2023-09-25 03:02:08.299117
Total VRAM 24576 MB, total RAM 32704 MB
xformers version: 0.0.21
Traceback (most recent call last):
  File "C:\AI\ComfyUI\ComfyUI\comfy\model_management.py", line 211, in <module>
    import accelerate
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\__init__.py", line 3, in <module>
    from .accelerator import Accelerator
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\accelerator.py", line 35, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\checkpointing.py", line 24, in <module>
    from .utils import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\utils\__init__.py", line 142, in <module>
    from .megatron_lm import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\utils\megatron_lm.py", line 32, in <module>
    from transformers.modeling_outputs import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\__init__.py", line 30, in <module>
    from . import dependency_versions_check
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\dependency_versions_check.py", line 17, in <module>
    from .utils.versions import require_version, require_version_core
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\__init__.py", line 34, in <module>
    from .generic import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\generic.py", line 33, in <module>
    import tensorflow as tf
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\eager\context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\google\protobuf\descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

ERROR: LOW VRAM MODE NEEDS accelerate.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : native
VAE dtype: torch.bfloat16
Using xformers cross attention
Failed to execute startup-script: C:\AI\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy\prestartup_script.py / Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Prestartup times for custom nodes:
   0.0 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
   2.2 seconds (PRESTARTUP FAILED): C:\AI\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy

Traceback (most recent call last):
  File "C:\AI\ComfyUI\ComfyUI\main.py", line 72, in <module>
    import execution
  File "C:\AI\ComfyUI\ComfyUI\execution.py", line 11, in <module>
    import nodes
  File "C:\AI\ComfyUI\ComfyUI\nodes.py", line 20, in <module>
    import comfy.diffusers_load
  File "C:\AI\ComfyUI\ComfyUI\comfy\diffusers_load.py", line 4, in <module>
    import comfy.sd
  File "C:\AI\ComfyUI\ComfyUI\comfy\sd.py", line 12, in <module>
    from . import clip_vision
  File "C:\AI\ComfyUI\ComfyUI\comfy\clip_vision.py", line 1, in <module>
    from transformers import CLIPVisionModelWithProjection, CLIPVisionConfig, CLIPImageProcessor, modeling_utils
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\__init__.py", line 30, in <module>
    from . import dependency_versions_check
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\dependency_versions_check.py", line 36, in <module>
    from .utils import is_tokenizers_available
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\__init__.py", line 34, in <module>
    from .generic import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\generic.py", line 33, in <module>
    import tensorflow as tf
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\eager\context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\google\protobuf\descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

C:\AI\ComfyUI>pause
Press any key to continue . . .

Reproduction

run comfyui statup....
error occurs right away.
can't load comfy

Expected behavior
expected to see comfyui... but it's unable to load
Operating System
Windows (Default)
Comfy Mode
Comfy Portable (embed) (Default)
Console output
C:\AI\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py --listen --windows-standalone-build
** ComfyUI start up time: 2023-09-25 03:02:08.299117
Total VRAM 24576 MB, total RAM 32704 MB
xformers version: 0.0.21
Traceback (most recent call last):
  File "C:\AI\ComfyUI\ComfyUI\comfy\model_management.py", line 211, in <module>
    import accelerate
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\__init__.py", line 3, in <module>
    from .accelerator import Accelerator
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\accelerator.py", line 35, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\checkpointing.py", line 24, in <module>
    from .utils import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\utils\__init__.py", line 142, in <module>
    from .megatron_lm import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\accelerate\utils\megatron_lm.py", line 32, in <module>
    from transformers.modeling_outputs import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\__init__.py", line 30, in <module>
    from . import dependency_versions_check
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\dependency_versions_check.py", line 17, in <module>
    from .utils.versions import require_version, require_version_core
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\__init__.py", line 34, in <module>
    from .generic import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\generic.py", line 33, in <module>
    import tensorflow as tf
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\eager\context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\google\protobuf\descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

ERROR: LOW VRAM MODE NEEDS accelerate.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : native
VAE dtype: torch.bfloat16
Using xformers cross attention
Failed to execute startup-script: C:\AI\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy\prestartup_script.py / Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Prestartup times for custom nodes:
   0.0 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
   2.2 seconds (PRESTARTUP FAILED): C:\AI\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy

Traceback (most recent call last):
  File "C:\AI\ComfyUI\ComfyUI\main.py", line 72, in <module>
    import execution
  File "C:\AI\ComfyUI\ComfyUI\execution.py", line 11, in <module>
    import nodes
  File "C:\AI\ComfyUI\ComfyUI\nodes.py", line 20, in <module>
    import comfy.diffusers_load
  File "C:\AI\ComfyUI\ComfyUI\comfy\diffusers_load.py", line 4, in <module>
    import comfy.sd
  File "C:\AI\ComfyUI\ComfyUI\comfy\sd.py", line 12, in <module>
    from . import clip_vision
  File "C:\AI\ComfyUI\ComfyUI\comfy\clip_vision.py", line 1, in <module>
    from transformers import CLIPVisionModelWithProjection, CLIPVisionConfig, CLIPImageProcessor, modeling_utils
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\__init__.py", line 30, in <module>
    from . import dependency_versions_check
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\dependency_versions_check.py", line 36, in <module>
    from .utils import is_tokenizers_available
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\__init__.py", line 34, in <module>
    from .generic import (
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\transformers\utils\generic.py", line 33, in <module>
    import tensorflow as tf
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\__init__.py", line 37, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module>
    from tensorflow.python.eager import context
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\python\eager\context.py", line 29, in <module>
    from tensorflow.core.framework import function_pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\tensorflow\core\framework\tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "C:\AI\ComfyUI\python_embeded\lib\site-packages\google\protobuf\descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

C:\AI\ComfyUI>pause
Press any key to continue . . .

Additional context
No response

closed by: https://github.com/melMass/comfy_mtb/commit/5dfea51dd8db2a4829e559eadeda22374b51c8a4


code refactor for cors implementation fixes #103

Fixes #103

Also, please link to the ticket in the description of your PR

So you mean your own repo ijemmao/igbo-api ??

So you mean your own repo ijemmao/igbo-api ??

Yeah, from my understanding your fork comes this repo so it should be in sync as much as possible with this repo. Do you see the updated files if you run git pull origin master?

My origin remote branch is pointing to my fork

Maybe I should add your repo to my remote branch or do I rename my origin branch to your repo?

This guide should be helpful - https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/syncing-a-fork

Recap of all I need to do now pls

@pappyJ What's the status with this PR? Would you like some help with this?

Not really ma .. Av been busy ... I plan to wrap it up today ma.. Sorry for the delay

What should I change ma'am?

Ma do you have any solution for d duplicates??
That's pretty as my experience level can come up with for now
On cors instance  for enabling it in all requests .. The other for special http methods and modified headers


feat port:  Algebra.FreeModule.Determinant

I think no need to use the label eta-experiment anymore...

bors merge


Fix check for freed object during cast

Fixup to #51094. Fixes #53126,
UPDATE: Version for 3.x submitted as #53142.

Thanks!


Smart AC goes offline because of falice checksum check when checking Capabilities

Hello,
first of all, thanks for your great work.
I've two Midea AC, one of them works correctly, and for the other it works for "seconds" before it goes unavailable, I tried all the suggestions about adjusting the connection time, without any luck.
So, when doing some in deep check in log files I found this:
2024-11-12 19:33:43.089 INFO (MainThread) [custom_components.midea_ac] Starting midea-ac-py for device ID<PHONE_NUMBER>4782 (<IP_ADDRESS>:6444). Using msmart-ng version 2024.9.0.
2024-11-12 19:33:43.089 INFO (MainThread) [msmart.lan] Creating new connection to <IP_ADDRESS>:6444.
2024-11-12 19:33:43.091 INFO (MainThread) [msmart.lan] Authenticating with <IP_ADDRESS>:6444.
2024-11-12 19:33:43.526 INFO (MainThread) [msmart.lan] Authentication with <IP_ADDRESS>:6444 successful. Expiration: 2024-11-13T10:33:43+00:00, Local key: 73e6ddea5fac44102a7ef678acd679e8baf71cba60f3c18b3c49e82ecf589c8a
2024-11-12 19:33:44.528 INFO (MainThread) [custom_components.midea_ac] Querying capabilities for device ID<PHONE_NUMBER>4782.
2024-11-12 19:33:46.648 ERROR (MainThread) [msmart.device.AC.device] Payload '1eacb200000000000d010103dec8640aff000001' failed CRC and checksum. Received: 0x1, Expected: 0x13 or 0x5F.
2024-11-12 19:33:46.649 ERROR (MainThread) [msmart.device.AC.device] Failed to query capabilities from <IP_ADDRESS>:6444.

As soon as the Checksum error comes for the Capabilities Query, the device goes unavailable. A simple "integration reload" triggers it back to normal for a few seconds again... and so far, so on.
Checking more in deep in HA logs I also figured that right after this checksum error, a connection error to the device is shown:
Network timeout <IP_ADDRESS>:6444: No response from host.
No response from <IP_ADDRESS>:6444 in 6.010000 seconds.
No response from <IP_ADDRESS>:6444 in 6.000000 seconds.
Network timeout <IP_ADDRESS>:6444: Read cancelled.
No response from <IP_ADDRESS>:6444 in 2.450000 seconds.
Just to be clear, there is no network issue to that IP address, and indeed other integrations do work with it.

I'm running the latest version of the pulgin 2024.10.4

Do you have any idea about how to fix this? let me know if you need any extra information from my side.
Thanks

Hi, could you provide full debug logs for a timespan of about 5 minutes? The capability request failing shouldn't be a fatal event so something else must be wrong.

msmart_logs.zip
Sure, here you have a log of about 10 minutes... the device with issues is the one with IP address <IP_ADDRESS>, as you might see, during the debug creating time the integration was alternating between "working" and "unavailable".
Let me know if I can help in anything else.

It appears the device in question (<IP_ADDRESS>) doesn't support the energy usage request and is ignoring it which causes the device to timeout.
Try disabling the power and energy sensors on the device.
Something similar happened in #188 with respect to humidity and here as well: https://github.com/mill1000/midea-ac-py/issues/198

Hi Mill. You're totally right. Disabling the power sensor fixed the constant disconnection... However, testing over the time I still see some random disconnection of both devices (as the classical report you already now, where there is a temp disconnection every 3-4 hours). I tried several different connection time outs like 45, 60, 90, 120 and the issue is still there.
If I start a debug collecting for a few hours until I catch one of those issues, are you willing to check it ?

Absolutely, I'd be glad to take a look

Hey @mill1000 sorry for the late, it's being a though week over here.
So, I was finally able to catch one of those disconnection events and contrast them with debug information.
I'm attaching here the screenshot where we see the device going unavailable at 00:17:50, and the debug information for exactly that time frame.
debug-info-mideaAC_LAN.txt

Could you provide the full debug log and not the trimmed version?

Sure, here is the complete file
home-assistant_midea_ac_2024-11-30T13-31-01.958Z.zip

I noticed you are also using the midea_ac_lan integration. Do you have the device setup with both integrations? Some devices can be finicky about how many connections are being made simultaneously.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4049

Questions ?
Please refer to the Backport tool documentation


Upgrade to node16 and fastly-js 4.1.1

I was getting these warnings:
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: yukukotani/fastly-purge-action@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

And the old fastly-js version was causing npm to complain with:
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.

This PR fixes both.

Not sure why the whitespace in package-lock changed, but if you turn off whitespace in the diff, you can see the changes are minimal.

@docwilco Sorry for the late review, thanks!


Enable the ESLint object-shorthand rule in the extensions/chromium/-folder

Based on the following compatibility information, there can't be any compelling reason to not enable this ESLint rule now: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#browser_compatibility
See also https://eslint.org/docs/rules/object-shorthand

gulp lint

/botio lint

More standardization, nice!

More standardization, nice!

Thank you!
I'm guessing that we could probably enable no-var as well, but that would likely require a bunch of manual changes as well (hence not something that I'll prioritize working on myself):

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#browser_compatibility


(PDB-4504) Use batched inserts for add-resource-events-pk

This commit updates the add-resource-events-pk migration to perform
insertions in batches of 1000 when re-writing the resource_events
to add a primary key. The reWriteBatchedInserts option must be set
to true in the JDBC connection string in order for batching to
occur.
This commit also parallelizes the computation of resource event
hashes within each batch.

One outstanding question is why PG-JDBC requires reWriteBatchedInserts to be enabled in order to get a batched insert. We may want to enable this by default, but only for the PDBMigrationsPool.

CLA signed by all contributors.

Updated to:

De-duplicate within batches using group-by before removing duplicates seen in prior batches via filter.
Guard insert-multi! against empty batches that occur when all rows in the iteration end up filtered as duplicates.
Made the batch size a parameter of the migration with a default value of 1000. The test is updated to run with a batch size of 2 to ensure two iterations occur.

Patch updated to drop the use of pmap. Further benchmarking showed the change produces nearly a 3x speedup for the 5.7 million event test dataset even without reWriteBatchedInserts.
Using pmap to parallelize the hash computation and adding reWriteBatchedInserts to the connection options each add about a 10% speedup relative to the original migration.


Removed colon from weapon_category:

+Unneeded colon on  the weapon_category: on 5e-SRD-Equipment.json

yeah I did the same thing and was about to pr this


[type: refactor] Modify register metadata and uri order

// Describe your PR here; eg. Fixes #issueNo
[type: refactor] Modify register metadata and uri order

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2635 (b9d990b) into master (11c74ef) will decrease coverage by 0.31%.
The diff coverage is 5.08%.

@@             Coverage Diff              @@
##             master    #2635      +/-   ##
============================================
- Coverage     61.28%   60.96%   -0.32%
+ Complexity     4305     4283      -22
============================================
  Files           657      658       +1
  Lines         18860    18926      +66
  Branches       1671     1674       +3
============================================
- Hits          11558    11539      -19
- Misses         6364     6447      +83
- Partials        938      940       +2

Impacted Files
Coverage Δ

...in/disruptor/RegisterServerDisruptorPublisher.java
64.28% <0.00%> (ø)

.../register/FallbackShenyuClientRegisterService.java
3.57% <3.57%> (ø)

...ister/AbstractShenyuClientRegisterServiceImpl.java
3.84% <50.00%> (-0.08%)
:arrow_down:

...he/shenyu/admin/config/ZookeeperConfiguration.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...he/shenyu/admin/controller/PlatformController.java
83.33% <0.00%> (-16.67%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
62.50% <0.00%> (-4.17%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

... and 21 more

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 11c74ef...b9d990b. Read the comment docs.


details about the SQA3D Localization task

thank you for your such novel work,
could i ask more details about the  results on PwD. Namely,  what does the "random" mean ?   or how to generate the such localization result ?
again, apperciate.

Thanks for your interest in our dataset.
Below is how we produce the "random" result. Basically, we randomly generate a 2D location and a rotation between -pi~pi.
Let me know if you have further questions.
https://github.com/SilongYong/SQA3D/blob/3abb2c5f879de3273588b8ee4227283b0c60e350/utils/localization_metric.py#L65-L76


Handle null values returned from GraphQL API

The NewRelic API is returning several null values for account. This causes errors in our build due to a type error at https://github.com/newrelic/serverless-newrelic-lambda-layers/blob/master/src/integration.ts#L57. Would it be possible to filter the response so this type error can be avoided?
Not sure why these null values are showing up in the API.
[
{
  "authLabel":"*******",
  "createdAt":000000000,
   "externalId":"***********",
   "id":00000000,
  "name":"****-name",
  "nrAccountId":000000000,
  "updatedAt":00000000000
},
null,
null
]

https://github.com/newrelic/serverless-newrelic-lambda-layers/pull/379


Unable to use gradle wrapper

Hello, I am not able to run any of the workflow examples using ./gradlew.
It seems that the wrapper script is not created anywhere on the runner. Any idea what might be causing this?
Example workflow:
name: Print gradle version
on: workflow_dispatch
jobs:
  gradle:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-java@v4
      with:
        distribution: temurin
        java-version: 11

    - name: Setup Gradle
      uses: gradle/gradle-build-action@v2

    - name: Check gradle version
      run: ./gradlew --version

The last step simply fails with the following:
Run ./gradlew --version
  ./gradlew --version
  shell: /usr/bin/bash -e {0}
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.21-9/x64
    JAVA_HOME_11_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.21-9/x64
    GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
    GRADLE_BUILD_ACTION_CACHE_RESTORED: true
/home/runner/work/_temp/4819faeb-ded6-4dde-b4c0-b2da96366740.sh: line 1: ./gradlew: No such file or directory
Error: Process completed with exit code 127.

Any help is appreciated!

The Gradle Wrapper works by having a gradlew file committed to your repository. It won't be created by the gradle-build-action and doesn't exist on the runner.
Your options are:

Add the Gradle Wrapper and commit the files to your project as described here.
Don't use the Gradle Wrapper, and ask the gradle-build-action to install the required version.

For the latter, your workflow will look something like this:
    - name: Setup Gradle
      uses: gradle/gradle-build-action@v2
      with:
        gradle-version: 8.5

    - name: Check gradle version
      run: gradle --version


Package unworking

Hi, I'm trying to install you package.
I'm usually use conda for create new envs, so I did it.
conda create -n myenv
conda activate myenv

Then
conda install -c conda-forge spectrumdevice -y
That does not return me any kind of error.
Then i follow your README with this 2 lines :
from spectrumdevice import SpectrumDigitiserCard
card_0 = SpectrumDigitiserCard(device_number=0)

Here i got an error :
ImportError: cannot import name 'SpectrumDigitiserCardconda' from 'spectrumdevice' (/miniconda/base/envs/envspectrum/lib/python3.11/site-packages/spectrumdevice/__init__.py)
Do i missed something ?

I solve this issue by calling
from spectrumdevice import SpectrumCard instead of from spectrumdevice import SpectrumDigitiserCard

Thanks, I'll fix the README


Concrete5 Framework Breaking Changes Notifications

I wasn't really sure to put this, here probably makes as much sense as anywhere since it's where many developers participate in discussions.
I think at this point it's been made pretty clear by the developer community that they/we felt kind of ambushed with the 7.4 updates which left a few packages unusable until patched with short notice. I think that as a community we can really do better in that regard and we should.
It's naive to think that as concrete5 matures there won't be any breaking changes. Additionally, the PHP programming languages itself is constantly in flux so to think that breaking changes wont' ever happen is also just wishful thinking. So lets be a bit proactive about this and implement some sort of process for dealing with it that lets developers stay on top of things and lets the core progress.
I think at a minimum the release notes should have something in them. I also think that having having an RSS feed or mailing list available for developers to sign up for to receive notifications of these changes as they're made in the development branch would be great. Expecting someone to visit the forums and find something related to an error they're getting a week after upgrading their site isn't helping anyone. Keeping in mind that concrete5 is used outside of the realm of the concrete5 marketplace, there are plenty of people who want to know when their custom stuff is going to break that might not otherwise be notified by a linter or other fancy stuff that the marketplace utilizes.
The final thing I think should be considered is a minimum Release Candidate time on any release which contains a breaking change. Personally I think a 2 week minimum on something like this should be standard (that being at least 2 weeks after any breaking change has been made publicly known). This seems like a reasonable amount of time to allow package developers to get their packages up to date on any potentially breaking changes, without holding up all the people who are waiting on the latest round of bug fixes to come out so they can use this that or the other feature they've been hung up on.

I agree that we'll always have breaking changes, but the two test packages I wrote for 5.7 are already broken with the github version, with 5.6 this never happened. I think it's especially frustrating as 5.7 already had enough bugs when I was working on those two packages, adding that many breaking changes isn't going to make things better.
I think I saw a discussion about adding a note about breaking changes in the github source root. Personally, I'd support that very much as it would be a single point I'd have to monitor. And please make sure I don't have to read every single line in the changelog, please make a big and shiny section called "BREAKING CHANGES" so that everyone can see it.
A mailing list would be helpful too, but a single place to monitor them would be a good start for now! I agree about the time too, whenever there's a breaking change release an RC, wait for two weeks and then release it.

+1 for this!
Mailing list would be greatly appreciated mostly to ping the marketplace developers whether there have been breaking changes. This should be clearly mentioned in the mail that "Breaking changes! Please verify that your marketplace packages work with the latest RC."


Adding build status badges to the README.md

This also removes the .travis.yml file as it should no longer be needed.

Does anything else need to be done to unhook travis?

Nopes, I'll let the person know who had the Travis CI that we no longer need it.


new content fetch

Hi Taolanoz/MMM-RSS-FEED,
very good module works great how can i make it so it fetch new content every hour i am using it to display quotes  from https://www.quotesdaddy.com/feed'
{
module: 'MMM-RSS-FEED',
position: 'bottom_bar',
config: {
url: 'https://www.quotesdaddy.com/feed'
}
},

Hello, i've not implemented this option, but i think that you can just disable this module and enable it again every hours.

thanks that is helpfull, only if i know how to do it, not very good with linux

Replace the code from MMM-RSS-FEED.js to this, ans it should work:
Module.register("MMM-RSS-FEED",{
defaults: {
	url: ""
},
getScripts: function() {
	return ["modules/MMM-RSS-FEED/js/jquery-3.1.1.min.js","modules/MMM-RSS-FEED/js/feednami.js"];
},
	getStyles: function() {
	return ["modules/MMM-RSS-FEED/css/style.css"];
},
start: function() {
	Log.info("Starting module: " + this.name);
},

getDom: function () {
	var wrapper = document.createElement("div");
		var url = this.config.url;
            function Request () {
	      feednami.load(url,function(result){
		    if(result.error) {
			    console.log(result.error);
		    } else {
			    var entries = result.feed.entries;
			    for(var i = 0; i < entries.length; i++){
			    var entry = entries[i];
			    wrapper.innerHTML = entry.title;
			    }
		    }
	    });
	    return wrapper;
    }
        setInterval(Request, 1000 * 60 * 60);
  }

});

Hi Taolanoz,
Thanks for the js. code the module is loading but not showing anything on screen,
i changed the time internal to  setInterval(Request, 1000 * 1 * 1); but not luck is it working for you
and thanks once again in advance

Can you tell me if there's anything un the console ? Thanks you

No nothing is showing on the console I even enabled header but nothing is
showing up
On Jan 15, 2017 1:27 PM, "Taolanoz"<EMAIL_ADDRESS>wrote:

Can you tell me if there's anything un the console ? Thanks you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Taolanoz/MMM-RSS-FEED/issues/2#issuecomment-272713532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMgV4dwqIHnIcghCjovJsNah1V_3uGxcks5rSmUlgaJpZM4Lj-WG
.

Sorry but i can't help you now, i'll send you a working code tommorow, if i forgot, just repost a message on this issue

alright thanks not a problem

@Taolanoz  any luck with the code 👍

I'm sorry but MagicMirror doesn't seem to accept the setTimeout function, i don't know why, it's weird i tried another code and nothing work `Module.register("MMM-RSS-FEED",{
defaults: {
	url: ""
},
getScripts: function() {
	return ["modules/MMM-RSS-FEED/js/jquery-3.1.1.min.js","modules/MMM-RSS-FEED/js/feednami.js"];
},
	getStyles: function() {
	return ["modules/MMM-RSS-FEED/css/style.css"];
},
start: function() {
	Log.info("Starting module: " + this.name);
},

getDom: function () {
	var now = new Date();
	var delay = 60 * 60 * 1000; // 1 hour in msec
	var start = delay - (now.getMinutes() * 60 + now.getSeconds()) * 1000 + now.getMilliseconds();

	setTimeout(function doSomething() {
		var wrapper = document.createElement("div");
		var url = this.config.url;
		feednami.load(url,function(result){
			if(result.error) {
				console.log(result.error);
			} else {
				var entries = result.feed.entries;
				for(var i = 0; i < entries.length; i++){
					var entry = entries[i];
					wrapper.innerHTML = entry.title;
				}
			}
		});
	setTimeout(doSomething, delay);
	}, start);
	return wrapper;
}

});
`
this is not working too, sorry

This is because the DOM isn't updated in your code. I don't know if this is still an issue, but I would suggest to set an interval in start() like
start: function() {
   var self = this;
   setInterval(function() {
      self.updateDom(); //this is a module method to trigger a DOM update
   }, (60 * 60 * 1000))
}

and then in getDom() you only fetch the new random quote and display it. This way the DOM will be updated and everything should be displayed - please note: I only copied the feednami-code from above and pasted it in the getDom function, I don't know whether the code actually works. This is just how you need to structure the code. Hope this helps:
getDom: function() {
   var wrapper = document.createElement("div");
   var url = this.config.url;
   feednami.load(url,function(result){
      if(result.error) {
         console.log(result.error);
      } else {
         var entries = result.feed.entries;
	 for(var i = 0; i < entries.length; i++){
            var entry = entries[i];
            wrapper.innerHTML = entry.title;
         }
      }
   }
   return wrapper;
}


RBAC

Users management and restriction per tenant

Hi @matthieu-robin could you please describe which exactly permissions you want to manage using RBAC model?
It would be nice if you can provide user-story: "As Cozystack administrator I want to ..."
Initial design presumed that OIDC users and groups could be assigned per-tenant.
And in tenant-configuration you can define which applications with specific values could be deployed.
Would it be enough from your point of view?

As Cozystack administrator I want to ...

Grant access to a final user only to his own tenant
Create some roles ( read only, deploy, modify deployed app/service,...)
Create users per tenant

Let me know if I'm not clear enough

Very clear, thank you!


Failed to load note ... unknown color 0xef

Hello, firstly nice work with this plugin :) Just starting using it lately.
When i try to open a supernote note with obsidian, there is the error "Failed to load note [...] unknown color 0xef"
Maybe because the note is containing some pages with the template "weekly calendar" ?

Can you attach a note with the issue?
It is almost certainly a template issue. I have very few tests on custom templates.

Hi, Great Work Indeed.
Unfortunately, i have to join the Discussion because of the same Problem.
The Note Itself just fails to Load.
The Error can only be seen on the Console, therefore it will only be Visible to an advanced user and be an annoyance too others.
This Plugin definitely doesn't deserve this.
My Error:
Error: unknown color 0x7f
    at RattaRLEDecoder.addColorBuffer (plugin:supernote:35452:17)
    at RattaRLEDecoder.decode (plugin:supernote:35432:18)
    at eval (plugin:supernote:35328:28)
    at Generator.next (<anonymous>)
    at eval (plugin:supernote:35272:71)
    at new Promise (<anonymous>)
    at __awaiter (plugin:supernote:35254:14)
    at eval (plugin:supernote:35323:50)
    at Array.map (<anonymous>)
    at eval (plugin:supernote:35323:35)
    at Generator.next (<anonymous>)
    at eval (plugin:supernote:35272:71)
    at new Promise (<anonymous>)
    at __awaiter (plugin:supernote:35254:14)
    at eval (plugin:supernote:35321:57)
    at Array.map (<anonymous>)
    at toImage2 (plugin:supernote:35321:32)
    at SupernoteView.onLoadFile (plugin:supernote:35731:64)

Might Look into it, when I have time, but can't promise.
Cant share Note, because of Personal Data Sorry, but will try too Reproduce.

The only way someone can investigate and try and fix this issue is if someone attaches a note that reproduces it.

Sorry, for not being clear.
In my understanding, the Task List Template is Natively Available on the Supernote Nomad (A6x2).
Nonetheless, I will attach an Example Note File for Debugging.
Sorry, GitHub won't let me Upload: Personal OneDrive
Might take a look at the Code if I have time tomorrow.

The Error, pops up in here: Supernote Typescript Repo, Conversion.ts Line 277
For me the Color 127 pops up, which is undefined, in the Translation Parameter.
Trying too work out a solution.

Fixed in 2.2.9


Please create an outside collaborator pull request

usernames
adrianstraiton
names
adrianstraiton
emails
<EMAIL_ADDRESS>org
ministryofjustice
reason
App Insights data and access
added_by
adrian straiton<EMAIL_ADDRESS>review_after
2024-06-06
permission
pull
repositories
ministryofjustice
hmpps-auth

Hello @adrianstraiton the "ministryofjustice" cannot be in the repositories section. A new issue will be needed with that removed. If you have a digital justice email why do you need to be a collaborator rather than join as a full org member?

id prefer to be a full org member.  My real objective is to be able to get access so i can request an App insights account.
How do i request to be a full member?
https://dsdmoj.atlassian.net/wiki/spaces/DSTT/pages/3897131056/DSO+Self-service+-+create+Azure+account

Have sent out an email invite to the primary address of your GH account, you will then need to find which team on the repository need access to and join that team

made user a full org member.


[expat] Build error

Host Environment

OS: Windows 10 21H2, 19044.2251, x64
Compiler: MSVC 19.34.31935
vcpkg: 2022-03-09-1affd32f93b299d5a907816c328ca3ededb73a7e

To Reproduce
Steps to reproduce the behavior:
./vcpkg install expat:x64-windows
Failure logs
D:\OpenSource\vcpkg>vcpkg install expat:x64-windows
Computing installation plan...
The following packages will be built and installed:
expat[core]:x64-windows -> 2.5.0#1
Detecting compiler hash for triplet x64-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to <IP_ADDRESS>:1234
Restored 0 packages from C:\Users\user\AppData\Local\vcpkg\archives in 280.5 us. Use --debug to see more details.
Starting package 1/1: expat:x64-windows
Building package expat[core]:x64-windows...
-- Using cached libexpat-libexpat-R_2_5_0.tar.gz.
-- Cleaning sources at D:/OpenSource/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/OpenSource/vcpkg/downloads/libexpat-libexpat-R_2_5_0.tar.gz
-- Using source at D:/OpenSource/vcpkg/buildtrees/expat/src/R_2_5_0-56671c0753.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at installed/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake:36 (message):
'D:/OpenSource/vcpkg/packages/expat_x64-windows/debug/lib/cmake/expat-'
does not exist.
Call Stack (most recent call first):
ports/expat/portfile.cmake:26 (vcpkg_cmake_config_fixup)
scripts/ports.cmake:147 (include)
Error: Building package expat:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and .\vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+expat
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[expat]+Build+error
including:
package: expat[core]:x64-windows -> 2.5.0#1
vcpkg-tool version: 2022-03-09-1affd32f93b299d5a907816c328ca3ededb73a7e
vcpkg-scripts version: 30a20e8f1 2022-12-07 (2 hours ago)
Additionally, attach any relevant sections from the log files above.

Additional context

It is fiexd after I update the vcpkg.exe by running bootstrap-vcpkg.bat.


research spotlight

I put the session through even though there are a couple of term requests
190621 Nakazawa et al., summary figure.pdf

Coordinated Roles of the Putative Ceramide-Conjugation Protein, Cwh43, and a Mn 2+ -Transporting, P-Type ATPase, Pmr1
PMID:31201205

The Spotlight is committed ready for the morning so it visible at the same time as the curation.


Rename lightning_utilities.dev to lightning_utilities.cli

🚀 Feature
See title.
Motivation
dev sounds very ambiguous to me.
Alternatives

Keep as is.
Rename it to a different name.

Additional context
Since the cli subpackage will be used only in our CI, this issue shouldn't be highly prioritised.

make sense to me :)


[Bug]: host verification key failed

Describe the bug
i am trying to sync between two devices and i am getting "host verification key failed" error on the obsidian app, however everything is works if i use it through my terminal. this is just app specific. How do i fix this?
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
No response
Steps to reproduce
cmd p > git push or any connection through git in obsidian
Expected Behavior
No response
Addition context
No response
Operating system
Windows
Installation Method
None
Plugin version
2.22.1

Hi, this is usually caused by git not trusting the identification of your git remote provider. Are you using Github?
You can follow this stackoverflow post to resolve your issue. If you have any further issues, come back!

same issue,
I tried all things that I can,
also followed the solution in this stackoverflow post

@DistroByte

however everything is works if i use it through my terminal

This issue should be resolved with v2.30.0. If you still see this happen, please create a new issue.


Fix Opera dialog by sending Keys

Try to fix Opera dialog in older versions by sending Keys via selenium.

Still a problem. Opera does not accept LEFT ARROW key and RETURN for some reason. It accepts TAB so far.

After discussion with Lydia, this may not be an issue anymore. I should do a screenshot of the dialog and save it. The dialog is important, not the website.


Planet import 2024 documentation update: -Xmx128g not enough

Hello,
I'm trying to set up my own instance of Graphhopper, and I desperately want to be able to import the whole planet file into the graph.
I'm using the 2024-08-26.pbf version, containing 77Gb of data.
The actual problem is that I'm on low-memory hardware, and that I'm also trying to have profile for car, car4wd, bike, mtb, racingbike, truck, bus, hike, foot, and I'm also preparing the CH graph for car, and also elevation profile.
I own (and trying to import) 96G of RAM, togheter with 98G of swap, on a Intel i5-11th.
I followed every suggestion to keep the ram low (datareader.dataaccess: MMAP, graph.elevation.dataaccess: MMAP, graph.dataaccess.default_type: MMAP), and run with -Xmx128g, but the import failed with RAM heap error before CH graph builing.
Now i'm running the same import with -Xmx140g and it imported the file (took 2 days) and it SEEMS to be able to arrive at the c.g.r.c.PrepareContractionHierarchies phase. Still, don't know how much time will it run again before finish.
This is the partial.log of the (still running) import and build. Anyone can try to estimate how much will it run?
So, if you like it, I could like to prepare a PR for adding some documentation and doing some small change (as soon as I have the feedback on RAM usage and time).
I think it could also be usefould to add some section like osm2pgsql/benchmark to prepare users in case of long import (or in case of suspected broken import)

Hello :D
I managed to import the full graph, with -Xmx140g!
The import took almost 6 days, but it fully worked, and request time are absolutely insanely lows :1st_place_medal:
I'm now preparing the CH profiles for hike,bike and all the others I left disabled before, this time I went with -Xmx180g.
I will reach you when I finished the job and when I have some usefoul metric.


Custom editor webviews always start as active after Reload Window

This issue still seems to exist, I am able to reproduce the bug using the same steps described in that issue with the latest release. Sorry for not verifying before it got locked.

Version: 1.69.0-insider (user setup)
Commit: 6f7c824a826ff0ccaf4de05d6fe0aac3be7bc136
Date: 2022-06-16T05:16:21.134Z
Electron: 18.3.3
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044

This bug has been fixed in the latest release of VS Code Insiders!
@adamerose, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 2dfb838f494f035099e999f0cd0eff5f1f488a30 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

I only see one editor becoming active after reload as expected
(Initial Load) Active: true - file:///c%3A/src/test/vscode-webview-focus-example/exampleFiles/example1.cscratch
But feel free to check for yourself as well, @adamerose


0x7B:0xB3 used to work, now it doesn't. no clue why.

The line I run at every start-up is:
uncap 0x79:0xAF **0x7B:0xB3** 0x78:0xAE 0x14:0x14
F9 vol up, F12 play/pause, F10 vol down, capslock to capslock
All the other mappings work just fine.

Are you using version 0.3.0 of Uncap?
Can you download version 0.2.2 of Uncap from https://github.com/susam/uncap/releases/tag/0.2.2 and see if the issue disappears?

Are you using version 0.3.0 of Uncap?
Can you download version 0.2.2 of Uncap from https://github.com/susam/uncap/releases/tag/0.2.2 and see if the issue disappears?

Hi, thanks, that didn’t help. Still behaved the same. I’m not sure which one I have so I disabled it then ran the one you linked.
I tried re-mapping using the Insert key instead of F12, 0x2D:0xB3 but it also doesn't work. Could be some issue with the media key map?

All previous releases of Uncap are available here: https://github.com/susam/uncap/releases/.
If a previous version of Uncap worked for you, one of the versions available here should still work for you. The changelog for each version can be found here: https://github.com/susam/uncap/blob/master/CHANGES.md.
If you can find out which version of Uncap works fine for you, that would help me to narrow down the cause of the issue. It is very likely that version 0.2.2 works fine because version 0.3.0 is the only one that introduces a major change in the way key-strokes are handled.
To find out exactly which version works fine, you have to choose a version, install that, kill any other instances of Uncap (uncap -k), ensure no Uncap is running via Task Manager, then run the chosen version of Uncap, and see if it works for you.


Padding for ECB mode

I understand ECB is and should be rarely used, but is there a reason it still couldn't support padding as the other modes do, just for consistency? Some of my users have played around with the different modes just for pedagogical purposes and are left confused by why one mode should act differently than the others.

I'd be inclined to say that ECB acts differently because it is different: it shouldn't be used in real life to encrypt more than one block. IMO is shouldn't even be exposed in the cipher layer, except that we need it for build other modes on top of it (GCM, CCM, that are built on top of the cipher layer).
Does that make sense?

Sure.
On Sun, Nov 1, 2015 at 1:38 PM Manuel Pégourié-Gonnard <
<EMAIL_ADDRESS>wrote:

I'd be inclined to say that ECB acts differently because it is different:
it shouldn't be used in real life to encrypt more than one block. IMO is
shouldn't even be exposed in the cipher layer, except that we need it for
build other modes on top of it (GCM, CCM, that are built on top of the
cipher layer).
Does that make sense?
—
Reply to this email directly or view it on GitHub
https://github.com/ARMmbed/mbedtls/issues/342#issuecomment-152855932.

I believe this question was answered, therefore closing it.
If you think it was wrongfully closed, please reopen


第一次进入vim打开文件的时候只显示了一半,退出以后再打开文件显示完整，但是再退出的时候就退出到命令行界面了

Can you try re-clone this repo and see if that helps?

Can you try re-clone this repo and see if that helps?

我已经是重新下了好几次了，没有上次的报错了，但是还是有这个问题

我看不懂你在说什么，能不能按照模板的要求提issue？你这种issue很浪费人时间。

@Kotodian Can you help fill in the issue form? This issue provides too little information (for example, how you opened the file? Through nvim-tree/treesitter/other approaches?), we can't infer the problem from a simple description. Instead, we need steps that can help us reproduce this problem so that we can help you with the issue.
Gonna close it now, sorry for the inconvenience.


Crash after updating to iOS 10 , swift 3

after updating to iOS 10 and swift3 when i opened gallery from fusuma* , application got crashed without any log message the only message i got is this : (lldb) and its pointing to - ->  0x185cbcd74 <+8>:  b.lo   0x185cbcd8c               ; <+32> how can we fix this ??

@billionbucks what is ur devices? my device (iPhone 5 iOS9.5) looks OK.

iPhone5s iOS 10

libsystem_kernel.dylib`__pthread_kill:
0x108ab4efc <+0>:  movl   $0x2000148, %eax          ; imm = 0x2000148
0x108ab4f01 <+5>:  movq   %rcx, %r10
0x108ab4f04 <+8>:  syscall
->  0x108ab4f06 <+10>: jae    0x108ab4f10               ; <+20>
0x108ab4f08 <+12>: movq   %rax, %rdi
0x108ab4f0b <+15>: jmp    0x108aaf7cd               ; cerror_nocancel
0x108ab4f10 <+20>: retq
0x108ab4f11 <+21>: nop
0x108ab4f12 <+22>: nop
0x108ab4f13 <+23>: nop

Couldn't find the Apple link that describes this change at IOS 10, but
here's a Stack Exchange answer on that matter:
http://stackoverflow.com/questions/38643179/crash-requesting-authorisation-to-photos-library-in-ios-10

Did you make sure to add the permission of accessing the camera and library? If these are specified in your Info.plist file, your app will crash.

ADD NSPhotoLibraryUsageDescription & NSCameraUsageDescription in info.plist will solve this crash.
PLS add this two items on the example~

hey, someone can help me to test the PR whether able to fix the crash or not.

@Ferrick90 that not fix this issue, should add this two description at Example's info.plist

thanks @whlsxl . I have updated the Example's info plist too.

@billionbucks The latest version has the code fix for this. Thanks!


Ability to add to existing debugging session and to bin/dev

I've made fork and want to share it with you incase there is anything that you would like to use.
If you are considering accepting this PR and would like me to make any changes or update the readme etc then please let me know.
Instead of running rdbg I've gone for running the programs as normal, but first setting the env variables that tells the debugger to start.
This allows:

Attaching to existing debugging sessions
Running commands like bin/dev that might not be possilbe to run by passing as an argument to rdbg (e.g. on projects that use esbuild)

I've also done things like allow random ephemeral ports for the debugger (so that you can run debuggers from multiple projects at the same time, or maybe even for rails s and rspec), and allow the user to pick a port when one isn't specified and they don't want a random one e.g when connecting to an existing session on a known port.
It will also traverse the path to find the command if it is not in path e.g. if you want to run bin/dev but you run it from app/models/something.rb
The only potential downside if that you still get the REPL, but dont get stdout passed into it. My main goal was to have it work with bin/dev and when connecting to existing sessions. Maybe there is a solution somehere e.g. to offer these things as a config option. added stdout this back in, it might be noisy with bin/dev but doesn't get in the way of typing commands into REPL.

is there a way to increase the waiting time cuz for me it's not enough


Unable to use Node

Hello,
i've installed this node on various systems (using various distributions and all installation methods (docker, manual and using packages), always fresh installations - some using node.js 10, mostly 11.
I always end up with this (on an already used installation and on fresh installations):

node-red-contrib-mail-parse:mail-parse : Error: Cannot find module '/usr/src/node-red/node_modules/node-red/red/red' (line:14)

The path seems to be based on the source of node-red, but always searches in ./red/red ...
Installation Log:

2019-04-23T15:10:48.526Z installieren : node-red-contrib-mail-parse 0.1.5
2019-04-23T15:10:50.216Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production<EMAIL_ADDRESS>2019-04-23T15:10:50.963Z [err] npm WARN
2019-04-23T15:10:50.963Z [err] deprecated<EMAIL_ADDRESS>Mailparser versions older than v2.3.0 are deprecated
2019-04-23T15:10:51.000Z [err] npm
2019-04-23T15:10:51.000Z [err]  WARN deprecated<EMAIL_ADDRESS>This project is unmaintained
2019-04-23T15:10:51.393Z [out] +<EMAIL_ADDRESS>2019-04-23T15:10:51.393Z [out] added 11 packages from 11 contributors in 0.762s
2019-04-23T15:10:51.399Z rc=0

What can be the issue? Thanks!

Hi, I encountered the same error and was able to fix it by commenting out line 14 of mail-parse.js

Thank you, fixed my issue as well.


SSTOOLKIT-18

So the case with CentOS was that container was lacking ssh server entirely, script finished with following message:
Ansible script finished installing security servers

Adding public key to LXD container ss3

although API key was not created. That situation should clearly indicate failure.

Ok, functionality seems to work nicely. When no api-key is added to configuration file the creation and revocation works (did token login, timestamp service selection, key/csr creation without problems).
Only small problem seems to be that when no api key is added to configuration file and no-op command is given, it still tries to revoke api-key. Probably it should not do anything in that case and just skip revocation, should be able to determine it by e.g. the API key format.
Situation: config file like that (all previously mentioned ops work nicely), no-op gives error on revocation:
api-key:
- credentials: xrd:secret
  key: /HOME/USER/REMOVED
  roles:
  - XROAD_SYSTEM_ADMINISTRATOR
  - XROAD_SECURITY_OFFICER
  url: https://localhost:4000/api/v1/api-keys
logging:
- file: /home/uns/dev/niis/xrdsst-logs/xrdsst-rvw.log
  level: INFO
security-server:
- api_key: X-Road-apikey token=<API_KEY>
  configuration_anchor: /HOME/REMOVED.xml
  name: ss4
  owner_dn_country: FI
  owner_dn_org: UNSERE
  owner_member_class: GOV
  owner_member_code: 9876
  security_server_code: UNS-SS4
  software_token_id: 0
  software_token_pin: 2345
  url: https://ss4:4000/api/v1

$ xrdsst
usage: xrdsst [-h] [-d] [-q] [-o {json,tabulate}] [-v] {init,token,timestamp} ...

A toolkit for configuring security server

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           full application debug mode
  -q, --quiet           suppress all console output
  -o {json,tabulate}    output handler
  -v, --version         show program's version number and exit

sub-commands:
  {init,token,timestamp}
    init                init controller
    token               token controller
    timestamp           timestamp controller
Revoking API key for security server ss4
Traceback (most recent call last):
  File "/home/USER/X-Road-Security-Server-toolkit/env/bin/xrdsst", line 11, in <module>
    load_entry_point('xrdsst', 'console_scripts', 'xrdsst')()
  File "/home/USER/X-Road-Security-Server-toolkit/xrdsst/main.py", line 87, in main
    app.exit_code = 0
  File "/home/USER/X-Road-Security-Server-toolkit/env/lib/python3.8/site-packages/cement/core/foundation.py", line 1683, in __exit__
    self.close()
  File "/home/USER/X-Road-Security-Server-toolkit/env/lib/python3.8/site-packages/cement/core/foundation.py", line 987, in close
    for res in self.hook.run('pre_close', self):
  File "/home/USER/X-Road-Security-Server-toolkit/env/lib/python3.8/site-packages/cement/core/hook.py", line 169, in run
    res = hook[2](*args, **kwargs)
  File "/home/USER/X-Road-Security-Server-toolkit/xrdsst/main.py", line 31, in revert_api_key
    config["api-key"][0]["url"] + "/" + str(api_key_id[security_server['name']]) + " -k"
KeyError: 'ss4'


Change Scope OnPrem to Cloud for procedure "ShowDeferralSchedule" in Table "Purchase Line"

Could you please change Scope('OnPrem') to Scope('Cloud') for procedure "ShowDeferralSchedule" in table "Purchase Line"?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51596.


Feature timber sections

Feature Timber Sections
Discussion: #437
This is a start at adding timber cross-section analysis. Please let me know what you think of the approach to add timber sections. So far I have added geometry creation of layered timber sections. I have added tests for the code that I have written so far.
Moving forward I will be checking and validating the results from the cross-sectional properties calculated for the sections as well as the stress analysis modules.

[X] Added tests for changed code.
[x] Updated documentation for changed code.
[ ] Run the Nox test suite to check for errors and warnings.

Looks promising! I think this would be a worthy addition to sectionproperties.
I've also included @connorferster as a reviewer as I believe he has more timber expertise than myself!
Looking forward to reviewing the complete PR!
FYI - the docs for this PR can be found here.

I think it looks good! @jchkoch Glad you dropped the timber rectangular section in favour of the CLT section. Setting the shear modulus of the cross-lams via the elastic_modulus and poissons_ratio is the way to do it but it sure feels weird to see it (just a general comment, not a reason to change anything).
If we can get the tests passing, then I am good to go on this one.

@connorferster Thanks for the comments. Unfortunately, I became somewhat busy and haven't managed to follow up.  However, I should have a bit more time going forward.

Thanks for checking in @jchkoch. If you don't mind I can update your feature branch to the current state of sectionproperties, in which the CI/CD has changed a little bit since this PR was opened (not sure if you can see the "Update branch" button as well - happy for you to click this if you can see it!)


java 8 required

Version 0.8.9-1.4.0 requires java 8.
Is this intentional?
Is client side java 8 supported now?
Last i heard, the client side java should match the server side java version.

All recent versions of Elasticsearch running on Found are using Java 8. You're also welcome to ask questions here: https://discuss.elastic.co/c/found.


Pulumi provider for PGSSoft/terraform-provider-mssql

I want to provide a Pulumi Provider based on the PGSSoft/terraform-provider-mssql Terraform provider.
Docs: https://registry.terraform.io/providers/PGSSoft/mssql/latest/docs
Can someone create a new repo for it in Pulumiverse and add me as a contributor? 😃

@tmeckel can you create a PR in https://github.com/pulumiverse/infra similar to this one?

@tmeckel no, you didn't. We have to work on this!

@ringods PR created -> https://github.com/pulumiverse/infra/pull/59


Can you provide a portfolio of environments that can run this project?

According to the project instructions and computer configuration, I built pytorch1.4+cuda10.1+detectron2-0.2.1 on a windows system, but pytorch1.4.0 does not support windows distributed training (the error is ==== AttributeError: module 'torch.distributed' has no attribute 'deprecated'), is there a successful configuration for a higher version? Or should I re-build this version of the environment on a linux system?

Hello, here is the one that worked for me,
Link from another issue

Hello, here is the one that worked for me, Link from another issue

Thank you very much, I have seen your answer in another comment section and tried the environment build you gave, but still have the same problem :AttributeError: module 'torch.distributed' has no attribute 'deprecated' ,.........I think there may have been some problems with the installation of detectron2-2.0.1
I will try again.Thanks again for your answer!


Rig App: Create layout to handle rendering Pilot over Rig

I have an initial app that renders a fixed moonbird pilot on any rig here: https://github.com/tablelandnetwork/rigs/tree/joe/animation_url/animation_url
to play with it:

clone the rigs repo
cd into animation_url
npm install && npm run dev
open http://localhost:5173?rig=

I used the layout shown in Figma as a starting place. Feedback would be great.
A few notes:

Eventually we will need to get the image url from a tableland query.
Any nft image will work, but the height is always going to be set at 20%.  This should work for most any nft, but if the aspect ratio is really wide, it might start to look strange.  If the aspect ratio of the pilot nft is more than 5 times wider than tall it will break the layout.

Looking good! Couple notes:

Badge fill should be #162929
Badge padding should be 10px from top and left side of frame and 10px from each other

Any nft image will work, but the height is always going to be set at 20%. This should work for most any nft, but if the aspect ratio is really wide, it might start to look strange. If the aspect ratio of the pilot nft is more than 5 times wider than tall it will break the layout.

Makes sense. We could also create a maximum width on the pilot. If the width max is reached, the height could start coming down below 20%.

@sanderpick I just pushed some updates.  Badge fill is changed, and you can easily tinker with what it will look like when different numbers of badges are shown and different aspect ratio pilots are chosen.
Couple notes:

px based padding won't work how things are setup right now because the number of badges per row if fixed.  A fixed number of badges per row means we need padding to be percent based.  I set the padding to 0.7%, which is very close to 10px for average market place displays on computer or tablet screen sizes.  You can tinker with the number of badges a rig has here
I set the pilot to have a max height of 37% and max width of 25%.  You can tinker with this by changing the pilot image here
Different rigs have different padding, or lack of, from the badges and pilot.  rig 1, 5, 7, and 1106 are some good comparisons.

Nice! How about we say that badges go vertically on the left. If you have too many to display, you'd have to make a decision about which ones to showcase on your rig. This would work for rigs that have very little padding. eg,

Nice! How about we say that badges go vertically on the left. If you have too many to display, you'd have to make a decision about which ones to showcase on your rig. This would work for rigs that have very little padding. eg,

Sounds good to me!

Ok, the latest updates to joe/animation_url have the new ipfs gateway and the badges on the left side with a max of 11 shown


CSS and JavaScript Cache / Add Groups Bug

Steps to reproduce.

Turn on CSS and JavaScript Cache
Navigate to /dashboard/users/search/view/1
Click Add Group
Select a group (Administrators) for example.

Bug: Dialog does nothing, and I get the javascript error:
The dialog does nothing, Uncaught TypeError: jQuery.fn.dialog.activateDialogContents is not a function
If I turn OFF CSS and JavaScript cache, issue goes away.

Affects version: 5.7.4RC2

#2394 should fix this


Features/aaronjeline/timebox

Adds timeboxed read-only shares.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing as we don't want to merge into main


Added -t group.name for running tests

Coverage increased (+0.0003%) to 99.815% when pulling a347d99f5bf491ce01b1d1ec4c7003a4451795b1 on basvodde:master into 2efb946ff453f630bed8624f609b11f0fb9d39af on cpputest:master.


Govuk Release app Postgresql backend

What
Govuk is moving away from MySql in favour of Postgres. This relates to https://github.com/alphagov/release/pull/110
How
Using the govuk_postgresql defined type, I have added the config parameters for the
release app's database configuration file.

Note:
Class params; postgresql_release and backend_ip_range need to be defined.

I wonder if we should keep the MySQL database defined in Puppet until we're ready to destroy it (after the data has been migrated and we're running PostgreSQL in production).

We should definitely do that thing that Alex said

Other than the horribly named $mysql_release this looks ok to my naive eyes. @alexmuller / @surminus mergeable?
Do we need two separate passwords or should we keep them insync between the two DB engines and have a release_db_password value instead of different ones for mysql and postgres?

I think this looks mergeable. Having just one password might be tidier, but I'm not fussed either way.

Going to close this for the time being because things have changed in the time since this was done.


Unable to run the tests

Hi Pascal,
I tried to run the project locally but after following the instructions:
npm install
export NGN_USERNAME=nelsonic
npm test

but could not get the tests to pass.
Enabled Travis on my Fork to confirm:
https://travis-ci.org/nelsonic/node-geonames-client/builds/119345570#L285
trying to get everything updated so we can use it for the Taggable project...

Figured it out after a bit of debugging.
If anyone else has an issue running the tests, its because your Geonames Username (what ever you defined in process.env.NGN_USERNAME) has not been enabled to use the "Free Webservices" ...
Go to: http://www.geonames.org/manageaccount and scroll to the bottom of the page

you will see a link "Click here to enable" click it.
Once enabled you should see a confirmation message:

Now everything should work as expected.


Master/Detail grid issue in panel mode

When using panel for master/detail to show the grid, several columns are not display.
In your sample at the link
http://serenity.is/demo/BasicSamples/EntityDialogAsPanel/11077
the order detail grid also comes with the problem.
Howerver, when I change the column orders, the data of columns is shown.
How to fix that?

I solved it with set the width of the grid


Multicast Networking Non-Functional On zLinux Machines

Multicast networking is non-functional on the zLinux test machines.
I'm confident this is what is causing the consistent failure of the tests identified in https://github.com/ibmruntimes/openj9-openjdk-jdk8/issues/143.
I have confirmed using the example multicast client and server code at https://examples.javacodegeeks.com/core-java/net/multicastsocket-net/java-net-multicastsocket-example that a fresh and unmodified zLinux machine provisioned on demand on my intranet works.

The network interfaces are definitely enabled for multicast so not clear why this is failing

Could this be the issue referred to in https://github.com/eclipse/openj9/issues/6669?

@sxa From my investigation I am coming to the same conclusion as Ben on this.... thse Adopt zLinux machine don't support multicast correctly

I believe these two tests are also linked to this issue:

java/net/MulticastSocket/PromiscuousIPv6.java
java/nio/channels/DatagramChannel/PromiscuousIPv6.java

those tests also fail at OpenJ9
java/net/MulticastSocket/Promiscuous.java:
https://ci.eclipse.org/openj9/view/Test/job/Grinder/547/
java/nio/channels/DatagramChannel/Promiscuous.java:
https://ci.eclipse.org/openj9/view/Test/job/Grinder/548/

@Haroon-Khel  I've put your key on one of the new Marist machines that I've got access to -<EMAIL_ADDRESS>Can you check if the problems exist on there as they are different infrastructure that we're going to migrate too soon (By soon I mean end of month!)

FYI The node.js team modify the iptables setup on their Marist zLinux machines in relation to multicast - it's possible the same would work for us: See https://github.com/nodejs/build/blob/master/ansible/roles/jenkins-worker/tasks/main.yml

@sxa555 I will begin running the associated tests on the machine. Ill post below the results

@sxa555 Unfortunately, the same tests also fail on the new Marist machine.

java/net/MulticastSocket/Promiscuous.java

----------messages:(4/122)----------
command: main Promiscuous
reason: User specified action: run main Promiscuous
Mode: othervm
elapsed time (seconds): 5.17
----------configuration:(0/0)----------
----------System.out:(4/128)----------
Using port: 58745
mc1 joined the MC group: /<IP_ADDRESS>
mc2 joined the MC group: /<IP_ADDRESS>
Sending datagram to: /<IP_ADDRESS>/58745
----------System.err:(15/893)----------
java.lang.RuntimeException: Expected message not received, Receive timed out
        at Promiscuous.receive(Promiscuous.java:62)
        at Promiscuous.test(Promiscuous.java:94)
        at Promiscuous.main(Promiscuous.java:135)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:819)

java/net/MulticastSocket/SetLoopbackMode.java

----------messages:(4/143)----------
command: main SetLoopbackMode
reason: Assumed action based on file name: run main SetLoopbackMode
Mode: othervm
elapsed time (seconds): 2.107
----------configuration:(0/0)----------
----------System.out:(15/260)----------

Test will use multicast group: /ff01:0:0:0:0:0:0:1

******************

Loopback mode is disabled.
Packet not received - correct.

******************

Loopback mode is enabled.
Packet not received (packet excepted as loopback is enabled)

******************

----------System.err:(13/703)----------
java.lang.RuntimeException: Test failed
        at SetLoopbackMode.main(SetLoopbackMode.java:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:819)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed

java/net/MulticastSocket/Test.java

Test 4: /ff0e:0:0:0:0:0:0:a
Join: /ff0e:0:0:0:0:0:0:a
Send packet to: /ff0e:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
Send packet to: /ff0e:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
Leave: /ff0e:0:0:0:0:0:0:a
No packet received within timeout! - Good.
Join: /ff0e:0:0:0:0:0:0:a
Send packet to: /ff0e:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
Send packet to: /ff0e:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
Leave: /ff0e:0:0:0:0:0:0:a
No packet received within timeout! - Good.
Test failed!!
**********************
4 test(s) executed. 4 test(s) failed.
----------System.err:(13/741)----------
java.lang.Exception: Test failed - see log file for details
        at Test.main(Test.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:819)

JavaTest Message: Test threw exception: java.lang.Exception: Test failed - see log file for details
JavaTest Message: shutting down test

java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java

Test DatagramChannel to INET socket
join <IP_ADDRESS> @ enccw0.0.1000
Send message from <IP_ADDRESS> -> group <IP_ADDRESS> (id=0x8937bd83)
Waiting to receive message
----------System.err:(15/930)----------
java.lang.RuntimeException: Expected message not recieved
        at MulticastSendReceiveTests.receiveDatagram(MulticastSendReceiveTests.java:100)
        at MulticastSendReceiveTests.test(MulticastSendReceiveTests.java:172)
        at MulticastSendReceiveTests.main(MulticastSendReceiveTests.java:238)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:819)

java/nio/channels/DatagramChannel/Promiscuous.java

Test family=INET
dc1 joining [<IP_ADDRESS>]:45427 @ enccw0.0.1000
dc2 joining [<IP_ADDRESS>]:45427 @ enccw0.0.1000
Send message -> group <IP_ADDRESS> (id=0x1363c6e5)
Checking if received by dc1
Waiting to receive message
----------System.err:(15/845)----------
java.lang.RuntimeException: Expected message not recieved
        at Promiscuous.receiveDatagram(Promiscuous.java:99)
        at Promiscuous.test(Promiscuous.java:168)
        at Promiscuous.main(Promiscuous.java:207)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:819)

The above were only for JDK8. The two tests for JDK 11, test/jdk/java/net/MulticastSocket/Promiscuous.java and test/jdk/java/nio/channels/DatagramChannel/Promiscuous.java, also fail with similar output

@Haroon-Khel Can you see if the multicast iptables rule from the link to node's playbooks rule gets around the problem?

@sxa555 A solution inspired by that playbook has helped. After running firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -m udp -p udp -m pkttype --pkt-type multicast -j ACCEPT followed by firewall-cmd --reload has resulted in the following tests to pass:
jdk/test/java/net/MulticastSocket/Promiscuous.java and jdk/test/java/nio/channels/DatagramChannel/Promiscuous.java
on both JDK8 and 11

I have just noticed, the only passing tests now are the ones that involve ipv4 multicast, while those of ipv6 continue to fail

@Haroon-Khel Can you verify whether this problem still exists on the new machines we got in December please?

This problem persists on the following marist machines:
build-marist-rhel77-s390x-1
build-marist-rhel77-s390x-2
test-marist-sles12-s390x-1
The two RHEL machines fail on ipv6 multicast tests, while the SLES machine fails the ipv4 multicast tests. Ill inform our contact to see whether there has been an update to our case from our emails in January

JDK14 xLinux installer glitched last night - conncetion issue:

> Task :rpm:uploadRedHatRpmPackage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rpm:uploadRedHatRpmPackage'.
> org.apache.http.conn.HttpHostConnectException: Connect to adoptopenjdk.jfrog.io:443 [adoptopenjdk.jfrog.io/<IP_ADDRESS>] failed: Connection refused (Connection refused)

Running some grinders to see if this error is still occurring:
build-marist-rhel77-s390x-1 - Machine doesn't appear to exist, though there is a "1x". Same machine?
build-marist-rhel77-s390x-2 - OpenJ9 JDK8 Promiscuous.java x5 grinder - Passed
test-marist-sles12-s390x-1 - OpenJ9 JDK11 MulticastSocket/Test.java x5 grinder - Fails due to:
Unable to find remote helper for 'https'

Could be connected to this issue. @sxa - What do you think?

To summarise earlier call ... 1X is a renamed version of 1 to resolve an issue with the Jenkins connection. It is likely it can be renamed back but it is the same machine.
Ignore the sles failure for the purposes of this. The machine does not currently have the ci.role.test label

Ok, here's a list of all of the multicast tests that were associated with this issue, with the results by VM, version, and machine.
build-marist-rhel77-s390x-1x
java/net/MulticastSocket:

Test Name
8HS
11HS
16HS
8J9
11J9
16J9

Promiscuous.java
Pass
Pass
Pass
Pass
Pass
Pass

PromiscuousIPv6.java
N/A
N/A
Pass
N/A
N/A
Pass

SetLoopbackMode.java
Fail
Fail
Fail
Fail
Fail
Fail

Test.java
Fail
Fail
Fail
Fail
Fail
Fail

java/nio/channels/DatagramChannel:

Test Name
8HS
11HS
16HS
8J9
11J9
16J9

MulticastSendReceiveTests.java
Fail
Fail
Fail
Fail
Fail
Fail

Promiscuous.java
Pass
Pass
Pass
Pass
Pass
Pass

PromiscuousIPv6.java
N/A
N/A
Pass
N/A
N/A
Pass

build-marist-rhel77-s390x-2
java/net/MulticastSocket:

Test Name
8HS
11HS
16HS
8J9
11J9
16J9

Promiscuous.java
Pass
Pass
Pass
Pass
Pass
Pass

PromiscuousIPv6.java
N/A
N/A
Pass
N/A
N/A
Pass

SetLoopbackMode.java
Fail
Fail
Fail
Fail
Fail
Fail

Test.java
Wait
Wait
Wait
Wait
Wait
Wait

java/nio/channels/DatagramChannel:

Test Name
8HS
11HS
16HS
8J9
11J9
16J9

MulticastSendReceiveTests.java
Wait
Wait
Wait
Wait
Wait
Wait

Promiscuous.java
Wait
Wait
Wait
Wait
Wait
Wait

PromiscuousIPv6.java
N/A
N/A
Wait
N/A
N/A
Wait

This needs to be re-tested in light of the Marist machines having been rebuilt in the last few months.

Will link this to other issues as an "umbrella" for Marist/s390x networking failures

Related issues:

https://github.com/adoptium/infrastructure/issues/2807
https://github.com/adoptium/infrastructure/issues/3189
https://github.com/adoptium/infrastructure/issues/2451


Add fromArray() alias for connect()

As per #105, in case an exception is thrown in coonect(), database credentials are shown in the stack trace.
So an alias fromArray() is added, to put all credentials into array which will appear in the stack trace as a mere word "Array".

Thanks! I'll deal with any outstanding Psalm issues.


Out of the box JWT authentication

demo should show how JWT works, how the auth token is being generated, saved in localstorage and sent
also show how it works with dingo/api
also add note that if you don't plan on using JWT, then you should uncomment the CSRF token middleware

Or maybe "choose between JWT (disable CSRF) or not (enable CSRF) (or just add it to installation)"?

Almost done with this :rocket:

@Bodom78 @rooferz @masterpowers @palpalani
If you have time, just clone the repository and run it in the browser then open the JWT Auth page.
I added an interactive tutorial that explains demos how JWT works. I'd love to get your feedback on this.

@jadjoubran Nice, can't wait to check it out.
Will do my best to give it a shot either this or next weekend, doing crunch at the office till the end of the year so under the pump at the moment :(

Will fix the design with the new website


[Bug] Injector and Discord Core

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
When using inject.js to manually install BetterDiscord on Discord Canary 1.0.60, it throws the error ENOENT: no such file or directory, scandir 'C:\Users\FlexGames\AppData\Local\DiscordCanary\app-1.0.60\modules' which is obviously because the new Version (1.0.60) doesn't have a modules folder where it is searched for.
Expected Behavior
A normal installation
Steps To Reproduce

Follow the manual installation manual
See that it's not working with Discord Canary 1.0.60
Search for the Discord Core and don't find it

Operating System
Windows
Discord Version
Canary
BetterDiscord Version
Commit eb81416
Anything else?
They seem to have moved it into some more secured place.
Discord Desktop Core is now imported through the exported function of './requireNative' which seems to actually just be require.
Code used for that is:
Some unknown file
const requireNative = require('./requireNative');
...
      coreModule = requireNative('discord_desktop_core');

requireNative.js
"use strict";

// require(), with paths specialized for requiring only native modules.
module.paths = [];
module.exports = require;

But in this case it seems that I don't have enough knowledge nor time to further trace it back.

Seems like they have brought the modules back but I guess BetterDiscord will have to prepair for that case

Discord still uses that folder, there have been 0 changes. You probably just didn't start Discord again after it updated before trying to inject BD so it didn't exist yet.

I have started Discord or rather my script has started discord before trying to inject. Also I tried it multiple times.
My script works the way that it firstly starts Discord and waits for it to start and after that it kills, injects and starts discord again.
The injection in this part failed and Discord was started. Restarting it manually had also no effect


socks5 support

@mudler can you add a bit description here? Might give this a shot

Hi @matti ! thanks for showing interest in this.
The idea I had behind this feature is to provide a socket server from one side, and a "proxy" on the other side, similarly to https://github.com/mudler/edgevpn/blob/master/pkg/services/egress.go.
Egress works that a node starts a proxy server and connections to the proxy are sent to another node which is advertised as egress (this needs to be explicitly enabled from the CLI) allows to accepts connection and proxy through them - the same thing could have be done with socks5, and hence this card!
I hope it was clear enough and spiked your interest :)

What's the benefit of using socks5 instead of http proxy? lower overhead?

not really, just providing legacy support and isolation with old protocols. In this way we could be on pair with tor and provide the same abstraction layer


MPI with hindsight experience replay

Seems like multiprocess parallelization is not supported with HER. Is there a plan to support it?

MPI support depends on the algorithm you use with HER. For instance, DDPG supports it but SAC, DQN and TD3 don't (cf #424).
There is no current plan to add support for the others for now. I would prefer adding supposed for vectorized environments.

@araffin I want to give this enhancement a try (hands-on learning for myself). Would that be alright?

Would that be alright?

Sure, for which algorithm?

Would that be alright?

Sure, for which algorithm?

TD3


Document the Go module release system (prefixed tags)

Go modules defined in a subdirectory need release tags prefixed with the subdirectory name in order to be recognized [1].
Based on us storing our Go module in the backend-go subdirectory of the repo, we therefore need tags prefixed with backend-go/[release-version].
For v1.0.0-alpha.4 (due to caching problems), this was verified to work with the tag backend-go/v1.0.0-goalpha.4, which was found by pkg.go.dev [2].
This commit documents this knowledge (for now inside the Go package README.md), until a more formal release workflow documentation / automation gets established.

[1] https://web.archive.org/web/20240127035037/https://go.dev/ref/mod#vcs-version
[2]<EMAIL_ADDRESS>

Current dependencies on/for this PR:

main

PR #422   👈

This stack of pull requests is managed by Graphite.

Merge activity

Feb 13, 9:30 PM GMT+1: @pklaschka merged this pull request with Graphite.


Octant has a delay when clicking a link

When clicking a link, Octant delays for ~1 second before updating the view.
goals:

Figure out where the delay is coming from
Remove the delay

additional notes:

This may be related to tables re-rendering themselves after the initial load

I see this behavior on other pages as well, it seems to do with the set content path call and our streaming loop.
Areas I'd look in to when starting on this:

ensure set content path interrupts and sends new steam content (pretty sure it does)
look at component rendering
only send changes to stream

Dived into this a little bit - currently suspect the problem is occurring on the backed. Tested this by turning off change detection for multiple components and the delay after clicking a link remains.

I'm wondering if there is some hiccup between when the SetContentPath cancels the context and when the stream sends out the refreshed / new data.

Going to close this for now. We can reopen if responsiveness starts to decrease as features are added. Ideally we'd have benchmarking for various aspects of the code base.


Why SM HF Hosting shows some SM Profilers-related logs?

Hi,
I see some logs about SM Profiler
W-9000-model-stderr com.amazonaws.ml.mms.wlm.WorkerLifeCycle - 2021-06-25 10:14:23.533531: W tensorflow/core/profiler/internal/smprofiler_timeline.cc:460] Initializing the SageMaker Profiler
W-9000-model-stderr com.amazonaws.ml.mms.wlm.WorkerLifeCycle - 2021-06-25 10:14:23.533634: W tensorflow/core/profiler/internal/smprofiler_timeline.cc:105] SageMaker Profiler is not enabled. The timeline writer thread will not be started, future recorded events will be dropped.

I thought Profiler was a training thing? What is it doing in the inference DLC?

Profiler is not used in inference.


Reproducing results for movi_c dataset

Hello, I am trying to reproduce results for the movi_c dataset from the dinosaur paper https://openreview.net/forum?id=b9tUk-f_aG. For this I ran the code with this config file https://github.com/amazon-science/object-centric-learning-framework/blob/main/configs/experiment/projects/bridging/dinosaur/movi_c_feat_rec.yaml but I am getting a much lower performance than in the paper. The only change I made was running on 1 gpu instead of 8 due to lack of compute. I wonder if I am missing something?

Hi,
thanks for reaching out! It looks like the MOVi configs are mistakenly not using pretrained models. You can change that by modifying the feature_extractor section as follows:
  feature_extractor:
    model_name: vit_small_patch8_224_dino
    pretrained: ${when_testing:false,true}
    freeze: true

as it is for the COCO configs (e.g. https://github.com/amazon-science/object-centric-learning-framework/blob/main/configs/experiment/projects/bridging/dinosaur/coco_feat_rec_dino_base16_auto.yaml).
Aside from that, I would recommend increasing the batch size from 8. The model is pretty light on memory, so you may be able to fit batch size 32 or 64 even on a single GPU (depending on your GPU of course).

Thanks! I was able to get the same performance as the paper with the above change.

Hi @dido1998 ,
How did you plot this metric? The code plot only mse...


cmake-gui doesn't launch.

Describe the bug
cmake-gui doesn't launch it shows an error like:-
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

fish: “cmake-gui” terminated by signal SIGABRT (Abort)

Notify maintainers

@r-ryantm
@vcunat
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
  /nix/store/3h27w2frml5vyim2sgadgc6z3bas19gv-nix-info
copying path '/nix/store/3h27w2frml5vyim2sgadgc6z3bas19gv-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.14, NixOS, 21.03.20210209.50d3401 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20201205_a5d85d0`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
- cmake
- cmakeWithGui
attribute:
# a list of nixos modules affected by the problem
module:

#54525


Wrong model for Y.Kim's TextCNN

You're using wrong model instead of Y.K.'s TextCNN!
TextCNN uses conv2d and maxpooling2d to extract features.
but you use conv1d and maxpooling1d.
Please refer to:
https://github.com/dennybritz/cnn-text-classification-tf/blob/master/text_cnn.py
For original pager:
https://arxiv.org/pdf/1408.5882.pdf

Thanks, I am using correct model, and reference to original paper is in the README of the repo.


Question

Wondering why the results when displayed through pannellum look so fishy-eye-ish? When viewing in the ICE or HD View viewer is looks more equalized.
https://cdn.pannellum.org/2.2/pannellum.htm?panorama=https://dl.dropboxusercontent.com/s/vz542ztrx0c4jm8/DSC00505_stitch3.jpg?dl=0
Do I need a special export from ICE to display correctly in pannellum.
Love the service btw - great usability!
Thanks in advance
John

I've never used Microsoft ICE, so I have no idea what the default export parameters are. To use the image in Pannellum though, you need to export an equirectangular image. Since I don't think ICE includes Photo Sphere XMP metadata, you also need to note the vertical angle of view and vertical offset and configure Pannellum with those parameters.
If I estimate the vertical angle of view based on the dimensions of the image you provided and adjust the vertical offset such that the horizon is at zero pitch, the result is this:
https://cdn.pannellum.org/2.2/pannellum.htm?vaov=64.5&vOffset=-10&panorama=https://dl.dropboxusercontent.com/s/vz542ztrx0c4jm8/DSC00505_stitch3.jpg?dl=0
Since it still doesn't look right, I don't think the image uses an equirectangular projection.

Here is a screenshot. I did some research and what I found was that "equirectangular" is the same as "spherical"? You can see all the projection options available. Can you suggest one that would match equirectangular?
Thanks again for the help.

Yes, it seems Microsoft calls equirectangular projection "spherical" (and rectilinear projection "perspective"), so "spherical" should be used. If it reports the vertical angle of view and vertical offset angle somewhere, use the provided values; otherwise, they're not difficult to figure out. The vertical angle of view can be calculated using [image height] / [image width] * 180; you can guess and check the vertical offset angle until the horizon is approximately vertically centered when the panorama is loaded.

mercator and peter's projections (cylindrical also) look similar to equirectangular at first glance but stretch/compress vertically in 'weird' ways. Its possible the map is slightly off in the program that creates your image if its using an incorrect projection. These things all have actual proper names so its always annoying when someone like MSoft decides to rename them :(