Hi,
I was wondering if any of you guys have gotten the error message below
on Heroku when trying to upload an image via the 'Edit Profile' for a
user. I tried finding the problem and did quite bit of online
research. The only suggestion that I found was to remove the 'x' from
vendor/plugins/attachment_fu/lib/geometry.rb (line 28):
# Construct an object from a geometry string
RE = /\A(\d*)(?:(\d+)?)?([-+]\d+)?([-+]\d+)?([%!<>@]?)\Z/
Everyone says that that should be enough, however I'm still having the
same problem. Any suggestions?
<b>Server error message:</b>
Processing UsersController#update (for 174.0.115.254 at 2009-10-28
12:09:26) [PUT]
Parameters: {"user"=>{"birthday(2i)"=>"10", "birthday(3i)"=>"27",
"zip"=>"", "description"=>"<p>I am all powerful</p>", "birthday
(1i)"=>"1994"}, "commit"=>"Save Changes", "authenticity_token"=>"ne7/
J3rAOypK9FaR59US1EiEpy3PAm4zFRb1UtJLqMc=", "country_id"=>"",
"id"=>"admin", "avatar"=>{"uploaded_data"=>#<File:/tmp/
RackMultipart31171-0>}, "tag_list"=>""}
ArgumentError (invalid geometry format):
vendor/plugins/community_engine/plugins/attachment_fu/lib/
geometry.rb:36:in `from_s'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
geometry.rb:90:in `/'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu/processors/image_science_processor.rb:54:in
`resize_image'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:464:in `resize_image_or_thumbnail!'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu/processors/image_science_processor.rb:24:in
`process_attachment'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
`with_image'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
`with_image'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:395:in `with_image'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu/processors/image_science_processor.rb:21:in
`process_attachment'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:486:in `run_callbacks'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:293:in `create_or_update_thumbnail'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/
extensions.rb:166:in `returning'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:285:in `create_or_update_thumbnail'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:450:in `after_process_attachment'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:450:in `each'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:450:in `after_process_attachment'
vendor/plugins/community_engine/plugins/attachment_fu/lib/
technoweenie/attachment_fu.rb:486:in `run_callbacks'
vendor/plugins/community_engine/app/controllers/users_controller.rb:
140:in `update'
haml (2.2.3) lib/sass/plugin/rails.rb:19:in `process'
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/home/heroku_rack/lib/last_access.rb:25:in `call'
/home/heroku_rack/lib/date_header.rb:14:in `call'
thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
thin (1.0.1) lib/thin/connection.rb:78:in `catch'
thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
thin (1.0.1) lib/thin/connection.rb:57:in `process'
thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
thin (1.0.1) lib/thin/server.rb:150:in `start'
thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
thin (1.0.1) lib/thin/runner.rb:173:in `send'
thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
thin (1.0.1) lib/thin/runner.rb:139:in `run!'
thin (1.0.1) bin/thin:6
/usr/local/bin/thin:20:in `load'
/usr/local/bin/thin:20
Rendering /disk1/home/slugs/72014_4d89f8e_77f5/mnt/public/500.html
(500 Internal Server Error)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---