Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Client hangs with no error message, potential alternative to build-essentials for windows #199

@invertednz

Description

@invertednz

Currently the python client does not work for me it just hangs on attempting to parse a file.

I am only running the following:
client = bblfsh.BblfshClient("localhost:9432")
print("parsing")
ctx = client.parse("ast.py")

I realized it maybe because I haven't installed the required dependencies:

"Dependencies
You also will need a curl cli tool to dowload libuast, and a g++ for building libuast Python bindings. The command for Debian and derived distributions would be:

sudo apt install curl build-essential"

Is there a windows alternative for this?

Just as an FYI I get the following in the docker server log

time="2020-01-03T11:22:58.3367974Z" level=info msg="python-driver version: v2.10.3 (build: 2019-10-25T13:40:25Z)" id=01dxnj9snfwpjbr0yq8v7g0t0t language=python
time="2020-01-03T11:22:58.3413548Z" level=info msg="server listening in /tmp/rpc.sock (unix)" id=01dxnj9snfwpjbr0yq8v7g0t0t language=python
time="2020-01-03T11:22:59.2967131Z" level=info msg="new driver instance started bblfsh/python-driver:latest (01dxnj9snfwpjbr0yq8v7g0t0t)"
time="2020-01-03T11:22:59.3601263Z" level=info msg="request processed content 913 bytes" elapsed=1.3212179s filename=ast.py githash=5ca83c1f3e6f816ab3df6e5e4452fd8c4f85e6e7 language=python sha1=a011fd51d314e1e4e4a2fa3cc771a432e21760b1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions