Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • Calendars
    • Team planners
    • Boards
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • Forums
  • Feature tour
    Feature tour
You are here:
  • Forums
  • Development

Content

[solved] couldn't find file 'jquery.atwho' OpenProject 3.0.0

Added by Zelma Loera over 9 years ago

I’ve installed Open Project and plugins on Ubuntu 12.04.

The server works fine:

root@usuario-VirtualBox:/home/usuario/dev/openproject# bundle exec rails server
require ‘rails/all’… 0.720s
Bundler.require… 7.260s
=> Booting Thin
=> Rails 3.2.17 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Application.initialize!… [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
7.590s
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Started GET “/” for 127.0.0.1 at 2014-03-06 21:08:30 –0600

But, When I open in the browser, http://0.0.0.0:3000 or http://localhost:3000, I got the following error, terminal shows:

Completed 500 Internal Server Error in 1074.7ms
ActionView::Template::Error (couldn’t find file ‘jquery.atwho’
(in /home/usuario/dev/openproject/app/assets/javascripts/application.js.erb:16)):
42: <%= stylesheet_link_tag ‘accessibility’ >
43: < end %>
44:
45: <%= javascript_include_tag ‘application’ %>
46:
47: <%= user_specific_javascript_includes %>
48:
app/views/layouts/base.html.erb:45:in `_app_views_layouts_base_html_erb__477970257_96243510’

And the browser shows:

Sprockets::FileNotFound in Welcome#index
Showing /home/usuario/dev/openproject/app/views/layouts/base.html.erb where line #45 raised:
couldn’t find file ‘jquery.atwho’
(in /home/usuario/dev/openproject/app/assets/javascripts/application.js.erb:16)
Extracted source (around line #45):
42: <%= stylesheet_link_tag ‘accessibility’ >
43: < end %>
44:
45: <%= javascript_include_tag ‘application’ %>
46:
47: <%= user_specific_javascript_includes %>
48:
Rails.root: /home/usuario/dev/openproject


Replies (4)

RE: couldn't find file 'jquery.atwho' OpenProject 3.0.0 - Added by jason southwell over 9 years ago

I had this same error but during the asset precompiliation step.

To fix I installed NodeJS on the system and removed rubyracer from my gemfile.

RE: couldn't find file 'jquery.atwho' OpenProject 3.0.0 - Added by Jens Ulferts over 9 years ago

This seems to be a copy of another thread. The other one provides a fix.

RE: [solved] couldn't find file 'jquery.atwho' OpenProject 3.0.0 - Added by jason southwell over 9 years ago

For me, precompiling was failing with this error and the bug fix linked at the linked thread didn’t solve that problem either.

The way I solved it was as stated here.

RE: [solved] couldn't find file 'jquery.atwho' OpenProject 3.0.0 - Added by Jens Ulferts over 9 years ago

Then let me try to rephrase the possible solutions as I see them. The problem occurs because the jquery_atwho gem got updated to 0.4.7. We previously hadn’t fixed the version in the Gemfile. The checked in Gemfile.lock fixates it at 0.4.1. If a user chooses to update the installed gems for whatever reason, problems follow. One can:

1) Either reverse the update and use 0.4.1 again
2) Cherry pick the commit referenced for updating to 0.4.7

  • (1 - 4/4)
Loading...