gallery modules fails to create new gallery first time
Reported by Tia | February 2nd, 2010 @ 01:54 PM
Ubuntu 64 Bit:
Gallery doesn't work...
Processing Media::ManageController#gallery_info (for 192.168.9.1 at 2010-02-02 13:16:23) [POST]
Parameters: {"commit"=>"Create Gallery", "action"=>"gallery_info", "authenticity_token"=>"F47qqYU8fLB8JaADLcExVx7dmx/FcmPzTpZ2w3rTKns=", "path"=>[], "gallery"=>{"name"=>"test", "private_gallery"=>"0", "occurred_at"=>"02/02/2010 13:16", "owner_id"=>"", "description"=>""}, "controller"=>"media/manage"}
NoMethodError (undefined method `gallery_images' for nil:NilClass):
vendor/modules/media/app/models/media/file_extensions.rb:17:in `after_create'
app/models/domain_model.rb:516:in `send'
app/models/domain_model.rb:516:in `handlers'
app/models/domain_model.rb:513:in `each'
app/models/domain_model.rb:513:in `handlers'
app/models/domain_model.rb:488:in `after_create'
app/models/domain_model.rb:445:in `save_without_after_commit'
app/models/domain_model.rb:672:in `save'
app/models/domain_file.rb:507:in `create_folder'
vendor/modules/media/app/models/gallery.rb:22:in `before_create'
app/models/domain_model.rb:445:in `save_without_after_commit'
app/models/domain_model.rb:672:in `save'
vendor/modules/media/app/controllers/media/manage_controller.rb:44:in `gallery_info'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Tried to 'create gallery'
Fails the first time after enabling the module
Seems to work all subsequent times.
Comments and changes to this ticket
-
Pascal Rettig March 9th, 2010 @ 07:47 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป