Skip to content

core on rh 8.1 #90

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

Open
ekwf opened this issue Apr 15, 2025 · 2 comments
Open

core on rh 8.1 #90

ekwf opened this issue Apr 15, 2025 · 2 comments
Assignees

Comments

@ekwf
Copy link

ekwf commented Apr 15, 2025

#0 __memmove_evex_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:520
#1 0x00007f46b48d7a7e in dbn::compat::decode_record_ref () from /home/user/.local/lib/python3.8/site-packages/databento_dbn/_lib.cpython-38-x86_64-linux-gnu.so
#2 0x00007f46b485453c in dbn::decode::dbn::sync::RecordDecoder::decode_ref ()
from /home/user/.local/lib/python3.8/site-packages/databento_dbn/_lib.cpython-38-x86_64-linux-gnu.so
#3 0x00007f46b485b502 in databento_dbn::dbn_decoder::DbnDecoder::decode () from /home/user/.local/lib/python3.8/site-packages/databento_dbn/_lib.cpython-38-x86_64-linux-gnu.so
#4 0x00007f46b485e77f in databento_dbn::dbn_decoder::DbnDecoder::pymethod_decode ()
from /home/user/.local/lib/python3.8/site-packages/databento_dbn/lib.cpython-38-x86_64-linux-gnu.so
#5 0x00007f46b485afa9 in pyo3::impl
::trampoline::trampoline () from /home/user/.local/lib/python3.8/site-packages/databento_dbn/_lib.cpython-38-x86_64-linux-gnu.so

I realize the minimum python specified is 3.9 and so this is likely related to running under 3.8 (have to for various reason).

@nmacholl
Copy link
Collaborator

Hey there,

If you can share the actual error you encountered, as well as a minimally reproducible example, we can perhaps help. You are correct that Python 3.8 is not supported, this version of Python is past end of life and won't receive any more updates (even security updates).

I suspect the problem is that you are being forced to use a very old version of the library and databento_dbn which is not something we will fix to be compatible with the current API. It is recommended to use the latest library versions to ensure compatibility.

Cheers,
Nick

@nmacholl nmacholl self-assigned this Apr 15, 2025
@ekwf
Copy link
Author

ekwf commented Apr 15, 2025

Makes sense. I agree re python version, it's an imposed limitation. For what it's worth this is the code that was running with 5 tickers:

async def main():
    app_cfg = json.load(args.config)
    logging.debug(app_cfg)

    cli = db.Live(ts_out=True,heartbeat_interval_s=30,reconnect_policy="reconnect")
    cli.subscribe(dataset="EQUS.MINI",schema="mbp-1",stype_in='raw_symbol',symbols=app_cfg['tickers'])
    cli.add_stream(args.output)

    signal(SIGINT, lambda signal, frame: signal_handler(signal, frame, cli))

    async for record in cli:
        if not run:
            break
        process(record)

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

No branches or pull requests

2 participants