Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #254

Closed
Open
Created 13 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

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?

Linked issues
0


  • Administrator
    Administrator @root · 13 years ago
    Owner

    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)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    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)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    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)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    Created by: eddywashere

    Np. I didn't have to specify the directory, just did:

    sudo gem install charlock_holmes

    By Administrator on 2012-01-01T02:41:18 (imported from GitLab project)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    Created by: eceforge

    I mean "I get several" of those conversion errors. I have obviously been working too long on git.

    By Administrator on 2012-01-01T02:43:44 (imported from GitLab project)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    Created by: eddywashere

    Ran across those unable to convert items as well. But as far as I can tell it worked the next time I started up the app.

    By Administrator on 2012-01-01T02:47:11 (imported from GitLab project)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    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)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1#254

Menu

Projects Groups Snippets
Help