[developers] LUI binaries in the main LKB repository

Alexandre Rademaker arademaker at gmail.com
Thu Mar 14 22:52:21 CET 2019


Hi Woodley,

I am using the last version from http://sweaglesw.org/linguistics/acetools/

The parameter --auto causing fftb to abort! 

$ ./fftb -g ~/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat --auto --webdir ~/fftb-osx/assets/ ~/repsol/repsol-100-ff/
grammar image: /home/user/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat
fftb: web.c:1275: main: Assertion `gold_tsdb_profile != ((void *)0)' failed.
Aborted

But this is not my main problem! Since I use a Mac laptop, I am using docker to have a Linux system to run the tools. But, I can’t see why even after execute fftb inside a docker an exposing the docker port (https://docs.docker.com/engine/reference/builder/) to the host machine, I can’t access fftb from the host.


I was running the container with the proper ports redirect:

$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                    NAMES
526f3f5c42b9        logon               "/bin/bash"         4 hours ago         Up 4 hours          0.0.0.0:9080->9080/tcp   stupefied_hellman

Inside the container I called fftb:

$ ./fftb -g ~/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat --webdir ~/fftb-osx/assets/ ~/repsol/repsol-100-ff/
grammar image: /home/user/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat
listening on http://127.0.0.1:9080/private/

But … The browser in my host machine can’t access it

> Safari can’t open the page “‎127.0.0.1:9080/private/” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.


Any idea?


--
Alexandre Rademaker
http://arademaker.github.io




More information about the developers mailing list