Commit ef40747
Fix Aria SDK version logging in websocket bridge
Summary:
`_log_startup_header()` in `websocket_bridge.py` was logging `Aria SDK : version unavailable` on every startup because it attempted `import projectaria_client_sdk` — which is the PyPI *distribution* name, not the importable module. The Client SDK installs as the `aria` package, so the import always failed and the `except Exception` branch always ran.
Switch to `from aria._version import __version__ as aria_sdk_version`, mirroring what the SDK's own `__cli__.py` and `__gen2_cli__.py` do after D104702929. The startup banner now reports the real installed SDK version instead of `version unavailable`.
___
Differential Revision: D107395195
fbshipit-source-id: 2988a0d618c8713bb58e5e0d0148fffb0997c6fe1 parent 09c481a commit ef40747
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- projectaria_ark_plugin/skills/web-app-creator/web-app-creator-backend/backend
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
0 commit comments