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

bug: No compatibility between ydb-python-sdk and ydb-dstool #470

Open
mregrock opened this issue Aug 13, 2024 · 0 comments
Open

bug: No compatibility between ydb-python-sdk and ydb-dstool #470

mregrock opened this issue Aug 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mregrock
Copy link

mregrock commented Aug 13, 2024

Bug Report

YDB Python SDK version:

3.15.0

Current behavior:
If ydb-dstool is installed separately from ydb-python-sdk, everything works well, but if they are installed simultaneously, then ydb-dstool crashes with an error.

    File "/home/mregrock/.local/bin/ydb-dstool", line 5, in <module>     
        from ydb.apps.dstool.main import main   
    File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/__init__.py", line 9, in <module>     
        from .credentials import *  # noqa   
    File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/credentials.py", line 5, in <module>     
        from . import tracing, issues, connection   
    File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/issues.py", line 9, in <module>     
        from . import _apis   
    File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/_apis.py", line 28, in <module> 
        from ._grpc.common import (   
    File "/home/mregrock/.local/lib/python3.10/site-packages/ydb/_grpc/common/__init__.py", line 14, in <module>     
        from ydb.public.api.grpc import *  # noqa

Upd: However, if you build dstool using ya make, instead of pip install, the error does not appear

@mregrock mregrock added the bug Something isn't working label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant