You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rror: BaseObserver.schedule() takes 3 positional arguments but 4 were given
Traceback:
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/cli/cli_config_file.py", line 347, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ph85hcjvg05cxzgga3pc540ypx06a6a6-python3.12-click-8.1.7/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/telemetry/metric.py", line 185, in wrapped
raise exception # pylint: disable=raising-bad-type
^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/telemetry/metric.py", line 150, in wrapped
return_value = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/telemetry/event.py", line 376, in wrapped
raise exception
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/telemetry/event.py", line 368, in wrapped
return_value = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/cli_validation/image_repository_validation.py", line 111, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/telemetry/metric.py", line 104, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/utils/version_checker.py", line 43, in wrapped
actual_result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/cli/main.py", line 95, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/_utils/cdk_support_decorators.py", line 40, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/_utils/command_exception_handler.py", line 89, in wrapper_command_exception_handler
raise ex
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/_utils/command_exception_handler.py", line 69, in wrapper_command_exception_handler
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/sync/command.py", line 229, in cli
do_cli(
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/sync/command.py", line 411, in do_cli
execute_watch(
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/commands/sync/command.py", line 572, in execute_watch
watch_manager.start()
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/sync/watch_manager.py", line 230, in start
self._start()
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/sync/watch_manager.py", line 245, in _start
self._execute_infra_sync(first_sync)
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/sync/watch_manager.py", line 285, in _execute_infra_sync
self._start_sync()
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/sync/watch_manager.py", line 253, in _start_sync
self._add_template_triggers()
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/sync/watch_manager.py", line 186, in _add_template_triggers
self._observer.schedule_handlers(template_trigger.get_path_handlers())
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/utils/path_observer.py", line 153, in schedule_handlers
watches.append(self.schedule_handler(path_handler))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/k6w0jjrzlpz9g23w1j0snbi9dcn10cm3-aws-sam-cli-1.132.0/lib/python3.12/site-packages/samcli/lib/utils/path_observer.py", line 170, in schedule_handler
watch: ObservedWatch = self.schedule(path_handler.event_handler, str(path_handler.path), path_handler.recursive)
Steps To Reproduce
sam sync
Expected behavior
Screenshots
Additional context
Metadata
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Describe the bug
Steps To Reproduce
Expected behavior
Screenshots
Additional context
Metadata
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: