Displaying 20 results from an estimated 700 matches similar to: "Scope Confusion - Controller iVars in Modules"
2006 Nov 03
2
[OT] Markaby trunk and Rails ivars
Can someone explain the new Markaby syntax to me? I''m using Markaby
as a Rails plugin, fetched from the trunk.
I''m losing my instance variables somehow (@thing is always nil):
class ThingsController < ApplicationController
def index
@thing = "Bacon of the chunky variety"
end
end
# app/views/index.mab
h1 { "You should see a thing here:" }
p {
2013 Dec 20
0
[LLVMdev] A problem about convert a string to a *i8 pointer
Hello!
Nearly, I write a pass to add an call "printf" instructions before every
instruction in a .bc file,which prints the opcode of every instruction
before the instruction executed. While passing the opcode to the printf
fucntion ,I used such way to convert the string to i8* (the same as
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-September/053206.html
does):
StringRef s =
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'',
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
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
2009 Aug 29
1
Xend problem
An error displayed while running virt-manager or virt-install
[root@HPCNL-SR-2 init.d]# virt-install
ERROR unable to connect to ''localhost:8000'': Connection refused
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 780, in <module>
main()
File "/usr/sbin/virt-install", line 530, in main
conn =
2010 Mar 11
0
Xen problem network dom0
Hello,
I''ve install Xen on a Debian Lenny 5.04 and after reboot on my xen machine
I can''t have the same configuration that documentation.
************************************************************************
***********
Command "uname -r" =
2.6.26-2-xen-686
************************************************************************
************
Command
2010 Apr 13
0
raise VmError(''Creating domain failed: name=%s'' %
Hello
Xen refuses to create domU VM.
I have posted some info about my system. Please suggest a solution.
gate xen # xm info
host : gate
release : 2.6.25.5-1.1dom0
version : #24 SMP Sun Aug 31 16:55:27 EEST 2008
machine : x86_64
nr_cpus : 2
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 1999
hw_caps :
178bf3ff:e3d3fbff:00000000:00000010:00000001:00000000:00000003:00000000
2010 Jul 02
0
Re: Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found. - SOLVED
Thanks a lot....recompiling xen-tools wih ioemu flagsolved my problem.
Daniel Bojczuk
On Sun, Jun 27, 2010 at 10:55 AM, Mohamed Yacoubi <myacoubi@euro-web.fr> wrote:
> Hi,
> Can you recompile xen-tools with USE = "ioemu" ?
> That should solve the problem.
> Best regards,
> Le 22 juin 2010 à 22:01, Daniel Bojczuk a écrit :
>
> I stiil did not solve te
2006 Apr 10
1
routing
I have this in my routes.rb:
...
map.connect ":action/:id", :controller => "default_controller"
..
It worked nicely, until I added a second controller to my project. The
new (second) controller is "Admin".
The problem is I cant reach the actions in the second controller.
http://mysite.com/some_action is routed to some_action in
default_controller. That is
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 = [
2008 Oct 23
0
XEN 3.3: xend chrashes beim Start der DomU
Hi,
I try to start a DomU with
xm create endian -c
and got the following error message
Xend has probably crashed! Invalid or missing HTTP status code.
I''ve tested the DomU with nearly the same system at VMWare (Windows) and it works normaly, but on my server I get this error message.
I useing gentoo as Dom0. I tried also a gentoo DomU with the same result.
Thanks.
2005 Dec 15
2
Error: [Object]Controller: missing default helper path [controller]_helper
Hello,
I seem to have run into a problem that I can''t seem to make any
headway on. I''ve searched the mailing archives, google''d for the
appropriate keywords and have checked up with the folks on IRC but I
can''t seem to find a solution.
My problem is as such. I have a web application that has various
controllers which work fine. I''ve added a
2009 Apr 12
0
acm_init: Loading default policy but not policy is installed.
Hi all,
I''ve successfully installed xen3.3.0 on Linux ubuntu 2.6.27.5 #1 SMP i686 GNU/Linux. I
built xen with the requisite XSM_ENABLE=y, ACM_SECURITY=y and believe I have the correct
config parameters in the 2.6.27.5 kernel.
Boot goes smoothly, set to automatically create 2 domUs. All appears okay with XSM/ACM...
root@ubuntu:~# xm dmesg | grep -i xsm
(XEN) XSM Framework v1.0.0
2010 Dec 01
2
[LLVMdev] [cfe-dev] draft rule for naming types/functions/variables
Thanks for the comments, Chris! Glad that we are making progress.
I'll make most of the edits you suggested later today. Before that,
there are a couple of high-level points I'd like to go over with you.
1. I totally agree that the biggest benefit of a naming convention is
uniform APIs. On the other hand, an inconsistent local naming style
hurts the productivity of contributors and
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
Users can now:
* Add a new storage pool.
* Delete a storage pool.
* Start and stop storage pools.
* Add a new storage volume.
* Delete a storage volume.
* List existing storage pools, with details.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
Makefile.am | 31 +++++---
nodeadmin/addpool.py | 182 ++++++++++++++++++++++++++++++++++++++++++++
2010 Dec 01
0
[LLVMdev] [cfe-dev] draft rule for naming types/functions/variables
On Nov 30, 2010, at 5:02 PM, Zhanyong Wan (λx.x x) wrote:
> Thanks for the comments, Chris! Glad that we are making progress.
>
> I'll make most of the edits you suggested later today. Before that,
> there are a couple of high-level points I'd like to go over with you.
>
> 1. I totally agree that the biggest benefit of a naming convention is
> uniform APIs. On
2014 Oct 13
5
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:25 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
> On Mon, Oct 13, 2014 at 4:00 PM, Chris Lattner <clattner at apple.com> wrote:
>
>> On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com>
>> wrote:
>> > I actually have a particular allergy to member variable names and
>> function names having
2010 Dec 01
3
[LLVMdev] [cfe-dev] draft rule for naming types/functions/variables
On Tue, Nov 30, 2010 at 5:07 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Nov 30, 2010, at 5:02 PM, Zhanyong Wan (λx.x x) wrote:
>
>> Thanks for the comments, Chris! Glad that we are making progress.
>>
>> I'll make most of the edits you suggested later today. Before that,
>> there are a couple of high-level points I'd like to go over
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
I am working on building a facter tag based node classifier similar to
https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/.
However, I have run into an issue where I cannot use puppet''s require
file ability to push the yaml file containing the facts file to the
client because it would require two runs of puppet to pickup changes.
Consequently, I have written into