Skip to content

[832] scicat ingest and pruning errors #117

Description

@davramov

Scicat Ingest

  • Need to pin the scicat_beamline repo requirement to the latest stable tagged version, and avoid conflicts from development efforts.

Prune Controller
I thought I solved this pruning controller issue, but it looks like the TransferClient isn't working correctly with the scheduling step. I will look into this.

Encountered exception during execution: ParameterBindError("Error binding parameters for function 'init_transfer_client': missing a required argument: 'app'.\nFunction 'init_transfer_client' has signature 'app: orchestration.globus.transfer.GlobusApp) -> globus_sdk.services.transfer.client.TransferClient' but received args: () and kwargs: [].")
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/prefect/utilities/callables.py", line 70, in get_call_parameters
    bound_signature = inspect.signature(fn).bind(*call_args, **call_kwargs)
  File "/usr/local/lib/python3.13/inspect.py", line 3269, in bind
    return self._bind(args, kwargs)
           ~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/inspect.py", line 3182, in _bind
    raise TypeError(msg) from None
TypeError: missing a required argument: 'app'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/prefect/flow_engine.py", line 763, in run_context
    yield self
  File "/usr/local/lib/python3.13/site-packages/prefect/flow_engine.py", line 1370, in run_flow_sync
    engine.call_flow_fn()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/prefect/flow_engine.py", line 783, in call_flow_fn
    result = call_with_parameters(self.flow.fn, self.parameters)
  File "/usr/local/lib/python3.13/site-packages/prefect/utilities/callables.py", line 210, in call_with_parameters
    return fn(*args, **kwargs)
  File "/app/orchestration/prune_controller.py", line 330, in prune_globus_endpoint
    tc = init_transfer_client()
  File "/usr/local/lib/python3.13/site-packages/prefect/tasks.py", line 1051, in __call__
    parameters = get_call_parameters(self.fn, args, kwargs)
  File "/usr/local/lib/python3.13/site-packages/prefect/utilities/callables.py", line 72, in get_call_parameters
    raise ParameterBindError.from_bind_failure(fn, exc, call_args, call_kwargs)
prefect.exceptions.ParameterBindError: Error binding parameters for function 'init_transfer_client': missing a required argument: 'app'.
Function 'init_transfer_client' has signature 'app: orchestration.globus.transfer.GlobusApp) -> globus_sdk.services.transfer.client.TransferClient' but received args: () and kwargs: [].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions