"uninitialized constant Translate" error on install
Posted: Mon Dec 13, 2010 12:17 pm
Hi all, please be gentle as first post and a complete Amahi/Linux noob...
Been running Amahi on F14 successfully for a few weeks now, but after updating Amahi today got a Ruby error when accessing via the browser:
tail -f /root/hda-install.log shows the problem to be
Any ideas??
Greg
Been running Amahi on F14 successfully for a few weeks now, but after updating Amahi today got a Ruby error when accessing via the browser:
Reinstalled F14 from scratch, with no updates, and now trying to install Amahi which fails at 33%, "activating your HDA's settings"Ruby on Rails application could not be started
These are the possible causes:
There may be a syntax error in the application's code. Please check for such errors and fix them.
A required library may not installed. Please install all libraries that this application requires.
The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
uninitialized constant Translate
Exception class:
NameError
Application root:
/var/hda/platform/html
Backtrace:
# File Line Location
0 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb 443 in `load_missing_constant'
1 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb 80 in `const_missing'
2 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb 92 in `const_missing'
3 /var/hda/platform/html/config/routes.rb 34
4 /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb 226 in `draw'
5 /var/hda/platform/html/config/routes.rb 1
6 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb 147 in `load_without_new_constant_marking'
7 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb 147 in `load'
8 /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb 286 in `load_routes!'
9 /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb 286 in `each'
10 /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb 286 in `load_routes!'
11 /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb 266 in `reload!'
12 /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb 537 in `initialize_routing'
13 /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb 188 in `process'
14 /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb 113 in `send'
15 /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb 113 in `run'
16 /var/hda/platform/html/config/environment.rb 9
17 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
18 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `require'
19 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/classic_rails/application_spawner.rb 222 in `preload_application'
20 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/classic_rails/application_spawner.rb 181 in `initialize_server'
21 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/utils.rb 564 in `report_app_init_status'
22 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/classic_rails/application_spawner.rb 174 in `initialize_server'
23 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 204 in `start_synchronously'
24 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 180 in `start'
25 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/classic_rails/application_spawner.rb 149 in `start'
26 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 219 in `spawn_rails_application'
27 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
28 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 214 in `spawn_rails_application'
29 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 82 in `synchronize'
30 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
31 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 213 in `spawn_rails_application'
32 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 132 in `spawn_application'
33 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
34 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 357 in `__send__'
35 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
36 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
37 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/helper-scripts/passenger-spawn-server 99
tail -f /root/hda-install.log shows the problem to be
Code: Select all
Successfully installed activeresource-2.3.4
Successfully installed rails-2.3.4
7 gems installed
Successfully installed pluginfactory-1.0.7
1 gem installed
rake aborted!
uninitialized constant Translate
Greg