Ok, from the looks of this, the Tempfile is doing what it should be,
but you actually have a problem with ImageMagick. Can you try a
similar command from the command line manually? Perhaps using the same
file you're trying to upload so we're using the same reference.
(also, this email appears to have been sent only to me, so I'm
replying to the whole list. I also didn't see it before I saw your
other email to the whole list, so sorry I asked for information you
already supplied)
On Nov 4, 2009, at 9:50 PM, Jeff Pritchard wrote:
> Hi Jonathan,
> I tried it with a jpeg file and it failed (looks like the same thing
> again).
>
> I got this in the log:
> Processing ImagesController#create (for 127.0.0.1 at 2009-11-04
> 18:23:28) [POST]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlM2FkNmRkNzA1ZGEyNzBkOTBhY2Y2MzEyOWU2Y2Zj
> NDEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> c2h7AAY6CkB1c2VkewA=--9eeae5e415deba3d3a493d3445580ddd1a1553b7
> Parameters: {"commit"=>"Create",
> "authenticity_token"=>"99bb89e5b9f6409d35dbd7f878eb8b11b4daa20c",
> "action"=>"create", "controller"=>"images", "image"=>{"name"=>"test
> it", "photo"=>#<File:/var/folders/SD/SDx8I2aFFImM18OrHU-e8U+++TI/-
> Tmp-/CGI.9016.2>}}
> Image Columns (0.001576) SHOW FIELDS FROM `images`
> [paperclip] /usr/local/bin/identify -format "%wx%h" "/var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg"[0] 2>/dev/null
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg is not recognized
> by the 'identify' command.>
> [paperclip] /usr/local/bin/identify -format "%wx%h" "/var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg"[0] 2>/dev/null
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg is not recognized
> by the 'identify' command.>
> [paperclip] /usr/local/bin/identify -format "%wx%h" "/var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg"[0] 2>/dev/null
> [paperclip] An error was received while processing:
> #<Paperclip::NotIdentifiedByImageMagickError: /var/folders/SD/
> SDx8I2aFFImM18OrHU-e8U+++TI/-Tmp-/foo,9016,0.jpeg is not recognized
> by the 'identify' command.>
> SQL (0.024559) BEGIN
> SQL (0.000070) COMMIT
> Rendering images/new
> Completed in 0.52305 (1 reqs/sec) | Rendering: 0.00306 (0%) | DB:
> 0.02620 (5%) | 200 OK [
http://localhost/images]
>
>
>
> I did this to get your new version:
> JP-iMac:jp jeffpritchard$ script/plugin install --force git://
>
github.com/thoughtbot/paperclip.git
> removing: /Users/jeffpritchard/Desktop/jp/vendor/plugins/
> paperclip/.git
> Initialized empty Git repository in /Users/jeffpritchard/Desktop/jp/
> vendor/plugins/paperclip/.git/
> remote: Counting objects: 181, done.
> remote: Compressing objects: 100% (140/140), done.
> remote: Total 181 (delta 60), reused 79 (delta 20)
> Receiving objects: 100% (181/181), 113.58 KiB | 169 KiB/s, done.
> Resolving deltas: 100% (60/60), done.
>
>
> What can I look at to verify that I got the new stuff? Or what is
> the proper way to get it?
>
> thanks,
> jp
>
> On Nov 4, 2009, at 4:00 PM, Jonathan Yurek wrote:
>
>>