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

opam install satysfi doesn't terminate (due to timeout of unicode.org) #12

Closed
nekketsuuu opened this issue Feb 9, 2018 · 1 comment
Closed

Comments

@nekketsuuu
Copy link
Contributor

Problem & Proposal

Sometimes, opam install satysfi doesn't terminate. In my environment, it seems that this is caused by the connection timeout of http://www.unicode.org, which hosts some Unicode data files (SATySFi downloads them in Makefile).

After some googling, I found that dodo/node-unicodetable#16 and dodo/node-unicodetable#19 say that http://www.unicode.org may throttle excess downloads. So opam install satysfi may fail when building SATySFi many times.

Therefore, how about using other ways to get UNIDATA files? There are some ways:

  • Directly locate UNIDATA files in this repository
  • Use UNIDATA files installed by the system (dodo/node-unicodetable partly do this)
  • Download from mirror sites
  • ...

I don't know which way is the best :(

How to reproduce

$ git clone --recursive https://github.com/gfngfn/SATySFi.git
$ cd SATySFi
$ make lib && make clean  # run this some times...
$ opam pin add satysfi .
$ opam install satysfi  # sometimes not terminate

Environment

  • Ubuntu 17.10 (Artful Aardvark)
  • OCaml 4.05.0 + OPAM 1.2.2
  • SATySFi commit bc30f33

Workaround

For me, opam install satysfi succeeded after changing http://www.unicode.org/ in Makefile to ftp://ftp.unicode.org.

@nekketsuuu
Copy link
Contributor Author

This issue is resolved by making UNIDATA files under git management at commit 82691e4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants