Gallery extension fail upload photos

I am using Radiant 0.6.7 and Gallery extension 0.7.12, but when I try to
upload picture javascript load load and does not upload, when I check in
folders galleries in public so has a photo, the original, but he did not
finish the upload, seems to be some problem with javascript, something
well

And using the import option, the importing stop a 6%.

Sorry my English. :S

Log:

Processing GalleryItemsController#index (for 192.168.0.6 at 2008-07-01
16:46:17) [GET]
Session ID: 771cfee3bd094e4f52011e15b05dde2c
Parameters: {“gallery_id”=>“11”, “action”=>“index”,
“controller”=>“gallery_items”}
Rendering gallery_items/index
Completed in 0.01281 (78 reqs/sec) | Rendering: 0.00558 (43%) | DB:
0.00000 (0%) | 200 OK [http://192.168.0.100/admin/galleries/11/items/]

Processing GalleryItemsController#new (for 192.168.0.6 at 2008-07-01
16:46:19) [GET]
Session ID: 771cfee3bd094e4f52011e15b05dde2c
Parameters: {“gallery_id”=>“11”, “action”=>“new”,
“controller”=>“gallery_items”}
Rendering template within layouts/gallery_popup
Rendering gallery_items/new
Completed in 0.01847 (54 reqs/sec) | Rendering: 0.01543 (83%) | DB:
0.00000 (0%) | 200 OK
[http://192.168.0.100/admin/galleries/11/items/new]

Processing GalleryItemsController#create (for 192.168.0.6 at 2008-07-01
16:46:22) [POST]
Session ID: 771cfee3bd094e4f52011e15b05dde2c
Parameters: {“form_id”=>“1”, “format”=>“js”, “gallery_id”=>“11”,
“action”=>“create”,
“gallery_item”=>{“uploaded_data”=>#<File:/tmp/CGI11458-0>},
“authenticity_token”=>“d2a22772c29d518549223441f58f8c3acef318eb”,
“controller”=>“gallery_items”}

TypeError (nil can’t be coerced into Float):
/vendor/extensions/gallery/app/models/gallery_item.rb:121:in /' /vendor/extensions/gallery/app/models/gallery_item.rb:121:in proportional_resize’
/vendor/extensions/gallery/app/models/gallery_item.rb:48:in thumb' /vendor/extensions/gallery/app/models/gallery_item.rb:89:in generate_default_thumbnails’
/vendor/extensions/gallery/app/models/gallery_item.rb:86:in each' /vendor/extensions/gallery/app/models/gallery_item.rb:86:in generate_default_thumbnails’
/vendor/extensions/gallery/app/models/gallery_item.rb:33
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:311:in
call' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:311:in callback’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in
each' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in callback’
/vendor/extensions/gallery/lib/technoweenie/attachment_fu.rb:372:in
after_process_attachment' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:307:in send’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:307:in
callback' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in each’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in
callback' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/callbacks.rb:214:in create_or_update’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/base.rb:1972:in
save_without_validation' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/validations.rb:934:in save_without_transactions’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in transaction’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:80:in
transaction' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:100:in transaction’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:120:in rollback_active_record_state!’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:92:in create’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:203:in
add_record_to_target_with_callbacks' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:193:in create_record’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:92:in
create' /vendor/extensions/gallery/app/controllers/gallery_items_controller.rb:23:in create’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
send' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/base.rb:1158:in perform_action_without_filters’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/filters.rb:697:in
call_filters' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/filters.rb:689:in perform_action_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in perform_action_without_caching’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/caching.rb:678:in
passenger_orig_perform_action' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in cache’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
cache' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/caching.rb:677:in passenger_orig_perform_action’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/request_handler.rb:53:in
perform_action' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/base.rb:524:in send’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_filters' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in process_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in
sass_old_process' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in process’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/base.rb:388:in
process' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in handle_request’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in
dispatch' /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in dispatch_cgi’
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in
dispatch' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/request_handler.rb:38:in process_request’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_request_handler.rb:163:in
main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/application_spawner.rb:307:in start_request_handler’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/application_spawner.rb:276:in
handle_spawn_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:165:in safe_fork’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:163:in
fork' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:163:in safe_fork’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/application_spawner.rb:274:in
handle_spawn_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:165:in safe_fork’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:163:in
fork' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/utils.rb:163:in safe_fork’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/application_spawner.rb:273:in
handle_spawn_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:317:in send
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:317:in
main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:168:in start_synchronously’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:135:in
start' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:112:in fork’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:112:in
start' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/railz/application_spawner.rb:177:in start’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/spawn_manager.rb:224:in
spawn_rails_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/spawn_manager.rb:219:in synchronize’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/spawn_manager.rb:219:in
spawn_rails_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/spawn_manager.rb:122:in spawn_application’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/spawn_manager.rb:253:in
handle_spawn_application' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:317:in send
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:317:in
main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/lib/passenger/abstract_server.rb:168:in start_synchronously’
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/bin/passenger-spawn-server:46

Rendering /var/www/intranet/public/500.html (500 Internal Server Error)

I’m sure you have found your way after those years :smiley:

but since I do not see any answer, i’ll say that i came across the same
problem, and had it fixed by properly installing both paperclip and
rmagick