[Bug]: Error creating controller

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
I followed the quickstart guide and was able to open the UI, but I keep getting "Error creating controller". I checked the troubleshooting doc and verified that Docker is running using docker ps. I also checked existing issues and saw people saying that modifying the config.toml file with a line saying SANDBOX_TYPE="exec" might fix it. However with the (new?) installation method through Docker, there are no files to modify as the image is already made. Another thing I thought it might be is that I'm on Windows and WSL might not have the right permissions set? I'm not sure how to troubleshoot that.
Current Version
Docker Desktop 4.29.0 (145265)

Installation and Configuration
Alyssa@LAPTOP-U1RNRHQR MINGW64 ~
$ cd C:/Users/Alyssa/Documents/opendevintesting

Alyssa@LAPTOP-U1RNRHQR MINGW64 ~/Documents/opendevintesting
$ docker run \
    --pull=always \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH="C:\Users\Alyssa\Documents\opendevintesting" \
    -v "C:\Users\Alyssa\Documents\opendevintesting:/opt/workspace_base" \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    ghcr.io/opendevin/opendevin:0.5
0.5: Pulling from opendevin/opendevin
Digest: sha256:322c5ddcc40f0ac3b6727f63dda9fab87fea3cc1e90a1359f7229529a2c89684
Status: Image is up to date for ghcr.io/opendevin/opendevin:0.5
useradd warning: enduser's uid 197611 outside of the UID_MIN 499 and UID_MAX 60000 range.
stat: cannot statx '/var/run/docker.sock': No such file or directory
Docker socket group id:
Usage: usermod [options] LOGIN

Options:
  -a, --append                  append the user to the supplemental GROUPS
                                mentioned by the -G option without removing
                                the user from other groups
  -b, --badname                 allow bad names
  -c, --comment COMMENT         new value of the GECOS field
  -d, --home HOME_DIR           new home directory for the user account
  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -f, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -g, --gid GROUP               force use GROUP as new primary group
  -G, --groups GROUPS           new list of supplementary GROUPS
  -h, --help                    display this help message and exit
  -l, --login NEW_LOGIN         new value of the login name
  -L, --lock                    lock the user account
  -m, --move-home               move contents of the home directory to the
                                new location (use only with -d)
  -o, --non-unique              allow using duplicate (non-unique) UID
  -p, --password PASSWORD       use encrypted password for the new password
  -P, --prefix PREFIX_DIR       prefix directory where are located the /etc/* files
  -r, --remove                  remove the user from only the supplemental GROUPS
                                mentioned by the -G option without removing
                                the user from other groups
  -R, --root CHROOT_DIR         directory to chroot into
  -s, --shell SHELL             new login shell for the user account
  -u, --uid UID                 new UID for the user account
  -U, --unlock                  unlock the user account
  -v, --add-subuids FIRST-LAST  add range of subordinate uids
  -V, --del-subuids FIRST-LAST  remove range of subordinate uids
  -w, --add-subgids FIRST-LAST  add range of subordinate gids
  -W, --del-subgids FIRST-LAST  remove range of subordinate gids
  -Z, --selinux-user SEUSER     new SELinux user mapping for the user account

INFO:     Started server process [27]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:54844 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO:     ('<IP_ADDRESS>', 54856) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiIzOWZhODFmYS02YjhiLTQzMzYtODBjZi0zNzU0NjQ3ZTg0MDAifQ.5XamgoC0qQvuxmY_WKRufEKkSBrWNHJcvsB8NR_RycE" [accepted]
INFO:     connection open
06:56:44 - opendevin:INFO: agent.py:125 - Creating agent CodeActAgent using LLM gpt-3.5-turbo
06:56:44 - opendevin:INFO: llm.py:78 - Initializing LLM with model: gpt-3.5-turbo
06:56:44 - opendevin:INFO: ssh_box.py:68 - SSHBox is running as opendevin user with USER_ID=197611 in the sandbox
06:56:44 - opendevin:ERROR: ssh_box.py:75 - Error creating controller. Please check Docker is running and visit `https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting` for more debugging information.
06:56:44 - opendevin:ERROR: agent.py:138 - Error creating controller: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
    raise reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
    raise value.with_traceback(tb)
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/utils/decorators.py", line 44, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 236, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

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

Traceback (most recent call last):
  File "/app/opendevin/server/agent/agent.py", line 130, in create_controller
    self.controller = AgentController(
                      ^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/agent_controller.py", line 82, in __init__
    self.action_manager = ActionManager(self.id)
                          ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/action_manager.py", line 39, in __init__
    self.sandbox = DockerSSHBox(
                   ^^^^^^^^^^^^^
  File "/app/opendevin/runtime/docker/ssh_box.py", line 79, in __init__
    raise ex
  File "/app/opendevin/runtime/docker/ssh_box.py", line 73, in __init__
    self.docker_client = docker.from_env()
                         ^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 94, in from_env
    return cls(
           ^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 45, in __init__
    self.api = APIClient(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
06:56:44 - opendevin:INFO: agent_controller.py:201 - Setting agent state from AgentState.LOADING to AgentState.INIT
Starting loop_recv for sid: 39fa81fa-6b8b-4336-80cf-3754647e8400
INFO:     <IP_ADDRESS>:54844 - "GET /api/refresh-files HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54872 - "GET /api/litellm-models HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54886 - "GET /api/messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54886 - "GET /api/agents HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54886 - "DELETE /api/messages HTTP/1.1" 200 OK
06:57:16 - opendevin:INFO: agent.py:125 - Creating agent CodeActAgent using LLM gpt-4-turbo
06:57:16 - opendevin:INFO: llm.py:78 - Initializing LLM with model: gpt-4-turbo
06:57:16 - opendevin:WARNING: stream.py:30 - Subscriber subscribed multiple times: agent_controller
06:57:16 - opendevin:INFO: ssh_box.py:68 - SSHBox is running as opendevin user with USER_ID=197611 in the sandbox
06:57:16 - opendevin:ERROR: ssh_box.py:75 - Error creating controller. Please check Docker is running and visit `https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting` for more debugging information.
06:57:16 - opendevin:ERROR: agent.py:138 - Error creating controller: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
    raise reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
    raise value.with_traceback(tb)
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/utils/decorators.py", line 44, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 236, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

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

Traceback (most recent call last):
  File "/app/opendevin/server/agent/agent.py", line 130, in create_controller
    self.controller = AgentController(
                      ^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/agent_controller.py", line 82, in __init__
    self.action_manager = ActionManager(self.id)
                          ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/action_manager.py", line 39, in __init__
    self.sandbox = DockerSSHBox(
                   ^^^^^^^^^^^^^
  File "/app/opendevin/runtime/docker/ssh_box.py", line 79, in __init__
    raise ex
  File "/app/opendevin/runtime/docker/ssh_box.py", line 73, in __init__
    self.docker_client = docker.from_env()
                         ^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 94, in from_env
    return cls(
           ^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 45, in __init__
    self.api = APIClient(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
06:57:16 - opendevin:INFO: agent_controller.py:201 - Setting agent state from AgentState.INIT to AgentState.INIT

Model and Agent

Model: gpt-4-turbo
Agent: CodeActAgent

Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
No response

value of id -u?

output of id -u command?

197611

Could you pass -e SANDBOX_USER_ID=1000?
How this ID is assigned to you if it is > than MAX range?
What are the dangers of creating a normal user with UID < 500?

I'm still getting the "Error creating controller" message.
$ docker run \
    --pull=always \
    -e SANDBOX_USER_ID=1000 \
    -e WORKSPACE_MOUNT_PATH="C:\Users\Alyssa\Documents\opendevintesting" \
    -v "C:\Users\Alyssa\Documents\opendevintesting:/opt/workspace_base" \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    ghcr.io/opendevin/opendevin:0.5
0.5: Pulling from opendevin/opendevin
Digest: sha256:322c5ddcc40f0ac3b6727f63dda9fab87fea3cc1e90a1359f7229529a2c89684
Status: Image is up to date for ghcr.io/opendevin/opendevin:0.5
stat: cannot statx '/var/run/docker.sock': No such file or directory
Docker socket group id:
Usage: usermod [options] LOGIN

Options:
  -a, --append                  append the user to the supplemental GROUPS
                                mentioned by the -G option without removing
                                the user from other groups
  -b, --badname                 allow bad names
  -c, --comment COMMENT         new value of the GECOS field
  -d, --home HOME_DIR           new home directory for the user account
  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -f, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -g, --gid GROUP               force use GROUP as new primary group
  -G, --groups GROUPS           new list of supplementary GROUPS
  -h, --help                    display this help message and exit
  -l, --login NEW_LOGIN         new value of the login name
  -L, --lock                    lock the user account
  -m, --move-home               move contents of the home directory to the
                                new location (use only with -d)
  -o, --non-unique              allow using duplicate (non-unique) UID
  -p, --password PASSWORD       use encrypted password for the new password
  -P, --prefix PREFIX_DIR       prefix directory where are located the /etc/* files
  -r, --remove                  remove the user from only the supplemental GROUPS
                                mentioned by the -G option without removing
                                the user from other groups
  -R, --root CHROOT_DIR         directory to chroot into
  -s, --shell SHELL             new login shell for the user account
  -u, --uid UID                 new UID for the user account
  -U, --unlock                  unlock the user account
  -v, --add-subuids FIRST-LAST  add range of subordinate uids
  -V, --del-subuids FIRST-LAST  remove range of subordinate uids
  -w, --add-subgids FIRST-LAST  add range of subordinate gids
  -W, --del-subgids FIRST-LAST  remove range of subordinate gids
  -Z, --selinux-user SEUSER     new SELinux user mapping for the user account

INFO:     Started server process [27]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:35326 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO:     ('<IP_ADDRESS>', 35332) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiIzOWZhODFmYS02YjhiLTQzMzYtODBjZi0zNzU0NjQ3ZTg0MDAifQ.5XamgoC0qQvuxmY_WKRufEKkSBrWNHJcvsB8NR_RycE" [accepted]
INFO:     connection open
Starting loop_recv for sid: 39fa81fa-6b8b-4336-80cf-3754647e8400
INFO:     <IP_ADDRESS>:35334 - "GET /api/litellm-models HTTP/1.1" 200 OK
13:11:13 - opendevin:INFO: agent.py:125 - Creating agent CodeActAgent using LLM gpt-4-turbo
13:11:13 - opendevin:INFO: llm.py:78 - Initializing LLM with model: gpt-4-turbo
13:11:13 - opendevin:INFO: ssh_box.py:68 - SSHBox is running as opendevin user with USER_ID=1000 in the sandbox
13:11:13 - opendevin:ERROR: ssh_box.py:75 - Error creating controller. Please check Docker is running and visit `https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting` for more debugging information.
13:11:13 - opendevin:ERROR: agent.py:138 - Error creating controller: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
    raise reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
    raise value.with_traceback(tb)
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
  File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
    self.endheaders()
  File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
    self.connect()
  File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
    sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/utils/decorators.py", line 44, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 236, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

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

Traceback (most recent call last):
  File "/app/opendevin/server/agent/agent.py", line 130, in create_controller
    self.controller = AgentController(
                      ^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/agent_controller.py", line 82, in __init__
    self.action_manager = ActionManager(self.id)
                          ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/opendevin/controller/action_manager.py", line 39, in __init__
    self.sandbox = DockerSSHBox(
                   ^^^^^^^^^^^^^
  File "/app/opendevin/runtime/docker/ssh_box.py", line 79, in __init__
    raise ex
  File "/app/opendevin/runtime/docker/ssh_box.py", line 73, in __init__
    self.docker_client = docker.from_env()
                         ^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 94, in from_env
    return cls(
           ^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 45, in __init__
    self.api = APIClient(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
13:11:13 - opendevin:INFO: agent_controller.py:201 - Setting agent state from AgentState.LOADING to AgentState.INIT
INFO:     <IP_ADDRESS>:35344 - "GET /api/messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35326 - "GET /api/refresh-files HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35326 - "GET /api/agents HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:35326 - "DELETE /api/messages HTTP/1.1" 200 OK

docker error: /var/run/docker.sock: no such file or directory

I don't have the Advanced tab on my Docker Desktop and cannot find any setting related to enabling the default Docker socket. I am using the latest version of Docker 4.29.0 (145265)

Your os?

Windows

Could you run again with Docker Desktop running?

 The window may change like this

I'm not sure it'll fix it, but I'm going to try setting a higher UID_MAX here: https://github.com/OpenDevin/OpenDevin/pull/1788

#1788 is merged--can you try using main to see if it helps?


Addon cert-manager fails

Hi,
I just installed a new k8 cluster and came across an error when trying to add the cert-manager:
2019/03/15 11:09:09 installing addon cert-manager
2019/03/15 11:09:12 run failed
command:helm install --name cert-manager --namespace ingress stable/cert-manager
stdout:Error: validation failed: [unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1"]
Apparently this is caused by
https://github.com/jetstack/cert-manager/issues/1255
Reading through the comments, I think it can be handled by following the "Steps" under
https://docs.cert-manager.io/en/latest/getting-started/install.html#installing-with-helm
especially

Install the CustomResourceDefinition resources separately
 kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.7/deploy/manifests/00-crds.yaml
Create the namespace for cert-manager
kubectl create namespace cert-manager
Label the cert-manager namespace to disable resource validation
kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
Add the Jetstack Helm repository
helm repo add jetstack https://charts.jetstack.io
Update your local Helm chart repository cache
helm repo update
Install the cert-manager Helm chart
helm install \
  --name cert-manager \
  --namespace cert-manager \
  --version v0.7.0 \
  jetstack/cert-manager

The most important thing is probably applying the crds (first command)

I have something similar:
hetzner-kube cluster addon install cert-manager --name my-cluster
2019/03/15 19:17:58 installing addon cert-manager
2019/03/15 19:18:02 run failed
command:helm install --name cert-manager --namespace ingress stable/cert-manager
stdout:Error: validation failed: [unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1"]

Indeed. I am unsure about why the chart doesn't handle this itself, but automating the CRDs creation / destruction with a terraform custom resource isn't hard at all and until they fixit upstream a perfectly fine workaround.

Current status:
2019/12/11 14:29:40 run failed
command:helm install --name cert-manager --namespace ingress stable/cert-manager
stdout:Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"

err:Process exited with status 1

Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-14T04:24:29Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Yes it is a pity that it is no longer working. But on the other hand installing the cert manager with helm isn't that hard neither. The following is for cert manager v11:
    kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.11/deploy/manifests/00-crds.yaml     kubectl create namespace cert-manager     helm repo add jetstack https://charts.jetstack.io     helm repo update     helm install --name cert-manager --namespace cert-manager --version v0.11.0 jetstack/cert-manager

@thomasletsch Thanks! I guess my error is due to API compatibility changes in Kubernetes 1.16 and different to previous errors reported. With your suggestions, it should be trivial to fix the addon as well.


[IMPROVEMENT]: Add All Media Queries At The Bottom Of The Stylesheet Page

GSSOC'23
What improvement are you suggesting?

In main.css File in Respective Project Directory .Particular Section having Some Design Properties and Values.
In this Case, You can Added media-queries along with Particular Above Section. This happens in Other Sections Also.
Suggest, Always Write media-queries at the Bottom of the Web Page with adding Meaningful Comments to Each Section.

Why should make this improvement?

One Reason is, You Know that CSS will Pick up any of the style which are actually at the Bottom. It's going to take those styles as preference.

How can we make these improvements?

Put All our Media Queries in Bottom of The Particular File.
Add Meaningful Comments about Media Queries with Respective Sections.

Additional Context

Another Point about Designing Media Queries, If Page Stylesheet is Too Large and Having Huge Media Queries, Then Separate them into One Other File in Same Project Directory.
Of Course, Most of the Developers and Programmers are Not Recommend This Approach.

We don't think we need the changes mentioned above.


[HxMessageBox] MessageBoxRequest doesn't contain options for Button Settings

As title says, MessageBoxRequest is missing parameters for PrimaryButtonSettings / SecondaryButtonSettings, I think these are the only two parameters of <HxMessageBox that are missing from MessageBoxRequest

You're right! We'd greatly appreciate it if you could submit a pull request for this enhancement.
In the meantime, you can utilize the MessageBoxRequest.AdditionalAttributes property to pass any required parameters.


Connection problem: SSL: BAD_SIGNATURE  [Bug]

The problem
Connection problem:
Config entry '' for chroma integration not ready yet: Cannot connect to host <IP_ADDRESS>:54236 ssl:True [[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1007)]; Retrying in background
Not connected to my pc, port 54236 open on pc, synapse started
Your device(s) with a problem
Synapse
Firmware version
0.2.2
Integration version with the issue
0.2.2
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
Home Assistant 2023.04.1
Is there anything useful in the logs?
No response
Additional information
No response

Disable "Steam Walpapper Engine" synapse connect, and this work

I'm having the same issue.  I disabled Chroma Connect in Synapse, and I dont know what Steam Wallpaper Engine is. I don't think I have that.


deploy fail

I have already try many ways,but not work

@zhanfenghai it happens because of this issue. GitHub Actions use Ubuntu Latest image.
You can solve this problem in two ways:

Use Ubuntu 20.04 image.
Provide additional options for SSH through REMOTE_PORT environment variable (that's the only way I found to provide additional options, thanks to #88).

Here are the options to solve the problem:
REMOTE_PORT: 22 -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa

For SSH options, SSH_CMD_ARGS is now available.

Also SCRIPT_BEFORE: ls can help, since it's forcing known_hosts update

SCRIPT_BEFORE (optional, default '')
Script to run on host machine before rsync. Single line or multiline commands. Execution is preformed by storing commands in .sh file and executing it via .bash over ssh


add Medium to supported elements and update RSS Blue

Hi,
I didn't manage to start the dev server, so please make sure I didn't break anything by adding Medium to the list of supported elements.
Associated PR at Podcastindex-org/podcast-namespace can be found here.

Looks good to me. I’ll double check it when rolling out.

Thank you!


Ignore folders

Add the option to ignore all the files inside of a folder

Is there any update on this issue?
I am also looking for a way to specify a list of files or folders to be ignored when running Tidy or Tidy-fix.

Hello @ahamuraru
As of v7.9, Clang Power Tools does not predefined support (visual picker interface) for ignoring particular folders.
However, you can achieve this by using the 'Files to ignore' field. This field supports partial matching of the project file paths, in your case the parent directory path.
E.g. to ignore C:\source\myproj\main.cpp you could pass C:\source\myproj to the Files to ignore field.
Important note: there's been a regression introduced by v7.9 affecting the file ignore mechanism, which we've fixed in the interim. Please make sure to update your Clang Power Tools scripts before trying to use the file-ignore feature.
You can do that by clicking the PowerShell scripts [Update] button in the Visual Studio extension user interface.
Please let us know if these instructions are of help regarding your particular scenario.
Best regards,
Gabriel.

Hi Gabriel,
If I go to VS2017, Tools->Extensions and Updates, I see that Clang Power Tools v7.9.0 is installed. 'Automatically update this extension' is checked, so I think I have the latest version.
I have also went to Clang Power Tools -> Compiler and clicked the 'Update' button for 'PowerShell scripts'.
However, it seems that Tidy and Tidy-fix still ignore the files from 'Files to ignore' list. Am I doing something wrong?
Thanks,
Anca


[Feature] Require dynamic index

Hi Team
Is there possible to add a feature of dynamic index parameter for this project?
I'm using fluentd tag to do log routing so would be nice if it can route into different index in Splunk via fluentd tag info, so it won't need to create lots of fluentd conf rules.
here's a code example:
<match log>
  @type rewrite_tag_filter
  <rule>
    key info
    pattern (.*)
    tag ${tag}.$1
  </rule>
</match>

<match log.** >
  @type copy
  <store>
    @type splunk_hec
    ... ...
    index ${tag_parts[1]}
  </store>
  <store>
      @type stdout
  </store>
</match>

I believe is adding this rules by checking the index param before building post req to Splunk?
https://github.com/uken/fluent-plugin-elasticsearch/blob/e1c0bd7d88ce55746bf15cb4ae8ba40d9a476956/lib/fluent/plugin/out_elasticsearch_dynamic.rb#L249-L275
the above code is from the "fluent-plugin-elasticsearch" where they implement the dynamic index.
thanks :)

Hey @hjmoon49125 ,
As of now, dynamic index routing feature isn't available. But instead you can provide index as splunk.com/index in pod or namespace annotation. ( https://github.com/splunk/splunk-connect-for-kubernetes/blob/520b78fcc1460d6d237b72fa136b445e6c2ed00e/helm-chart/splunk-connect-for-kubernetes/charts/splunk-kubernetes-logging/templates/configMap.yaml#L285 )
This can be useful in case where you want to distribute events based on container or namespace.

We had an internal discussion about this feature enhancement. We decided that we do not wish to add the required feature as the dynamic index can be good to have but if all the dynamic indexes are not present in Splunk, there would be unexpected behaviour with data loss.


Preserve host header

Some web applications use the original host header sent by the browser to do things that would prevent them from working properly if the original host header isn't preserved.
For example:

CRSF header checks
Virtual hosting
Looking up the name of cookies (weird I know, but the application I was proxying did this)

This PR preserves the original host header and adds a host header check in the test to simulate an application that does this.

fair points :) updated

Thanks @wbutler1331!


custom event (task 54)

add custom handler on change event

reopen with correct branch name here: https://github.com/epam/ketcher/pull/205


how to make a zip

how do you select the files and make a zip?
6.Go to the the src directory, select all files and then create a zip file, make sure the zip file does not contain the src directory itself, otherwise Lambda function will not work.

If you are using windows, an easy way to do it is just to open up the src folder in your file explorer.
select all the files in that folder by holding 'Ctrl' and clicking on each file, then right click on the selected files and select... Send to > Compressed (zipped) folder. then you will have a zipped folder of those files which you can then rename and use to upload.

Thanks for the help. I just downloaded the whole zip file. Then I created another zip from just the files required. I thought there was an easier way.


Unable to copy DSiWare save from 3DS #1 to 3DS #2

I'm stuck on this part of the troubleshooting guide: https://github.com/Plailect/Guide/wiki/Troubleshooting#ts_dsiware
When I get to step 5, the DSiWare doesn't show up in the menu when I put the microSD card from 3DS #1 to 3DS #2. When I manually move the DSiWare data from the microSD card in 3DS #1 to the microSD card in 3DS #2, a question mark icon is displayed instead of the game's icon, there's no name given to the DSiWare, and the DSiWare has a block size of 0. I'm able to copy back the DSiWare on 3DS #1, but even after restoring my previous NAND backup and getting the NNID back on 3DS #1 I can't copy the DSiWare to 3DS #2.
EDIT: If it helps, 3DS #1 is a N3DSXL and 3DS #2 is a N3DS from the Super Mario 3D Land bundle.
https://i.imgur.com/ydhPrYF.jpg
https://i.imgur.com/SHoyzrc.jpg

I've amended https://github.com/Plailect/Guide/wiki/Troubleshooting#ts_dsiware, try again.

I tried again and it didn't work.

Delete the game and redownload it, then try the troubleshooting again.

I deleted the game from 3DS #1, redownloaded it through the E-Shop, and went through troubleshooting again and it didn't work. I'm not sure if this is completely helpful, but when I moved the save data manually, I moved it from "Nintendo 3DS\2e35beedb07b3482f0bb9ace2d9a9b0b\0fa400e94707b885534530340002544d\Nintendo DSiWare" to either "Nintendo 3DS\d750d6171cf1ca8bd4bb516b436ce678\cdd300f54780432a534c333200035344\Nintendo DSiWare" on the microSD card from 3DS #1 or to "Nintendo 3DS\d750d6171cf1ca8bd4bb516b436ce678\41a700f94707bd13534530340002544d\Nintendo DSiWare" on the microSD card from 3DS #2. Also, when I called Nintendo to transfer the NNID back to 3DS #1 they stated that the pre-installed software on 3DS #2 would remain on 3DS #2.

Maybe I can help.
Did you restore a backup on 3DS#1 right before the system-transfer?
If yes, than you should be able to exchange the saves.
From 3DS#1:/Nintendo 3DS/<32-char-id>/.... to 3DS#2:/Nintendo 3DS/<same-32-char-id-like-3DS#1>/...
Or easily swap the sd-cards, that also should be possible. :)


The value range of PerformAudioPassThru.maxDuration is unreasonable

In https://www.smartdevicelink.com/zh-hans/guides/hmi/ui/performaudiopassthru/,
The value range of PerformAudioPassThru.maxDuration is defined as 1～1000000.
In practical use, if the PerformAudioPassThru.maxDuration is set too small, for instance, 1ms,
then it is obviously not enough for the HU to handle APT.
So, I'm inclined to think that the range should be defined as 3000～1000000 is more reasonable,
since 3000ms is long enough for the HU.
For example, in https://www.smartdevicelink.com/zh-hans/guides/hmi/ui/alert/,
It is reasonable that Alert.duration is defined as 3000～10000.

I'm closing this issue as the requested change will require an accepted SDL Evolution Proposal.  Please submit a proposal in the sdl_evolution repository, following this template.  Once the Steering Committee has reviewed and accepted the proposal, I'll enter issues in affected repositories for implementation.  Thanks!


[SPARK-19759][ML] not using blas in ALSModel.predict for optimization

What changes were proposed in this pull request?
In ALS.predict currently we are using blas.sdot function to perform a dot product on two Seqs. It turns out that this is not the most efficient way.
I used the following code to compare the implementations:
def time[R](block: => R): Unit = {
    val t0 = System.nanoTime()
    block
    val t1 = System.nanoTime()
    println("Elapsed time: " + (t1 - t0) + "ns")
}
val r = new scala.util.Random(100)
val input = (1 to 500000).map(_ => (1 to 100).map(_ => r.nextFloat).toSeq)
def f(a:Seq[Float], b:Seq[Float]): Float = {
    var r = 0.0f
    for(i <- 0 until a.length) {
        r+=a(i)*b(i)
    }
    r
}
import com.github.fommil.netlib.BLAS.{getInstance => blas}
val b = (1 to 100).map(_ => r.nextFloat).toSeq
time { input.foreach(a=>blas.sdot(100, a.toArray, 1, b.toArray, 1)) }
// on average it takes<PHONE_NUMBER> ns
time { input.foreach(a=>f(a,b)) }
// on average it takes 515510185 ns

Thus this PR proposes the old-style for loop implementation for performance reasons.
How was this patch tested?
existing UTs

Test build #83551 has started for PR 19685 at commit 8b0add6.

Test build #83551 has finished for PR 19685 at commit 8b0add6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83551/
Test PASSed.

@srowen I tried enabling native BLAS, but native BLAS implementation is still much slower: average on 10 runs is 2529,922753 ms against 515,510185 ms of the for loop. As a reference, I am using a OSX 2.5 GHz Intel Core i7.
What is worth to notice, though, is that I tried to run the same code but performing the toArray before, thus excluding its time from the computation. In this case, native BLAS implementation is much faster: 100,969697 ms. Thus here the "performance killer" is the conversion to array, as you pointed out.
@WeichenXu123 In the description od the PR and here you can see the tests I made. Do you think something else is needed?

Test build #83598 has started for PR 19685 at commit 4867345.

Test build #83598 has finished for PR 19685 at commit 4867345.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83598/
Test PASSed.

Merged to master


IBM Biginsight not working

Following error present
Error while pulling image: Get https://index.docker.io/v1/repositories/biginsights/quick-start/images: dial tcp <IP_ADDRESS>:443: getsockopt: network is unreachable

Are you on stable connection? Hub has seen a couple of time-outs which are being investigated.


[Phcode.dev Bot] Publishing Release v.3003 to Extension Store

Thank you for contributing to phcode.dev extension store.
Please track extension/theme publish status by clicking this link.
You may close this issue at any time.

Extension successfully published to store. You can close this issue at any time.


fix(syntax): C# interpolated strings highlighting

Before
After

Closes #178

Thanks for the PR, is there another scope available though? I try to avoid meta when possible.

The other one could be variable.other.object.cs & variable.other.object.property.cs, though that'd be everywhere - which isn't that much of an issue I guess

I'm guessing we could also change
https://github.com/catppuccin/vscode/blob/f148b6cb1fef18d759c13ae03b226d8a5bdbb89b/src/theme/tokens/index.ts#L283-L289
to only be string variable here? 🤔
That way, we can probably fix a bunch of interpolation issues without treating C# as a special case.

Yeah could work as well, up to you - in the end the result is the same, just one you're sure that it won't affect other languages.

I'll merge this as-is, we can always refactor it later. 🙂


Add Ruby 3.1 and Rails 7.0 to CI

Summary
Changes to CI configuration to add Ruby 3.1 and Rails 7.0 to the CI matrix, along with necessary changes to get everything green and on stable versions.
Other Information
In addition to the straightforward changes required for the CI configuration, there are a few other changes included in this PR.
The first change was the Gemfile.lock in the base of the repo.  I updated it to be Rails 7.0.1 as opposed to 7.0.0.alpha.2.  This required including a few explicit RAILS_VERSION environment variables for certain steps in CI and linting.
Two additional items required to get the specs to green were changes to some argument handling and module prepending.
To disambiguate with keyword arguments, it was necessary to add an explicit hash in the lib/view_component/instrumentation.rb implementation of render_in.
The second issue, which was a bit more subtle, has to do with the change to how module prepending in Ruby 3.1 works IF the module is already in the ancestor chain.  This is discussed here.
Because of initializer code in lib/view_component/engine.rb, the ViewComponent::Instrumentation module is prepended to ViewComponent::Base on engine load.  But the prepend call is made for a second time when ViewComponent::Instrumentation is explicitly included.  In Ruby 3.0 and earlier this second call is a no-op, but in Ruby 3.1 it adds a second ViewComponent::Instrumentation to the ancestor chain, resulting in a duplicate invocation of the notification.
My sense is that there's no reason for the self.included call in ViewComponent::Instrumentation (and in fact, no reason for a component to explicitly include ViewComponent::Instrumentation at all), but given my limited familiarity with the internals of the library I simply restored the Ruby 3.0 and earlier behavior for this case.

@petergoldstein Looks great 👍. thanks again for opening this!


Consider removing .jsx extensions from require() calls

By default React eslint rules flag require calls that specify .jsx: the rationale from the eslint-plugin-react documentation is that,

require() statements should generally not include a file extension as there is a well defined mechanism for resolving a module ID to a specific file.

Our Webpack configuration does handle this resolution so it is accurate that the extension is unneeded.
Removing the .jsx extensions from require calls suppresses 54 errors, but I do not want to make the assumption that changing the code is the way to go: we could also suppress this eslint rule.
There does not seem to be a universal preference about using or omitting the extension, but the majority of coworkers I polled have adopted the extensionless form.
Thoughts on this, @arvind @deathbearbrown?
LYRA-261

+1 for removing the jsx extension. I was never happy that they were present -- an artifact of the fact that I couldn't get the old browserify build system to resolve them w/o the extension.

OK, awesome! Thanks for the historical perspective.


spectral_cube and radio_beam package?

When opening a FITS cube in spectral_cube, I get the following error message:
import numpy as np
import matplotlib.pyplot as plt
import pyregion
from spectral_cube import SpectralCube

cube = SpectralCube.read(fitsFile)

/Users/amanda/anaconda/lib/python2.7/site-packages/spectral_cube/spectral_cube.py:252: UserWarning: radio_beam is not installed. No beam can be created.
  warnings.warn("radio_beam is not installed. No beam "
/Users/amanda/anaconda/lib/python2.7/site-packages/spectral_cube/spectral_cube.py:263: UserWarning: Could not parse beam information from header.  Exception was: UnboundLocalError("local variable 'Beam' referenced before assignment",)
  "  Exception was: {0}".format(ex.__repr__()))

Looks like radio_beam needs to be installed, but pip wasn't able to find the package (either radio_beam or radio-beam). Should I be installing it another way? Apologies if this is a really basic question.

You can install it directly from here:
https://github.com/radio-astro-tools/radio_beam
e.g. with:
pip install https://github.com/radio-astro-tools/radio_beam/archive/master.zip
We haven't made a pip release of radio_beam yet.
However, this looks like a real error that we should fix.  Are you on the latest development version of spectral-cube or the pip version?

I'm using the pip version of spectral-cube.

Installing radio_beam from the above URL should solve your problem.
This will stay open as an issue, though, because we would like to give a more useful error message if radio_beam is not installed.

I can confirm that I did install radio_beam from the URL and it solved my issue. I agree that a more useful error message would be helpful.

Hi! I just stumbled upon this issue and I have a question that might be related in some sense. I have been working successfully with radio-beam and want to reference the package in my paper, but I can't find a proper reference for it. Is there a paper or something that I should use for reference?

@adamginsburg - I think we can close this since we now have it as a dependency?


delete-chroot permission denied

sudo bin/delete-chroot trusty
sudo: unable to execute bin/delete-chroot: Permission denied

sudo sh bin/delete-chroot trusty


How to get immediate subscription result using VirtualTimeScheduler

Trying to implement immediate subscription result using VirtualTimeScheduler:
RxJS version:
5.0.0.beta.11
Code to reproduce:
import {Observable as O, VirtualTimeScheduler} from 'rxjs'

let scheduler = new VirtualTimeScheduler();
let a$ = O.interval(1000, scheduler).map(a => 'a' + a)
let b$ = O.interval(250, scheduler).map(b => 'b' + b)
let c$ = O.merge(a$, b$).take(10)
  .subscribe((x) => console.log(x))
scheduler.flush()

Expected behavior:
Probably should be (this is the output without using virtual scheduler):
b0
b1
b2
a0
b3
b4
b5
b6
a1
b7
Actual behavior:
Actual output:
b0
b1
b2
Additional information:
Can be tried here
http://www.webpackbin.com/4k5VDUM5Z

This is because by default virtualTimeScheduler limits maximum frames to be executed.
Internally, virtualTimeScheduler specifies 'frame time factor' to 10 then sets maximum frame to [750] (https://github.com/ReactiveX/rxjs/blob/da8c1c24e988b9b557126be6dfbc714379322f73/src/scheduler/VirtualTimeScheduler.ts#L13) . So in above code snippet, only b$ can be included in those time frame by b$ emitted per 250, 500.. while a$ exceeds it from first emission.
For immediate workaround, I've amended snippet bit (http://www.webpackbin.com/E12aigmqb),
let scheduler = new VirtualTimeScheduler();
+//picked any suffeciently large number can include all frames expected to be executed
+scheduler.maxFrames = 75000;
let a$ = O.interval(1000, scheduler).map(a => 'a' + a);

by setting sufficiently large number of max frame to be allowed which can be done via ctor of scheduler as well.

Obviously this seems bit unergonomic, maybe revising interface bit more strictly to give notion to users would be better like
//maxFrame need to be set per each instance creation
constructor(public maxFrames: number, SchedulerAction: typeof AsyncAction = VirtualAction)

or vice versa. (or simply set default to positive infinity?)

or simply set default to positive infinity?

Why not? =)

Why not? =)

: Maybe, maybe not - I'm just not 100% sure if there's reasonable background history of choosing specific number as max frames. I'll leave this issue opened for further discussion.

This is a bug. The TestScheduler should be limited to a specific window of time.. but the VirtualTimeScheduler should not.


OCPVE-300: OCPVE-301: feat: ext4 support

Codecov Report

Merging #344 (e8474c3) into main (e6814c5) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head e8474c3 differs from pull request most recent head 1eb4ee9. Consider uploading reports for the commit 1eb4ee9 to get more accurate results

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #344   +/-   ##
=======================================
  Coverage   11.65%   11.65%
=======================================
  Files          21       21
  Lines        1828     1828
=======================================
  Hits          213      213
  Misses       1595     1595
  Partials       20       20

Impacted Files
Coverage Δ

api/v1alpha1/lvmcluster_types.go
100.00% <ø> (ø)

controllers/topolvm_storageclass.go
0.00% <0.00%> (ø)


reusable javascript action to parse CHANGELOG and update VERSION

AgnostiqHQ/covalent-cloud-server#34

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: scottwn:x: CovalentOpsBotCovalentOpsBot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Summary of changes

Changelog workflow logic has been refactored into a JavaScript action so it can be called from any repo
JavaScript GitHub actions require node_modules to be checked in to source control in order to run. This forms the bulk of this PR.
.gitignore was ignoring node_modules, I have rewritten .gitignore to allow node_modules within GitHub actions (but not elsewhere) and also to be more easily maintainable.

@venkatBala what's the purpose of the 2 VERSION files (root /VERSION and /covalent/VERSION)?
https://github.com/AgnostiqHQ/covalent/commit/a372c992c8c48e8b991336f33a2f9e8ce22e251f#diff-a0aba5a2bd30b2f80a3a18aa24ce43670b1320ca0a8b9c103bb3bc971ae30a85R91-R93

Great suggestions @mshkanth, I have implemented both.


Add cheno to implementations

Request to join official implementation list.

Passes the test suite.  Nice work.  Nice browser tests :+1:


[#96]  introduce monitoring

Notes for Reviewer

Pre-Review Checklist for the PR Author

[x] Add sensible notes for the reviewer
[x] PR title is short, expressive and meaningful
[x] Relevant issues are linked
[x] Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
[x] Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID ([#123] Add posix ipc example)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Assign PR to reviewer
[x] All checks have passed (except task-list-completed)

Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Unit tests have been written for new behavior
[x] Public API is documented
[x] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References
Use either 'Closes #123' or 'Relates to #123' to reference the corresponding issue.
Relates to #96

Looks good. Just a question for the process_local cleaner.
Related to #113, since the names are now used more and more, if you want to change them it should be done in the near future.

I would address this with the next PR. I would like to merge this soon, since it fixes clippy warnings in the CI as well.


Fix/readme shadow

do big thing

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #78   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         174    174
  Branches       26     26
=====================================
  Hits          174    174

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 c2a2f53...38b3899. Read the comment docs.

:tada: This PR is included in version 1.5.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix modules resolution

Heya 👋🏻
This should fix https://github.com/react-hook-form/resolvers/issues/20
Now, it generates theses folders :
dist/
    types/
    ie11/
    cjs/
    umd/
    esm/

Typings are generated separately (maybe we could do better).
I've done a little rework on rollup config.
I've tested all bundles (esm, umd, cjs (ie11)).  I've kept the write cjs step at build time to generate prod|dev bundles.
And finally No Breaking Changes : import { yupResolver } from '@hookform/resolvers
I hope I could test a beta soon :)
Any improvements are welcome :) Let me know what you think !

oh wow! THANK YOU! you are my hero... i was almost going to do mono repo and disturb multiple packages. (which is shit and annoying)

here is the beta<EMAIL_ADDRESS>

👋🏻
Thanks @bluebill1049 :)
Below, some working examples with<EMAIL_ADDRESS>UMD with Joi validation:
➡    https://codesandbox.io/s/example-hookformresolvers-beta-umd-gworo
ESM module with Joi validation:
➡    https://codesandbox.io/s/example-hookformresolvers-beta-esm-xxu0d
CJS(IE11) module with Yup validation:
➡    https://codesandbox.io/s/example-hookformresolvers-beta-cjsie11-dms1i
Deployed here: https://csb-dms1i.joris.vercel.app
I'm getting a bug with superstruct (again  :/) when settings skipLibCheck: false. It look like generated types are wrongs.

At build time & inside generated types

I'm on it :)

hey, @jorisre I have tested with the following repo:
https://github.com/avin-kavish/cra-ts-hook-form-resolver-issue
looks like the issue still persist: with the latest<EMAIL_ADDRESS>

hey, @jorisre I have tested with the following repo:
https://github.com/avin-kavish/cra-ts-hook-form-resolver-issue
looks like the issue still persist: with the latest<EMAIL_ADDRESS>

Okay, I'll try another thing 🤞🏻

Thanks @jorisre

0.2.0-beta.11  👍

Thanks, @jorisre this works!! I think we will be looking for a major update then, do you know any solution so i don't have to publish inside the dist folder (not biggie tho, i can live with that)

@bluebill1049 I will push some changes again :)
I hope this will be the last push

No worries, mate. really awesome stuff! this should unlock the Zod resolver as well. we can push a really nice major version with a new resolver. 💥

@bluebill1049 should be good now

do you know any solution so i don't have to publish inside the dist folder (not biggie tho, i can live with that)

We can do something like next.js does: https://github.com/vercel/next.js/blob/canary/packages/next/head.js

@bluebill1049 should be good now

do you know any solution so i don't have to publish inside the dist folder (not biggie tho, i can live with that)

We can do something like next.js does: https://github.com/vercel/next.js/blob/canary/packages/next/head.js

oh, that's smart! shall we do that? 💯

@bluebill1049 should be good now

do you know any solution so i don't have to publish inside the dist folder (not biggie tho, i can live with that)

We can do something like next.js does: https://github.com/vercel/next.js/blob/canary/packages/next/head.js

oh, that's smart! shall we do that? 💯

If we do this, keep in mind, we should create two files for each resolvers at the project root:
yup.js // require('./dist/yup.js');
yup.d.ts // export * from './dist/yup.d.ts';
joi.js // require('./dist/joi.js');
joi.d.ts // export * from './dist/joi.d.ts';
superstruct.js // require('./dist/superstruct.js');
superstruct.d.ts // export * from './dist/superstruct.d.ts';

if you're ok, I can do it

@bluebill1049 should be good now

do you know any solution so i don't have to publish inside the dist folder (not biggie tho, i can live with that)

We can do something like next.js does: https://github.com/vercel/next.js/blob/canary/packages/next/head.js

oh, that's smart! shall we do that? 💯

If we do this, keep in mind, we should create two files for each resolvers at the project root:
yup.js // require('./dist/yup.js');
yup.d.ts // export * from './dist/yup.d.ts';
joi.js // require('./dist/joi.js');
joi.d.ts // export * from './dist/joi.d.ts';
superstruct.js // require('./dist/superstruct.js');
superstruct.d.ts // export * from './dist/superstruct.d.ts';

if you're ok, I can do it

Yea, thanks @jorisre let's do that please, sorry to keep trouble you 🙏

@bluebill1049 Done ✅  Let me know if need some changes

I will release a @next version on this! if everything goes well, we will introduce this major update.

All examples have been updated with the last releasehttps://github.com/react-hook-form/resolvers/releases/tag/v1.0.0-rc.1


Frontend coverage

When the frontend switched to TypeScript we lost code coverage. As I mentioned at https://github.com/badges/shields/pull/3722#discussion_r304641665 I don't think this is as big a deal for the frontend code.
However if someone is interested in working on this, there is a new answer posted at that may get things working.
https://github.com/piotrwitek/ts-mocha/issues/42#issuecomment-535521816

I feel like there's not much value in trying to get coverage for the frontend, especially since our migration to Docusaurus. Will go ahead and close this.


Incorrect limitation

The documentation under Considerations and Limitations states that when signing in as a guest user, "Direct publishing from Power BI desktop to the Power BI service" is not supported. However, it's possible to do this through the following steps:

Sign out of PBI Desktop
Open the sign-in page to PBI desktop
Press "Sign-in options"
Press "Sign in to an organization"
Enter the domain name of the org
Sign in with your guested account

This is a pretty cool bit of functionality and it's a shame that it doesn't appear to be documented.

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

ID: 725c3bff-b250-c882-6f2b-1f2cb7f00341
Version Independent ID: f48832e7-8fc5-498a-8522-435a8ce42129
Content: Distribute content to external guest users with Azure AD B2B - Power BI
Content Source: powerbi-docs/enterprise/service-admin-azure-ad-b2b.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @ajburnle
Microsoft Alias: ajburnle

Thanks for your comment, @MixolydianV. This issue has been assigned to the doc author for review.

closing for @ajburnle


Update README - fix anchor link to sample config

There was an anchor link that was intended to go to the sample config file, but the link was incorrect (it led to: https://github.com/gsoft-inc/craco/blob/master/packages/craco/(#sample-craco-configuration-file) which you can see is a 404)

Hey @hangtwenty thanks for the fix :)


NameError - undefined local variable or method `avatarable'

Hello.
i'm wondering why do i get this error when i try render 'avatars/form' partial?
Started GET "/users/1" for <IP_ADDRESS> at 2013-06-19 19:10:04 +0400
Processing by UsersController#show as HTML
  Parameters: {"id"=>"1"}
  User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."id" = ?  It doesn't come up at RubyGems at all nor when I run bundle install.


Request: distinguish functions with the same name but in different files

Hello! I tried to use code2flow on some python projects, And found it cannot distinguish files with the same name but in different directories, or functions with the same name but in different files. Also it becomes a mess if the two cases happen in the same time.
I also looked into the source code. The first problem can be fixed by changing line 348 in engine.py to include the full path into group name. But the second one seems much more difficult. I guess what you get from an ast Call node is only the function name, not enough to tell which function it is if there are more than one function with the same name in the project. But maybe we can use import statement to do this. But to do this, we need to relate the module name in import statement with the corresponding file full path.
Maybe you can check this problem and see if there's another solution? I think this is not a rare case so a solution is needed.

Could you provide some example source? Ideally simplified?
My guess is that this is expected behavior and falls under
"Functions with identical names in different namespaces are (loudly) skipped. E.g. If you have two classes with identically named methods, code2flow cannot distinguish between these and skips them."
but willing to investigate

The reasoning is that it is impossible to statically analyze a dynamic language and know its type before runtime. So it is theoretically impossible to determine when you are calling a.func() whether func is Foo.func() or Bar.func()

Could you provide some example source? Ideally simplified?
My guess is that this is expected behavior and falls under
"Functions with identical names in different namespaces are (loudly) skipped. E.g. If you have two classes with identically named methods, code2flow cannot distinguish between these and skips them."
but willing to investigate

I've uploaded two examples to my forked repo (test/ and test2/) https://github.com/Darkbblue/code2flow/tree/master/code2flow
Also i tried to append full path to groups (files) / subgroups / function definitions. It seemed to be working like this:
Code2Flow: Found groups ['File: code2flow/test2/file1', 'File: code2flow/test2/secondary/file2', 'File: code2flow/test2/secondary/file3']. Code2Flow: Found nodes ['code2flow/test2/file1.(global)', 'code2flow/test2/file1.func_same', 'code2flow/test2/secondary/file2.(global)', 'code2flow/test2/secondary/file2.func', 'code2flow/test2/secondary/file3.(global)', 'code2flow/test2/secondary/file3.func_same']. Code2Flow: Found calls ['func()', 'func_same()', 'print()']. Code2Flow: Found variables ['func->UNKNOWN_MODULE', 'func_same->UNKNOWN_MODULE']. Code2Flow: No functions found! Most likely, your file(s) do not have functions that call each other. Note that to generate a flowchart, you need to have both the function calls and the function definitions. Or, you might be excluding too many with --exclude-* / --include-* / --target-function arguments.
But you can see i didn't do the same thing to function calls and i don't know how.

FWIW in my testing pyan3 manages to distinguish functions with the same name. I can't comment on implementation details. The most reliable fork of pyan3 I've found is https://github.com/maciejczyzewski/pyan although the PyPI version is maintained here https://github.com/maciejczyzewski/pyan


[Bug] Postgres CDC 不能获取update事件时before 信息为null，after正常

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
FLink 1.17
Flink CDC version
cdc 2.4.2
Database and its version
Postgres 1.14
Minimal reproduce step
在pg库中update table set col=val后，cdc捕获sourcerecord数据中before没有值，after有更新后有值，怀疑pg cdc不能获取event berfore事件
What did you expect to see?
请确认，提供步骤
What did you see instead?
请确认
Anything else?
无
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

@moresun
ALTER TABLE yourtablename REPLICA IDENTITY FULL
you can see this doc debezium-postgresql

Closing this issue as it is no longer valid or requires additional information. If the issue still exists, please report it on Apache Jira under the project Flink, using the component tag Flink CDC. Thank you!


vLEI Credential issued by a Qualified vLEI Issuer and added to the Engagement Context Role Holder’s digital wallet does not appear in John Doe's wallet

In 3rd scenario, step 1.3, I received a notification that the credential was successfully issued to the Legal Entity Engagement Context Role Holder's digital wallet, but the credential is not in John Doe's wallet.

I stopped, deleted and recreated all containers, to try again, and now my get started is not working.

@rc-provenant we're seeing a large number of errors in the infrastructure that are causing restarts so we're going to re-deploy.
I will update here when we're done and have finished some internal testing. That would be a good time to start running the functional scenarios again.

Issues are corrected.  I received the credential in John Doe's wallet

Failure on first attempt after resetting everything.
Success on second attempt after again resetting everything.

Thank you for taking the time to participate in the vLEI Beta software qualification program.
For any remaining open issues lodged during the qualification, the discussion during the deep dive session we ran at the conclusion of the beta qualification has provided answers to these issues.  GLEIF proposes to close these issues and asks you to reach out to your contact at GLEIF for a link to the recording.
The vLEI development team will continue to develop the software in preparation for the pilot phase of the vLEI development.  GLEIF would like to thank you again for the contribution of your feedback toward the development of the vLEI Beta software


Object detection: work with Unix line endings in classes.txt file.

When checked out on Linux the classes.txt assets file only has \n as line endings so that is how it gets packaged into the app. This change makes the splitting of that file work with such line endings too otherwise there will be a single long classification label instead of 80.

@microsoft-github-policy-service agree


Screen struck on before Bank OTP screen in Live Mode

For a few bank cards, for example, SBI credit card, the stripe payment page is struck on the bank loader modal screen it's not navigating to the OTP screen once the card details are entered. For a few other bank cards its working fine for example (HDFC cards)
Did anyone face this issue?
Steps I followed

Load stripe checkout webview
Enter card details (SBI credit card or Bank of India debit card)
Modal will open with loader
Received the OTP to the registered mobile number
BUT WEBVIEW  NOT REDIRECTING TO THE BANK OTP SCREEN.

Here is my code

<StripeCheckout
stripePublicKey={STRIPE_PUBLIC_KEY}
checkoutSessionInput={{
sessionId: paymentDetail.external_reference_id,
}}
onSuccess={handleSuccessStripePayemnt}
onCancel={handleCancelStripePayemnt}
/>

The screen is getting struck on this screen in the APP(Not able to click on authenticate button). But on web, it's opening a new tab for authentication

Thanks for bringing this up @rajivtiwary-cm!
I have not ran this test case scenario before, I think it might be related to the URL detection part of the code.
Do you have test values that allow me to replicate this exact situation and debug?
You can also help me debugging by checking out the repo locally and checking out the logs!

@A-Tokyo  I have tested with real card details.
To reproduce the issue
Try with a card which requires redirection to the bank authentication page for OTP
verification (OTP screen is opening in a new window in the web but in the
the app, webview don't support the opening of a new window/tab)

@rajivtiwary-cm After looking a bit more, I realized there's an open issue about this in react-native-webview https://github.com/react-native-webview/react-native-webview/pull/2258
The issue states that the new window behavior is supported for android but not for iOS.
Can you please confirm that you're not facing this issue on android?

@A-Tokyo I'm facing the issue in Android as well


NEXT-8600 - Listing prices for advanced pricing

Listing prices allow for striked-out prices in the Storefront and are a staple for ecommerce systems. Shopware 6 currently has those only for basic price management. The advanced pricing via rules does not allow for any listing prices right now. This should be added :-)
This is also reported in issue NEXT-6617.
I expect work on the VueJS component for advanced pricing, data structure extension for list prices and extension of the price definition builders along with any frontend work to show the listing price.

See a previous implementation starting point in https://github.com/shopware/platform/issues/864#issuecomment-628756554


add welcome message when someone joins the server

should be easy, discord.py has a on_member_join event

We just want to be careful about spam levels.
Honestly, we might want to have two bots in the channel ultimately - same code, different config, one as FA_bot and one as Aziz_bot and keep all the humour in Aziz_bot so that FA_bot is dull, boring and never muted 'cos the stuff it does post is functional and useful.

And what about Azoz bot, the only necessary bot?
On Thu, Oct 29, 2015 at 3:06 PM, Mark Dennehy<EMAIL_ADDRESS>wrote:

We just want to be careful about spam levels.
Honestly, we might want to have two bots in the channel ultimately - same
code, different config, one as FA_bot and one as Aziz_bot and keep all the
humour in Aziz_bot so that FA_bot is dull, boring and never muted 'cos the
stuff it does post is functional and useful.
—
Reply to this email directly or view it on GitHub
https://github.com/darkChozo/FAbot/issues/18#issuecomment-152191379.


New UI Update

Port some new styling changes from the work on a fork of this for my own website.

Fixed with https://github.com/vinitkumar/white-paper/commit/68893e047b219e127f89971a0ea254e07b75a9e4


JSONFilter doesn't support JSON  array payload

@fhussonnois, Did you end up getting this to work? Finding the same issue where empty arrays are causing a nullpointer exception. Did you just give up and write something to remove arrays?

Hi @bwinchester , the JSONFIlter currently supports Array (https://github.com/streamthoughts/kafka-connect-file-pulse/issues/47) but yes there is a bug when input file contains empty arrays, i.e., []. I've just opened a new issue : https://github.com/streamthoughts/kafka-connect-file-pulse/issues/109

Hi @bwinchester, I've just pushed a new bugfix release 1.6.2 that fix the issue #109

Hi @bwinchester, I've just pushed a new bugfix release 1.6.2 that fix the issue #109

Thank you so much! We’re going to try it out. This is awesome!


[Bug] Missing package @mdx-js/react on scratch build sveltekit + storybook + builder-vite

What version of vite are you using?
2.9.9
System info and storybook versions
System:
OS: macOS 12.3.1
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 18.0.0 - /opt/homebrew/bin/node
npm: 8.9.0 - /opt/homebrew/bin/npm
Browsers:
Chrome: 101.0.4951.64
Firefox: 100.0
Safari: 15.4
npmPackages:
@storybook/addon-actions: ^6.5.3 => 6.5.3
@storybook/addon-essentials: ^6.5.3 => 6.5.3
@storybook/addon-interactions: ^6.5.3 => 6.5.3
@storybook/addon-links: ^6.5.3 => 6.5.3
@storybook/builder-vite: ^0.1.35 => 0.1.35
@storybook/builder-webpack4: ^6.5.3 => 6.5.3
@storybook/manager-webpack4: ^6.5.3 => 6.5.3
@storybook/svelte: ^6.5.3 => 6.5.3
@storybook/testing-library: ^0.0.11 => 0.0.11
Describe the Bug
Created a scratch project with Sveltekit(1.0.0-next.335), storybook (6.5.3) and builder-vite.
This project with webpack works fine.
But when starting storybook, I'm presented with the following error:
info => Ignoring cached manager due to change in manager config
ERR! Error: [vite-plugin-mdx] "@mdx-js/react" must be installed
ERR!     at resolveImport (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite-plugin-mdx/dist/imports.js:29:23)
ERR!     at Object.assertImportExists (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite-plugin-mdx/dist/imports.js:41:12)
ERR!     at /Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite-plugin-mdx/dist/transform.js:18:19
ERR!     at Array.map (<anonymous>)
ERR!     at Object.createTransformer (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite-plugin-mdx/dist/transform.js:17:50)
ERR!     at Object.configResolved (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite-plugin-mdx/dist/index.js:46:43)
ERR!     at /Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite/dist/node/chunks/dep-59dc6e00.js:61561:127
ERR!     at Array.map (<anonymous>)
ERR!     at resolveConfig (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/vite/dist/node/chunks/dep-59dc6e00.js:61561:35)
ERR!     at async getOptimizeDeps (/Users/maximehuylebroeck/Documents/Development/storybook-load-API-data-via-loaders/node_modules/@storybook/builder-vite/dist/optimizeDeps.js:127:28)

Link to Minimal Reproducible Example
https://github.com/GeForcez/storybook-load-API-data-via-loaders
Participation

[ ] I am willing to submit a pull request for this issue.

Might be related to this? https://github.com/brillout/vite-plugin-mdx/issues/47#issuecomment-1039719119

I think we're perhaps moving away from using vite-plugin-mdx (see https://github.com/storybookjs/builder-vite/pull/377), but for now, a workaround is to manually install the package that it can't find:
npm i --save-dev @mdx-js/react@1 --force

After that, (plus setting the builder and adding a preview-head.html) I was able to launch the reproduction correctly.

Hi @IanVS
After installing the dependency @mdx-js/react@1 I get another error:
ERR! Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>from /workspaces/react-section-dividers/node_modules/vite-plugin-mdx/dist/imports.js not supported.
ERR! Instead change the require of index.js in /workspaces/react-section-dividers/node_modules/vite-plugin-mdx/dist/imports.js to a dynamic import() which is available in all CommonJS modules.
ERR!     at Object.requireMdx (/workspaces/react-section-dividers/node_modules/vite-plugin-mdx/dist/imports.js:10:12)
ERR!     at Object.createTransformer (/workspaces/react-section-dividers/node_modules/vite-plugin-mdx/dist/transform.js:16:27)
ERR!     at Object.configResolved (/workspaces/react-section-dividers/node_modules/vite-plugin-mdx/dist/index.js:46:43)
ERR!     at /workspaces/react-section-dividers/node_modules/vite/dist/node/chunks/dep-59dc6e00.js:61561:127
ERR!     at Array.map (<anonymous>)
ERR!     at resolveConfig (/workspaces/react-section-dividers/node_modules/vite/dist/node/chunks/dep-59dc6e00.js:61561:35)
ERR!     at async getOptimizeDeps (/workspaces/react-section-dividers/node_modules/@storybook/builder-vite/dist/optimizeDeps.js:127:28)
ERR!     at async createViteServer (/workspaces/react-section-dividers/node_modules/@storybook/builder-vite/dist/vite-server.js:23:23)
ERR!     at async Object.start (/workspaces/react-section-dividers/node_modules/@storybook/builder-vite/dist/index.js:53:20)
ERR!     at async Promise.all (index 0)
ERR!     at async storybookDevServer (/workspaces/react-section-dividers/node_modules/@storybook/core-server/dist/cjs/dev-server.js:207:28)
ERR!     at async buildDevStandalone (/workspaces/react-section-dividers/node_modules/@storybook/core-server/dist/cjs/build-dev.js:120:31)
ERR!     at async buildDev (/workspaces/react-section-dividers/node_modules/@storybook/core-server/dist/cjs/build-dev.js:174:5)

Any idea how to fix this? Thank you! :)

Can you check to be sure that you didn't accidentally end up with version 2 of @mdx-js/mdx somehow?
npm ls @mdx-js/mdx

You are right.. vite-plugin-mdx is using version 2:
<EMAIL_ADDRESS>/workspaces/react-section-dividers
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
So I've tried to override it in my package.json:
  "overrides": {
    "vite-plugin-mdx": {
      "@mdx-js/mdx": "^1.6.22"
    }
  }

.. but this leads to:
<EMAIL_ADDRESS>/workspaces/react-section-dividers
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>invalid: "^1.6.22" from node_modules/vite-plugin-mdx

It seems like this only happens when you are on React 18?

Can confirm on React 18 after installing @mdx-js/react normally breaks storybook, but this: #391 (comment) helps and it boots up.

You are right. I've just tested it again and it seems to work now.

Can confirm on React 18 after installing @mdx-js/react normally breaks storybook, but this: #391 (comment) helps and it boots up.

You are right. I've just tested it again and it seems to work now.

But on the other hand it's problematic when it comes to npm i and --force is needed unfortunately :(  With my dependencies at least.

@IanVS There was a missing dep in @storybook/mdx1-csf which I fixed yesterday. Perhaps upgrading to the latest would fix this issue?
https://github.com/storybookjs/mdx1-csf/releases/tag/v0.0.2

Right now we're not using @storybook/mdx1-csf at all, but there's a PR that would use it.

WOW! I SOLVED!

I am having this error, even though I don't use React or Preact, neither do I use MDX.


Don't include templateRef in TinkerbellMachineConfig on generate

Description of changes:
Currently, the generate command prints a TinkerbellMachineConfig with an empty templateRef section. This PR makes the templateRef a pointer so it doesn't get placed in the generated config by default
Before:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
  name: tdsfds-cp
spec:
  hardwareSelector: {}
  osFamily: ubuntu
  templateRef: {}
  users:
  - name: ec2-user
    sshAuthorizedKeys:
    - ssh-rsa AAAA...

After:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: TinkerbellMachineConfig
metadata:
  name: tdsfds
spec:
  hardwareSelector: {}
  osFamily: ubuntu
  users:
  - name: ec2-user
    sshAuthorizedKeys:
    - ssh-rsa AAAA...

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

/lgtm


[docs] update serve-config description (not a website anymore)

Codecov Report

Merging #75 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   55.38%   55.38%
=======================================
  Files          14       14
  Lines         780      780
=======================================
  Hits          432      432
  Misses        304      304
  Partials       44       44

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 34204cc...1dd0851. Read the comment docs.


Strip whitespaces from property settings and environment variables

Feature Request
The current implementation of the configuration regarding the properties or environment variables also allows trailing or ending whitespaces, that could end up in malformed behaviour or crashing the connector at all.
Which Areas Would Be Affected?
core-util
Why Is the Feature Desired?
Some properties including whitespaces could lead to malformed behaviour of several extensions, others are just throwing exceptions during startup.
Examples: (*indicates a whitespace)
Whitespaces in url properties
Will end up in a java.lang.IllegalArgumentException trying to map to an URI
edc.oauth.token.url=https://daps1.int.demo.catena-x.net/token****
Whitespaces in privateKey name property
Will end up in a java.lang.NullPointerException: privateKey is marked non-null but is null
edc.oauth.private.key.alias=daps_key.pkcs8***
If the related property belongs to a specific extension the error will occur when the respective property will be addressed within the extension during runtime.
If the property belongs to a base component inside the connector the error will prevent the connector from a proper boot up.
Please feel free to reproduce the behaviour on your own by inserting some whitespaces to some properties.
Solution Proposal
To prevent that and keep the originated pattern, eg. key=value, i suggest to get rid of trailing or ending whitespaces at his point.
Type of Issue
feature / improvement

Hi, could you better detail the issue reporting the stacktrace?
In my opinion changing the configuration settings at runtime it's not a good practice, as, in the case that a leading/trailing whitespace is actually required by some extension, this would be a problem.
To fix the issue, to avoid such exception when a token is required, I suggest to add a URL validation for the edc.oauth.private.key.alias setting at the extension initialization, so if that's not a correct URL the EDC shouldn't start, because it would be an user error that's not meant to be fixed by EDC.

It is quite hard to bring up a specific stacktrace at this point, cause whitespaces in different properties will lead to different stacktraces. Therefore I mentioned two examples in the description.
If i get you right there is the need of an additional "validation" process for each extension required. During initialization the extension needs to provide a kind of input validation regarding the needed properties and their respective types.
Lets assume we have such an additional step by hand, what would be the default behaviour in case of an invalid configuration? Preventing to boot up the connector with a respective error message?

It is quite hard to bring up a specific stacktrace at this point, cause whitespaces in different properties will lead to different stacktraces. Therefore I mentioned two examples in the description.
If i get you right there is the need of an additional "validation" process for each extension required. During initialization the extension needs to provide a kind of input validation regarding the needed properties and their respective types.
Lets assume we have such an additional step by hand, what would be the default behaviour in case of an invalid configuration? Preventing to boot up the connector with a respective error message?

In fact a lot of extensions already validates the configuration (e.g. IdsMultipartApiServiceExtension with the connectorId setting), so it's up to every extension to ensure that the settings provided are valid.
No need of an "additional" validation layer, just a check in the extension initialize phase.
In case of invalid configuration, the connector won't start, requiring to fix the error in the settings.
In fact I never used any application that cleaned up my settings, they are pretty much failing at start or, at worst, lazily

Okay, then it would be nice to see some of these principles in place.
Most of the extensions are not doing any kind of validation atm, but following the principles they need to.
How can we ensure that extensions are doing a validation on their intialize phase? Ideas welcome :-)


[Enhancement] Kanban Board control

Summary
Create new kanban board control.
It should allow

Add columns
Delete columns
Add cards
Delete cards
Drag and drop cards between columns
Support WIP limit

Example: https://vladislavantonyuk.azurewebsites.net/articles/Creating-Kanban-Board-using-Xamarin-Forms-5
Intended Use Case

Any task tracking system

Who Will Do The Work?

[ ] I am willing to take this on myself
[ ] Just putting this out there for someone to pick up

Thanks! However, we are no longer adding new features to Xamarin Community Toolkit, focusing on the .NET MAUI Community Toolkit.
Please open a New Feature Discussion to implement this feature in the .NET MAUI Community Toolkit.
I've posted more information about the Future Of Xamarin Community Toolkit here: https://devblogs.microsoft.com/xamarin/the-future-of-xamarin-community-toolkit/?WT.mc_id=mobile-0000-bramin


PostgreSQL 9.6 connection not showing any tables

When connected to a local PostgreSQL server, DBeaver does not show any tables.
Steps to reproduce:

Use some other tool to create tables (tested with postgres DB and public schema)
Create a PgSQL connection in DBeaver
Navigate to tables

Results:
No tables are shown even though they exist (confirmed through other tools).
Environment:

DBeaver 3.7.8
PostgreSQL 9.6.1
Fedora 24

Just tested with PG 9.6.1 and I didn't reproduce that.

Can you see tables in other schemas? E.g. pg_catalog
Are there any error in error log?
To read tables in public DBeaver executes query SELECT n.oid,n.* FROM pg_catalog.pg_namespace n WHERE nspname='public' ORDER BY nspname. Could you try it in SQL editor.

@serge-rider rookie mistake, working on the wrong database. sorry about that.
I can confirm everything is working fine.

Second this issue. I created tables both in DBeaver and via psql. I have tried disconnecting and reconnecting DBeaver, restarting the system, restarting the service. The tables aren't showing up in database navigator although I can query the tables.

Most likely it is some kind of config problem (e.g. you co necting to a different databases in dbeaver and psql).
If you 100% sure then I'll need more info (what driver do you use, is there anything in error/debug logs). And its better to create a ne ticket.

You are right, it was user config issue.

Hi
are you using the exact same database Instance in connection string?
Check if you are wrongly connecting to default "postgres" instance in your database in Connection Settings.


Updated template

WHY are these changes introduced?
Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Actually, most of my comments are resolved in the merge conflict, so if you rebase on newest, it should be in better shape.


Add the --threads config option to finalize db

This flag is already being used for runQueries, so let's use it for
finalize as well.
Merge / deployment checklist

[ ] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.

I have not updated the README yet. I'll handle that soon. Also, any sort of unit tests or integration tests I should be adding or updating?

Also, there's a failing Integration Testing / runner-upload-sarif. I don't understand why.

Also, there's a failing Integration Testing / runner-upload-sarif. I don't understand why.

That's because you opened your PR from a fork and so the actions token doesn't have write scopes. You can just ignore the failure for this PR.

Thanks! Will resolve conflicts and rebase.


Rationalize property reversion

This PR changes the algorithm used to determine if a reset (circle arrow) icon must be shown on a property in the editor, which means the current value is different from the default one (the one in the scene it instances or inherits from, the default as declared in the script or the default according to the builtin class).
This PR aims to fix some defects in the current algorithm. For instance, the complaint that in a derived scene the value considered the default for a property is the default in the parent script, instead of the one in the parent, which may already be overriding the default in the script, so that is the new default that matters. (See this complaint: https://github.com/godotengine/godot-proposals/issues/2280#issuecomment-778832767)
UPDATE: After an additional push, it also ensures the value a property gets reverted to is the same that was considered to check for "revertability".
UPDATE: Some additional little issues have been taken care of.
Fixes #50781.

I'll still do some additional testing and then I'll post a comment when I feel it's ready.

OK. If tested on some other projects and at least it seems there are no regressions in the most usual use cases.
In any case, it may be better to have in in 4.0 for some period of time before considering cherry-picking into 3.x, just in case.

Thanks!


Server side syntax highlighting

There is a new LSP protocol extension for syntax highlighting provided by the language server.
A implementation for this would be nice to have.

@slrtbtfs Can you please explain this in detail?

@drumilpatel2000 I guess he means there is way to do syntax highlighting with LSP

I would like to take this up if you don't mind @drumilpatel2000 :(

At the moment this is more of a vague idea than a solid plan.
However, implementing this would be quite involved and would require a lot of prior research and a proposal explaining how it is planned to be done.
Things this would likely include:

Changing the langserver cache to not only store a syntax tree but also a list of lexer tokens. This might need some changes in the PromQL parser as well for performance reasons.
A way to combine the information provided by the lexer with the parsed syntax tree to accurately figure out what function each token serves. As a simpler, but not completely correct solution it would be possible to only consider the lexer tokens.
A plan how to deal with YAML files and how to coordinate things with a YAML language server that might be running in parallel.

It looks like the TypeScript language server now supports syntax highlighting.
I guess this increases the chance of having semantic highlighting as a part of the next protocol version.
https://github.com/microsoft/language-server-protocol/issues/18#issuecomment-607870150

Depends on https://github.com/microsoft/language-server-protocol/issues/18