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

A few problems with server code #17

Open
neubig opened this issue Aug 7, 2019 · 2 comments
Open

A few problems with server code #17

neubig opened this issue Aug 7, 2019 · 2 comments

Comments

@neubig
Copy link
Collaborator

neubig commented Aug 7, 2019

In trying to run the server code, I found a few problems:

  1. First, parts of the command seem to assume you're in the server directory and parts assume that you're in the top directory. The following command worked for me from the top directory:

    PYTHONPATH=. python server/app.py --config_file config/server/config_py3.json

  2. There are some package requirements that are not specified anywhere. I was able to fix them with the following command, but it'd probably be good to add them to the conda environment:

    pip install flask python-rex

  3. I got stuck on this bug, which prevented it from working on atis: missing data in atis #9

I can fix the first two and send a PR, but the second one I'm not sure where to get the requisite file. For the time being I'll try to work around this by disabling atis in the server.

@neubig
Copy link
Collaborator Author

neubig commented Aug 7, 2019

One more problem:

  1. While I was able to set up a server and get results by accessing http://server.name.cmu.edu:8081/ I'm not able to successfully access http://server.name.cmu.edu:8081/parser/conala/print%20hello . It gives me a 404...

@pcyin
Copy link
Owner

pcyin commented Oct 10, 2019

Thanks for reporting this! For 4., the correct URL it should be:

http://server.name.cmu.edu:8081/parse/conala/print%20hello

Try: http://moto.clab.cs.cmu.edu:8082/parse/conala/print%20hello

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