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

Stable Release 1.0.0 Fails to Install #63

Closed
zhanwenchen opened this issue Aug 21, 2017 · 7 comments
Closed

Stable Release 1.0.0 Fails to Install #63

zhanwenchen opened this issue Aug 21, 2017 · 7 comments
Labels

Comments

@zhanwenchen
Copy link

Clicking on "TopicModelingTool.dmg"
screen shot 2017-08-21 at 12 05 29 pm

Clicking on "TopicModelingTool.jar"
screen shot 2017-08-21 at 12 05 59 pm

Running chmod 777 ./* didn't help. I did build from source which worked fine.

OS: macOS Sierra 10.12.6

@senderle
Copy link
Owner

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.

@zhanwenchen
Copy link
Author

zhanwenchen commented Aug 21, 2017

I used https://github.com/senderle/topic-modeling-tool/releases to download the source code zip.

And yes, the link you provided works.

@senderle
Copy link
Owner

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.

@hawc2
Copy link

hawc2 commented Jan 26, 2018

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

@senderle
Copy link
Owner

@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...

@senderle
Copy link
Owner

Aha, yes, that seems like it must be the problem. See this issue under the LFS plugin.

git-lfs/git-lfs#1648

@senderle
Copy link
Owner

senderle commented Jan 26, 2018

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.

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

No branches or pull requests

3 participants