Skip to content

Readfish sample rate problems #2

@lborcard

Description

@lborcard

Dear Icarust team,

I am experiencing problems when try to run readfish and the icarust docker, it seems to linked to the sample rate of the device but I tried both 5000 and 4000 and nothing changed.

thanks

trace:

Traceback (most recent call last):
  File "/home/lbadmin/Icarust_docker/.venv/bin/readfish", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/readfish/_cli_base.py", line 61, in main
    raise SystemExit(args.func(parser, args, extras))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/readfish/entry_points/targets.py", line 639, in run
    worker = Analysis(
             ^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/readfish/entry_points/targets.py", line 207, in __init__
    self.sample_rate = self.client.connection.device.get_sample_rate().sample_rate
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/minknow_api/device_service.py", line 1346, in get_sample_rate
    return run_with_retry(self._stub.get_sample_rate,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/minknow_api/device_service.py", line 97, in run_with_retry
    result = MessageWrapper(method(message, timeout=timeout), unwraps=unwraps)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/grpc/_channel.py", line 1183, in __call__
    return _end_unary_response_blocking(state, call, False, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lbadmin/Icarust_docker/.venv/lib64/python3.11/site-packages/grpc/_channel.py", line 1008, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNIMPLEMENTED
        details = ""
        debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2024-06-26T16:17:42.507230813+02:00", grpc_status:12, grpc_message:""}"
>
c


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions