Displaying 20 results from an estimated 1000 matches similar to: ""can''t convert Magick::GravityType into Integer""
2006 Jul 19
0
Magick::GravityType Error
Trying to get an app up and running using file_column on Dreamhost, I
run into this error on submitting an image to upload:
can''t convert Magick::GravityType into Integer
#{RAILS_ROOT}/vendor/plugins/file_column/lib/magick_file_column.rb:90:in
`crop''
...
I half thought I found the hosting provider specific error in googling
and finding this thread:
2005 Dec 02
1
Rmagick/File Column Problems
I am having trouble getting Rmagick and File Column working on a new server.
I thought I got everything installed but File Column is giving me errors:
NameError (uninitialized constant Magick):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dep
endencies.rb:195:in `const_missing''
/vendor/plugins/file-column-0.3/lib/magick_file_column.rb:8:in
2006 Mar 15
1
file_column imagemagick strangeness
Hi,
I''m using the basic magick features of file_column,
and while files are uploading fine without the magick options, as soon as I do something like
:magick => { :size => "400x600" }
I get an ''invalid file'' error.
Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
2006 Feb 14
0
RoR BSD setup, file_column / Rmagick "invalid image"
So ive recently finished up my first RoR application and made sure it
all worked right on the windows machine i developed it on. then deployed
it on GeekISP.com which runs Open/Free BSD. I had to jump through a few
little hoops to get it working and set the permissions for file_column
to create directories, but it still doesnt work right. When i go to add
a new item to the database and try
2006 Feb 15
0
file_column / Rmagick "invalid image" when image is valid
So I''ve recently finished up my first RoR application and made sure it all
worked right on the windows machine i developed it on. then deployed it on
GeekISP.com which runs Open/Free BSD. I had to jump through a few little
hoops to get it working and set the permissions for rails to create
directories, but it still doesnt work right. When i go to add a new item to
the database and try
2006 Jun 05
1
file_column & RMagick
Hi,
I have a site where I wish to upload a resize a picture, and store it in
the file system. The best solution that I have found for this so far is
using file_column. This was working great, for about an hour, but all of
the sudden I began to get the following error (only when i attempt to
resize).
NameError (undefined method `assoc'' for class `Magick::ImageList''):
2006 Oct 18
4
Segmentation bug - file_column?
Hi there everybody,
We''re having mongrel processes slowly die on us, with a segmentation
fault. I''ve seen a few other people mention similar issues. Any info
or suggestions would be nice:
Error:
/var/www/apps/heritage/current/config/../vendor/plugins/file_column/
lib/magick_file_column.rb:7: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]
Server:
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2006 Mar 08
3
file_column Cropping -> image offset information
Hello,
I had a problem cropping images with file_column. These are my settings:
file_column :image, :magick => {
:versions => {
:thumb => "80x80>",
:medium => "150x150>",
:square => {
:crop => "1:1",
:size => "50x50!"
}
},
2006 Jan 04
9
Family Connection 1.0
This is a follow-up announcement from the 0.9 release. There are no
major changes, but this release marks a downloadable (tgz) file as
well as a promotional website, a demo application and screenshots.
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section, and an Address Book.
http://familyconnect.rubyforge.org/
Please note that the download
2009 Feb 19
1
ActiveRecord-2.2.2, association preloading, joins and order parameter weirdness
Hello RoR Groupies,
I''m seeing some weird ActiveRecord-2.2.2 SQL generation when doing
eager association/preloading and using joins and ordering by said
join table.
Here''s an example:
class Photo < ActiveRecord::Base
end
class User < ActiveRecord::Base
has_one :headshot, :class_name => "Photo"
end
class Mail < ActiveRecord::Base
belongs_to :user
end
2006 Mar 08
2
Creating new Magick::Image from uploaded data
Hi!
Is it possible to create a new instance of Magick::Image out of uploaded
data via file input?
Now i save my file to the disk, then read it to create an instance of
Magick::Image, resize it and save it again.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 18
1
Anyone get mini-magick plugin working on windows?
Ruby 1.8.4, mini-magick 1.1.0, ImageMagick-6.2.7-0-Q16-windows-dll.exe. I
downloaded and installed the mini-magick plugin into my vendor/rails
directory. When I try to start webrick it fails, but it does not display any
errors. It just simply returns me to the command line. "Ruby script/generate
model test" won''t even work. It acts the same way. It doesn''t throw any
2003 Oct 30
1
Freebsd ( PHP + gzip module + install image magick ) Email Contact Included!
Sorry about the double post. I forgot to include my email address in the
post directly!
Please contact me if you can do this: [ ethanakins @ hotmail.com ]
================
Hello, I am running FreeBSD 4.6-RC2 and need to have php compiled with the
gzip module and also have the latest version of image magick installed.
I have already tried to install "image magick" alone and it puked
2009 Jan 12
2
about magick library
hi..
I am using attachment_fu in my project
i want to know that which of following library is good
please help me
1>imagemagick
2>RMagic
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick:
uninitialized constant Magick
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:200:in `const_missing''
./script/../config/../vendor/plugins/rails_file_column/plugins/
file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi,
I''m on Windows and getting the following error while trying to use
file_column with RMagick,
uninitialized constant Magick
C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
#{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in
`file_column''
I installed file_column by
2006 Mar 02
0
path problem with file_column and :magick options
Hi there,
I''m having some problems wityh the :magick options in file_coumn and
wondered if anyone else had any similar ones:
basically, file_column is working fine for me as is, but whenever I try
to do an automatic resize or thumbnail I get the error ''invalid image''.
It seems to be a path issue as I get:
unable to open image
2009 May 25
0
NameError (uninitialized constant FileColumn::Magick::ImageList
Hi,
I have been using RMagick and File Column in my app together without a
problem, but when I tried to add in some new functionality in my model
where I use file_column, I got the error in the subject line. The
offending line in my code is:
image = Magick::ImageList.new(path_to_image)
Has anybody ever seen this problem when using the two libraries
together? I have tried adding in a require
2003 Oct 30
0
Freebsd ( PHP compiled with gzip module + install image magick ) 10-30-03
Hello, I am running FreeBSD 4.6-RC2 and need to have php compiled with the
gzip module and also have the latest version of image magick installed.
I have already tried to install "image magick" alone and it puked while
running 'make install'. Testing will need to be done on your server and once
all install errors are fixed you can email us your solution!
This is very