Displaying 20 results from an estimated 700 matches similar to: "Mini_Magick Problem"
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi,
I''m using Mini Magick and that attachment_fu plugin to resize images
that the user uploads. Everything looks okay in my code, but I get a
core dump every time an image is uploaded.
The file successfully posts to the application, I can see that the
original file gets copied into the folder correctly. It appears that
it dumps immediately after that. I''m using Mongrel behind
2007 Feb 14
0
mini_magick processor for attachment_fu - HELP
I have posted this here also: http://beast.caboo.se/forums/2/topics/
823
I''m writing this for a custom application that uses attachment_fu but
I thought it might interest some people here who are have problems
with rmagick or image_science.
rmagick is causing large memory spikes for my application and my host
will not install image_science, I tried out image_science locally and
the
2009 Jan 29
7
Installed gems aren't installed
Like the subject says, I''ve got a really weird problem.
A co-worker added a couple of gems to our rails project. I installed
these gems on my machine (a macbook, os x 10.5.6), start the server,
and it says it can''t find these gems:
=============
Missing these required gems:
mini_exiftool = 1.0.1
mini_magick = 1.2.3
You''re running:
ruby 1.8.6.114 at
2008 Jan 05
0
attachment_fu + mini_magick troubleshooting
I''ve got a model with :has_attachment with content of image type.
When I''m trying to save an image, the following line in the log
appears:
Exception working with image: ImageMagick command (identify "C:/
WINDOWS/TEMP/minimagick2860-0") failed: Error Given
Minimagick is installed properly or seems to be. At least, all mini-
magick tests except those with some php-file
2009 Nov 06
2
mini_magick - 2 clarifications
1. I have seen examples similar to the following:
image = MiniMagick::Image.from_file("input.jpg")
image.resize "100x100"
image.write("output.jpg")
I''m assuming that image.resize is a method. Is there any significance
to the fact that the argument for that method is not enclosed in
parenthesis while the other are? Examples seem to be consistent --
2006 May 07
3
Webrick not showing sql queries any more?
Hi all,
I updated rails to 1.1.2, and somehow, when I run script/server on a new
rails project, I don''t see the sql queries in the console any more... It
was very useful to see them live...
Does any one have any idea why?
Thank you very much!
Nauhaie
--
Posted via http://www.ruby-forum.com/.
2006 Apr 30
7
Rich text aera?
Hi all,
I am trying to add an article editing interface to my future webstore,
and I am wondering what to use for text formatting.
I would like to avoid using HTML, and calibre-bbcode just won''t work
(see my last post).
Is there some kind of library for live text formatting right in the
browser? I would just need bold, italics, size and ul lists... Do you
know of a good solution?
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed
any light on this message and where I should be looking? Thanks
root@bobshost:~# shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Stopping Shorewall...Processing /etc/shorewall/stop ...
IP Forwarding Enabled
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2006 Jul 16
6
Apache2.2 + Mongrel: what do you think about these perfs?
Hi all,
I''ve been spending quite a lot of time trying to install a decent RoR
server on my dedicated server (Ubuntu 6.06 LTS), and now, everything
works.
However, the performances are not really what I had expected... I would
like to know what you think about it.
Here is my config: 2GHz VIA proc, 1Gb RAM, SATA-II HD.
I have apt-got ruby 1.8.4, mysql5 and installed rails 1.1.4 by
2006 Aug 03
12
More than one has_many :through association between the same 2 models
I wonder if you can have more than one has_many :through association between
2 models.
For example...
I have a model Teacher and a model Class
Now, 1 Teacher works in many Classes, right?. So I need a join model like
class Work < ActiveRecord::Base
belongs_to :teacher
belongs_to :class
end
But I also would like to know if a teacher CAN teach a class before I
2010 May 28
3
how to create automatically names for vectors in a loop?
Hi,
I want to generate a number of vectors and store them with different names, like this:
x=1
while (x<100)
{
vector#x# = rnorm(100)
x=x+1
}
where each vector has, at its hand, instead of #x# a number which goes from 1 to 99.
How can I do this?
Thanks
Gabriele Zoppoli, MD
Ph.D. Fellow, Experimental and Clinical Oncology and Hematology, University of Genova, Genova, Italy
Guest
2006 Oct 24
13
How can my boss take rails seriously with bugs like this?
The Time::next_week method is supposed to give the time of the start of
the next week. But look at this, it cocks up :
>> t=Time.parse "Monday October 16th 2006"
=> Mon Oct 16 00:00:00 BST 2006
>> t.next_week
=> Mon Oct 23 00:00:00 BST 2006
>> t.next_week.next_week
=> Tue Oct 24 00:00:00 BST 2006
>> t.next_week.next_week.next_week
=> Mon Oct 30
2006 Sep 18
2
RedCloth !image! bug with filter_html
Hi all!
I am trying tu set up RedCloth for user-submitted comments. And here is
my problem. The :filter_html option just breaks images :-(
For example, if I try in irb:
string= "Some textile !agif.gif! and textile again"
RedCloth.new(string, [:filter_html, :filter_styles]).to_html(:textile)
I get:
NoMethodError: You have a nil object when you didn''t expect it!
The error
2005 Dec 15
8
slightly OT - Ruby division
Hey all,
In my code, it seems that when I divide two integers, the result is an
integer. Is there any way to make it such that when I divide two integers,
the result is a double?
Any help appreciated,
Jin
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Apr 22
3
freeze_gems not freezing all gems?
Hi,
I am currently experimenting on rake freeze_gems and there is something
I do not understand.
When I freeze_gems my app, it puts Rails in the /vendor/ directory,
which works. But what about all other gems I have installed (for example
Unicode, sqlite support, mysql support and so on)?
The aim of freezing is to be independant of the versions of the ISP, but
it seems that the server still
2007 Oct 21
2
xattrs: Permission denied?
I've found a(nother) bug with the xattr code:
kiwiw:~/x terpstra$ uname -a
Darwin kiwiw.lan 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
powerpc
kiwiw:~/x terpstra$ echo test > bar
kiwiw:~/x terpstra$ xattr --set broken demo bar
kiwiw:~/x terpstra$ chmod 0444 bar
kiwiw:~/x terpstra$ rsync-3.0 -aHAXSx bar
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all,
I am having trouble getting R to take pnm images via mogrify
i.e.
mogrify -resize 320x217 -format pnm *.png
However R via pixmap says that it can't read the file. If you have
any ideas like a package that can read jpeg files, etc., I would
appreciate it.
Best wishes,
Art Roberts
University of Washington
2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages
362-365. I''ve successfully loaded the Picture object to the database,
but I come unstuck when trying to replicate this for a thumbnail version
of the original image:
thumbnail = Thumbnail.new
thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2003 Jun 15
2
dvd+rw-tools ported to FreeBSD (Sony 500A DVD[+/-]R[W] support)
I just finished up a port of Andy Polyakov's excellent dvd+rw-tools
to FreeBSD, and he has incorporated the patches into his release:
http://fy.chalmers.se/~appro/
http://fy.chalmers.se/~appro/linux/DVD+RW/
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
(version 5.8.4.4.4)
These tools support DVD-R, DVD-RW, DVD+R, and DVD+RW format dvd burners,
including the popular Sony