Displaying 20 results from an estimated 20000 matches similar to: "Retrieving all values of the column from the table"
2009 Mar 13
2
storing and retrieving arrays in mysql using rails
Hi,
I have a multiple checkbox of values 1 to 7 for selecting weekdays.
What is the possibility of storing the selected weekdays array in
mysql
and what type of field should i create in the table for storing the
array.
Any suggestions???
Regards,
Vimal Das
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2009 Mar 21
5
- 2.3.2 uninitialized constant ApplicationController
Hi,
I just migrated from rails 2.2.2 to 2.3.2
The rails app was running fine until i migrated
I checked for the application.rb in the controller folder and its
there
Any suggestions, why this is happening???
Regards,
Vimal Das
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
Hi,
I am using XEN-4.1.2 and linux-2.6.32 as dom0.
After I upgraded stackless python from 2.5 to 2.7 (and rebuilt xen).
XenAPI became unusable, I spent some time to investigate XenAPI,py, it
looks fine.
So, I guess xend has problem with python 2.7, because it always returned
method unknown.
Do I have to tweak xend to let it support python 2.7?
Thanks,
Eric
/root #
python
Python 2.7.5 Stackless
2011 Jun 09
2
A question
Recently I installed Xen on my computer.But there are some problems during the starting time.
The /var/log/xen/xend.log is follows:
[2011-06-10 14:24:36 1395] DEBUG (XendDomainInfo:1794) Storing domain details: {''cpu/3/availability'': ''online'', ''description'': '''', ''console/limit'': ''1048576'',
2010 Aug 19
1
Composite primary keys and :joins=>
I have a legacy db with the following simplified structure:
Table-A:
type_key, code_key, name, ... # PKs are type_key and code_key,
there is no id col and I cannot alter this db
Table-B: # each row has only the code as a foreign_key, the type_key
is hard-coded to "FOOKEY"
an_id, code, ...
Models:
class TableB < AR::Base
set_table_name ''table_b''
2010 May 14
1
System unusable (hangs) after xm create - xen 4
Hello
I have a production server, on which I had to install a new OS.
Unfortunately, xen is not willing to run any domUs!
Any help would be most highly appreciated.
My problem is essentially that described in this post, to which there was
no answer at the time:
<http://lists.xensource.com/archives/html/xen-devel/2009-06/msg01147.html>
Symptoms:
When trying to xm create a previously
2007 Jun 26
1
ActionController::RoutingError (no route found to match "/ja
Hi All,
I have an application running on mongrel. i am getting the access of
application .but it seems that its not picking up
stylesheets,javascript.
My production.log contains the error:
ActionController::RoutingError (no route found to match
"/javascripts/application.js" with {:method=>:get}):
i have all .ccs and .js file under public directory of application.
Thanks in Advance for
2010 Jun 21
4
Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found.
Hi,
I''m trying to use a Gentoo whit Xem 4.0, but I try: xm create
windows2008r2.hvm I get the error: Error: coercing to Unicode: need
string or buffer, NoneType found.
Does anybody knows how to solve that?
windows2008r2.hvm:
kernel = "hvmloader"
builder=''hvm''
memory = 512
name = "Windows2008R2"
vcpus=2
acpi=1
apic=1
disk = [
2010 Feb 13
1
Highlighting points in a quantile plot for different values of a second column
Hello,
I have the following data frame, using lattice and qqmath, how do I display the
quantile plot (e.g distribution = qunif), but highlight the f==TRUE and f==FALSE
differently?
library(lattice)
pp <- function(n) ((1:n)-0.5)/n
x=data.frame(x=runif(20),f=sapply(runif(20),function(r) r>0.5))
I would like a single curve, the following example displays two curves.
2007 Jun 13
2
Xen 3.1.0 on Fedora 7- libvir: Xen Daemon error :GET operation failed
Hi, I have been trying to get Xen 3.1 running on Fedora 7 since yesterday
and no luck.
At the beginning I thought it was a problem with teh installation of Fedora
7 so I reinstalled it.
Still, I have the same problem. I have never had this problem with Xen
(FC5,FC6). The xend.log (below)
includes a line "VmError: Device 0 (vif) could not be connected. Hotplug
scripts not working."
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application
presented in Agile Web Development with Rails (AWDwR). I am using InstantRails
for the server. In my app I have the folowing controllers:
admin_controller
application_controller
city_map_controller (with method: displayGMap)
The admin_controller was created with the following command:
ruby script/generate scaffold
2010 Sep 05
1
Bug#587090: PATCH unnecessary for HVM DomU guests
Package: xen-utils-4.0
Version: 4.0.1~rc6-1
Severity: important
Tags: patch
The patch is not necessary for HVM DomU guests.
The Error: 'NoneType' object has no attribute 'rfind' was fixed by installing xen-qemu-dm-4.0. [1]
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588888
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Mar 31
1
Xend not starting (Lenny backport of Xen 3.4.3-rc3)
Hi,
I have recompiled xen-3_3.4.3~rc3-1 in Lenny, together with the
2.6.32-10 kernel. While my dom0 boots without issue under Xen, xend
refuses to start. I have cut/past my xend.log is bellow.
Is there any reason why a backport of this version of Xen wouldn't work
in Lenny? Should I try the already compiled SID binaries in Lenny
without trying to build myself?
Cheers,
Thomas
When I start
2013 Oct 04
0
xm list permission denied
Hi,
i''m using xen 4.2.1 when i do xm list it is getting permission denied,
xend.log logs as
2013-10-04 11:54:05 10244] INFO (XendDomainInfo:169) Recreating domain 0,
UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2013-10-04 11:54:05 10244] DEBUG (XendDomain:476) Adding Domain: 0
[2013-10-04 11:54:05 10244] DEBUG (XendDomainInfo:1882)
XendDomainInfo.handleShutdownWatch
2012 Mar 29
1
Retrieving matrix column and row names by index value
Hi all,
So let's say I have a matrix, mdat and I only know the index number. How do
I retrieve the column and row names?
For example,
> mdat <- matrix(c(1,2,3, 11,12,13), nrow = 2, ncol=3, byrow=TRUE,
dimnames = list(c("row1", "row2"),
c("C.1", "C.2", "C.3")))
> mdat[4]
[1] 12
>
2008 Jan 20
4
read.table: wrong error message? (PR#10592)
--Apple-Mail-44--797532055
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
I believe read.table may report misleading errors. In this example,
where a header line in a file has an incorrect number of row names (28
instead of 29), I get the error message "duplicate row.names are not
allowed".
However, I cannot not find any
2005 Apr 18
0
Retrieving column descriptions into Stata
Dear All,
I am working on a project with Stata 7 datafiles. I'm trying to do some
of my analysis in R since I don't have Stata handy. My problem is with
accessing the Stata column descriptions. (Part of the project is to
clean up these column descriptions.)
I imported the Stata files ok using the standard
X <- read.dta("c:/testdata/test1.dta")
test1.dta has column
2009 Sep 26
1
renaming intercept column when retrieving coeficients from lme using coef function
I am still fairly new to R and have a fairly rudimentary question. I am
trying to name a vector of coefficients retrieved from a multilevel model
using the coef function. I guess the default name is "Intercept" and I
cannot figure out how to rename it.
I have tried the using the code below to name the column of coefficients
ind.y derived from an lme model. Unfortunately, the
2012 Mar 18
1
Help with dlply, loop and column names
Hi,
I have a dataframe basically like this:
> head(asturias.gen2011[,c(1,4,9:14)])
municipio total upyd psoe pp iu fac tipo
440 Allande 2031 1.44 31.10 39.75 4.01 21.62 1000-10000
443 Aller 12582 1.37 33.30 37.09 15.53 10.35 10000-50000
567 Amieva 805 1.48 32.69 37.36 6.15 20.16 <1000
849
2011 Feb 15
6
trouble with retrieving information from current source
I''m rather new to puppet and I''ve been trying to get a module to work
on the client servers. Right now I''m trying to get
http://forge.puppetlabs.com/ghoneycutt/pam to run. When I try to run
it I get these two errors:
err: //pam/File[/etc/pam.d/sshd]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)