VIDA-NYU / domain_discovery_tool

This repository contains the Domain Discovery Tool (DDT) project. DDT is an interactive system that helps users explore and better understand a domain (or topic) as it is represented on the Web.
http://domain-discovery-tool.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
47 stars 18 forks source link

ValueError: Empty vocabulary in _count_vocab #70

Closed siatpat closed 5 years ago

siatpat commented 5 years ago

Hello,

I am having the following issue when running domain discovery tool for the first time from a clean installation with docker:

See attached files dockerinfo dockerimages containers enginebusstarted error while doing the same search with ebola as in the doc

Please any help would be appreciated

Regards,

Patrice

iord commented 5 years ago

Hello, I have the same problem, did you solve it?

yamsgithub commented 5 years ago

Do you have an empty domain? As in have you uploaded data and still see this error?

iord commented 5 years ago

Thank you for your interest! Yes I have the same error. I upload here same screenshots, maybe they help. Generally, it seems like it doesn't upload urls either from external file or from manual input or web search query.

Screenshot from 2019-05-27 10-38-38 Screenshot from 2019-05-27 10-27-20

Screenshot from 2019-05-27 10-44-26

Screenshot from 2019-05-27 09-57-22

Screenshot from 2019-05-27 10-02-33

Screenshot from 2019-05-27 10-11-19

yamsgithub commented 5 years ago

This issue should now be fixed. I have uploaded a new docker container. Please test after you do:

docker pull vidanyu/ddt:latest You should be able to upload the urls now.

yamsgithub commented 5 years ago

The docker was built with the wrong jdk version which caused the problem.

iord commented 5 years ago

Thank you very much I will try it and I will sent you feedback. I am not sure if it is meaningful but note that my problem was during the local development and not during some of background or interactive docker mode.

yamsgithub commented 5 years ago

Sure. In the case of local development just update both the dd api and dd tool from git. I updated the environment.yml file with the correct version of openjdk. Then rebuild both dd api and dd tool and try it. Would greatly appreciate it if you could try it out and let us know it works.

iord commented 5 years ago

Local development worked!! I will try it and if I have any problem I will inform you. Thank you very much!

yamsgithub commented 5 years ago

Great! Thanks for informing. I will now close the ticket then. You can reopen if there is an issue.