Can't hit debugger breakpoints

System Health details
System Information

version
core-2024.10.2

installation_type
Unsupported Third Party Container

dev
false

hassio
false

docker
true

user
vscode

virtualenv
false

python_version
3.12.6

os_name
Linux

os_version
<IP_ADDRESS>-microsoft-standard-WSL2

arch
x86_64

timezone
Europe/London

config_dir
/workspaces/area_tree/config

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
2

resources
0

views
0

mode
storage

Recorder

oldest_recorder_run
October 16, 2024 at 4:03 PM

current_recorder_run
October 16, 2024 at 6:16 PM

estimated_db_size
0.50 MiB

database_engine
sqlite

database_version
3.40.1

Checklist

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

Describe the issue
Firstly, thank you for this repo which has been a real headstart.
I have managed to get HA running and added the integration.  I have also managed to attach the remote debugger in VSCode, however I cannot get it to hit any breakpoints.
Reproduction steps
Reproduction steps

Add the following to HA Config:
debugpy:
  host: localhost # Optional
  port: 5678 # Optional
  start: true
  wait: true  # Force wait for remote debugging

Set breakpoint, e.g. on reload.

Start HA using Run Task - tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Run Home Assistant on port 8123",
            "type": "shell",
            "command": "scripts/develop",
            "problemMatcher": []
        }
    ]
}

It will pause, with the following showing in the console
 2024-10-16 17:16:26.345 INFO (MainThread) [homeassistant.setup] Setting up debugpy
 0.00s - Debugger warning: It seems that frozen modules are being used, which may
 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
 0.00s - to python to disable frozen modules.
 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
 2024-10-16 17:16:26.868 WARNING (MainThread) [homeassistant.components.debugpy] Waiting for remote debug connection on localhost:5678

Attach debugger - launch.json:
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python Debugger: Remote Attach",
            "type": "debugpy",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "."
                }
            ]
        }
    ]
}

On attaching, the console will continue outputting messages, indicating a successful attachment.

Result
Reloading the integration will not hit the breakpoint, nor will any other breakpoints cause the debugger to pause.  The debugger will show running threads.
Debug logs
2024-10-16 17:13:23.741 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration area_tree which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-16 17:13:24.190 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.06 seconds
2024-10-16 17:13:24.190 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.04 seconds
2024-10-16 17:13:24.191 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2024-10-16 17:13:24.195 INFO (MainThread) [homeassistant.setup] Setting up http
2024-10-16 17:13:24.199 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2024-10-16 17:13:24.200 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.00 seconds
2024-10-16 17:13:24.206 WARNING (MainThread) [aiohttp_fast_zlib] zlib_ng and isal are not available, falling back to zlib, performance will be degraded.
2024-10-16 17:13:24.209 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.01 seconds
2024-10-16 17:13:24.212 INFO (MainThread) [homeassistant.setup] Setting up auth
2024-10-16 17:13:24.214 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.00 seconds
2024-10-16 17:13:24.215 INFO (MainThread) [homeassistant.setup] Setting up config
2024-10-16 17:13:24.218 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.00 seconds
2024-10-16 17:13:24.219 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2024-10-16 17:13:24.221 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.00 seconds
2024-10-16 17:13:24.222 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2024-10-16 17:13:24.223 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.00 seconds
2024-10-16 17:13:24.223 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2024-10-16 17:13:24.227 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.00 seconds
2024-10-16 17:13:24.228 INFO (MainThread) [homeassistant.setup] Setting up repairs
2024-10-16 17:13:24.229 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.00 seconds
2024-10-16 17:13:24.230 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2024-10-16 17:13:24.230 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.00 seconds
2024-10-16 17:13:24.231 INFO (MainThread) [homeassistant.setup] Setting up api
2024-10-16 17:13:24.235 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.00 seconds
2024-10-16 17:13:24.237 INFO (MainThread) [homeassistant.setup] Setting up person
2024-10-16 17:13:24.240 INFO (MainThread) [homeassistant.setup] Setting up search
2024-10-16 17:13:24.240 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.00 seconds
2024-10-16 17:13:24.243 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.01 seconds
2024-10-16 17:13:24.244 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2024-10-16 17:13:24.245 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.00 seconds
2024-10-16 17:13:24.247 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2024-10-16 17:13:24.250 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.00 seconds
2024-10-16 17:13:24.251 INFO (MainThread) [homeassistant.setup] Setting up frontend
2024-10-16 17:13:24.256 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.01 seconds
2024-10-16 17:13:24.260 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2024-10-16 17:13:24.262 INFO (MainThread) [homeassistant.setup] Setting up recorder
2024-10-16 17:13:24.266 INFO (MainThread) [asyncio] <Server sockets=(<asyncio.TransportSocket fd=11, family=2, type=1, proto=6, laddr=('<IP_ADDRESS>', 8123)>, <asyncio.TransportSocket fd=12, family=10, type=1, proto=6, laddr=('::', 8123, 0, 0)>)> is serving
2024-10-16 17:13:24.267 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2024-10-16 17:13:24.269 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //workspaces/area_tree/config/home-assistant_v2.db was shutdown cleanly
2024-10-16 17:13:24.269 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.01 seconds
2024-10-16 17:13:24.288 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=6 from 2024-10-16 17:11:16.888639)
2024-10-16 17:13:24.302 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.04 seconds
2024-10-16 17:13:24.303 INFO (MainThread) [homeassistant.bootstrap] Setting up debugger: {'debugpy'}
2024-10-16 17:13:24.307 INFO (MainThread) [homeassistant.setup] Setting up debugpy
2024-10-16 17:13:24.823 WARNING (MainThread) [homeassistant.components.debugpy] Waiting for remote debug connection on localhost:5678
2024-10-16 17:13:26.503 INFO (MainThread) [homeassistant.setup] Setup of domain debugpy took 2.20 seconds
2024-10-16 17:13:26.506 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'cloud', 'websocket_api', 'repairs', 'api', 'ssdp', 'bluetooth', 'webhook', 'http', 'usb', 'zeroconf', 'dhcp', 'network', 'auth'}
2024-10-16 17:13:26.508 INFO (MainThread) [homeassistant.setup] Setting up webhook
2024-10-16 17:13:26.512 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.00 seconds
2024-10-16 17:13:26.522 INFO (MainThread) [homeassistant.setup] Setting up network
2024-10-16 17:13:26.526 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.00 seconds
2024-10-16 17:13:26.584 ERROR (ImportExecutor_0) [homeassistant.components.camera.img_util] Error loading libturbojpeg; Camera snapshot performance will be sub-optimal
Traceback (most recent call last):
  File "/home/vscode/.local/lib/python3.12/site-packages/homeassistant/components/camera/img_util.py", line 100, in __init__
    TurboJPEGSingleton.__instance = TurboJPEG()
                                    ^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/turbojpeg.py", line 300, in __init__
    self.__find_turbojpeg() if lib_path is None else lib_path)
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/turbojpeg.py", line 967, in __find_turbojpeg
    raise RuntimeError(
RuntimeError: Unable to locate turbojpeg library automatically. You may specify the turbojpeg library path manually.
e.g. jpeg = TurboJPEG(lib_path)
2024-10-16 17:13:26.853 INFO (MainThread) [homeassistant.setup] Setting up cloud
2024-10-16 17:13:26.902 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2024-10-16 17:13:26.914 ERROR (MainThread) [haffmpeg.core] FFmpeg fails [Errno 2] No such file or directory: 'ffmpeg'
Traceback (most recent call last):
  File "/home/vscode/.local/lib/python3.12/site-packages/haffmpeg/core.py", line 130, in open
    self._proc = await asyncio.create_subprocess_exec(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/subprocess.py", line 224, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1743, in subprocess_exec
    transport = await self._make_subprocess_transport(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/unix_events.py", line 211, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/usr/local/lib/python3.12/asyncio/unix_events.py", line 820, in _start
    self._proc = subprocess.Popen(
                 ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
2024-10-16 17:13:26.921 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.
2024-10-16 17:13:26.922 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.02 seconds
2024-10-16 17:13:26.925 INFO (MainThread) [homeassistant.setup] Setting up tts
2024-10-16 17:13:26.937 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.08 seconds
2024-10-16 17:13:26.949 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.02 seconds
2024-10-16 17:13:26.960 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2024-10-16 17:13:26.981 INFO (MainThread) [homeassistant.setup] Setting up usb
2024-10-16 17:13:26.983 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.00 seconds
2024-10-16 17:13:26.995 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.03 seconds
2024-10-16 17:13:27.033 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2024-10-16 17:13:27.048 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2024-10-16 17:13:27.054 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.02 seconds
2024-10-16 17:13:27.215 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2024-10-16 17:13:27.217 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.00 seconds
2024-10-16 17:13:27.333 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2024-10-16 17:13:27.379 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.05 seconds
2024-10-16 17:13:27.389 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'media_source', 'input_boolean', 'timer', 'device_automation', 'intent', 'input_button', 'map', 'diagnostics', 'stt', 'google_translate', 'scene', 'input_select', 'input_text', 'application_credentials', 'image_upload', 'demo', 'input_datetime', 'counter', 'shopping_list', 'tag', 'input_number', 'met', 'homeassistant_alerts', 'search', 'blueprint', 'sun', 'backup', 'assist_pipeline', 'logbook', 'area_tree', 'conversation', 'file_upload', 'onboarding', 'stream', 'group', 'radio_browser', 'ffmpeg', 'hardware', 'history', 'energy', 'lovelace', 'automation', 'config', 'person', 'mobile_app', 'zone', 'trace', 'default_config', 'system_health', 'schedule', 'tts', 'my', 'script', 'analytics', 'wake_word'}
2024-10-16 17:13:27.391 INFO (MainThread) [homeassistant.setup] Setting up stt
2024-10-16 17:13:27.393 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.00 seconds
2024-10-16 17:13:27.396 INFO (MainThread) [homeassistant.setup] Setting up scene
2024-10-16 17:13:27.401 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene
2024-10-16 17:13:27.408 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.01 seconds
2024-10-16 17:13:27.430 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2024-10-16 17:13:27.432 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.00 seconds
2024-10-16 17:13:27.434 INFO (MainThread) [homeassistant.setup] Setting up media_source
2024-10-16 17:13:27.444 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.01 seconds
2024-10-16 17:13:27.447 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2024-10-16 17:13:27.455 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.01 seconds
2024-10-16 17:13:27.457 INFO (MainThread) [homeassistant.setup] Setting up stream
2024-10-16 17:13:27.478 INFO (MainThread) [homeassistant.setup] Setting up timer
2024-10-16 17:13:27.484 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.01 seconds
2024-10-16 17:13:27.492 INFO (MainThread) [homeassistant.setup] Setting up group
2024-10-16 17:13:27.503 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.01 seconds
2024-10-16 17:13:27.521 INFO (MainThread) [homeassistant.setup] Setting up input_button
2024-10-16 17:13:27.530 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.01 seconds
2024-10-16 17:13:27.548 INFO (MainThread) [homeassistant.setup] Setting up history
2024-10-16 17:13:27.554 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.01 seconds
2024-10-16 17:13:27.575 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2024-10-16 17:13:27.607 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.03 seconds
2024-10-16 17:13:27.673 INFO (MainThread) [homeassistant.setup] Setting up trace
2024-10-16 17:13:27.675 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.00 seconds
2024-10-16 17:13:27.681 INFO (MainThread) [homeassistant.setup] Setting up automation
2024-10-16 17:13:27.694 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.01 seconds
2024-10-16 17:13:27.705 INFO (MainThread) [homeassistant.setup] Setting up input_select
2024-10-16 17:13:27.714 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.01 seconds
2024-10-16 17:13:27.751 INFO (MainThread) [homeassistant.setup] Setting up zone
2024-10-16 17:13:27.763 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.01 seconds
2024-10-16 17:13:27.803 INFO (MainThread) [homeassistant.setup] Setting up logbook
2024-10-16 17:13:27.814 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.01 seconds
2024-10-16 17:13:27.829 INFO (MainThread) [homeassistant.setup] Setting up system_health
2024-10-16 17:13:27.834 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.00 seconds
2024-10-16 17:13:27.837 INFO (MainThread) [homeassistant.setup] Setting up input_number
2024-10-16 17:13:27.844 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.01 seconds
2024-10-16 17:13:27.874 INFO (MainThread) [homeassistant.setup] Setting up script
2024-10-16 17:13:27.886 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.01 seconds
2024-10-16 17:13:27.912 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-1' coro=<setup_and_run_hass() running at /home/vscode/.local/lib/python3.12/site-packages/homeassistant/runner.py:157> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/tasks.py:712> cb=[_run_until_complete_cb() at /usr/local/lib/python3.12/asyncio/base_events.py:182] created at /usr/local/lib/python3.12/asyncio/tasks.py:695> took 0.532 seconds
2024-10-16 17:13:27.931 INFO (MainThread) [homeassistant.setup] Setting up intent
2024-10-16 17:13:27.935 INFO (MainThread) [homeassistant.setup] Setup of domain intent took 0.00 seconds
2024-10-16 17:13:27.955 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.50 seconds
2024-10-16 17:13:27.957 INFO (MainThread) [homeassistant.setup] Setting up radio_browser
2024-10-16 17:13:27.958 INFO (MainThread) [homeassistant.setup] Setup of domain radio_browser took 0.00 seconds
2024-10-16 17:13:27.961 INFO (MainThread) [homeassistant.setup] Setting up hardware
2024-10-16 17:13:27.969 INFO (MainThread) [homeassistant.setup] Setting up energy
2024-10-16 17:13:27.981 INFO (MainThread) [homeassistant.setup] Setting up sensor
2024-10-16 17:13:27.994 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.01 seconds
2024-10-16 17:13:28.014 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.04 seconds
2024-10-16 17:13:28.026 INFO (MainThread) [homeassistant.setup] Setting up map
2024-10-16 17:13:28.055 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.03 seconds
2024-10-16 17:13:28.063 INFO (MainThread) [homeassistant.setup] Setting up google_translate
2024-10-16 17:13:28.064 INFO (MainThread) [homeassistant.setup] Setup of domain google_translate took 0.00 seconds
2024-10-16 17:13:28.068 INFO (MainThread) [homeassistant.setup] Setting up tag
2024-10-16 17:13:28.075 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.01 seconds
2024-10-16 17:13:28.077 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2024-10-16 17:13:28.080 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.00 seconds
2024-10-16 17:13:28.082 INFO (MainThread) [homeassistant.setup] Setting up input_text
2024-10-16 17:13:28.091 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.01 seconds
2024-10-16 17:13:28.093 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2024-10-16 17:13:28.099 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.01 seconds
2024-10-16 17:13:28.102 INFO (MainThread) [homeassistant.setup] Setting up counter
2024-10-16 17:13:28.109 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.01 seconds
2024-10-16 17:13:28.110 INFO (MainThread) [homeassistant.setup] Setting up shopping_list
2024-10-16 17:13:28.111 INFO (MainThread) [homeassistant.setup] Setup of domain shopping_list took 0.00 seconds
2024-10-16 17:13:28.136 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2024-10-16 17:13:28.138 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.00 seconds
2024-10-16 17:13:28.141 INFO (MainThread) [homeassistant.setup] Setting up my
2024-10-16 17:13:28.144 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.00 seconds
2024-10-16 17:13:28.146 INFO (MainThread) [homeassistant.setup] Setting up sun
2024-10-16 17:13:28.148 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.00 seconds
2024-10-16 17:13:28.154 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor
2024-10-16 17:13:28.250 WARNING (MainThread) [asyncio] Executing <Task finished name='setup sun as dependency of default_config' coro=<async_setup_component() done, defined at /home/vscode/.local/lib/python3.12/site-packages/homeassistant/setup.py:145> result=True created at /home/vscode/.local/lib/python3.12/site-packages/homeassistant/util/async_.py:45> took 0.104 seconds
2024-10-16 17:13:28.253 INFO (MainThread) [homeassistant.setup] Setting up met
2024-10-16 17:13:28.254 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.00 seconds
2024-10-16 17:13:28.263 INFO (MainThread) [homeassistant.setup] Setting up schedule
2024-10-16 17:13:28.270 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.01 seconds
2024-10-16 17:13:28.271 INFO (MainThread) [homeassistant.setup] Setting up backup
2024-10-16 17:13:28.276 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.00 seconds
2024-10-16 17:13:28.284 INFO (MainThread) [homeassistant.setup] Setting up area_tree
2024-10-16 17:13:28.285 INFO (MainThread) [homeassistant.setup] Setup of domain area_tree took 0.00 seconds
2024-10-16 17:13:28.295 INFO (MainThread) [homeassistant.setup] Setting up conversation
2024-10-16 17:13:28.298 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.00 seconds
2024-10-16 17:13:28.300 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor
2024-10-16 17:13:28.305 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.34 seconds
2024-10-16 17:13:28.307 INFO (MainThread) [homeassistant.components.tts] Setting up google_translate.tts
2024-10-16 17:13:28.335 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2024-10-16 17:13:28.341 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.01 seconds
2024-10-16 17:13:28.347 INFO (MainThread) [homeassistant.setup] Setting up analytics
2024-10-16 17:13:28.351 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.00 seconds
2024-10-16 17:13:28.359 INFO (MainThread) [homeassistant.setup] Setting up todo
2024-10-16 17:13:28.363 INFO (MainThread) [homeassistant.setup] Setup of domain todo took 0.00 seconds
2024-10-16 17:13:28.368 INFO (MainThread) [homeassistant.components.todo] Setting up shopping_list.todo
2024-10-16 17:13:28.395 INFO (MainThread) [homeassistant.setup] Setting up demo
2024-10-16 17:13:28.406 INFO (MainThread) [homeassistant.setup] Setting up camera
2024-10-16 17:13:28.417 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.01 seconds
2024-10-16 17:13:28.425 INFO (MainThread) [homeassistant.setup] Setting up image_processing
2024-10-16 17:13:28.427 INFO (MainThread) [homeassistant.setup] Setup of domain image_processing took 0.00 seconds
2024-10-16 17:13:28.442 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2024-10-16 17:13:28.449 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.01 seconds
2024-10-16 17:13:28.477 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2024-10-16 17:13:28.479 INFO (MainThread) [homeassistant.setup] Setting up notify
2024-10-16 17:13:28.480 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.00 seconds
2024-10-16 17:13:28.482 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.01 seconds
2024-10-16 17:13:28.489 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2024-10-16 17:13:28.491 INFO (MainThread) [homeassistant.setup] Setup of domain demo took 0.10 seconds
2024-10-16 17:13:28.505 INFO (MainThread) [homeassistant.setup] Setting up default_config
2024-10-16 17:13:28.505 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.00 seconds
2024-10-16 17:13:28.573 INFO (MainThread) [homeassistant.setup] Setting up air_quality
2024-10-16 17:13:28.574 INFO (MainThread) [homeassistant.setup] Setup of domain air_quality took 0.00 seconds
2024-10-16 17:13:28.574 INFO (MainThread) [homeassistant.components.air_quality] Setting up demo.air_quality
2024-10-16 17:13:28.579 INFO (MainThread) [homeassistant.setup] Setting up alarm_control_panel
2024-10-16 17:13:28.580 INFO (MainThread) [homeassistant.setup] Setup of domain alarm_control_panel took 0.00 seconds
2024-10-16 17:13:28.581 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up demo.alarm_control_panel
2024-10-16 17:13:28.585 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2024-10-16 17:13:28.586 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.00 seconds
2024-10-16 17:13:28.587 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up demo.binary_sensor
2024-10-16 17:13:28.592 INFO (MainThread) [homeassistant.setup] Setting up button
2024-10-16 17:13:28.593 INFO (MainThread) [homeassistant.setup] Setup of domain button took 0.00 seconds
2024-10-16 17:13:28.594 INFO (MainThread) [homeassistant.components.button] Setting up demo.button
2024-10-16 17:13:28.598 INFO (MainThread) [homeassistant.components.camera] Setting up demo.camera
2024-10-16 17:13:28.603 INFO (MainThread) [homeassistant.setup] Setting up calendar
2024-10-16 17:13:28.606 INFO (MainThread) [homeassistant.setup] Setup of domain calendar took 0.00 seconds
2024-10-16 17:13:28.606 INFO (MainThread) [homeassistant.components.calendar] Setting up demo.calendar
2024-10-16 17:13:28.613 INFO (MainThread) [homeassistant.setup] Setting up climate
2024-10-16 17:13:28.618 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.00 seconds
2024-10-16 17:13:28.621 INFO (MainThread) [homeassistant.components.climate] Setting up demo.climate
2024-10-16 17:13:28.629 INFO (MainThread) [homeassistant.setup] Setting up cover
2024-10-16 17:13:28.631 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.00 seconds
2024-10-16 17:13:28.634 INFO (MainThread) [homeassistant.components.cover] Setting up demo.cover
2024-10-16 17:13:28.641 INFO (MainThread) [homeassistant.setup] Setting up date
2024-10-16 17:13:28.642 INFO (MainThread) [homeassistant.setup] Setup of domain date took 0.00 seconds
2024-10-16 17:13:28.643 INFO (MainThread) [homeassistant.components.date] Setting up demo.date
2024-10-16 17:13:28.649 INFO (MainThread) [homeassistant.setup] Setting up datetime
2024-10-16 17:13:28.651 INFO (MainThread) [homeassistant.setup] Setup of domain datetime took 0.00 seconds
2024-10-16 17:13:28.652 INFO (MainThread) [homeassistant.components.datetime] Setting up demo.datetime
2024-10-16 17:13:28.657 INFO (MainThread) [homeassistant.setup] Setting up event
2024-10-16 17:13:28.658 INFO (MainThread) [homeassistant.setup] Setup of domain event took 0.00 seconds
2024-10-16 17:13:28.658 INFO (MainThread) [homeassistant.components.event] Setting up demo.event
2024-10-16 17:13:28.664 INFO (MainThread) [homeassistant.setup] Setting up fan
2024-10-16 17:13:28.669 INFO (MainThread) [homeassistant.setup] Setup of domain fan took 0.00 seconds
2024-10-16 17:13:28.669 INFO (MainThread) [homeassistant.components.fan] Setting up demo.fan
2024-10-16 17:13:28.676 INFO (MainThread) [homeassistant.setup] Setting up humidifier
2024-10-16 17:13:28.678 INFO (MainThread) [homeassistant.setup] Setup of domain humidifier took 0.00 seconds
2024-10-16 17:13:28.681 INFO (MainThread) [homeassistant.components.humidifier] Setting up demo.humidifier
2024-10-16 17:13:28.686 INFO (MainThread) [homeassistant.setup] Setting up light
2024-10-16 17:13:28.693 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.01 seconds
2024-10-16 17:13:28.700 INFO (MainThread) [homeassistant.components.light] Setting up demo.light
2024-10-16 17:13:28.707 INFO (MainThread) [homeassistant.setup] Setting up lock
2024-10-16 17:13:28.708 INFO (MainThread) [homeassistant.setup] Setup of domain lock took 0.00 seconds
2024-10-16 17:13:28.709 INFO (MainThread) [homeassistant.components.lock] Setting up demo.lock
2024-10-16 17:13:28.715 INFO (MainThread) [homeassistant.setup] Setting up media_player
2024-10-16 17:13:28.732 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.02 seconds
2024-10-16 17:13:28.736 INFO (MainThread) [homeassistant.components.media_player] Setting up demo.media_player
2024-10-16 17:13:28.744 INFO (MainThread) [homeassistant.components.notify] Setting up demo.notify
2024-10-16 17:13:28.749 INFO (MainThread) [homeassistant.setup] Setting up number
2024-10-16 17:13:28.750 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.00 seconds
2024-10-16 17:13:28.751 INFO (MainThread) [homeassistant.components.number] Setting up demo.number
2024-10-16 17:13:28.758 INFO (MainThread) [homeassistant.setup] Setting up select
2024-10-16 17:13:28.761 INFO (MainThread) [homeassistant.setup] Setup of domain select took 0.00 seconds
2024-10-16 17:13:28.761 INFO (MainThread) [homeassistant.components.select] Setting up demo.select
2024-10-16 17:13:28.766 INFO (MainThread) [homeassistant.components.sensor] Setting up demo.sensor
2024-10-16 17:13:28.778 INFO (MainThread) [homeassistant.setup] Setting up siren
2024-10-16 17:13:28.780 INFO (MainThread) [homeassistant.setup] Setup of domain siren took 0.00 seconds
2024-10-16 17:13:28.780 INFO (MainThread) [homeassistant.components.siren] Setting up demo.siren
2024-10-16 17:13:28.785 INFO (MainThread) [homeassistant.components.stt] Setting up demo.stt
2024-10-16 17:13:28.791 INFO (MainThread) [homeassistant.setup] Setting up switch
2024-10-16 17:13:28.792 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.00 seconds
2024-10-16 17:13:28.793 INFO (MainThread) [homeassistant.components.switch] Setting up demo.switch
2024-10-16 17:13:28.799 INFO (MainThread) [homeassistant.setup] Setting up text
2024-10-16 17:13:28.800 INFO (MainThread) [homeassistant.setup] Setup of domain text took 0.00 seconds
2024-10-16 17:13:28.801 INFO (MainThread) [homeassistant.components.text] Setting up demo.text
2024-10-16 17:13:28.809 INFO (MainThread) [homeassistant.setup] Setting up time
2024-10-16 17:13:28.811 INFO (MainThread) [homeassistant.setup] Setup of domain time took 0.00 seconds
2024-10-16 17:13:28.811 INFO (MainThread) [homeassistant.components.time] Setting up demo.time
2024-10-16 17:13:28.816 INFO (MainThread) [homeassistant.setup] Setting up update
2024-10-16 17:13:28.818 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.00 seconds
2024-10-16 17:13:28.818 INFO (MainThread) [homeassistant.components.update] Setting up demo.update
2024-10-16 17:13:28.829 INFO (MainThread) [homeassistant.setup] Setting up vacuum
2024-10-16 17:13:28.831 INFO (MainThread) [homeassistant.setup] Setup of domain vacuum took 0.00 seconds
2024-10-16 17:13:28.834 INFO (MainThread) [homeassistant.components.vacuum] Setting up demo.vacuum
2024-10-16 17:13:28.841 INFO (MainThread) [homeassistant.setup] Setting up water_heater
2024-10-16 17:13:28.845 INFO (MainThread) [homeassistant.setup] Setup of domain water_heater took 0.00 seconds
2024-10-16 17:13:28.845 INFO (MainThread) [homeassistant.components.water_heater] Setting up demo.water_heater
2024-10-16 17:13:28.851 INFO (MainThread) [homeassistant.setup] Setting up weather
2024-10-16 17:13:28.855 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.00 seconds
2024-10-16 17:13:28.859 INFO (MainThread) [homeassistant.components.weather] Setting up demo.weather
2024-10-16 17:13:28.867 WARNING (MainThread) [asyncio] Executing <Task finished name='config entry setup Demo demo 01JAB44XFZ9N4EEMF3Q7SM06XH' coro=<ConfigEntry.async_setup_locked() done, defined at /home/vscode/.local/lib/python3.12/site-packages/homeassistant/config_entries.py:726> result=None created at /home/vscode/.local/lib/python3.12/site-packages/homeassistant/util/async_.py:45> took 0.295 seconds
2024-10-16 17:13:28.889 DEBUG (MainThread) [custom_components.area_tree] Finished fetching area_tree data in 0.603 seconds (success: True)
2024-10-16 17:13:28.894 INFO (MainThread) [homeassistant.components.image_processing] Setting up demo.image_processing
2024-10-16 17:13:28.900 INFO (MainThread) [homeassistant.components.device_tracker] Setting up demo.device_tracker
2024-10-16 17:13:28.911 INFO (MainThread) [homeassistant.components.sensor] Setting up area_tree.sensor
2024-10-16 17:13:28.915 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up area_tree.binary_sensor
2024-10-16 17:13:28.921 INFO (MainThread) [homeassistant.components.switch] Setting up area_tree.switch
2024-10-16 17:13:29.037 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather
2024-10-16 17:13:29.043 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 5.31s
2024-10-16 17:13:29.044 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2024-10-16 17:13:29.201 INFO (MainThread) [asyncio] <Server sockets=(<asyncio.TransportSocket fd=26, family=2, type=1, proto=6, laddr=('<IP_ADDRESS>', 40000)>,)> is serving
2024-10-16 17:13:29.616 ERROR (SyncWorker_1) [aiodhcpwatcher] Cannot watch for dhcp packets without a functional packet filter: libpcap is not available. Cannot compile filter !
2024-10-16 17:14:25.456 WARNING (MainThread) [asyncio] Executing <Task pending name='Task-159' coro=<RequestHandler._handle_request() running at /home/vscode/.local/lib/python3.12/site-packages/aiohttp/web_protocol.py:477> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:449> cb=[Task.task_wakeup()] created at /home/vscode/.local/lib/python3.12/site-packages/aiohttp/web_protocol.py:556> took 0.127 seconds
2024-10-16 17:14:39.082 DEBUG (MainThread) [custom_components.area_tree] Finished fetching area_tree data in 0.075 seconds (success: True)
2024-10-16 17:14:39.083 INFO (MainThread) [homeassistant.components.sensor] Setting up area_tree.sensor
2024-10-16 17:14:39.089 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up area_tree.binary_sensor
2024-10-16 17:14:39.096 INFO (MainThread) [homeassistant.components.switch] Setting up area_tree.switch
2024-10-16 17:14:59.911 INFO (SyncWorker_2) [homeassistant.loader] Loaded min_max from homeassistant.components.min_max
2024-10-16 17:14:59.913 INFO (SyncWorker_2) [homeassistant.loader] Loaded moehlenhoff_alpha2 from homeassistant.components.moehlenhoff_alpha2
2024-10-16 17:14:59.915 INFO (SyncWorker_2) [homeassistant.loader] Loaded rpi_power from homeassistant.components.rpi_power
2024-10-16 17:14:59.916 INFO (SyncWorker_2) [homeassistant.loader] Loaded garages_amsterdam from homeassistant.components.garages_amsterdam
2024-10-16 17:14:59.917 INFO (SyncWorker_2) [homeassistant.loader] Loaded tod from homeassistant.components.tod
2024-10-16 17:14:59.920 INFO (SyncWorker_2) [homeassistant.loader] Loaded islamic_prayer_times from homeassistant.components.islamic_prayer_times
2024-10-16 17:14:59.923 INFO (SyncWorker_2) [homeassistant.loader] Loaded utility_meter from homeassistant.components.utility_meter
2024-10-16 17:14:59.931 INFO (SyncWorker_2) [homeassistant.loader] Loaded nmap_tracker from homeassistant.components.nmap_tracker
2024-10-16 17:14:59.935 INFO (SyncWorker_2) [homeassistant.loader] Loaded threshold from homeassistant.components.threshold
2024-10-16 17:14:59.937 INFO (SyncWorker_2) [homeassistant.loader] Loaded plant from homeassistant.components.plant
2024-10-16 17:14:59.939 INFO (SyncWorker_2) [homeassistant.loader] Loaded holiday from homeassistant.components.holiday
2024-10-16 17:14:59.942 INFO (SyncWorker_2) [homeassistant.loader] Loaded generic_thermostat from homeassistant.components.generic_thermostat
2024-10-16 17:14:59.943 INFO (SyncWorker_2) [homeassistant.loader] Loaded workday from homeassistant.components.workday
2024-10-16 17:14:59.945 INFO (SyncWorker_2) [homeassistant.loader] Loaded cpuspeed from homeassistant.components.cpuspeed
2024-10-16 17:14:59.956 INFO (SyncWorker_2) [homeassistant.loader] Loaded generic from homeassistant.components.generic
2024-10-16 17:14:59.958 INFO (SyncWorker_2) [homeassistant.loader] Loaded filesize from homeassistant.components.filesize
2024-10-16 17:14:59.961 INFO (SyncWorker_2) [homeassistant.loader] Loaded uptime from homeassistant.components.uptime
2024-10-16 17:14:59.964 INFO (SyncWorker_2) [homeassistant.loader] Loaded waze_travel_time from homeassistant.components.waze_travel_time
2024-10-16 17:14:59.966 INFO (SyncWorker_2) [homeassistant.loader] Loaded moon from homeassistant.components.moon
2024-10-16 17:14:59.967 INFO (SyncWorker_2) [homeassistant.loader] Loaded generic_hygrostat from homeassistant.components.generic_hygrostat
2024-10-16 17:14:59.969 INFO (SyncWorker_2) [homeassistant.loader] Loaded local_todo from homeassistant.components.local_todo
2024-10-16 17:14:59.972 INFO (SyncWorker_2) [homeassistant.loader] Loaded local_calendar from homeassistant.components.local_calendar
2024-10-16 17:14:59.974 INFO (SyncWorker_2) [homeassistant.loader] Loaded aurora from homeassistant.components.aurora
2024-10-16 17:14:59.976 INFO (SyncWorker_2) [homeassistant.loader] Loaded season from homeassistant.components.season
2024-10-16 17:14:59.979 INFO (SyncWorker_2) [homeassistant.loader] Loaded emulated_roku from homeassistant.components.emulated_roku
2024-10-16 17:14:59.982 INFO (SyncWorker_2) [homeassistant.loader] Loaded nextbus from homeassistant.components.nextbus
2024-10-16 17:14:59.983 INFO (SyncWorker_2) [homeassistant.loader] Loaded proximity from homeassistant.components.proximity
2024-10-16 17:14:59.985 INFO (SyncWorker_2) [homeassistant.loader] Loaded growatt_server from homeassistant.components.growatt_server
2024-10-16 17:14:59.987 INFO (SyncWorker_2) [homeassistant.loader] Loaded energenie_power_sockets from homeassistant.components.energenie_power_sockets
2024-10-16 17:14:59.988 INFO (SyncWorker_2) [homeassistant.loader] Loaded alert from homeassistant.components.alert
2024-10-16 17:14:59.990 INFO (SyncWorker_2) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2024-10-16 17:14:59.993 INFO (SyncWorker_2) [homeassistant.loader] Loaded zodiac from homeassistant.components.zodiac
2024-10-16 17:14:59.995 INFO (SyncWorker_2) [homeassistant.loader] Loaded version from homeassistant.components.version
2024-10-16 17:14:59.997 INFO (SyncWorker_2) [homeassistant.loader] Loaded derivative from homeassistant.components.derivative
2024-10-16 17:15:00.000 INFO (SyncWorker_2) [homeassistant.loader] Loaded integration from homeassistant.components.integration
2024-10-16 17:15:00.001 INFO (SyncWorker_2) [homeassistant.loader] Loaded google_travel_time from homeassistant.components.google_travel_time
2024-10-16 17:15:00.003 INFO (SyncWorker_2) [homeassistant.loader] Loaded time_date from homeassistant.components.time_date
2024-10-16 17:15:00.005 INFO (SyncWorker_2) [homeassistant.loader] Loaded local_ip from homeassistant.components.local_ip
2024-10-16 17:15:00.007 INFO (SyncWorker_2) [homeassistant.loader] Loaded cert_expiry from homeassistant.components.cert_expiry
2024-10-16 17:15:24.198 DEBUG (MainThread) [custom_components.area_tree] Finished fetching area_tree data in 0.025 seconds (success: True)
2024-10-16 17:15:24.200 INFO (MainThread) [homeassistant.components.sensor] Setting up area_tree.sensor
2024-10-16 17:15:24.205 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.area_tree entity: sensor.integration_sensor
2024-10-16 17:15:24.217 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up area_tree.binary_sensor
2024-10-16 17:15:24.220 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.area_tree entity: binary_sensor.area_tree_binary_sensor
2024-10-16 17:15:24.230 INFO (MainThread) [homeassistant.components.switch] Setting up area_tree.switch
2024-10-16 17:15:24.234 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.area_tree entity: switch.integration_switch

Pre-amble
OK, fair enough. After many hours of head scratching and searching, I found the issue and figured out a solution.
I hope you can figure me posting here because:

Anyone else trying to debug using your repo in vscode will currently encounter the same probelm and will hopefully find this issue.
It was not easy to figure out what was going on.
You may wish to incorporate the below fix to support F5 debugging out of the box in vscode.

Problem
A discussion of the problem can be found here.
In short, this has been a known problem with HA's debugpy integration since the change to Python 3.12, which means that frozen modules now need to be explicitly turned off while debugging. Unfortunately, there's no 'easy' way to disable the frozen modules, at least until Python 3.13, which adds an environmental variable.
Further running the homeassistant module directly from Python, with the -Xfrozen_modules=off was not sufficient to use the debugpy integration, which would still complain of frozen modules in the console output:
 2024-10-16 17:16:26.345 INFO (MainThread) [homeassistant.setup] Setting up debugpy
 0.00s - Debugger warning: It seems that frozen modules are being used, which may
 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
 0.00s - to python to disable frozen modules.
 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
 2024-10-16 17:16:26.868 WARNING (MainThread) [homeassistant.components.debugpy] Waiting for remote debug connection on localhost:5678

Solution
I found the best way to enable debugging was to add a scripts\debug file to start homeassistant and debugpy directly without frozen modules:
#!/usr/bin/env bash

set -e

cd "$(dirname "$0")/.."

# Create config dir if not present
if [[ ! -d "${PWD}/config" ]]; then
    mkdir -p "${PWD}/config"
    hass --config "${PWD}/config" --script ensure_config
fi

# Set the path to custom_components
## This let's us have the structure we want <root>/custom_components/area_tree
## while at the same time have Home Assistant configuration inside <root>/config
## without resulting to symlinks.
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"

# Start Home Assistant
#
# See https://github.com/home-assistant/core/issues/110623#issuecomment-2266933072
# Also see https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_FROZEN_MODULES for alternate fix when HA moves to Python 13, using env in launch.json
# Do not set debugpy in configuration.yaml if adding debugpy in command line here...

# To start and wait for remote debugger
python3 -Xfrozen_modules=off -m debugpy --listen localhost:5678 -m homeassistant --config ${PWD}/config

For consistency, I renamed scripts\develop to scripts\run and updated tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Run Home Assistant",
            "type": "shell",
            "command": "scripts/run",
            "problemMatcher": []
        },
        {
            "label": "Debug Home Assistant",
            "type": "shell",
            "command": "scripts/debug",
            "isBackground": true,
            "problemMatcher": [
                {
                    "owner": "homeassistant",
                    "pattern": [
                        {
                            "regexp": "(.?)",
                            "file": 1,
                            "location": 1,
                            "message": 1
                        }
                    ],
                    "background": {
                        "activeOnStart": true,
                        "beginsPattern": ".?",
                        "endsPattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}.\\d{3}",
                    }
                }
            ]
        },
        {
            "label": "Terminate Debug",
            "command": "echo ${input:terminate}",
            "type": "shell",
            "problemMatcher": []
        }
    ],
    "inputs": [
        {
            "id": "terminate",
            "type": "command",
            "command": "workbench.action.tasks.terminate",
            "args": "Debug Home Assistant"
        }
    ]
}

Alongside the original Run Home Assistant task, I added a Debug Home Assistant which executes scripts\debug as a background task, allowing the debugger to attach once the logs start to appear (see endsPattern regex). I also added a Terminate Debug task to kill the home assistant instance when the debugger disconnects.
The following launch.json then allows F5 debugging - which runs home assistant and attaches a debugger, and cleans up after the debugger is detached:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [

        {
            "name": "Debug Home Assistant",
            "type": "debugpy",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "."
                }
            ],
            "preLaunchTask": "Debug Home Assistant",
            "postDebugTask": "Terminate Debug",
            "justMyCode": false
        }
    ]
}

There's no reason for this launch.json to be excluded from the repository; it doesn't change because it is run in a container.
Future
When HA moves to Python 3.13, it may be possible to return to a single script for running/debugging that calls hass directly and runs as a service in debug mode. This is guaranteed though, and even if there is a better solution at that time (including supporting the debugpy integration directly), the above launch settings and tasks would still allow F5 debugging out of the box.
Although a relatively minor set of changes, the time saved for anyone wanting to debug using vscode will be massive. I'd be more than willing to submit a PR if you would be willing to consider it for inclusion?

Not being able to debug on vs code was the first thing I noticed when I switched Home Assistant development environment.  The .vscode folder has the launch.json and extensions.json.


add -UseDefaultCredentials to New-TssSession

implements #24

Please run the test to ensure this change does not break anything.

There are 3 tests that fail for me in New-TssSession tests.  All of them are in old tests and are caused by:
https://github.com/thycotic-ps/thycotic.secretserver/blob/c2a27648ff15ccb088d23a2cb8b6ce558bd9eb8c/tests/functions/New-TssSession.Tests.ps1#L61
https://github.com/thycotic-ps/thycotic.secretserver/blob/c2a27648ff15ccb088d23a2cb8b6ce558bd9eb8c/tests/functions/New-TssSession.Tests.ps1#L65
and
https://github.com/thycotic-ps/thycotic.secretserver/blob/c2a27648ff15ccb088d23a2cb8b6ce558bd9eb8c/tests/functions/New-TssSession.Tests.ps1#L101
In class, the [datetime]::Now is used, but in tests [datetime]::UtcNow is used instead.  Should these be corrected too?

Updating the test for that is fine. Did any of the other tests fail as well? Please include the output of the test run or a screenshot.

this is only calling New-TssSession.Tests.ps1, with new code

was trying to avoid other tests, as my API user has limited access on our Secret Server instance

this is only calling New-TssSession.Tests.ps1, with new code

the same as a text:
Discovery finished in 24.58s.
[-] New-TssSession works.Credential parameter.Calculates TimeOfDeath 36ms (35ms|1ms)
 Expected the actual value to be less than or equal to 2021-02-12T13:47:05.4536684Z, but got 2021-02-12T16:07:05.1011846+02:00.
 at $sessionCredential.TimeOfDeath | Should -BeLessOrEqual $expectedValue, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:62
 at <ScriptBlock>, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:62
[-] New-TssSession works.Credential parameter.Calculates StartTime 28ms (27ms|1ms)
 Expected the actual value to be less than or equal to 2021-02-12T13:47:05.5294387Z, but got 2021-02-12T15:47:05.1052366+02:00.
 at $sessionCredential.StartTime | Should -BeLessOrEqual $currentTime, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:66
 at <ScriptBlock>, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:66
[-] New-TssSession works.AccessToken parameter.Calculates StartTime 12ms (11ms|1ms)
 Expected the actual value to be less than or equal to 2021-02-12T13:47:07.9306820Z, but got 2021-02-12T15:47:05.1219379+02:00.
 at $sessionAccessToken.StartTime | Should -BeLessOrEqual $currentTime, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:102
 at <ScriptBlock>, C:\Projects\GitHub\thycotic.secretserver\tests\functions\New-TssSession.Tests.ps1:102
Tests completed in 29.43s
Tests Passed: 18, Failed: 3, Skipped: 0 NotRun: 0

Since New-TssSession affects the whole module, as every function is dependent upon the output object from the command, I need the whole test framework run to know it will be safe to merge the PR.
If that is not doable I can implement the changes at a later time when I can setup my own lab for this scenario.

I will try full run, bit it might happen, that some tests fail because the user account doesn't have enough privieges...

as i supposed:
 48 ❯ Invoke-Pester -Path .\tests\

Starting discovery in 29 files.
WARNING: No Folder found
WARNING: No Folder found
WARNING: Issue creating folder []
System.Management.Automation.RuntimeException: {
  "errorCode": "API_AccessDenied",
  "exceptionType": "API_AccessDenied",
  "stackTrace": "",
  "exceptionMessage": "API_AccessDenied-Access Denied",
  "message": "Access Denied",
  "severity": 0
}
at <ScriptBlock><Process>, C:\Projects\GitHub\thycotic.secretserver\src\parts\ErrorHandling.ps1: line 9
at New-Folder<Process>, C:\Projects\GitHub\thycotic.secretserver\src\functions\folders\New-Folder.ps1: line 109
at <ScriptBlock>, C:\Projects\GitHub\thycotic.secretserver\tests\folders\New-TssFolder.Tests.ps1: line 52

I will try to add permissions and gradually fix the expected layout in our server instance...

There is a wiki page you can review for the required setup. If there is information missing or not understood you can open a discussion (contributor category) to work through it. (I want to try and keep PR discussions to the PR change itself)

Closing this PR as the feature has been added and released in 0.30.0.


Unable to use Literal in BaseModels with python 3.9

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
My code which uses Literal recently stopped working with a TypeError: issubclass() arg 1 must be a class error. While debugging it I found that I couldn't get your example to work with python 3.9, while it works with python 3.10 and 3.11.
I would expect that the code labelled as This script is complete, it should run "as is" would run.
I ran the code in a clean docker image.
docker run -it -v $(pwd):/src python:3.8-bullseye bash <--- Does not work
docker run -it -v $(pwd):/src python:3.9-bullseye bash <--- Does not work
docker run -it -v $(pwd):/src python:3.10-bullseye bash <--- Works
docker run -it -v $(pwd):/src python:3.11-bullseye bash <--- Works
Once in the container:
cd src
pip install pydantic  # installs 1.10.7
python foo.py # Runs the example code from [Literal Type](https://docs.pydantic.dev/latest/usage/types/#literal-type)

Result:
Traceback (most recent call last):
  File "/src/foo.py", line 6, in <module>
    class Pie(BaseModel):
  File "pydantic/main.py", line 197, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/fields.py", line 506, in pydantic.fields.ModelField.infer
  File "pydantic/fields.py", line 436, in pydantic.fields.ModelField.__init__
  File "pydantic/fields.py", line 552, in pydantic.fields.ModelField.prepare
  File "pydantic/fields.py", line 668, in pydantic.fields.ModelField._type_analysis
  File "/usr/local/lib/python3.9/typing.py", line 852, in __subclasscheck__
    return issubclass(cls, self.__origin__)
TypeError: issubclass() arg 1 must be a class

Any help would be appreciated.
Example Code
from typing import Literal

from pydantic import BaseModel, ValidationError

class Pie(BaseModel):
    flavor: Literal["apple", "pumpkin"]

Pie(flavor="apple")
Pie(flavor="pumpkin")
try:
    Pie(flavor="cherry")
except ValidationError as e:
    print(str(e))
    """
    1 validation error for Pie
    flavor
      unexpected value; permitted: 'apple', 'pumpkin'
    (type=value_error.const; given=cherry; permitted=('apple', 'pumpkin'))
    """

Python, Pydantic & OS Version
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
             pydantic version: 1.10.7
            pydantic compiled: True
                 install path: /usr/local/lib/python3.9/site-packages/pydantic
               python version: 3.9.16 (main, May  4 2023, 06:16:43)  [GCC 10.2.1 20210110]
                     platform: Linux-5.10.104-linuxkit-x86_64-with-glibc2.31
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[X] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Duplicate of https://github.com/pydantic/pydantic/issues/5821


Multiple currencies

Very informative. I have not dealt with sepa before.
But I noticed one small problem.
My bank app (Revolut: bank with multiple currencies and my account in Euro) did not accept the qr-code without amount. I found out that the missing currency is responsible for this.
Changing the line:

$values['amount'] > 0 ? formatMoney($values['amount']) : '',
to
$values['amount'] > 0 ? formatMoney($values['amount']) : 'EUR',

to specify the currency without amount solved it. But I was still not satisfied.
After creating the function "setCurrency" and other additions, you can now choose between several currencies.
Some other changes (preg_replace...) are only for demonstration and/or are alternatives to aborts. Checks could also be done before commit.
Have a look at it on:
Multiple currencies

@mjohndus Thank you for your contribution!
I think these are definitely great to have:

proper handling of missing amount
support for multiple currencies

I'd be happy to merge these if you can send separate PRs with tests for these.
I'll also leave some comments on your fork, but please don't submit all these changes. Create separate commits on separate branches with separate PRs for the above features if you can.

It was not my intention to change your code. It was just an idea and there was a lot of playing around. But I'll give it some thought and report back to you.
Note: Its only Hobby for me and excuse my English.
Purpose codes:
These are 4 capital letters (text keys) that indicate the reason for the transfer. They are often included in the reference.
purpose codes 1
purpose codes 2
I have created 2 new branches (first and second).
first
is another solution for my app problem.
second
support for multiple currencies is in work.
For each step i will create separate branches.

Thank you for the links to the purpose codes! That's very useful.
Feel free to send PR's once you think something is ready to share with others.

I changed the link above.
sepaqr
Take a look.


arch/README.md is out of date

It mentions cargo commands that no longer belong in the arch dir.

Already updated


docs: 更新vue组件demo

👀 PR includes

🔧 Chore

[ ] Test case
[x] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description
统一 codesandbox 为展示主要源码的预览视图
🖼 Screenshot

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


[JBP-505] Action to cancel a previous proposal

[x] Create a new table that tracks active actions
[x] Create active action API endpoint
[x] Search active actions on frontend and allow for a user to select an action they want to cancel
[x] On passing, remove the selected action from the active actions table

https://github.com/nance-eth/nance-ts/commit/e3f2d013fc8339f1ece683f575e91e730f882335


Add watchOS target

There is no test target for watch frameworks yet so there is no associated test target.

:+1:


[stable/burrow] move placeholder keys and genesis.json to ci folder

Now that #4157 has been implemented this PR moves the placeholder keys and genesis file out of the values.yaml and into the ci folder as per the instructions that @unguiculus added to that PR.
I've also include very minor updates to the examples folder.

/assign @unguiculus

/lgtm

/lgtm

/ok-to-test


hCaptcha Bypass Tip :)

Hello.
I have also written an epic-games free games snatcher (in Go) and managed to bypass all captcha without any user action.
It is possible to get an hCaptcha accessbility token here:
https://dashboard.hcaptcha.com/welcome_accessibility
It will send an email to the user with a link like so:
https://accounts.hcaptcha.com/verify_email/f0264391-99a8-4ec4-8d24-d80035810909
This link is permanently valid and can be used around 2-3 times per day to set cookies for that session. There will be no more subsequent hCaptcha prompts after setting cookies through that URL.
So instead of setting up mail and going through a broken process (it didn't work for me), a user can just add such a link to their config and it'll set the correct cookies.
Freedom!

How do I go about adding this to the config? Is it something the dev needs to implement?

This solution isn't compatible with the current state of the project due to browser security limitations. I'll be implemented in v4.

Any ETA when that could be?

Please note that Epic has since removed all accessibility options for their captcha. I don’t know enough JS to assist here, but if someone could separate browser fingerprinting and captcha solving I could help.

Please note that Epic has since removed all accessibility options for their captcha. I don’t know enough JS to assist here, but if someone could separate browser fingerprinting and captcha solving I could help.

I was able to bypass the captcha using accessibility with Puppeteer. You can see the progress on develop
The overall v4 progress can be tracked here: https://github.com/claabs/epicgames-freegames-node/projects/1

In my own yoinker I can still bypass hcaptcha with the hcaptcha
accessibility cookie but you need to rate limit how often you use it, like
twice per day, or it won't work.
On Fri, Sep 3, 2021, 19:09 Charlie Laabs @.***> wrote:

Please note that Epic has since removed all accessibility options for
their captcha. I don’t know enough JS to assist here, but if someone could
separate browser fingerprinting and captcha solving I could help.
I was able to bypass the captcha using accessibility with Puppeteer. You
can see the progress on develop
https://github.com/claabs/epicgames-freegames-node/commits/develop
The overall v4 progress can be tracked here:
https://github.com/claabs/epicgames-freegames-node/projects/1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/claabs/epicgames-freegames-node/issues/124#issuecomment-912684952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJIOJVM5VSDXPUEZFFQRV33UAD6LXANCNFSM47NQ7FYQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

In my own yoinker I can still bypass hcaptcha with the hcaptcha accessibility cookie but you need to rate limit how often you use it, like twice per day, or it won't work.
…

Oh no way. I guess I should check back into mine and see where I went wrong. I was also going hard on the requests though as well, so that may be it. Thank you!

Added in v4: https://github.com/claabs/epicgames-freegames-node/releases/tag/v4.0.0


Removed patch, incremented Kubernetes version for 1.18, and dev RELEASE

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The failed test is both unexpected but not terribly surprising. I ran make binaries just fine locally, but I had noticed that the deleted patch and the subsequent one (the one now called "0017...") both dealt with the same file, which seems to be the one having the issue.
I'm looking into this now

Just realized that it built fine locally because I was building the default version, which is 1.19 🤦🏻♀🤦🏻♀🤦🏻♀

/hold
The patches problem is more complicated than I originally thought. I'll unhold when I've resolved this

Kinda a hot mess situation with the patches. Closing and breaking into two prs


Refactor database migration to allow fabric and edge migrations to happen in same transaction

This was done as part of merging fabric and edge datastore layers into one.


Closing app with an open ILPDFViewController displays blank PDF on re-entry.

If you are viewing a PDF, close the app with the Home button, then re-open the app- the PDF will change to a split half-black half-white screen.
It appears the app reopen flow calls into ILPDFViewController
calls

(void)viewWillTransitionToSize
which calls
[self loadPDFView];
which creates a new _pdfView = [[ILPDFView alloc] initWithDocument:_document];
then adds it to the view with-
[self.view addSubview:_pdfView];

Which I assume is causing the blank.
If I change the function to:
- (void)loadPDFView {
    [_pdfView removeFromSuperview];
    if (!_pdfView) {
        _pdfView = [[ILPDFView alloc] initWithDocument:_document];
    }
    [self.view addSubview:_pdfView];
}

It works.
Is it my implementation causing an issue?  Or is this a viable fix.
Thanks for your work.

fixed in aee473280c0b72f8542eee9d1b70815438ef9113


Missing Dockerfile and docker-compose files

The repository doesn't contain a Dockerfile or docker-compose files. These should be included to make it easier to build and run the application using Docker.

DOCKERFILE and docker-compose files have been added


Staff ghost system

Does this mean reimplementing the Nintendo staff ghost system, or creating entirely new staff ghosts? If it's the latter I'd love to help.

Same here

Custom staff ghosts for CTs and RTs.

What does that entail, maybe easy medium hard difficulty? If so, how easy is easy and how hard is hard?

just an idea. could you have more than 2 Tiers of staff ghosts so not just Beginner and Expert but maybe (F, E, D, C, B, A, S, U, X) tier (name ideas) staff ghosts. it would be nice to see quite a few levels just because their is quite a high skill celling to this game.

Having so many tiers of staff ghosts would take too much time and effort. Not just to make, but also to plan what times they would be.
Having so many staff ghosts for the purpose of catering to 9 different skill levels doesn't make sense, because the progression of skill on the bottom levels is so fast that having staff ghosts would be useless, and the players at the top wouldn't care at all about it (rendering them useless), and it would be hard to find players that can drive times that would be a challenge for top players to beat. In the same vein, having so many tiers so close together would be pointless because the times would be too close together to form a meaningful progression.


[Rest Server] Generate random ports for scheduling

Generate random ports for scheduling.

Coverage decreased (-0.8%) to 50.592% when pulling ebe8ec9f531b97199d4cc5412b22f59a541cdc95 on xiongyf/random-port into 63da0b24114878cbe16dc714621915c7dad29b90 on feature/pure-k8s.

CI not passed, please check


in dart2js: named constructor use the name after '.', and function with such name cannot be used.

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
  Build in dart editor, new web project and insert the file:
void main() {
  Request r = new Request();
  Request r1 = r.clone();
  print("OK");
}
abstract class Message {
  Message clone() => isRequest() ? new Request.clone(this)
                                 : new Response.clone(this);
  bool isRequest();
}
class Request extends Message {
  bool isRequest() => true;
  Request(){}
  Request.clone(Request other){}
}
class Response extends Message {
  bool isRequest() => false;
  Response(){}
  Response.clone(Response other){}
}
What is the expected output? What do you see instead?
It works as dart.
But cannot be converted to java script:
--- Nov 16, 2013 5:30:37 PM Running dart2js... ---
C:\dart\dart-sdk\bin\dart2js.bat --out=C:\Users\G\dart\clones\web\clones.dart.js C:\Users\G\dart\clones\web\clones.dart
/C:/Users/G/dart/clones/web/clones.dart:16:3: Error: Cannot override method 'clone' in 'Message'; the parameters do not match.
  Request.clone(Request other){}
  ^^^^^^^
/C:/Users/G/dart/clones/web/clones.dart:8:11: Info: This is the method whose parameters do not match.
  Message clone() => isRequest() ? new Request.clone(this)
          ^^^^^
/C:/Users/G/dart/clones/web/clones.dart:22:3: Error: Cannot override method 'clone' in 'Message'; the parameters do not match.
  Response.clone(Response other){}
  ^^^^^^^^
/C:/Users/G/dart/clones/web/clones.dart:8:11: Info: This is the method whose parameters do not match.
  Message clone() => isRequest() ? new Request.clone(this)
          ^^^^^
Error: Compilation failed.
What version of the product are you using? On what operating system?
  Dart SDK version <IP_ADDRESS>_r30188
  Windows-7 32bit

I can't reproduce this issue anymore.


I don't understand the meaning of overlap_mod and overlap easy in get_official_eval_result

In the official benchmark, for cars the overlap is supposed to be 70%. Which line corresponds to the official benchmark as given here?

@brunorigal Do you figure it out now? I don't understand them either. There are also two groups of results for each class, e.g.
Car AP(Average<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:100.00, 100.00, 100.00
bev  AP:2.69, 1.97, 2.40
3d   AP:1.82, 1.23, 1.46
Car AP(Average<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:100.00, 100.00, 100.00
bev  AP:12.77, 12.40, 11.82
3d   AP:11.19, 8.34, 10.00
Why are there two groups of evaluation results and three thresholds for each?

If you look at the code; there are 3 IOUs for each moderate and easy class.
So the two groups correspond to (moderate and easy) overlap conditions.
And within each metric there are 3 IOU thresholds for each class (for example 0.7, 0.5, 0.5 in this case) I think it is there so you can modify it easily to your requirement....but I agree it is super ambiguous

@traveller59 kindly provide some clarification on these metrics.


Publish task not piping out all output, the --json output is less verbose.

I am able to build and publish manually but not with the plug in.
I created the token with all scoped and then created other token with the recommended scope and still same response.
I tried publishing from the manifest and packaging up then publishing the package. Same results.
2017-12-07T01:25:26.4198066Z ##[section]Starting: Publish Extension
2017-12-07T01:25:26.4203685Z ==============================================================================
2017-12-07T01:25:26.4203986Z Task         : Publish Extension
2017-12-07T01:25:26.4204274Z Description  : Publish a Team Services extension to the Visual Studio Marketplace
2017-12-07T01:25:26.4204536Z Version      : 1.1.44
2017-12-07T01:25:26.4204769Z Author       : Microsoft Corporation
2017-12-07T01:25:26.4204994Z Help         :
2017-12-07T01:25:26.4205240Z ==============================================================================
2017-12-07T01:25:26.8394617Z Checking tfx under: d:\a\_tools\tfx.cmd
2017-12-07T01:25:26.8429052Z Could not find tfx command. Preparing to install it under: d:\a\_tools\
2017-12-07T01:25:27.4034049Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" install<EMAIL_ADDRESS>--prefix d:\a\_tools\"
2017-12-07T01:25:51.0639172Z npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
2017-12-07T01:26:37.3044560Z npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
2017-12-07T01:27:12.9307278Z d:\a\_tools\tfx -> d:\a\_tools\node_modules\tfx-cli\_build\tfx-cli.js

: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.

{
    "manifestVersion": 1,
    "id": "build-task",
    "name": "Build Task",
    "version": "0.9.9",
    "publisher": "mypublisher",
    "targets": [
        {
            "id": "Microsoft.VisualStudio.Services"
        }
    ],
    "description": "Tools for building with Fabrikam. Includes one build task.",
    "categories": [
        "Build and release"
    ],
    "icons": {
        "default": "images/extension-icon.png"
    },
    "files": [
        {
            "path": "buildtask"
        }
    ],
    "contributions": [
        {
            "id": "custom-build-task",
            "type": "ms.vss-distributed-task.task",
            "targets": [
                "ms.vss-distributed-task.tasks"
            ],
            "properties": {
                "name": "buildtask"
            }
        }
    ]
}

Please file  the issue over at the tfs cli project. There is really nothing
much I can do about the authentication process.
On Dec 7, 2017 02:40, "Cheyo Jimenez"<EMAIL_ADDRESS>wrote:

I am able to build and publish manually but not with the plug in.
I created the token with all scoped and then create other token with the
recommended scope and still same response.
I tried publishing from the manifest and packaging up then publishing the
package. Same results.
2017-12-07T01:25:26.4198066Z ##[section]Starting: Publish Extension
2017-12-07T01:25:26.4203685Z ==============================================================================
2017-12-07T01:25:26.4203986Z Task         : Publish Extension
2017-12-07T01:25:26.4204274Z Description  : Publish a Team Services extension to the Visual Studio Marketplace
2017-12-07T01:25:26.4204536Z Version      : 1.1.44
2017-12-07T01:25:26.4204769Z Author       : Microsoft Corporation
2017-12-07T01:25:26.4204994Z Help         :
2017-12-07T01:25:26.4205240Z ==============================================================================
2017-12-07T01:25:26.8394617Z Checking tfx under: d:\a_tools\tfx.cmd
2017-12-07T01:25:26.8429052Z Could not find tfx command. Preparing to install it under: d:\a_tools
2017-12-07T01:25:27.4034049Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" install<EMAIL_ADDRESS>--prefix d:\a_tools"
2017-12-07T01:25:51.0639172Z npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
2017-12-07T01:26:37.3044560Z npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
2017-12-07T01:27:12.9307278Z d:\a_tools\tfx -> d:\a_tools\node_modules\tfx-cli_build\tfx-cli.js
: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.
{
"manifestVersion": 1,
"id": "build-task",
"name": "Build Task",
"version": "0.9.9",
"publisher": "mypublisher",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"description": "Tools for building with Fabrikam. Includes one build task.",
"categories": [
"Build and release"
],
"icons": {
"default": "images/extension-icon.png"
},
"files": [
{
"path": "buildtask"
}
],
"contributions": [
{
"id": "custom-build-task",
"type": "ms.vss-distributed-task.task",
"targets": [
"ms.vss-distributed-task.tasks"
],
"properties": {
"name": "buildtask"
}
}
]
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-extension-build-release-tasks/issues/55,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD-uSwFXOKyvDF0L4uVuYIJmXAeIQt7Lks5s90IegaJpZM4Q43FN
.

TFX's error is more descriptive:
Checking if this extension is already published
It isn't, create a new extension.
error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.

There is still very little I can do for you. Please contact marketplace
support or file an issue in the tfs-cli project.
The developers of the command line tools are not monitoring this repo and
there isn't much I can do. We just invoke the cli tools and pipe the output
to the agent logs.
On Dec 7, 2017 22:15, "Cheyo Jimenez"<EMAIL_ADDRESS>wrote:
TFX's error is more descriptive:
Checking if this extension is already published
It isn't, create a new extension.
error: Received response 401 (Not Authorized). Check that your
personal access token is correct and hasn't expired.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-extension-build-release-tasks/issues/55#issuecomment-350096413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD-uS29bxA3JkperTslqd_FlcqbiKxYiks5s-FVsgaJpZM4Q43FN
.

I found the issue. This repo's Task extension is using the JSON output which does not output all what the regular client output does.
See these lines:
https://github.com/Microsoft/vsts-extension-build-release-tasks/blob/master/BuildTasks/PublishExtension/PublishExtension.ts#L117
https://github.com/Microsoft/vsts-extension-build-release-tasks/blob/master/BuildTasks/PublishExtension/PublishExtension.ts#L9
Sample:  Regular output
C:\extension>tfx extension publish  --auth-type pat
TFS Cross Platform Command Line Interface v0.4.11
Copyright Microsoft Corporation
> Personal access token:
Checking if this extension is already published
It isn't, create a new extension.
error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.

-- JSON option the publish task is using.
C:\extension>tfx extension publish --json --auth-type pat
> Personal access token:
error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.

That is by design. We need the Jason in order to extract certain values. The tool can't return anything else on the output stream, as it would not be valid json.
So we only render the error stream. Still not sure what you are trying to read from output. It always checks the existence of the extension and it always creates a new one if it doesn't exist already. Requires the same permissions.
This is not the error you're looking for.

You still want the tfx tool to set a better error message in the json object or output that to the error stream so I can render it.

That is fair. Closing in favor for better error message at tfx.


couldn't run initialise.py

there is an error occured when I run initialise.py :
`UnicodeDecodeError                        Traceback (most recent call last)
D:\cs\mechine learning\numpy-100-master\initialise.py in
1 import numpy as np
2
----> 3 import generators as ge
4
5
D:\cs\mechine learning\numpy-100-master\generators.py in
34
35 HEADERS = ktx_to_dict(os.path.join('source', 'headers.ktx'))
---> 36 QHA = ktx_to_dict(os.path.join('source', 'exercises100.ktx'))
37
38
D:\cs\mechine learning\numpy-100-master\generators.py in ktx_to_dict(input_file, keystarter)
9
10     with open(input_file, 'r+') as f:
---> 11         lines = f.readlines()
12
13     k, val = '', ''
UnicodeDecodeError: 'gbk' codec can't decode byte 0x86 in position 59: illegal multibyte sequence`
When I solved this error by change the 'r+' to 'rb', another error occured. So I'm confused.
Is there a problem with my environment or something else wrong ?
If it helps, my python is 3.7

I'm not sure what is the problem. @SebastianoF (who kindly write the generator) do you have any idea

It seems it is not running from the same folder of import generators as ge. Are you running from the roots of the project?

Right. I was exactly running the %run initialise.py command in exercise.py which is in the root direction of project.

This error UnicodeDecodeError: 'gbk' codec can't decode byte 0x86 in position 59: illegal multibyte sequence is suspicious. What is the gbk codec and why i it mentioned ?


run make docs-html breaks, because open-needs is not available

If I run make docs-html build is failing because open-needs is not availabel.
Is this only an issue on my end?

I think this is now obsolete


g2p is not installed

on a vanilla installation, docker on debian12, on which I just runned the docker compose --project-name ovos up -d command I get this error:
2023-08-21 09:47:42.113 - audio - ovos_plugin_manager.g2p:create:142 - ERROR - The selected G2P plugin could not be loaded.
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/g2p.py", line 139, in create
    g2p = clazz(g2p_config)
          ^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
2023-08-21 09:47:42.114 - audio - ovos_plugin_manager.templates.tts:__init__:448 - ERROR - G2P plugin not loaded, there will be no mouth movements
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 446, in __init__
    self.g2p = OVOSG2PFactory.create(cfg)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/g2p.py", line 139, in create
    g2p = clazz(g2p_config)
          ^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

I have the same on my M1

Same for me, I opened an issue about that yesterday here: NeonGeckoCom/neon-g2p-plugin-mimic#1

wrong repo, ovos mimic G2P comes with the vanilla mimic1 plugin

Same for me, I opened an issue about that yesterday here: NeonGeckoCom/neon-g2p-plugin-mimic#1

wrong repo, ovos mimic G2P comes with the vanilla mimic1 plugin

So I should remove neon-g2p-plugin-mimic as it's handled by https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic/blob/406dc5f7431268d880435a27325523e29545e22e/ovos_tts_plugin_mimic/init.py#L24-L76 ?

Same without Neon plugin.
2023-08-21 11:55:43.217 - audio - ovos_plugin_manager.g2p:create:142 - ERROR - The selected G2P plugin could not be loaded.
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/g2p.py", line 139, in create
    g2p = clazz(g2p_config)
          ^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
2023-08-21 11:55:43.218 - audio - ovos_plugin_manager.templates.tts:__init__:448 - ERROR - G2P plugin not loaded, there will be no mouth movements
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 446, in __init__
    self.g2p = OVOSG2PFactory.create(cfg)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/g2p.py", line 139, in create
    g2p = clazz(g2p_config)
          ^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

what is in mycroft.conf ?

what is in mycroft.conf ?

Nothing specific related to g2p, should I add something?

is ovos-classifiers installed? thats what provides the plugin

is ovos-classifiers installed? thats what provides the plugin

Indeed, addind ovos-classifiers solved the issue. :+1:

@denics new ovos_audio image available with the fix.


Allow i3lock-fancy-rapid pixel argument

https://github.com/yvbbrjdr/i3lock-fancy-rapid/commit/f0c51c0ef8b45195ab93e1f0471958ee9d11043f added support for pixelization instead of bluring.
This PR simply allows pixel as a valid argument in addition to the times the blur is applied.

Good to know that. Thanks.


Can't execute samples

Hello All,
I am a beginner that have just got his HDK1.3 and trying to learn the OSVR...
I have installed the 'render manager',  launched the 'osvr server', enabled direct mode (running 'EnableOSVRDirectMode.exe - got success)  and try to run one of the render manager examples but failed.
The last lines of the logging in the server's console are:
....
[OSVR] Could not resolve source for /me/hands/left
[OSVR] Interface initialized for /me/hands/right
[OSVR] Could not resolve source for /me/hands/right
RenderManagerNVidiaD3D11::OpenDisplay: For vendor 0xd24e could only enable direc
t mode on 0 of 1 reportedly capable displays
RenderManagerNVidiaD3D11::OpenDisplay: Could not enable direct mode for vendor
RenderManagerD3D11OpenGL::OpenDisplay: Can't open D3D11 display
Could not open display
[OSVR] Client context shut down for com.osvr.renderManager
[OSVR] OSVR_DisplayConfigObject destructor
[OSVR] Client context shut down for com.osvr.renderManager.openGLExample
Don't know what is the reason for this. The GPU is NVIDIA GeForce GTX TITAN with driver 358.91.
Your help would be much appreciated,
Thanks,
Yossi

I'm assuming that this is version 0.6.38 of the RenderManager installer.  You've got a good version of the nVidia drivers, but I don't know that DirectMode is supported on the Titan.  You can run the DirectModeDebugging program (in a command window) to get more information about what might be going wrong.

Hello Russell,
Many thanks for the fast reply,
It seems the problem was the NVidia driver. I installed the last one (361.91) and now I can run the examples.
Joseph
From: Russell Taylor<EMAIL_ADDRESS>Sent: 18 February 2016 15:14
To: OSVR/OSVR-Core
Cc: Wexler Yossi
Subject: Re: [OSVR-Core] Can't execute samples (#361)
I'm assuming that this is version 0.6.38 of the RenderManager installer. You've got a good version of the nVidia drivers, but I don't know that DirectMode is supported on the Titan. You can run the DirectModeDebugging program (in a command window) to get more information about what might be going wrong.
—
Reply to this email directly or view it on GitHubhttps://github.com/OSVR/OSVR-Core/issues/361#issuecomment-185712456.
The information in this e-mail transmission contains proprietary and business
sensitive information.  Unauthorized interception of this e-mail may constitute
a violation of law. If you are not the intended recipient, you are hereby
notified that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. You are also asked to contact the sender
by reply email and immediately destroy all copies of the original message.


Conflict between model summary and netron for conv2D dimension

Netron app and version: Mac version 4.7.0.dmg
OS and browser version: mac 10.14.6

Hello,
I just opened my model and the graph has incorrect layer dimensions .....
In the attachment I am comparing the model.summary statement with the Netron  image.

Here in writing, Netron is on the right
Layer (type)                 Output Shape              Param #
reshape_1 (Reshape)          (None, 1, 2, 128)         0                       NETRON ?x2x128

zero_padding2d_1 (ZeroPaddin (None, 1, 2, 132)         0

conv1 (Conv2D)               (None, 256, 2, 130)       1024               NETRON 1x3 x 1x256  <<==========

dropout_1 (Dropout)          (None, 256, 2, 130)       0

zero_padding2d_2 (ZeroPaddin (None, 256, 2, 134)       0

conv2 (Conv2D)               (None, 80, 1, 132)        122960            NETRON 2x3 x 256x80 <<=========

dropout_2 (Dropout)          (None, 80, 1, 132)        0

flatten_1 (Flatten)          (None, 10560)             0

dense1 (Dense)               (None,<PHONE_NUMBER>             NETRON 10560x256

dropout_3 (Dropout)          (None, 256)               0

dense2 (Dense)               (None, 8)                 2056                      NETRON 256x8

activation_1 (Activation)    (None, 8)                 0

reshape_2 (Reshape)          (None, 8)                 0
Total params: 2,829,656
Trainable params: 2,829,656
Thanks for looking into this.
PS. Cannot attach the zipped h5 file.

It looks like you are comparing the shapes of the weight tensors for each layer with the shapes of the outputs. The app doesn't do shape inference for Keras at this point as it is running int the browser without inference from the Keras runtime available. For some formats like Darknet there is browser inference available. Nobody has done the work for Keras.

It looks like you are comparing the shapes of the weight tensors for each layer with the shapes of the outputs. The app doesn't do shape inference for Keras at this point as it is running int the browser without inference from the Keras runtime available. For some formats like Darknet there is browser inference available. Nobody has done the work for Keras.


WIP: Bump ginkgo to v2.14.0

/test-centos-e2e-integration-main

/test-centos-e2e-integration-main

/close in favor of #1403


Beep sound when initializing AudioContext in ios device

Description
In simulator, there's no issue. However, when I initialize AudioContext in the iPhone, The beep sound is coming out.
Here's the code I used
export default function HomeScreen() {
  const [isConnected, setIsConnected] = useState(false);
  const audioContextRef = useRef<AudioContext | null>(null);
  const clientRef = useRef<RealtimeClient>(
    new RealtimeClient({
      apiKey: process.env.EXPO_PUBLIC_OPENAI_API_KEY,
      dangerouslyAllowAPIKeyInBrowser: true,
    })
  );

  const connectConversation = async () => {
    console.log("connectConversation");
    if (!audioContextRef.current) {
      audioContextRef.current = new AudioContext();
    }
}

return (
    <SafeAreaView>
      <View style={{ padding: 10 }}>
        <TouchableOpacity
          onPress={isConnected ? disconnectConversation : connectConversation}
          style={{ padding: 4 }}
        >
          <Text style={{ color: "red" }}>
            {isConnected ? "Disconnect" : "Connect"}
          </Text>
        </TouchableOpacity>
      </View>
    </SafeAreaView>
  );

Steps to reproduce
npm install
npx expo run:ios -d
Tap connect button
Snack or a link to a repository
https://github.com/sgwanlee/react-natvie-audio-api-test
React Native Audio API version
0.3.0-rc1
React Native version
0.76.3
Platforms
iOS
JavaScript runtime
None
Workflow
Expo Dev Client
Architecture
None
Build type
None
Device
None
Device model
iPhone 15 Pro, 18.1.1
Acknowledgements
Yes

We have just published 0.3.0-rc2, It should have the issue resolved :)

It works! Thank you


Add support for cli metadata export

What changes were proposed in this pull request?
Fixes #2404.

Add support for metadata export in the cli
Add tests for export subcommand
Update documentation

How was this pull request tested?
Ran make clean, make install, make test and make docs to verify that the installation and tests were successful and documentation was being rendered correctly.

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Added new changes addressing the following:

When --clean parameter is passed, the statement "Cleaning all files in the <export_directory>" is now displayed only if there are files to clean up. (requested by @kevin-bates)
The exported files are listed out on the console, in a manner similar to the output of the list subcommand, with the addition of an Export Location column. (requested by @kevin-bates)
Removed all mentions of the --schema_name parameter from the documentation as suggested by @ptitzler.
The issue that Patrick highlighted required a fix in manager.py. In the get_all method, if an exception is caught (instance is invalid), a copy of the bad instance is being appended to the output list of instances. Previously, this instance would be appended only if include_invalid was True. There was no condition based on the of_schema value and therefore, all invalid instances irrespective of schema were being returned. The condition was updated to only append the invalid instance to the output list of instances if of_schema is False or if of_schema matches the instance's schema.

$ elyra-metadata export component-catalogs --clean --directory=/tmp/foo3 --valid-only --schema_name=blah
Schema name 'blah' is invalid. For the 'component-catalogs' schemaspace, the schema-name must be one of ['airflow-package-catalog', 'airflow-provider-package-catalog', 'local-directory-catalog', 'local-file-catalog', 'url-catalog']
Traceback (most recent call last):
  File "/opt/anaconda3/envs/cli-metadata-export/bin/elyra-metadata", line 8, in <module>
    sys.exit(MetadataApp.main())
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 603, in main
    elyra_metadata.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 624, in start
    return subinstance.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 524, in start
    return subinstance.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 417, in start
    raise SchemaNotFoundError(self.schemaspace, schema_name)
elyra.metadata.error.SchemaNotFoundError: No such schema named 'blah' was found in the component-catalogs schemaspace.

We should not dump the stacktrace because it does not contain any useful information
if possible, only the first error message (Schema name 'blah' is invalid. For the 'component-catalogs'  ...) because the second one is redundant
possible typo in first message schema-name: should be schema name or schema_name

We need to catch I/O errors to prevent stacktrace dumps and surface the raising exception in a more user friendly way (e.g. Error creating directory structure: <caught-exception-text>
$ elyra-metadata export component-catalogs --clean --directory=/xyz/tmp/foo3 --valid-only
[W 2022-02-15 08:11:05,425.425] Fetch of instance 'airflow_examples' of schemaspace 'component-catalogs' encountered an exception: No such schema named 'elyra-airflow-examples-catalog' was found in the component-catalogs schemaspace.
Creating directory structure for '/xyz/tmp/foo3/component-catalogs'
Traceback (most recent call last):
  File "/opt/anaconda3/envs/cli-metadata-export/bin/elyra-metadata", line 8, in <module>
    sys.exit(MetadataApp.main())
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 603, in main
    elyra_metadata.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 624, in start
    return subinstance.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 524, in start
    return subinstance.start()
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/site-packages/elyra/metadata/metadata_app.py", line 442, in start
    os.makedirs(dest_directory)
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/opt/anaconda3/envs/cli-metadata-export/lib/python3.7/os.py", line 223, in makedirs
    mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/xyz'

@kevin-bates do I misremember or isn't there already code in place that should prevent commands other than migrate from running for schemaspaces that are deprecated?

We currently prevent 'install' operations on deprecated schemaspaces.
https://github.com/elyra-ai/elyra/blob/df9851243edceab90c9247b5a511fa706483c76b/elyra/metadata/metadata_app.py#L485
I would say that we should support the ability to export deprecated schemaspace instances, but not import them.  Their export would then serve as a way to back them up prior to their deletion, for example.  In the previous example, do the 'aa' and 'kfp' instances get exported if --valid-only is removed?

I would say that we should support the ability to export deprecated schemaspace instances, but not import them.

+1

hmm - just noticed the test failure that I don't see when running locally.  Since this is one failure in export, we should hold off the merge until we've had a closer look.

hmm - just noticed the test failure that I don't see when running locally. Since this is one failure in export, we should hold off the merge until we've had a closer look.
Looks like MacOS uses mkdir: /xyz: Read-only file system, but Linux uses: mkdir: cannot create directory ‘/xyz’: Permission denied so I think the assertion needs to be loosened up a bit.

@kevin-bates yeah - I've been trying to get that fixed - but I believe it isn't just a matter of loosening the assertion. I don't think the mocking is working at all (as per the "Interaction with mocking" section in the pytest-console-scripts documentation)
I tried making changes as per the suggestion in the documentation, but I can't get it to work.
So yeah - one way out is to get rid of the mocking altogether and attempt exporting to the /dummy_directory location and loosening the assertion. Only that isn't really a great solution because the test may still not work the same on, say, a Windows machine.
Thoughts? @ptitzler @akchinSTC

Yeah, I'm not sure how to trigger the inprocess mode that the referenced link talks about for mocking to work.  Its definitely running in subprocess mode: elyra/tests/metadata/test_metadata_app.py::test_export_inaccessible_directory[subprocess]
I think we should probably drop the use of mocking here and relax the assertion.  You're right, Windows will be a third flavor (although Elyra doesn't really run well on Windows to begin with).  I suppose you could assert that one of Permission denied or Read-only file system is also in the error message.  At least that way you know the error that occurs is related to what is expected.  I think Windows uses the term Access Denied so you could probably go ahead and include that in the list as well.

@ptitzler please review and let me know if anything else is needed here.
The updates include:

OSError handling + test for the same
Fixed typos/comments as per review comments
Summarized output (number of files exported instead of listing them out) + updated tests


Implementation of ProxyObject with HashMap does not allow access to methods

I've written a Java class that extends java.util.HashMap and implements org.graalvm.polyglot.proxy.ProxyObject because I want to call its get(Object) method in JS:
var value = myMap.get("x");

But when I call this I get an exception:
org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (get) on {x=8, width=120, y=74, height=60} failed due to: Unknown identifier: get
In fact, I get the same exception if I call any method on the Map object.
I have set "polyglot.js.nashorn-compat" to true so Nashorn compatibility works.
Is this a limitation of ProxyObject or am I missing something?
Here's my class
public class GraalMap extends HashMap<String, Object> implements ProxyObject {
    // Wrap a GraalVM ProxyObject
    private ProxyObject object = ProxyObject.fromMap(this);

    @Override
    public Object getMember(String key) {
        return object.getMember(key);
    }

    @Override
    public Object getMemberKeys() {
        return object.getMemberKeys();
    }

    @Override
    public boolean hasMember(String key) {
        return object.hasMember(key);
    }

    @Override
    public void putMember(String key, Value value) {
        object.putMember(key, value);
    }

    @Override
    public boolean removeMember(String key) {
        return object.removeMember(key);
    }
}

Thanks in advance for any guidance.

I'm going to close this issue as I have since discovered org.graalvm.polyglot.proxy.ProxyExecutable and this comment on how to use it.

I'm going to close this issue as I have since discovered org.graalvm.polyglot.proxy.ProxyExecutable and this comment on how to use it.


Documentation needs to be updated for Ember 2.0 support

What's wrong with the docs for Ember 2.0?

@jchamet Can you clarify what you mean?


add a missing link

This link is missing from the TOC

@Deland-Han : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for your contribution, I've merged your changes and they should be live soon.