Closed zhanwenchen closed 6 years ago
I'm afraid I couldn't replicate this. I have the same version of Mac OS and was able to download and open the DMG without any trouble.
How did you download it? Github doesn't always handle file downloads in the expected way. When I checked, this was the exact url I used.
https://github.com/senderle/topic-modeling-tool/raw/master/TopicModelingTool.dmg
Try that and see what happens.
I used https://github.com/senderle/topic-modeling-tool/releases to download the source code zip.
And yes, the link you provided works.
This doesn't seem like it can be closed yet, because I don't know what the problem was. Please comment if you've had the same problem.
I didn't have this problem, but a friend did. The only thing that worked: if you download the dmg file directly, it doesn't get the same error. Not sure if that means there's an error with the zip file or what
@hawc2 thanks. Revisiting this, I wonder if it has something to do with github's Large File Storage setup. The zip file might not contain the actual .dmg file -- it might just contain a pointer to the file. When you clone the repo through git, it knows to download the file itself, but when you download the zip file, you just get the pointer...
Aha, yes, that seems like it must be the problem. See this issue under the LFS plugin.
This is unavoidable behavior caused by git's Large File Storage (LFS) plugin. See the issue here:
git-lfs/git-lfs#1648
The trouble is that the pre-built applications are too large to store and track in the normal way. Luckily, LFS provides a way around that, but it uses some wizardry that only git understands, and so when you download the raw data as a zip file, the necessary incantations aren't invoked.
This might be something github could fix, but we can't. The only solution is to avoid downloading the repository as a zip file. If you wish to install a pre-built binary, you'll need to directly download the binary file itself, or clone the repository using git, with the git-lfs plugin installed.
Clicking on "TopicModelingTool.dmg"
Clicking on "TopicModelingTool.jar"
Running
chmod 777 ./*
didn't help. I did build from source which worked fine.OS: macOS Sierra 10.12.6