nanoporetech/pod5-file-format

Getrandom runtime error

Closed this issue · 6 comments

j0hnn0 commented

I get:
RuntimeError: getrandom
with pod5. I've tried many versions, on many different python3 versions, still no success.
O/S CentOS Linux release 7.3.1611 3.10.0-514.el7.x86_64.
Updating O/S not an option. This is a whole cluster environment, with custom compiled kernel.

Any ideas please?

Tx!

Hi @j0hnn0 ,

What are you running when this occurs? Is there a call stack?

Thanks,

  • George
j0hnn0 commented

Hi @j0hnn0 ,

I can see that you've tried multiple versions but we'll continue with only the most current version 0.2.4 going forward.

getrandom appears to have been added to GLIBC in version 2.25

Can you please report your GLIBC version?

Kind regards,
Rich

j0hnn0 commented

@j0hnn0 ,

Can you build the wheel and install locally? Here are the instructions.

These instructions should create a wheel in: build/c++/pod5_format_pybind/wheel_* which can be used to update the pod5 venv with:

(pod5) $ pip install -U build/c++/pod5_format_pybind/wheel_*/lib_pod5-*.whl

@j0hnn0 , was your issue resolved?

Best regards,
Rich