从移动应用程序上传图像时出现回形针错误

时间:2012-05-04 06:49:40

标签: android paperclip image-uploading

从移动应用程序上传图片时出现以下错误

[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream20120504-12074-1wgc6pp.png is not recognized by the 'identify' command.>
[paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream20120504-12074-1wgc6pp.png is not recognized by the 'identify' command.>

在我的config / environments / development.rb

Paperclip.options [:command_path] =“/ usr / local / bin”

主要的问题是,当我尝试从网络上传图片时它工作正常。但是当我尝试从移动应用程序(android)上传图片时,它给出了上述错误。我正在从移动应用程序发送.json请求。

任何帮助都将受到高度赞赏!!!!! 谢谢..

0 个答案:

没有答案