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

engine is not launched after running example 'hello world' code #8

Open
akzing-hz opened this issue Jan 25, 2022 · 6 comments
Open

Comments

@akzing-hz
Copy link

By following the guide here https://docs.zetane.com/getting_started.html#installation, I created a scripy to run the 'hello world' code. However, the engine was not launched but keep printing "Dialing Zetane"

OS: Ubuntu 18.04
Zetane 1.7.0

Console output:

Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
running process: /usr/bin/zetane --server 127.0.0.1 --port 4004
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...
Did not connect!
Dialing Zetane...

@konafah
Copy link
Member

konafah commented Jan 25, 2022

Hi, you could try manually launching the Zetane Viewer before running the script.

/opt/zetane/Zetane --server

If the viewer doesn't launch, you could share the output of ldd /opt/zetane/Zetane

@akzing-hz
Copy link
Author

Thanks for the quick reply. Still doesn't launch, the output is below:

        linux-vdso.so.1 (0x00007fff38140000)
        libcgraph.so.6 => /opt/zetane/lib/libcgraph.so.6 (0x00007fd2947fd000)
        libgvc.so.6 => /opt/zetane/lib/libgvc.so.6 (0x00007fd294563000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd29435b000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd294023000)
        liblas.so.3 => /opt/zetane/lib/liblas.so.3 (0x00007fd293d69000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd293b65000)
        libpython3.8.so.1.0 => /opt/zetane/lib/libpython3.8.so.1.0 (0x00007fd2935e3000)
        libtorch.so => /opt/zetane/lib/libtorch.so (0x00007fd2933e1000)
        libtorch_cpu.so => /opt/zetane/lib/libtorch_cpu.so (0x00007fd2818e9000)
        libc10.so => /opt/zetane/lib/libc10.so (0x00007fd28165d000)
        libonnxruntime.so.1.9.0 => /opt/zetane/lib/libonnxruntime.so.1.9.0 (0x00007fd2808dc000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd2806bd000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd280334000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd27ff96000)
        libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007fd27fd67000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd27fb4f000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd27f75e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd294a12000)
        libcdt.so.5 => /opt/zetane/lib/libcdt.so.5 (0x00007fd27f557000)
        libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007fd27f34d000)
        libpathplan.so.4 => /opt/zetane/lib/libpathplan.so.4 (0x00007fd27f145000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fd27ef13000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd27ecf6000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd27eace000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fd27e8cb000)
        libgomp-75eea7e8.so.1 => /opt/zetane/lib/libgomp-75eea7e8.so.1 (0x00007fd27e6a6000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd27e4a2000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd27e29c000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fd27e087000)

@konafah
Copy link
Member

konafah commented Jan 26, 2022

Thank you. That seems ok. There are a few things we could try:

@akzing-hz
Copy link
Author

akzing-hz commented Jan 27, 2022

I've checked the gpu driver version as shown below.

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43       Driver Version: 418.43       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+

I've also tried mannually installed the Zetane-1.7.0.deb, xdg-utils, firefox packages according to the following script, but still doesn't work.

FROM nvidia/opengl:base
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y libgl1 wget

ENV ZTN_DEB=Zetane-1.7.0.deb
RUN wget https://download.zetane.com/zetane/$ZTN_DEB \
  && apt-get install -y ./$ZTN_DEB \
  && rm -rf ./$ZTN_DEB

# To open help URLs (optional)
RUN apt install -y xdg-utils firefox

There is an Aborted(core dumped) error when running /opt/zetane/Zetane --server in Version 1.6.2

@konafah
Copy link
Member

konafah commented Jan 27, 2022

It sounds like there is an environment difference that we can't reproduce on our end. It might be an untested locale (echo $LANG) or a networking issue preventing connection to our licensing server.

We're adding increased startup diagnostics in an upcoming release. I'll keep you posted here when it becomes available.

@akzing-hz
Copy link
Author

Thanks. I also doubt that there may be a networking issue as my host is behind a proxy. BTW, the local is en_US.UTF-8

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

2 participants