Displaying 20 results from an estimated 700 matches similar to: "Image format gotcha"
2007 Apr 19
2
invalid geometry string in change_geometry
I get the following error at the browser:
ArgumentError in ImagesController#upload
invalid geometry string `110×''
... for the call to change_geometry with an explicit size (''110x'') as
the geometry string:
def make_thumb (the_img)
require ''RMagick''
size = "110x"
debugger if ENV[''RAILS_ENV''] ==
2006 May 30
1
Can''t read from file field second time around
This piece of code takes an uploaded image and resizes it. It''s a bit
nasty at the moment as I am still messing around with it. What I can''t
understand is why it works for one iteration but then fails with:
zero-length blob not permitted `''
On the line:
img = Magick::Image.from_blob(self.image).first
I am basically doing this in the controller and it fails on the
2006 Apr 24
0
ImageMagick and EXIF Data
Hi there,
I''m writing a little application that parses an image file and extracts the
camera settings from the file (the EXIF data) and saves all the fields to
the database. The idea is that after awhile people will be able to search
based on camera make, model, lens settings, etc... and all the pictures that
meet those requirements will be displayed. The picture is stored on the file
2006 Apr 06
2
rails 1.1 - console broken
Have upgraded to rails 1.1 and now ruby script/console does not work.
Throws an error:
c:\work\development\rails\application1>ruby script/console
Loading development environment.
c:/tools/ruby/lib/ruby/1.8/irb/init.rb:151:in `parse_opts'': undefined
method `up
case'' for nil:NilClass (NoMethodError)
from c:/tools/ruby/lib/ruby/1.8/irb/init.rb:19:in `setup''
2008 Nov 05
2
Adding another swap
Hi ALL,
I have a harddisk with 3 primary partitions and one extended
partitions. Under extented partions , there are 15 partions.
Whole hard disk has been partitioned in a standard way, (i.e NOT LVM)
It has 2GB ram. swap is also 2GB.
Now I want to extend this swap to 4 GB.
If I use dd coomand and create a file with 2GB, Will I be able to
extend the swap witn swapon commnad?
How can I achive
2008 Jan 22
4
Calling a function
Hi. I''m trying to call the function ''store_description(image)'' at line
9. However when I do, I get the error "undefined method
''store_description'' for Photo:Class". What can I do?
1: class Photo < ActiveRecord::Base
2: def store_description (image)
3: self.description = "size:
2000 Dec 06
1
Plot: Two newbie questions
Hi!
I would like to
1) Put a title on a page with several plots (aligned witn mfrow=(x,y)).
2) Turn the y axis upside down, ie high values at the bottom, large ones
at the top.
Can you help me with those problems? Thanks!
Hauke
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2014 Jul 28
1
How can I connect CentOS7 via xdmcp?
Dear all,
Does any one success to connect CentOS7 via xdmcp?
I've tried, but not yet succeeded.
1) CentOS7 with Development and Creative workstation
2) Disabled SELinux by editing /etc/selinux/config
3) Disabled firewalld by systemctl disable firewalld
4) Enabled xdmcp by editing /etc/gdm/custom.conf
Adding "Enable=true" in [xdmcp] section
5) reboot
7) connect from windows7 PC
2024 Aug 06
1
Upgrade from 4.13 to 4.20 failed
Rowland, you nailed it. I had both libpam and libnss installed, but
they were not automatically upgraded together witn winbind and samba.
They were still on 4.17 from the staged upgrade, but now updated to
4.20. And the shares are working again! Amazing :)
Thanks
Anders
On Tue, Aug 6, 2024 at 9:19?PM Rowland Penny via samba
<samba at lists.samba.org> wrote:
>
> On Tue, 6 Aug 2024
2006 Jul 25
1
How do I validate using associated objects?
This doesn''t make any sense to me anymore. I have an Upload that
belongs_to a Comment. Within my Upload model I expect to be able to
access the associated comment with comment.foo. I can only seem to do
this AFTER validation. I''m assuming before_create takes place between
validation and updating the database, because when I try to access
comment.foo within the validate
2006 Jul 28
2
WINBIND on a VERY LARGE FOREST
Hi all!
I'm trying to setup a linux samba server as a domain member of a SINGLE FOREST MULTI DOMAINS.
The forest is a 2 servers acting as a global catalog.
Other domains are child domain with implicit trust with forest. I setup a linux server with samba as a domain member to work with squid, authenticating users and verify user's groups membership. I need to allow access to squid only to
2010 Oct 04
2
i have aproblem --thank you
dear professor:
thank you for your help,witn your help i develop the nomogram successfully.
after that i want to do the internal validation to the model.i ues the bootpred to do it,and then i encounter problem again,just like that.(´íÎóÓÚerror to :complete.cases(x, y, wt) : ²»ÊÇËùÓеIJÎÊý¶¼Ò»Ñù³¤(the length of the augment was different))
i hope you tell me where is the mistake,and maybe i have
2001 Feb 13
1
fixme:ddraw:User_DirectDraw_GetCaps unsupported structure versions
Hi:
I can't get Red Alert (The old version, not Red Alert II) to work with wine.
This is suprising since the Apps
database on winehq.com has three entries that say Red Alert works.
For me the screen goes black and stays that way. I get out of it by killing
X witn Ctrl-Alt-Backspace.
This the the error output from wine:
Invoking /opt/wine/bin/wine.bin /WIN95/westwood/redalert/ra95.exe ...
2008 Dec 31
0
End of 2008 Twitter Asterisk, Telephony and VoIP Directory
Introducing the simple Twitter Directory for telephgony, VoIP and
asterisk users, developers, providezrs, manufacturers and hobbyists
If you're into Twitter and you'd like to take literally 10 seconds to
go fill out this form with two fields, your Twitter name will be in
the public directory of people who are interested in these
technologies.
http://tr.im/voipform
You can look at the
2007 Dec 10
0
SAS PROC NLMIXED into R
Dear R friends
A while a go I sent an email to the epi-list and later to the help-list and
no answer could fully illuminate my question. So Im trying again with a more
specific matter.
Im trying to work on a script (function) to analyse data from a diagnostic
test meta-analysis with random effects. This was first described by an
author using SAS witn PROC NLMIXED.
Im not an expert in R and much
2010 Oct 04
0
2010年10月4日 19:14:45 自动保存草稿
dear professor:
thank you for your help,witn your help i develop the nomogram successfully.
after that i want to do the internal validation to the model.i ues the bootpred to do it,and then i encounter problem again,just like that.(´íÎóÓÚerror to :complete.cases(x, y, wt) : ²»ÊÇËùÓеIJÎÊý¶¼Ò»Ñù³¤(the length of the augment was different))
i hope you tell me where is the mistake,and maybe i have
2010 Oct 04
0
have aproblem --thank you
dear professor:
thank you for your help,witn your help i develop the nomogram successfully.
after that i want to do the internal validation to the model.i ues the bootpred to do it,and then i encounter problem again,just like that.(???error to :complete.cases(x, y, wt) : ???????????(the length of the augment was different))
i hope you tell me where is the mistake,and maybe i have chosen the
2006 May 19
9
Resize uploaded image file without creating temp file?
Hi,
I need to take a single uploaded image file and save three resized
versions of it, a thumbnail, normal and large version. I was planning on
doing this in my model by having an array of geometry strings and looping
through them, each time saving a new image object resized to the correct
geometry. I know that file column does similar stuff, but I would prefer
to have a separate database row
2008 Oct 08
0
FW: LDAP Problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Joseph,
I've resolved this problem for myself by changind the order of lookups :
$>cat /etc/nsswitch.conf
group: pgsql files
passwd: pgsql files
....
but it'd be a good idea to compile add the ncsd (nis caching daemon).
then the file will look like this
group: cache files pgsql
etc...
as far as I looked at the code I think the problem
2011 Jan 28
2
SNMP And SuSE
Attempting to install the SNMP driver on Enterprise SuSE 10.0. The
version of NUT is 2.6.0.
To begin with, I installed the net-snmp and net-snmp-devel packages,
using YAST. If I do this command:
net-snmp-config --version --base-cflags --libs
The result is:
5.3.0.1
-DINET6 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g \
-fno-strict-aliasing -fstack-protector-all -Dlinux \