Unknown error when changing temp.

System Health details
System Information

version
core-2024.10.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.46-haos

arch
x86_64

timezone
America/New_York

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
5000

Installed Version
2.0.1

Stage
running

Available Repositories
1504

Downloaded Repositories
14

Home Assistant Cloud

logged_in
true

subscription_expiration
November 1, 2024 at 8:00 PM

relayer_connected
true

relayer_region
us-east-1

remote_enabled
true

remote_connected
true

alexa_enabled
true

google_enabled
true

remote_server
us-east-1-13.ui.nabu.casa

certificate_status
ready

instance_id
6629dbaf146e476098be73ac3fdbd90e

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.1

update_channel
stable

supervisor_version
supervisor-2024.10.0

agent_version
1.6.0

docker_version
26.1.4

disk_total
468.7 GB

disk_used
15.1 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
generic-x86-64

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.8.0), Mosquitto broker (6.4.1), Govee to MQTT Bridge (2024.07.13-82ddc6e9), Get HACS (1.3.1), Samba Backup (5.2.0), Zigbee2MQTT (1.40.2-1), ESPHome (2024.9.2), Studio Code Server (5.17.1)

Dashboards

dashboards
5

resources
7

views
24

mode
storage

Recorder

oldest_recorder_run
October 1, 2024 at 4:45 PM

current_recorder_run
October 11, 2024 at 1:08 PM

estimated_db_size
401.74 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
When you try and change the temp there is an "Unknown Error". I'm using a PB850PS2. This is my first time submitting a bug report so if I missed anything or didn't get the correct info please let me know.
Reproduction steps

try to change temp
get unknown error

...
Debug logs
2024-10-10 19:41:11.181 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000000000100000000FF [90]')
2024-10-10 19:41:11.181 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000000000100000000FF
2024-10-10 19:41:11.191 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:12.712 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:12.712 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:12.720 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:14.789 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000000000100000000FF [90]')
2024-10-10 19:41:14.789 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000000000100000000FF
2024-10-10 19:41:14.798 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:18.047 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:18.047 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:18.054 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:18.370 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140125128027168] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 1029, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/config/custom_components/pitboss/climate.py", line 102, in async_set_temperature
    await self.coordinator.api.set_grill_temperature(temp)
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 155, in set_grill_temperature
    return await self._send_command("set-temperature", temp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 141, in _send_command
    return await self._send_hex_command(cmd(*args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 137, in _send_hex_command
    return await self._conn.send_command("PB.SendMCUCommand", {"command": cmd})
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/ble.py", line 190, in send_command
    return await future
           ^^^^^^^^^^^^
pytboss.exceptions.RPCError: Unknown error
2024-10-10 19:41:18.769 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF [90]')
2024-10-10 19:41:18.769 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF
2024-10-10 19:41:18.778 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:20.693 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:20.693 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:20.701 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:25.418 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF [90]')
2024-10-10 19:41:25.418 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF
2024-10-10 19:41:25.427 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:25.428 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:25.429 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:25.436 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:25.809 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140125128027168] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 1029, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/config/custom_components/pitboss/climate.py", line 102, in async_set_temperature
    await self.coordinator.api.set_grill_temperature(temp)
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 155, in set_grill_temperature
    return await self._send_command("set-temperature", temp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 141, in _send_command
    return await self._send_hex_command(cmd(*args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 137, in _send_hex_command
    return await self._conn.send_command("PB.SendMCUCommand", {"command": cmd})
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/ble.py", line 190, in send_command
    return await future
           ^^^^^^^^^^^^
pytboss.exceptions.RPCError: Unknown error
2024-10-10 19:41:26.872 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF [90]')
2024-10-10 19:41:26.872 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF
2024-10-10 19:41:26.881 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:29.200 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:29.201 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:29.208 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:29.393 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140125128027168] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 1029, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/config/custom_components/pitboss/climate.py", line 102, in async_set_temperature
    await self.coordinator.api.set_grill_temperature(temp)
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 155, in set_grill_temperature
    return await self._send_command("set-temperature", temp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 141, in _send_command
    return await self._send_hex_command(cmd(*args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 137, in _send_hex_command
    return await self._conn.send_command("PB.SendMCUCommand", {"command": cmd})
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pytboss/ble.py", line 190, in send_command
    return await future
           ^^^^^^^^^^^^
pytboss.exceptions.RPCError: Unknown error
2024-10-10 19:41:30.764 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF [90]')
2024-10-10 19:41:30.764 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030000030000020100000000000000000001000100000100000000FF
2024-10-10 19:41:30.772 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:32.772 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000003000003000001FF [56]')
2024-10-10 19:41:32.773 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000003000003000001FF
2024-10-10 19:41:32.780 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:34.862 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000030003030003020100000000000000000001000100000100000000FF [90]')
2024-10-10 19:41:34.863 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000030003030003020100000000000000000001000100000100000000FF
2024-10-10 19:41:34.872 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-10 19:41:36.870 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000003000303000003000301FF [56]')
2024-10-10 19:41:36.870 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000003000303000003000301FF
2024-10-10 19:41:36.881 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data

Diagnostics dump
No response

Thanks for the report. I pushed 2024.10.1 which should fix the error handling and at least show the correct error message. I'll leave this open for now in case there's another bug that was being masked by the bad error handling.

After 2024.10.1 The error was unauthorized. I removed my grill password and it is working now. Here is the log for the unauthorized error. Thanks for your work on this integration its nice to have the grill in HA.
2024-10-12 14:27:40.541 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000000701000701020100000000000000000001010000000100000000FF [90]')
2024-10-12 14:27:40.543 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000000701000701020100000000000000000001010000000100000000FF
2024-10-12 14:27:40.551 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:42.493 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000000070101080000070101FF [56]')
2024-10-12 14:27:42.493 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000000070101080000070101FF
2024-10-12 14:27:42.501 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:44.832 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000000609000609020100000000000000000001010000000100000000FF [90]')
2024-10-12 14:27:44.832 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000000609000609020100000000000000000001010000000100000000FF
2024-10-12 14:27:44.842 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:46.588 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000000070301080000070301FF [56]')
2024-10-12 14:27:46.588 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000000070301080000070301FF
2024-10-12 14:27:46.595 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:49.511 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000000701000701020100000000000000000001010000000100000000FF [90]')
2024-10-12 14:27:49.512 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000000701000701020100000000000000000001010000000100000000FF
2024-10-12 14:27:49.520 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:49.708 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140638803773616] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 1029, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/pitboss/climate.py", line 102, in async_set_temperature
await self.coordinator.api.set_grill_temperature(temp)
File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 155, in set_grill_temperature
return await self._send_command("set-temperature", temp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 141, in _send_command
return await self._send_hex_command(cmd(*args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pytboss/api.py", line 137, in _send_hex_command
return await self._conn.send_command("PB.SendMCUCommand", {"command": cmd})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pytboss/ble.py", line 190, in send_command
return await future
^^^^^^^^^^^^
pytboss.exceptions.RPCError: Unauthorized
2024-10-12 14:27:50.781 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000000070101080000070101FF [56]')
2024-10-12 14:27:50.781 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000000070101080000070101FF
2024-10-12 14:27:50.790 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:52.632 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0B000500090600090600000000000000000701000701020100000000000000000001010100000100000000FF [90]')
2024-10-12 14:27:52.633 DEBUG (MainThread) [pytboss] State received: FE0B000500090600090600000000000000000701000701020100000000000000000001010100000100000000FF
2024-10-12 14:27:52.642 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data
2024-10-12 14:27:54.680 DEBUG (MainThread) [pytboss] Debug log received: bytearray(b'<==PB:  FE0C00050009060009060000000000000000070101080000070101FF [56]')
2024-10-12 14:27:54.680 DEBUG (MainThread) [pytboss] State received: FE0C00050009060009060000000000000000070101080000070101FF
2024-10-12 14:27:54.688 DEBUG (MainThread) [custom_components.pitboss] Manually updated pitboss data


permit Anonymous Authentication Mechanism

As documented here: http://tools.ietf.org/html/rfc4513#section-5.1.1
closes #254

In the test, you're calling bind with BIND_PW.
Is that really what you want for a passwordless bind test?

doh! I'll get right on that.

test updated, with a zero length name and zero length password.

Merged in 19f2c167839fc9cfb46fdb8ee1ef5275100fd578.
Thanks

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Remove duplicate Quarkus extensions when selecting extensions

Fixes #51
Signed-off-by: David Kwon<EMAIL_ADDRESS>

Please fix the conflict


mkdocs: 0.17.3 -> 0.17.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mkdocs/versions.
These checks were done:

built on NixOS
/nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4/bin/.mkdocs-wrapped passed the binary check.
/nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4/bin/mkdocs passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 0.17.4 with grep in /nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4
directory tree listing: https://gist.github.com/51f000d43eea93f02bf57debed7ac8bc
du listing: https://gist.github.com/6f535d35f7a3c2d0e393e4e0fd0682c8

meta.description for mkdocs is: '"Project documentation with Markdown"'.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 406a43eadb6db8b2ed1f39d431c9dab8c5101304 && nix-shell --pure -I nixpkgs=. -p mkdocs

Success on x86_64-linux (full log)
Attempted: mkdocs
Partial log (click to expand)
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
checking for references to /build in /nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4...
wrapping `/nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4/bin/mkdocs'...
running install tests
...................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 227 tests in 0.911s

OK
/nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4

Success on aarch64-linux (full log)
Attempted: mkdocs
Partial log (click to expand)
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
checking for references to /build in /nix/store/2k9jdpxz6kq984lzqwj0awadv9frlnq5-mkdocs-0.17.4...
wrapping `/nix/store/2k9jdpxz6kq984lzqwj0awadv9frlnq5-mkdocs-0.17.4/bin/mkdocs'...
running install tests
...................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 227 tests in 4.905s

OK
/nix/store/2k9jdpxz6kq984lzqwj0awadv9frlnq5-mkdocs-0.17.4

Success on x86_64-darwin (full log)
Attempted: mkdocs
Partial log (click to expand)
patching script interpreter paths in /nix/store/25xzy2y67xpn0313lfkbyj0xqb6ranfw-mkdocs-0.17.4
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
wrapping `/nix/store/25xzy2y67xpn0313lfkbyj0xqb6ranfw-mkdocs-0.17.4/bin/mkdocs'...
running install tests
...................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 227 tests in 0.730s

OK
/nix/store/25xzy2y67xpn0313lfkbyj0xqb6ranfw-mkdocs-0.17.4


[TechDocs] Search parity across entity tab and standalone docs sites

Feature Suggestion
It should be possible (and it should be the default) that an in-context search bar is shown when TechDocs are rendered on the tab of an entity page.
Possible Implementation
We may need to store / index just the document path (e.g. everything after the entity triplet) in the TechDocs collator in order to reliably route TechDocs search results by context.
In any event, route refs should probably be used to point to the tab or the docs page.
Context
The fundamental reason we do not show a search bar on the entity page is that the location of a search result is an intrinsic property of the document indexed in search (e.g. in the backend).  Although it is templatized and can be modified, by default it assumes docs exist at /docs/{namespace}/{kind}/{name}.
Currently, there is a prop which controls whether or not the search bar should be shown (which is set to false on the entity page and true on the default TechDocs Reader page), which works well with the default location for docs in search.
Rather than relying on this prop, we should dynamically understand what the current route ref is, and link to the appropriate documentation page and/or fragment using route refs to either the entity page or the standalone docs page.
This is a follow-up to #6651.

We would like to see this implemented by default as well.
We decided to implement it ourselves by copying the TechDocsSearch.tsx and making the relevant changes to it links to entity docs.
I think it would be an easy change to make this work for docs in the entity tab by default


Viewport Update Mode Once does not Reset

Godot version:
3.2 Alpha 3
OS/device including version:
OS: Xubuntu 19.10
CPU/GPU: Intel Atom z3735D
Issue description:
A viewport with render_target_update_mode = Viewport.UPDATE_ONCE does not reset the value for render_target_update_mode to Viewport.UPDATE_DISABLED after it has rendered. Likewise a viewport with render_target_clear_mode = Viewport.CLEAR_MODE_ONLY_NEXT_FRAME will always report a render_target_clear_mode of Viewport.CLEAR_MODE_ONLY_NEXT_FRAME even after that frame has passed.
The functionality works, the viewport will only be rendered once or cleared once, but you cannot poll the values of these variables to correctly determine the viewport's render and clear states.
Steps to reproduce:
Create a viewport, set render_target_clear_mode to Viewport.UPDATE_ONCE and check said viewport's render_target_clear_mode variable after it has updated.
Minimal reproduction project:
ViewportBug.zip

Maybe related:  I have a viewport set to CLEAR_MODE_NEVER and it works as expected, but only on my first input action.  The next time I press a key seems like behavior goes back to CLEAR_MODE_ALWAYS
I searched through my code, there's no other CLEAR MODE sets anywhere..

@HEAVYPOLY What you describe is a very different bug from the above. Please open a new issue with a reproduction project.

Oops.  Found the issue, it was a problem with my code

Oops. Found the issue, it was a problem with my code

How was it fixed?

This should be mentioned in the documentation.

I seem to be encountering this problem in Godot 4.0.3 Forward+... I haven't got a test project yet; in my project I try to workaround another issue of viewports by using ping-pong viewports with UPDATE_ONCE but I get blank outputs, and this prints:
Attempted to use the same texture in framebuffer attachment and a uniform (set: 1, binding: 1), this is not allowed.

Which is indeed happening if both viewports keep rendering at the same time, since one uses the result of the other in a material. Of course I don't want them both to update which is why I used UPDATE_ONCE, but then I think it's not resetting and they keep drawing...


VariantDir fails with underscore in dir names

This issue was originally created at: 2012-07-11 06:37:26.
This issue was reported by: dawad.
dawad said at 2012-07-11 06:37:26

I’ve spent quite some time getting VariantDir to work on our project and have just
noticed a bug which should be addressed. When using “SConscript(‘SConscript,
variant_dir=’foo/bar1’, src=’../../foo/bar2’, exports=’env’, duplicate=0)” I now
neatly get a directory tree full of object files under foo/bar1. Except any
object files from source which happens to reside in directories which have an
underscore in their name… these have objects built alongside the source. I
expected them to work like the directories without underscores. I’ve sidestepped
this with the obvious use of camelCase, but this should be fixed, or at least
mentioned!

bdbaddog said at 2012-07-12 22:08:11

Can you make a simple test case to demonstrate this issue?

No reproducer.
Closing.
Please reopen if you can provide a reproducer.

No reproducer.
Closing.
Please reopen if you can provide a reproducer.


Using with Nuxt

I am trying to use your component with Nuxt, but am getting an error 'Window' not defined.  Do you know how I will be able to use it with nuxt.  Thanks

Check this @andyfensham https://stackoverflow.com/questions/54979644/window-is-not-defined-in-nuxt-js

In nuxt.config.js > plugins section add
  // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins   plugins: [     // for calendly integration     { src: '@/plugins/vue-calendly', mode: 'client' },   ],


Some questions about TAM and DCM

Hi, thank you very much for publishing the code I've found your paper really interesting and was trying to figure if this can be adapted to my own model (I'm using basically the same configuration as yours).
The paper highlights two main components DCM and TAMand i was wondering if this two modules can be extracted from the code.

Looking at the code I get that DCM is just a classification head which is performing a classification task on the domain, as DANN (I also see GRL). Am I correct?

I am having a harder life finding what is called TAM. Is it something that is built inside the blocks? Because I see that the main change is that the adversarial net is used inside each block to generate a loss_ad . Is this what you call patch-level discriminator inside the paper? Is there need to add something else to create the so called TAM

Thank you very much again for sharing the code

Hi, thanks for your interests in our paper.

No, DCM is used to minimize the entropy of the target logits. DCM is totally different from DANN, since there is no adversarial learning in DCM. To apply DCM to your model, you can simply use lossZoo.im(target_logits)
Right, you are correct.

Thank you very much for the answer.
I have one last question, I do see that a global adversarial loss is computed:
loss_ad_global = lossZoo.adv(torch.cat((x_s[:,0], x_t[:,0]), 0), ad_net)
this is a plain adversarial loss computed as DANN, correct?

Right.


WIP: feat(sdk): add support of json-ld to ci flow.

Codecov Report
Patch coverage: 87.50% and project coverage change: -0.06 :warning:

Comparison is base (a8fa36b) 90.90% compared to head (c287841) 90.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #351      +/-   ##
==========================================
- Coverage   90.90%   90.84%   -0.06%
==========================================
  Files          59       60       +1
  Lines        2441     2448       +7
==========================================
+ Hits         2219     2224       +5
- Misses        154      155       +1
- Partials       68       69       +1

Impacted Files
Coverage Δ

pkg/openid4ci/openid4ci.go
92.28% <80.00%> (-0.60%)
:arrow_down:

pkg/openid4ci/models.go
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Marked as WIP to avoid merging before RC3.


clustered failure: pull-kubevirt-e2e-k8s-1.28-sig-storage

What happened

Today while at KubeVirt CI Quarantined Tests Catch Up when looking at flake-stats report 3 that there's two clustered test failures in 1.28 storage lane recently 1 2
Looking at the overview in the artifacts I didn't see anything suspicious, though I noticed that removing the test namespace failed in the AfterSuite.

/kind flake
/priority critical-urgent

/sig storage

Additional context
Strange thing here is that it's only happening on the 1.28 lane, so might be related to that provider only - only the latest providers receive updates.
Flake Action Plan
As the assignee, thoroughly review the issue and put the resulting report as comment into this issue.
Then decide on one of the following actions:
The flake is a critical bug

Add label commenting /triage accepted
Create a PR to fix the bug
Reference this issue in the PR
Keep this issue open until the testcase does not fail anymore

The flake is non-critical or an issue that is hard to fix

Quarantine the test by creating a pull request assigning [QUARANTINE] tag to test name
Reference this issue on the PR

There was an infrastructure issue
An infra issue is anything "below" the testcase

Add label commenting /triage not-reproducible
Move the issue to "Obsolete"

After the flake has been fixed, document the learning from it inside the fix PR

Amother clustered failure has been detected on Monday's SIG-CI weekly: https://prow.ci.kubevirt.io/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12537/pull-kubevirt-e2e-k8s-1.28-sig-storage/1826369320712671232

@awels do you happen to know whether someone has been taking a look at this one?


Add IT

Added IT

@duongoku you have expressed a personal opinion. Minerva does not need a personal opinion.  You have to tell why people need to read it by being a neutral person.
Secondly, I want the GoodReads rating not the link.
Do these and your PR is good to be merged

okay xD

@the-ethan-hunt I edited it

Merging it :+1:


Universal plug-in leaking DNS / 通用插件泄漏DNS

I ran a dns test while using a v2ray on the universal plug-in shadowsocksR + and there was a leak. Is there anyone else having this issue?
我在通用插件shadowsocksR+上使用v2ray时运行了一个dns测试，结果出现了漏洞。还有其他人有这个问题吗？

我不是网络安全专家...不是很清楚你要描述的问题。
(包括上文提到的 Dns 测试 / 漏洞)
此项目 Issues 仅讨论固件自身存在的问题和改进建议。
如果你要反馈源码中存在的问题，请移步：
ShadowsocksR Plus + 所在项目：
https://github.com/fw876/helloworld
https://github.com/coolsnowwolf/lede
V2ray 所在项目：
https://github.com/v2fly/v2ray-core

理解并感谢提供链接。你的固件很棒，我很喜欢用它。

I figured it out. On the wan interface into advance options, an alternative DNS must be used. This eliminates the leaks completely.

Well, Find the problem is OK...

I did it.
Go to interfaces,
Network,
On wan (eth1),
Advanced settings,
Unselect Use DNS servers advertised by peer,
Enter <IP_ADDRESS>, click on the plus sign ➕ to add it,
Do the same thing as above but enter <IP_ADDRESS>,
You can use any other DNS public servers you want but these two work well
in China, you can also use <IP_ADDRESS> & <IP_ADDRESS> or
<IP_ADDRESS> & <IP_ADDRESS>. (Although these DNSs are Chinese, there
is no issue about leaks by using it into this mode).
Click Save & Apply.
Under services, make sure you are using IP Route Mode or Global Mode
in the ShadowSocks
R Plus + plug-in.

Run a DNS test on www.dnsleaktest.com
There should not be any Chinese routing there.
This is very important because if there is a leak, it is likely that
whatever serves you are using as proxy will be blocked eventually.
On Sat, Oct 24, 2020 at 11:06 AM, SuLingGG<EMAIL_ADDRESS>wrote:

Well, Find the problem is OK...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SuLingGG/OpenWrt-Rpi/issues/28#issuecomment-715663524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPI2AGTPO66GIZ3RAYAOMDSMJAC3ANCNFSM4SKBRXDQ
.


Terminal BUG

When I enter text in Vscode found that I enter text, terminal display blank, don't know what the reason, I find the Internet a lot of methods to solve this problem, they say it's the software compatibility, but when I changed the software on the software compatibility, not my problem without any substantial effect.My computer is Windows10. I have tried many solutions, but none of them worked. I downloaded the plug-in run in terminal in this software, but none of them worked.It is just this problem for the time being. I hope the authorities can give me a solution to this problem.I have tried several ways, but none of them can be solved. I hope the official can reply to me as soon as possible. Thank you!

I have the same issue. It doesn't always happen and opening a new terminal works fine.

Can you share a screenshot and your settings.json file?

Sure, here you go. It was completely blank before i clicked inside the terminal. If i type, the command prompt moved across but no text appears

Can you also share your windows version and build number (run ver in cmd.exe)?

The bug appears to have resolved itself following the latest update


Make the updated ACL take effect without disconnecting

Is there any way to make the updated (subscribe/publish)ACL (storaged in mysql) take effect without disconnecting?

No, this is not implemented. There's an exported internal function clear_cache/2 here, which might be a starting point to look into this: https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_cache.erl
In any case, it will always have to be externally triggered.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

No, this is not implemented. There's an exported internal function clear_cache/2 here, which might be a starting point to look into this: https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_cache.erl
In any case, it will always have to be externally triggered.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq 👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Thanks, but how to use clear_cache/2 to clean session ACL cache in vernemq server ?

I start to feel to need this as well. My suggestion would be to have a new hook (like invalidate_cache) that can be externaly triggered e.g. via vmq-admin or the api. In combination with the already existing reauth session all the needed functionality would be provided.

The caches are implemented in the respective plugins. The cache implementation will provide the invalidate functions. This can be triggered externally under the vmq-admin command for the specific plugin. Hooks grab internal events and allow you to implement what should happen; so I guess here, a new hook is not even needed.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

The idea with the hooks would have been that vmq-admin does not need to know any specifics of the plugin implementation (incl. third-party, community provided).

@mths1 Ok, I see what you mean. If we can find a nice direct approach, we might as well go for the generic functionality here.
Let's give it some thought & discussion.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


Missing advisory for CVE-2021-3121 - Improper Input Validation in github.com/gogo/protobuf/plugin/unmarshal

CVE-2021-3121 is missing from the advisory database, which means Dependabot is not offering updates for it.
https://nvd.nist.gov/vuln/detail/CVE-2021-3121
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOGOPROTOBUFPLUGINUNMARSHAL-1058921

Here you go
https://github.com/advisories/GHSA-c3h9-896r-86jm


Does foundation have a Hero component?

If foundation doesn't have a hero component it definitely should have one!

The docs for Panels in Foundation have moved. This one still ranks high for specific search terms.


Update the region of Cotonou (Benin)

Cotonou is located in the Litoral Departement/Region.

Thank you very much!
What is the correct spelling, actually? On Wikipedia, they use a different spelling:
https://en.wikipedia.org/wiki/Littoral_Department
https://fr.wikipedia.org/wiki/Littoral_(département)

You are right it is a typo. It is written "Littoral" in French

Merged in https://github.com/delight-im/FreeGeoDB/commit/745d947c89dccf0016e635495e8ed3d001f56572
Thank you!


Fixed missing layout shadows on iOS

Really I just added 1 line of code. The rest of it is just auto-formatting.

Hi @alexziskind1 thanks a lot for finding time to help me out with this plugin.
Would you mind saying what's the benefit of explicitly switching off clipToBounds?
I'm already doing that for ios.layer.maskToBounds which is equivalent to ios.layer.clipsToBounds (plural clips).
Was under the impression that clipToBounds was simply Nativescript exposing the native property.
Cheers

why is this not merged yet?


nixos/network: replace deprecated DHCP=both by DHCP=yes

Motivation for this change
Systemd 243 complains:
Sep 24 11:27:41 neon systemd-networkd[30216]: /etc/systemd/network/99-main.network:4: DHCP=both is deprecated, please use DHCP=yes instead.

Things done

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

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

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

Notify maintainers
Not sure who to cc

the both meant ipv4 + ipv6 and now yes does the same ? is that it ?

Correct.
Backported in f96eabaa


add a file handler to be used with AD hdf5 plugin in Single mode

Description:
This PR adds a new filestore handler that should be used with the new filestore mixin defined in the PR here
Motivation:
This was motivated by a custom plugin which has an array with one dimension determined only after running the plugin The result is that each trigger then creates a different sized array to the previous one, and so the Streaming mode which sets the array size prior to any trigger  did not correctly save the data.
Testing:
This has been tested in the field as submitted here (NSLS-II, SIX beamline, rixscam detector, XIP plugin) and is working there.

The Travis error here is a caproto IOC 'server startup timed out` error on the nightly build, I don't think this is related to the current changes.

Codecov Report

Merging #375 into master will decrease coverage by 0.28%.
The diff coverage is 24.13%.

@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
- Coverage   84.58%   84.29%   -0.29%
==========================================
  Files          50       50
  Lines        6053     6082      +29
  Branches      794      797       +3
==========================================
+ Hits         5120     5127       +7
- Misses        795      817      +22
  Partials      138      138

Impacted Files
Coverage Δ

databroker/assets/handlers.py
60.81% <24.13%> (-3.4%)
:arrow_down:

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 a58fb1a...f4fbfd3. Read the comment docs.

Based on some changes made in a version of NSLS-II-SIX.sixtools which has been merged and tested. I have also added 2 versions, one which returns a numpy.array (for image like data) and one which returns a pandas.DataFrame (for tabular style data).

@mrakitin thanks for the prompt feedback, please see responses above.

The failure of the checks is in the 3.6 and nightly builds only.
The error for the 3.6 build is:
RuntimeError: Non Expected exception in /home/travis/build/NSLS-II/databroker/doc/source/assets.rst line 77
THe error for the nightly build is in databroker/tests/test_broker.py and is:
Exception: Server startup timed out.
I don't think that either of these are related to the current changes, let me know if they are and I will investigate further.

Let's try to get this across the finish line.

Bump

This is ready to go in based on my last comment some time ago

The blocking issue is review.

I am guessing the fact that this has received no feedback even after @danielballan bump that it is no longer required. It was mentioned in a meeting that it will be superseded by the upcoming changes to databroker anyway. Therefore I am closing it out.

re-opening at the request of @danielballan


Bounding box for Pedestrians

Hi CARLA team,
I have drawn the bounding boxes for pedestrian and car, but I recognized that the spawning of pedestrian with objects is random, which lead to different model of pedestrians with umbrella/trolley/bag/guitar... When drawing the bounding box using segmentation camera, I also include the trolley inside the box, which is not really correct for real life case. Is there any way to extract the attached object to pedestrian to exclude it from the bounding box or it cannot be removed as it is attached to the pedestrian when spawning?
I'm still using Carla 0.8.4
Attached is an example of the bounding box

Thank you.

I think in the simulator itself (even for Semantic Segmentation) .. the whole pedestrian with attached object is considered as one class

@Nozomeister hi there, how did you draw the bounding box? from the segmentation camera or some way else?

@Nozomeister hi there, how did you draw the bounding box? from the segmentation camera or some way else?

Yes, I drawed them from segmentation camera.

Ho @Nozomeister , can you please share your code, how did you make it happen. I am working on 0.9.4, but I can refer your solution. If you have solved this in 0.9.4 as well, that would be great.
Thanks


Custom ResponseBot not matching custom vocabulary in voice mode

Describe the bug
I have a custom ResponseBot built to capture city names. This includes a custom slot type containing a list of all the cities, with the Use slot values as custom vocabulary box checked.
When the custom ResponseBot is tested directly using the Lex console, it matches perfectly in text or voice mode.
When I test the QnABot entry point bot using the Lex console, it matches perfectly in text mode and fails nearly 100% in voice mode.
To Reproduce

Create a custom ResponseBot to match city names.

In the Lex console, create new bot with a name beginning with 'QNA'.
Add a blank slot type.
Select Restrict to slot values.
Add the city names as values. Do not use famous cities like New York, Paris, etc.
Check the box labeled Use slot values as custom vocabulary. According to the documentation, this is appropriate for proper nounes, like place names.

Add an empty intent

Define a slot and set the slot type to the custom type created above
Add one or more utterances that include the slot token. If the slot is named City, the utterance would be {City}
Activate Confirmation
Add a Confirmation prompt: Is {City} correct (Yes or No)?
Add a Decline response: Please provide the city name again.
Activate Closing response
Set the Message to OK.

Build the bot
Take note of the Bot ID
Create a QnABot document

Question: Ask me for a city
Answer: Give me a city name
ResponseBot Hook: lexv2::BOTID/TSTALIASID/en_US where BOTID is the ID of the bot created above
Response Session Attribute Namespace: city

Open the Lex console and locate the QnABot entry point bot. This name will be a combination of the CloudFormation stack name and the string "QnaBot"

Select the live alias.
Select the associated version
Select English (US)
Click the Test button
Confirm that the live alias should be tested

Test the bot using voice (this works fine in text mode, but fails in voice)

Click the microphone in the Lex console test window.
Say aloud, "Ask me for a city" and click the check mark
The system will respond with, "Give me a city name"
Say the name of a city in your custom slot type, defined above
The city name will fail to match to one listed in the custom vocabulary, even after multiple attempts.

Expected behavior
The expected behavior is that the city name should be recognized as one from the custom vocabulary with the same accuracy as if I test the custom ResponseBot directly, which is nearly 100% on the first try in voice mode.
Please complete the following information about the solution:

[x] Version: v5.4.5
[x] Region: us-west-2
[x] Was the solution modified from the version published on this repository? No
[x] If the answer to the previous question was yes, are the changes available on GitHub? N/A
[x] Have you checked your service quotas for the services this solution uses? Yes
[x] Were there any errors in the CloudWatch Logs? No

@amendlik Setting up a separate intent and slot type will only work in voice mode if you also train QnABot with the same city data for voice processing. In this situation, the Lex bot, QnABot, is being invoked using the utterance prior to calling the response bot. It does not pass the voice utterance through to the response bot but instead passes the text transcript which is most likely in error in this case as QnABot/Lex was not trained to understand it in the QnABot context.
The best way to solve this is to use QnABot to define a new slottype and a new question which uses the new slot type and creates a dedicated bot intent. This is in lieu of building a new response bot. I've attached qnabot json file that can be imported that demonstrates this technique. You can cache this slot value in a SessionAttribute for later use in QnABot in another question use it in a question flow where another qid is called via Document Chaining. When using this technique be sure to perform a Lex Rebuild from the hamburger menu in the upper right area of the admin ui tool bar.
mycityqna.json

.

Thank you @bobpskier. I can see this solution working in some cases, but only when you always want to collect the city name within the first step of the conversation. If you have multiple steps, and the city name would be collected conditionally in a later step, I don't think this works.
Are there any other solutions that would support multi-step conversations?

@amendlik I think using QnABot conditional chaining would work quite nicely for this scenario. This lets one question chain to another question in QnABot. There will be a question that decides to conditionally chain into the city question. Once the city question is complete and the session attribute set, it would chain to the later step. I can work up an example if that would help.

Thanks @bobpskier - What about cases where I only want to ask for a city name in some cases? If the city name is a required slot in the supervisory bot, how would I ever avoid asking for it?
BTW - I'm having some trouble testing this scenario due to #684

@bobpskier I received an update on #684 that one cannot use slots and chaining within the same QnA document.

@amendlik Not the response I was expecting from the QnABot solutions team. I'll see if I can come up with a solution. This should work regardless if using a custom intent/slot or if using an elicit response bot prompting for a value. The custom intent will work better from a training perspective than using an elicit response bot.

@amendlik Are you still blocked here or do you have a path based on the input from #684 ?

closing this

What is the reason for closing it?


Use cloud files for storage

Abstract doc storage to local and cloudfiles/s3/etc/etc. This piece could theoretically be reused on RTD as well, so perhaps its best to design with that in mind.

Part of this should also include moving the doc hosting onto a secondary URL.


Moving shader files within the editor discards the unsaved code without asking

Godot version:
Godot 3.0.5
Issue description:
As title suggest, when moving file.shader from a location to another within the editor, Godot moves just the last saved file without any warning of losing unsaved edits. Will be nice to have at least a warning with an confirmation diag if the editor realizes that new conten has been added to the about-to-move file
Minimal reproduction project:
Create a new shader and save it as a file. Edit with few lines and then move it in another folder using the editor.
Reopening the shader file will display of course just the last saved one. A warning could help to avoid mistakes from users.

Tested in 3.3 and it seems to behave as expected now, renaming or moving a .shader file with unsaved changes will preserve those unsaved changes.
Incidentally, closing the project without having saved those changes will auto-save them without asking. This may not be optimal behavior but it's better than the other way around.


DD、PROTEINS、NCI1 datasets cannot work with DIFFPOOL

❓ Questions & Help

Hello:
when i run the code in path: rusty1s/pytorch_geometric/benchmark/kernel/main,
DD、PROTEINS、NCI1 datasets cannot work with diffpool,
it will rise the " ValueError:  Found input variables with inconsistent numbers of samples: [xxxx, ####] "
Do you know why is it? Thank you.

This is because in datasets.py they limit the total number of nodes
    if name == 'REDDIT-BINARY':
        num_nodes = min(int(num_nodes / len(dataset) * 1.5), max_num_nodes)
    else:
        num_nodes = min(int(num_nodes / len(dataset) * 5), max_num_nodes)

Then you have to also limit the number of the label to make the number of the samples consistent
    dataset.data.y = dataset.data.y[torch.tensor(indices)]

If I use dataset NCI109,The new bug has been reported:
Traceback (most recent call last):
  File "main.py", line 76, in <module>
    logger=None,
  File "/home/pyg/pyg/benchmark/kernel1/train_eval.py", line 43, in cross_validation_with_val_set
    train_loss = train(model, optimizer, train_loader)
  File "/home/pyg/pyg/benchmark/kernel1/train_eval.py", line 114, in train
    out = model(data)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/pyg/pyg/benchmark/kernel1/diff_pool.py", line 65, in forward
    s = self.pool_block1(x, adj, mask, add_loop=True)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/pyg/pyg/benchmark/kernel1/diff_pool.py", line 27, in forward
    x1 = F.relu(self.conv1(x, adj, mask, add_loop))
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
TypeError: forward() takes from 3 to 4 positional arguments but 5 were given

How can I fix this error?

Should be fixed in master. Thanks for reporting!


Spark Notebook integration with Hue

The goal would be to have Spark Notebook run using Hue user credentials & impersonation brought by Hue. This would be an option to have multi user Spark notebooks (with segregation, access to data, ...). Joint effort with Hue project

Since I don't know hue much (besides the SQL capabilities and more or less the work they've apparently done with @velvia), I'm eagerly waiting to have more info about this ticket :-)

The goal would be to have Spark Notebook run using Hue user credentials & impersonation brought by Hue. This would be an option to have multi user Spark notebooks (with segregation, access to data, ...). Joint effort with Hue project

Spark Notebook is light-years ahead of Hue's concept of spark/scala notebooks in 3.8.1.  Marrying the capabilities of Spark Notebooks with the permissions model in Hue would be amazing.
Currently Hue's implementation of spark notebooks provides..

User authentication / management, which integrates with HDFS
Notebook sharing capabilities

Livy server, which provides the API that Hue's notebook system uses to interact with Spark, does not provide any kind of impersonation.  This means that all submitted jobs run as whatever process Livy is running as, which is a pretty gaping security hole.  If this can be addresses and Spark Notebook's is able to launch jobs as whoever is logged in (assuming, of course, that there is a 1 to 1 or some mapped relationship between Linux users and HDFS users), this would eliminate a lot of the security concerns that crop up.

Just an FYI, Andy and I had talked before about Spark Notebook working
together with Spark Job Server, and SJS is planning to add authentication
and permissions/roles.
On Thu, Jun 25, 2015 at 8:32 AM, THABBuzzkill<EMAIL_ADDRESS>wrote:

Spark Notebook is light-years ahead of Hue's concept of spark/scala
notebooks in 3.8.1. Marrying the capabilities of Spark Notebooks with the
permissions model in Hue would be amazing.
Currently Hue's implementation of spark notebooks provides..

User authentication / management, which integrates with HDFS
Notebook sharing capabilities

Livy server, which provides the API that Hue's notebook system uses to
interact with Spark, does not provide any kind of impersonation. This means
that all submitted jobs run as whatever process Livy is running as, which
is a pretty gaping security hole. If this can be addresses and Spark
Notebook's is able to launch jobs as whoever is logged in (assuming, of
course, that there is a 1 to 1 or some mapped relationship between Linux
users and HDFS users), this would eliminate a lot of the security concerns
that crop up.
—
Reply to this email directly or view it on GitHub
https://github.com/andypetrella/spark-notebook/issues/231#issuecomment-115294630
.

--
If you are free, you need to free somebody else.
If you have some power, then your job is to empower somebody else.
--- Toni Morrison

@velvia integrated with hue ?

@velvia that's great to know that SJS will add that, and indeed integrating with spark notebook is still planned -- maybe shall we create an issue where we can start thinking how we can start, or what we'll be needed before?
@folone @YannBrrd @THABBuzzkill I really have few ideas what HUE provides, like which kind of notebooks, how it deals interactively with spark and how impersonation works.
Do you think it would be possible to list these features and maybe giving hints/scenarii how you think they could be integrated into the notebook?
One thing: a notebook as a single session attached to which means that several persons are (will be) able to open a notebook and access the same session (and see live updates) -- that means that we'll need to keep this capability using roles, and also add roles like opener that we'll bee allowed to close the opened session.
Indeed, a notebook is just a file (for now) in a folder so multiple sessions is not possible. So two users with different needs for a notebook (although, I don't see real use cases) will have to duplicate it with a different name.
Having users will also mean that folders will need access rights, which will be rather hard because a notebook can run any scala code, and it's still running co-locally with with the server. There are option of course like containers ;-).
So authentication and authorization are hard, very hard when we give access like this to the system. That's also why I still propose to create a spark notebook per user. A bit like each user has is own IDE.
This could be easily done using ... containers ^^ (and even more easily with marathon or alike).
Of course, this is not a solution for multi-users and collaboration, but for this I'm wondering how good would be a solution where the collaboration and others can be pushed to the repository of notebooks it self → a bit like github, in a sense.
It's just an idea, I don't know how it fits your need or will of course.
thanks all for your inputs!!!
PS: My feeling is that we'll have to split this issue a lil bit to target different underlying features.

@andypetrella @ogirardot separate tix sounds great.
I actually don't know anything about Hue's security model, but it should be pluggable  :)

If I understood correctly the question is how we could bring multi-user support to the Spark Notebook with maybe Hue?
Hue is a single Web server that offers editors to multi users. It has a Notebook app in beta, which is "currently" very basic and focuses on Python, other SQL, deeper integration with Hadoop like HDFS, Hive tables autocompletes etc...
The Notebook relies on Livy, which is a new server that brings impersonation when used with Yarn, concurrent users, shell like capabilities, no code change or compilation needed: https://github.com/cloudera/hue/tree/master/apps/spark/java#welcome-to-livy-the-rest-spark-server
We initially used Spark Job Server from Ooyala but then switched to Livy as we wanted to focus on Shell-like features / Yarn impersonation instead of compiled jobs.
If I got it right, Spark Notebook is similar to Ipython, with one server by user.
For re-using Hue authentication for Spark Notebook, there is no easy way without integrating it in Hue as a new app (http://cloudera.github.io/hue/docs-3.8.0/sdk/sdk.html), which would not probably be simple as the projects are different and in a different language. We had several brainstorming about that in the past. This is why we started the Notebook UI natively in Hue.
If auth is native in Spark Notebook though, users could however submit Shell-like Scala snippets with Livy and this would require only one Spark Notebook and one Livy server in total. Obviously the REST API would need to be implemented and Livy is still new.
Hope it helps!

@romainr sorry for the radio silence, I'm in a rush for the next couple of days (talks to prepare) then I'll be  back on biz.
Thanks for the info btw, very helpful. I'll probably get back with some figures of the current behavior and we'll see how the integration could be done by then.
c u soon

@romainr @ogirardot @YannBrrd you guyz have a good understanding (of course) of HUE, as you can see, I'm lacking of time these days to create the right documentation to help us moving forward.
What about having an hangout so we can at least chat, and then we can make up our mind on what we'll be possible, but also, simply, what we'd like to have?
let me know!
Looking forward to this.
@velvia we've planned to hack on this integration during my trip to the US in August, so we'll be able to move this forward too on this track :-D

Hi,
I think if we achieve #232 we can simply ignore this one... or postpone it...
Yann


Savings Calculator

Enter calculator name -
Savings Calculator
Describe calculator functionality -
Get input as Salary, and allow user to enter the as many expenses as he wants. Allow user to enter expense name and amount and then display his Savings.
Under which category you wish to place it -
[] Computer Science
[] Mathematics
[] Physics
[] Chemistry
[] Biology
[x] Finance
[] Scientific
[] Health
[] Sports
[] Let project owner decide
[] Suggest a new category - (Answer here)

Hi @SarthakKeshari can you assign this issue to me!

hi @SarthakKeshari kindly assign me this issue under hacktoberfest2023

Hey @Saksham-245,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\finance\savings_calc
Issue completion deadline - 4th Oct 6:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

Hey @Satvik-Garg,
Glad to see your eagerness for contributing 🤩. We are following first come first serve. If deadline is not met, then only it can be assigned to a new participant.
For now, kindly look into any open issues or you may even create one. 🥳
Happy contributing🎉


Storage: Download object that doesn't exist

I'm using the following code to download an object to a file, if the object doesn't exist in the bucket it doesn't fail and creates file of 0 bytes.
ObjectsResource.GetRequest request = Client.Objects.Get(Bucket, objectName);
using (var fileStream = new System.IO.FileStream(localFile, FileMode.Create))
{
     request.Download(fileStream);
}

I was expecting it to fail, since, given the same case, request.execute() will give a GoogleApiException.
Is this the expected outcome?

Well, request.Execute() will do something fairly different - downloading is different to getting the object metadata.
The Download method is unfortunate - it calls MediaDownloader.Download, but doesn't pass back the return value. The MediaDownloader doesn't throw an exception, but instead returns an IDownloadProgress with the result, including any exception.
We can't change the signature of Download now - we could potentially add a new method which either returns the IDownloadProgress or throws an exception if the result is a failure.
Alternatively, you could use the "wrapper" library: https://www.nuget.org/packages/Google.Cloud.Storage.V1 - StorageClient.Download does throw an exception appropriately.

Thanks for the information.
Unless you want to leave this issue to eventually add a new method which either returns the IDownloadProgress or throws an exception if the result is a failure it can be closed.

Will leave it open for @chrisdunelm to comment with any thoughts - he knows the codegen better than I do.

We will be adding a new method which handles this situation properly, tracking in #982.


Multine post action script is single-line

Hi,
I'm having trouble with the multiline script declared as the scheme's post-build action.
The project.yml contains:
schemes:
  Release:
    build:
      targets:
        TargetName: [archive]
      postActions:
        - name: Action Name
          script: |
                  one
                  two
                  three

The generated script has spaces instead of new lines:
one two three

It's highly probable, that it's not the issue with my setup. I used the script parameter declared in exactly the same way to generate the target's build phases scripts, and it works like a charm.

It's actually the same for pre-build action

The problem is rather in the AEXML, which is used by Xcodeproj
https://github.com/tadija/AEXML/pull/177


Simplify platform dependent code

simplify code by using os.path.join()
fix wrong path to plantuml jar in documentation

Thanks for the PR. :+1:
Makes totally sense to refactor this.
I just noticed that some configs use os.getcwd() and some use os.path.dirname(__file__).
Technically being based on cwd makes not really a sense and os.path.dirname(__file__) is the better choice.
So, because you are currently changing this part, would it be okay to use os.path.dirname(__file__) everywhere instead of os.getcwd()

Yes, makes sense, I will update the PR tomorrow 👍

Should this use pathlib instead of os.path?

@danwos  I have removed the os.getcwd() calls in favor of os.path.dirname(__file__).

Thanks for the PR and updating it.
The suggested import mechanism may be nice, but if really needed we can have another PR.
Works also without it :)


68 email notifications

fix to to work on tomcat server (ie. "Production")

TODO

write integration tests that truly exercise sending mail

Markers removed


API does not work

Via the test/documentation UI the API does not work.  Here the provided info:

account: dervoq
group: test-group
artifact: testartifact
version: 2023-10-01

json-ld:
{
  "@context": "https://downloads.dbpedia.org/databus/context.jsonld",
  "@graph": {
    "@type": [
      "Version",
      "Dataset"
    ],
    "@id": "https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01",
    "hasVersion": "2023-10-01",
    "title": "Test Version",
    "description": "Data for testing purposes.",
    "license": "http://dalicc.net/licenselibrary/AdaptivePublicLicense10",
    "distribution": [
      {
        "@type": "Part",
        "formatExtension": "yml",
        "compression": "none",
        "downloadURL": "https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml",
        "byteSize": 63973,
        "sha256sum": "e0f72231ec59e096814ff222021573739183875a9a1b3bca66fa9e928e189ca6"
      }
    ]
  }
}

and here is the complete cURL
curl -X 'PUT' \
  'https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01' \
  -H 'accept: application/json' \
  -H 'X-API-KEY: XXXXX' \
  -H 'Content-Type: application/ld+json' \
  -d '{
  "@context": "https://downloads.dbpedia.org/databus/context.jsonld",
  "@graph": {
    "@type": [
      "Version",
      "Dataset"
    ],
    "@id": "https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01",
    "hasVersion": "2023-10-01",
    "title": "Test Version",
    "description": "Data for testing purposes.",
    "license": "http://dalicc.net/licenselibrary/AdaptivePublicLicense10",
    "distribution": [
      {
        "@type": "Part",
        "formatExtension": "yml",
        "compression": "none",
        "downloadURL": "https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml",
        "byteSize": 63973,
        "sha256sum": "e0f72231ec59e096814ff222021573739183875a9a1b3bca66fa9e928e189ca6"
      }
    ]
  }
}'

A PUT request returns 200 with error:

  "logLevel": "error",
  "log": []
}

that's not an error, that's the log level. 200 means it works (and it worked)
https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01


Small CNN Zoo Configurations

Hello @mkofinas, would it be possible for you to share the exact configurations/scripts used to calculate the NG-GNN and NG-T results in Table 1, Column CIFAR10-GS? There were multiple versions (scripts folder in this repo vs. README.md in cnn_generalization vs. scripts folder in the supplementary material at OpenReview vs. the details shared in the paper).
(Btw, amazing work!)

Hello @Kausta, thank you for your kind words, and apologies for the lack of clarity regarding the configurations.
The scripts and the README in cnn_generalization, as well as the details shared in the paper, all used to refer to the CNN Wild Park experiment. Apparently, we had omitted sharing the configurations regarding CIFAR10-GS.
I have now uploaded the scripts to reproduce the results from Table 1 for CIFAR10-GS. You can find them at:

.experiments/cnn_generalization/scripts/cnn_zoo_rt.sh
.experiments/cnn_generalization/scripts/cnn_zoo_pna.sh

I will also update the paper on arXiv with these hyperparameters. Please let me know if you have any further questions.

Thanks @mkofinas


Automate deploy fails when the linux hab user comes from external auth instead of local accounts

Describe the bug
Automate is unable to complete the deployment step if hab the hab user is coming from an external auth like LDAP in Linux instead of as a local account in /etc/passwd.
Initially, we saw errors from useradd complaining that the user already completed and a workaround was added #4078 to get past this.
After the workaround, we now see the following error when running CHEF_AUTOMATE_SKIP_HAB_USER=true chef-automate deploy
Jul 20 17:57:26 HOSTNAME.com hab[30310]: deployment-service.default(O): failed to start server: failed to initialize secret store: user lookup: user: unknown user hab

The underlying problem appears to be caused by GoLang not using libc to query for user and group UID/GIDs and instead only pulling them from /etc/passwd and /etc/group. This will cause the deploy to fail as it can't find the hab user and attempts to create it via useradd. Which will then fail as it already exists in LDAP, also any other code that attempts to fetch the hab UID/GID` will have problems as it won't get a valid ID.
To Reproduce
Steps to reproduce the behavior:

configure Linux to use external LDAP user accounts (via /etc/nsswitch.conf)

create a hab user in LDAP

Attempt to install Automate chef-automate deploy, latest current version will throw an error
Creating Habitat user and group
Error: setup failed: creating hab user failed: "useradd: user 'hab' already exists\n": exit status 9
DeployError: Unable to install, configure and start the

If using a version from the dev channel CHEF_AUTOMATE_SKIP_HAB_USER=true chef-automate deploy to skip the useradd error and get the error about the secret store and hab.
Jul 20 17:57:26 HOSTNAME.com hab[30310]: deployment-service.default(O): failed to start server: failed to initialize secret store: user lookup: user: unknown user hab

Expected behavior
Automate will complete the deployment successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

OS: RHEL 7
Browser: N/A
Automate Build Number: latest current and dev builds

Additional context
Add any other context about the problem here.

For some context, it looks like deployment-service uses the Go user implementation that relies on the user existing in /etc/passwd and /etc/group. However in this case the user actually exists on an ldap server. If we used the cgo implementation go would call out to libc and should be able to find the user.
https://golang.org/pkg/os/user/


[1pt] PR: Clip WBD to DEM domain

Clips Watershed Boundary Dataset (WBD) to DEM domain for increased efficiency. Essentially, this is a wrapper for geopandas.clip() and moves clipping from src/clip_vectors_to_wbd.py to data/wbd/preprocess_wbd.py. Note: this does take a fair amount of time to run (~5 hours on my EC2). Closes #803.
Additions

data/wbd/preprocess_wbd.py: Clips WBD to DEM domain polygon

Changes

src/

bash_variables.env: Updates `input_WBD_gdb' environment variable
clip_vectors_to_wbd.py: Removes clipping to DEM domain

Testing

clip_wbd_to_dem_domain.py -d /data/inputs/3dep_dems/10m_5070/HUC6_dem_domain.gpkg -w /data/inputs/wbd/WBD_National_EPSG_5070.gpkg -o /data/inputs/wbd/WBD_National_EPSG_5070_WBDHU8_clip_dem_domain.gpkg -l 8

Screenshots
WBD HUC8 (area clipped to 3DEP domain in blue)

Rob H: I have already started testing this. I have used UCS3 to create the new inputs (WBD_National_EPSG_5070_WBDHU8_clip_dem_domain.gpkg) and have copied it to /dev_fim_share/foss_fim/inputs so far. I will get Emily or someone to test fim_pipeline fully, then will copy it to the other enviros (UCS2, FIM S3, ESIP S3, EFS).


[New] Response to Issue #1832 [Replace Assert.assertEquals() with assertThat()]

Description
This is a new PR based on: https://github.com/opensearch-project/security/pull/3443
This change is a response to opensearch-project/security issue https://github.com/opensearch-project/security/issues/1832 whereby it's recommended to replace Assert.assertEquals(...) with assertThat(...) for a greater degree of verbosity.
Upon collaboration, this PR will try to address and refactor files to use assertThat() as prompted in https://github.com/opensearch-project/security/pull/3443#pullrequestreview-1655814270

Refactoring
Using the Hamcrest matchers with assertThat() yields clearer failure messages for testing.
The old behavior uses assertEquals() which is part of the Assert class in JUnit meanwhile the new method, assertThat(), belongs to the Hamcrest class which tends to be more human readable.

Issues Resolved

Addressed security issue https://github.com/opensearch-project/security/issues/1832
Will address files in https://github.com/opensearch-project/security/pull/3443#pullrequestreview-1655814270

Is this a backport? If so, please add backport PR # and/or commits #
backport 2.x
Testing
Check List

[x] New functionality includes testing
[x] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@EduardoCorazon Seems like there are lot more occurrences for assertEquals

@DarshitChanpura I will definitely get to working on them! I just made this new PR to fix some things on my end. I want to make sure that each full file replacement of assertEquals() works before working on the next. I already have two more commits to push but I'm trying to figure out why this simple replacement is failing CI tests.

@EduardoCorazon The backwards compatibilty tests will pass once https://github.com/opensearch-project/security/pull/3498 is merged

@EduardoCorazon I've marked this as draft. Please mark it as ready for review once all changes are complete.

I apologize for the delayed action on this draft. I can't believe it did not occur to me to just use regular expressions 😅

@EduardoCorazon What do you think about splitting this PR into two parts? I see that you are halfway there with about 80 files left. This would allow the changes to be manageable while reviewing.

@DarshitChanpura that's a great idea! Let me quickly push this last change before splitting.

ready to go

@EduardoCorazon There are some outstanding file conflicts. I'll review once you address them

@DarshitChanpura After talking with Stephen it seems that separating it into parts might be causing the issues since the changes affect important files. As such, a possible solution would be to submit all changes in a single PR but this would make reviewing changes a bit tedious. However, I don't think I will have enough time to finish replacing the remaining files before the end of the program. I deeply apologize for the length of time I've taken to address this issue and for my lack of efficiency in such an approach. I've submitted a new issue with a little bit of notes and recommendations since the original issue is from 2022. If possible, I will try my best to keep contributing to the repo even after the end of the program if that's ok. Again I deeply apologize.


Add IP Address to logged messages.

Add same request values to ExceptionMiddleware as are found in RequestLoggingMiddleware
Add exception handling to Startup so postman gives exception messages while in development.
Created TODO so future version will be able to output the contents of the Request.Body if an exception occurs.

Just as a followup to the StyleCop-based errors of my original commit (and thanks for the manual override on your part...
I notice that VS Code's 'insert comment' (CNTL-C, K) automatically inserts the leading space.... Visual Studio doesn't. Just inserts the 2 slashes. I'd suggest there's no difference in readability between:
//$"  Request Body: {context.Request.Body}{Environment.NewLine}" +
and
// $" Request Body: {context.Request.Body}{Environment.NewLine}" +
Further, I think this:
                    $"  Query String: {context.Request.QueryString}{Environment.NewLine}" +
                    //$"  Request Body: {context.Request.Body}{Environment.NewLine}" +
                    $"  Response Status Code: {context.Response?.StatusCode}{Environment.NewLine}");

is far preferable to this:
                    $"  Query String: {context.Request.QueryString}{Environment.NewLine}" +

                    // $"  Request Body: {context.Request.Body}{Environment.NewLine}" +
                    $"  Response Status Code: {context.Response?.StatusCode}{Environment.NewLine}");

because the blank line suggests a break in the statement.
But trust me when I say I'm not one for debates about styles and am happy to adjust my preferences.


🌱 Update e2e triggers for release-1.6

Update triggers after migrated to prow

/test metal3-centos-e2e-basic-test-release-1-6

/close will backport PR merged in main

/test ?

/test metal3-ubuntu-e2e-integration-test-release-1-6

/test metal3-ubuntu-e2e-integration-test-release-1-6

/test  metal3-ubuntu-e2e-integration-test-release-1-6

/hold cancel


can we make dotmesh-server massively smaller?

The actual binaries are 89M:
$ docker run -it --rm --entrypoint=sh quay.io/dotmesh/dotmesh-server
# cd /usr/local/bin
# du -s -h /usr/local/bin
89M	/usr/local/bin

But the image itself is 3X:
$ docker image ls | grep dotm
quay.io/dotmesh/dotmesh-server                           latest                                                 869dd1069db1        20 hours ago        282MB

Can we get this down by going alpine Linux or even FROM scratch?

The problem here presumably would be userland modules for zfs, but in line with https://github.com/dotmesh-io/ops/issues/97 we should look into this at some point. Reopen when that issue rises to the top of the prio list :)


In no-sandbox mode, make FUNC_PROLOGUE and FUNC_EPILOGUE empty.

Looks like some tests need to be updated.  I'll deal with it and let you know.


Corrections in the prerequisites installation instructions for ubuntu

Good day to all!
I tried to set amuse on Kubuntu 18.10. Most of the instructions for installing prerequest work out of the box. Except for two changes:
1.- easy_install is obsolete, but it can be successfully replaced with a pip (for installing mpi4py and other packages) #375 [I tried to create a commit, please forgive me if it is forbidden to do ._.]
2. Starting with bionic (18.04LTS), libmpfr4 was replaced with libmpfr6 https://packages.ubuntu.com/bionic/libmpfr6
Technically, this package( libmpfr4 or libmpfr6 ) is in the list of dependencies of another package, libmpfr-dev, so it can be removed from the command altogether. But I suspect this package is highlighted separately for clarity.
It is interesting to note that libmpfr-dev replaces libgmp3-dev, which is also in the list of dependencies.
Environment:

AMUSE from http://amusecode.org/releases/amuse-11.2.tar.gz

Thank!
P.S.: Maybe it will be useful to include additional packages, like cython for codes and matplotlib python-tk for plot scripts

Thanks for this! I will check your pull request. You're right in writing that some of the instructions are outdated. We're looking at different ways to make installing AMUSE easier, but in the meantime we can probably update the current instructions at least.


mark-definite-framework-results: reformat description in docstring for docopt's sake

docopt was interpreting a description line (mid-paragraph) beginning
with --reassess-failed-draft-services as a declaration of that option, and
so, it being declared twice, it was refusing to allow it to be used, claiming
--reassess-failed-draft-services is not a unique prefix:...

👍


cmd/compile: " literal" in error messages for type literals that don't type check

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.3 linux/amd64
go version devel +b679665 Fri Oct 28 07:58:47 2016 +0000 linux/amd64
What did you do?
https://play.golang.org/p/gGiuxRMO-h
What did you expect to see?
main.go:9: cannot use "" (type string) as type int in field value
main.go:9: cannot use append(s, Foo literal) (type []int) as type string in assignment

What did you see instead?
main.go:9: cannot use "" (type string) as type int in field value
main.go:9: cannot use append(s, <T> literal) (type []int) as type string in assignment

It should give three errors.
main.go:9: cannot use "" (type string) as type int in field value
main.go:9: cannot use Foo literal (type Foo) as type int in append
main.go:9: cannot use append(s, Foo literal) (type []int) as type string in assignment

Root cause: [typecheckcomplit()](https://github.com/golang/go/blob/833f57ed502d686ce054ff557cf3bf5b6ed1a1d2/src/cmd/compile/internal/gc/typecheck.go#L3116&q="n.Type = nil") nils out the n.Type upon finding new errors. That hides new errors in children node as well as the type info of current node. Sending out the fix.


File name not automatically filled in when exporting

I hope that the file name can be automatically added when exporting, just like the old uabe.

The file name can already be filled in automatically


Disable the copy icon when generating

When some code is generated in a code block in the conversation window when the mouse cursor hovers the block the copy icon is blinking. It would be better to disable it when generating

This is done now in the latest release.


Feature : Add 404 Error Page

this is found that website not contain error page

@PradyumnaKrishna please assign me this issue


[HOTFIX] Remove duplicate closing brace in publish_release script

What is this PR for?
Maven artifact publish script fails to close staging repository programmatically because of the duplicate closing braces.
What type of PR is it?
Bug Fix
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

LGTM. CI failure unrelated.

LGTM

LGTM

Merging if there is no more discussion


No Carthage support

Description
I use carthage as dependency manager. (CocoaPod alternative)
I add facebook/react-native as one of the dependency.
I run carthage update (similar with pod install). Its failed to build react-native because its not compatible.
Skipped building react-native due to the error:
Dependency "react-native" has no shared framework schemes for any of the platforms: iOS

Reproduction Steps and Sample Code
use carthage as your dependency manager https://github.com/Carthage/Carthage
add this repo as dependency.
build
Additional Information

React Native version: 0.44
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode

@jamesone Nope, I didnt use cocoapods, fbsdk, and swift sdk.
I only use react-native, and I use it as submodules for my native modules bridges. https://github.com/blog/2104-working-with-submodules

Carthage is gaining some serious space in the dependency management of iOS apps. This should definitely move up to a higher priority.

Agreed. Carthage support would be nice.

We are considering react native but, we use carthage extensively.  When will this be available?

We are considering react native but, we use carthage extensively.  When will this be available?

We are considering react native but, we use carthage extensively.  When will this be available?

What is better about Carthage compare to CocoaPods with React Native? :D

I don't think it's necessarily an issue of "better", as much as people not wanting to implement Yet Another Dependency Manager in their project if they don't have to.  CocoaPods and Carthage take very different approaches to dependency management.  As such, many teams standardize on one or the other.
If RN supported Carthage, people who have adopted Carthage as their dependency manager would not have to implement another one in the form of CocoaPods, and incur the additional maintenance overhead of another third party tool in their projects.

Another vote for this (and to keep it open).
I've encountered many issues with install and linking third-party modules with and without cocoapods.
I'm sure Carthage won't fix every issue, but I feel like there has to be a better way to install native modules.

+1, keep it open, I also would prefer to use it with Carthage.

Did anyone find a solution for this, we're also planning to try react-native but we are using Carthage.

We're currently taking a hybrid Pod/Carthage approach, but are only using Pod for React Native so would be great to get everything over to Carthage

why is this closed again ? Would also love to see this happen.

Is that a subtle way to announce that there will not be Carthage support?

Given all the requests for this, coupled with the sheer resources FB has, I find it ridiculous this has not been implemented and is continually closed.
Even worse this has not received any feedback from the dev team one way or the other. In my opinion very unprofessional.


Handling expired caches

Technically, the cash is a signal for the cold worker details that the variables should be checked.
So in case of the worker is sleeping for too long and the cache is expired - the worker might miss the fact that variables should be updated
The possible way to avoid it is to use some kind of persistent cache such as database

Can be handled by extending the expiration time of the cache


Fix/test muslc

Thanks to @concatime for pointing out the musl FAQ. This fixes the build with muslc, verified by TravisCI, and adds a TravisCI check to prevent future regressions.
@williamh please let me know if you'd like this handled differently. The BSD .mk include files already define BSD_SOURCE, but given that muslc is Linux only, os-Linux.mk seemed appropriate.

helpers.h is already included in libeinfo.c:
https://github.com/OpenRC/openrc/blob/master/src/libeinfo/libeinfo.c#L41


"Condition ' !is_inside_tree() ' is true. returned: NodePath()" during debugging.

Godot version:

3.0.6
OS/device including version:

Windows 7 Pro SP1
Issue description:

Debugger started spamming this error:
0:00:06:0965 - Condition ' !is_inside_tree() ' is true. returned: NodePath()
----------
Type:Error
Description:
Time: 0:00:06:0965
C Error: Condition ' !is_inside_tree() ' is true. returned: NodePath()
C Source: scene/main/node.cpp:1780
C Function: get_path

I expected no errors. Bugs can be everywhere so i need an ability to inspect nodes that are outside of tree as well.
Steps to reproduce:
Place a breakpoint at 'pass', run the project and click the 'node' variable in Debugger (it's going to be something like 'Object: 967').
I suspected Inspector but this problem appears regardless of Inspector tab being active so i dunno.
Minimal reproduction project:

https://github.com/hilfazer/Projects/tree/master/Godot/EngineIssues/DebuggerSpamsIsInsideTree

Could not reproduce in master

Indeed it seems fixed in the master branch. I could reproduce it in the 3.0 branch though.

Given that it's not a very critical issue and only happens with nodes not in the tree, I'll close as fixed in 3.1. If someone wants to provide a fix for 3.0.x though, that's welcome.

I still have this problem in Godot_v3.1-alpha4_win64.


Provide a way to convert grpc::StatusCode to string

Is your feature request related to a problem? Please describe.
In a typical gRPC client implementation one needs to propagate potential RPC failures and/or report them to the user.
While grpc::Status::error_message() gives a string description set by the service implementation, the enum value returned by grpc::Status::error_code() contains valuable additional information for tracing down a problem.
However, there is currently no way of converting those values of type grpc::StatusCode into a human readable form. Which is always frustrating, as I need to write my own lokup table for each client implementation.
Describe the solution you'd like
A function std::string to_string(grpc::StatusCode code); which returns strings like "CANCELLED" or "DEADLINE_EXCEEDED".
Describe alternatives you've considered
We could provide this function as a community third-party library, but I really think this should be part of gRPC C++ API.
Additional context
This is related to #17969 which was closed with the argument that error_message() gives a string. However as described above, I think this is a mis-understanding:
As far as I understand, error_message() and error_code() transport different kind of information. In the sense that error_code() gives a category for the error and error_message() gives details. Both are needed for handling a problem.

You could potentially use absl::StatusCodeToString(). We are thinking of providing convenience functions to convert grpc::Status to absl::Status

You could potentially use absl::StatusCodeToString(). It would need a static cast but it would work.

This would already be helpful. However long-term, I think it is better to hide absl from the interface and provide a native ToString() function for grpc::StatusCode (It could internally just forward to absl).

Yeah, I guess ideally, we would want that, but there are a bunch of messy details about status conversions that make it really tricky to add a native API for this at present. Please stay posted, there is work being done around this.. not sure around the timelines though.


[Scope Change Request] Table "Prod. Order Component" - SetFilterFromProdBOMLine

Hi,
I'd like to request a Scope Change in table "Prod. Order Component" so that we can use this function for cloud development and don't need to copy the function in an table extension/codeunit.
I'm not sure why this is set to OnPrem, because all the function does is filter the current record.
    [Scope('OnPrem')]
    procedure SetFilterFromProdBOMLine(ProdBOMLine: Record "Production BOM Line")
    begin
        SetRange("Item No.", ProdBOMLine."No.");
        SetRange("Variant Code", ProdBOMLine."Variant Code");
        SetRange("Routing Link Code", ProdBOMLine."Routing Link Code");
        SetRange(Position, ProdBOMLine.Position);
        SetRange("Position 2", ProdBOMLine."Position 2");
        SetRange("Position 3", ProdBOMLine."Position 3");
        SetRange(Length, ProdBOMLine.Length);
        SetRange(Width, ProdBOMLine.Width);
        SetRange(Weight, ProdBOMLine.Weight);
        SetRange(Depth, ProdBOMLine.Depth);
        SetRange("Unit of Measure Code", ProdBOMLine."Unit of Measure Code");

        OnAfterSetFilterFromProdBOMLine(Rec, ProdBOMLine);
    end;

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.


Simpler patching mechanism

Is your feature request related to a problem? Please describe.
Easier editing/reading of patches.
Describe the solution you'd like
Instead of writing shell for patches, include the entire file:

easier to edit
no more shell
no more diff conflicts

Additional context
The long term goal is to avoid patches.

+1 on having a simpler patching mechanism.
The only problem with including the entire file is if the original file changes from one release to another, and we miss these changes. We can solve this problem by calculating the hash of the original file and then checking for it before we replace the file. When doing a CF bump, the patching would fail if the original file changed.
As you say, this shouldn't be too hard to fix given the fact we expect to move the fixes to the release original source codes.

I agree that the patches are hard to read, but at least they provide the information about what has changed. Including the whole file hides that information; you will have to fetch the upstream source at the correct commit level and do a diff locally.
As @f0rmiga already wrote, it also no longer throws an error when there is a diff conflict. I think failing on these conflicts is a feature to alert us that something has changed upstream.
Using a hash of the upstream file will create even more conflicts because patch will apply the diff with "fuzz" if upstream changes did not directly modify the lines we are patching; the hash check will fail on any upstream change (maybe that is a feature, but it conflicts with the goal of "no more diff conflicts").
The long term goal of avoiding patches and getting them included upstream is the proper solution for this issue.

The hash comparison forces the person who is bumping the release to re-validate the patch, i.e. to see if the changed parts are still relevant and/or play nice with the new release's incoming change(s).

The hash comparison forces the person who is bumping the release to re-validate the patch, i.e. to see if the changed parts are still relevant and/or play nice with the new release's incoming change(s).

Ok, that is fine, as it is more robust. It will just require even more frequent updating of the patches.
However updating the patch is now more error-prone, as you need to get the same file from the older release again to re-create the patch, and you can potentially make additional mistakes here. This change is just moving the ugliness from one part of the workflow to another.
I don't know, this just seems less transparent to me, as you can no longer see the changes in the patch with the Github website.


feat: Encrypt files

What this PR does 📖

Encrypt files being stored in constellation with a unique key, which is encrypted with the private key
Encrypt key when attaching files based on chat type.
Decrypt file while downloading

Which issue(s) this PR fixes 🔨

Resolves #174

Special notes for reviewers 🗒
Additional comments 🎤

While the data itself can (and should) be encrypted directly, its been decided to encrypt the link directly instead of the data.


Allow mounting OAuth token for k8s auth

Is this a BUG REPORT or FEATURE REQUEST?:
Feature Request
What happened:
I am deploying kubeless-function-controller to a non-rbac k8s cluster using webhooks for auth/z. My authz policies reject any non-whitelisted serviceaccounts, and I cannot whitelist the controller-acct serviceaccount nor can I use an existing, whitelisted serviceaccount.
https://github.com/kubeless/kubeless's function controller allows mounting a k8s secret containing a bearer token for authz against k8s. See related issue: https://github.com/kubeless/kubeless/issues/877
What you expected to happen:
Supply a secret or additional mounted file containing the bearer token and use the bearer token for k8s actions instead of using a serviceaccount.
How to reproduce it (as minimally and precisely as possible):
Use a webhook for k8s authz which rejects the kubeless service account.
Anything else we need to know?:
Environment:
Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.1-palantir1", GitCommit:"f31005ab029ab58f05349b193fa2c22bdbe27ad3", GitTreeState:"clean", BuildDate:"2018-07-24T19:50:58Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.1-palantir1", GitCommit:"f31005ab029ab58f05349b193fa2c22bdbe27ad3", GitTreeState:"clean", BuildDate:"2018-07-24T19:46:29Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Kubeless version (use kubeless version):
Kubeless version: v1.0.0-alpha.7
Cloud provider or physical cluster:
AWS

Closed by #7