Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readfish sample rate problems #2

Open
lborcard opened this issue Jun 26, 2024 · 0 comments
Open

Readfish sample rate problems #2

lborcard opened this issue Jun 26, 2024 · 0 comments

Comments

@lborcard
Copy link

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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant