Could not find magic files! On git push
Closed
Could not find magic files! On git push
Created by: eceforge
Gitlab installs just fine on ubuntu 11.10 as per wiki instructions and I can log in and give it an ssh key and even push with git from another account but...
As soon as I push the READMEor anything else I am no longer able click on the project in Gitlab. Instead of being taken to the project page I am given a:
StandardError in ProjectsController#show
could not find any magic files !
It seems like charlock_holmes/encoding_detector.rb is to blame but I can't seem to fix it. Gitlab is so close to working! I really want it to work because it is looking really awesome...if only I could figure this out. Any ideas?
Created by: eddywashere
https://github.com/gitlabhq/gitlabhq/issues/249 The comments on this issue helped me
By Administrator on 2012-01-01T01:28:24 (imported from GitLab project)
Created by: eceforge
yeah so I had run across that related problem earlier in my attempts to fix it but even after running:
sudo apt-get install libicu-dev
I still have un-clickable projects. I had wanted to run the suggested:
gem install charlock_holmes -- --with-icu-dir=/usr/local/Cellar/icu4c/4.4.1
but I was unsure where the icu was installed on Ubuntu. Am I wrong thinking that the apt-get command should accomplish the same thing as suggested by the post you sent me?
BTW Thanks for helping out.
By Administrator on 2012-01-01T02:08:08 (imported from GitLab project)
Created by: eceforge
When I do a generic:
sudo gem install charlock_holmes
(Of interesting note apparently gitlabhq user doesn't have access to /usr/local/lib/ruby/gems/1.9.1 directory)
I git lots of things to the effect of:
unable to convert "\xE5" from ASCII-8BIT to UTF-8 for ext/charlock_holmes/src/file-5.08/magic/Magdir/riff, skipping
This makes some sense since it is the magic files that are having trouble during runtime.
Anything I seem to find on subject seems to reference the problem occurring with respect to the readme file and everyone says to just not worry about since it is only a readme but here these are the magic files which are a bit more important...
By Administrator on 2012-01-01T02:40:50 (imported from GitLab project)
Created by: eceforge
Haha! It works! I ended up having to restart the whole machine after the sudo gem install charlock_holmes despite the whole conversion errors.(As opposed to just restarting the server component) Thanks a bunch!!
By Administrator on 2012-01-01T03:28:29 (imported from GitLab project)