ITADN

Uncaught TypeError in analytics.py line 240

#5391Closedbsteja33 创建于 2026-07-03
B
bsteja33commented
Aider crashes immediately upon launch when attempting to record the `launched` analytics event due to a keyword argument conflict in the underlying telemetry capture call (`posthog` client). Aider version: 0.86.2 Python version: 3.13.5 Platform: Windows-11-10.0.26200-SP0 Python implementation: CPython Virtual environment: No OS: Windows 11 (64bit) Git version: git version 2.44.0.windows.1 An uncaught exception occurred: ``` Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "__main__.py", line 5, in <module> sys.exit(main()) ~~~~^^ File "main.py", line 664, in main analytics.event("launched") ~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "analytics.py", line 240, in event self.ph.capture(event_name, distinct_id=self.user_id, properties=dict(properties)) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Client.capture() got multiple values for argument 'distinct_id' ```
关闭于 2026-07-04 1 条评论