similar to: why i am getting this error

Displaying 20 results from an estimated 10000 matches similar to: "why i am getting this error"

2013 May 20
6
MapServer setup with rails in ubuntu 12.04
Hi i have one rails application in which i need to setup the mapserver i have added the gem https://github.com/sourcepole/ruby_mapscript but while running the command require "rubygems" require "ruby_mapscript" include Mapscript it use to tell me LoadError (cannot load such file -- mapscript): can anybudy help me on this Thanks in Advance Arvind -- You received
2013 Jun 07
4
how to add gdal with rails application , now working with gdal 1.8 in ubuntu 10.10
I need to downgrade the gdal version , i am working in remote system so have only command prompt so if anybudy know how to either downgrade gdal version from 1.8 to 1.7 or any other way to use gdal in rails app which have version 2.3.5 and ruby 1.8.7 and ubuntu 10.10 Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Mar 09
1
ActiveRecord serialize method not returning YAML array in test environment.
Hello, I''ve got a problem with deserialization of AR "serialize" method (http://apidock.com/rails/ActiveRecord/Base/serialize/class) in my tests. It just gives me pure String instead of my data Array. Example: User > AR::Base serialize :roles, Array end Console: u = User.new u.roles = ["admin", "support"] u.save # => true User.first.roles # =>
2012 Aug 30
4
how to change theme in rails 3.2.7
I''m using rails 3.2.7. I have few themes in my public/themes folder. For example in my theme-1 folder there is one index.html + style.css + few images (if required) At the time of registration user will select one theme. Now when the user will login that theme will display. I will use handle bar(http://handlebarsjs.com/) for data insertion. My main problem is that how
2012 Jul 19
6
Rendering Partial
I am a bit confused when coming from layout and partials. To start of I have a file called application.html.erb which has my layout such has follow <html> <head> <body> <%= render ''layouts/footer'' %> </body </html> This call a new file _footer.html.erb This file his has follow <footer class="footer"> <nav> <%=
2013 Mar 25
1
Nexus RPM artifact installation using Puppet
I am newbie to puppet. Using puppet master and agent deployment to configure agents with specific packages. I have installed puppet-nexus module and able to fetch my artifact from Nexus. Now artifact from Nexus which are RPM on puppet node I need to install them {RPM} on the node using puppet recipe. Any help how to achieve it. Cheers, Amit -- You received this message because you are
2007 Oct 29
2
error message after upgrading to Gusty Gibbon Ubuntu
I have started to get the error message "wrong number of arguments (1 for 0)" since I upgraded to Gusty Gibbon. I am new to ROR so I have no clue. This is the code that was running def create @user = User.new(params[:user]) if @user.save flash[:notice] = ''User was successfully created.'' redirect_to :action => ''list'' else
2006 Apr 29
10
A Good Tutorial on Params and Variables
I have found various posts about instance variables, session variables and parameters (each of which seems to use differnet syntax and have different view on the "best practice") I would like to find a single, reliable source that provides a good overview on all of it. Specifically, I would like to learn how to pass parameters between controllers and how to set session variables so
2013 Dec 08
1
The error we caught said '407 "authenticationrequired"' during module install behind proxy
I read at a number of places that if my puppet master is behind a proxy which requires authentication puppet module command does not work despite setting the global parameters http_proxy, https_proxy on bash the command throws an error [root@centos-razor ~]# puppet module install saz/dnsmasq --force Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from
2010 Jan 22
5
Rails Render Issue
Hi, I am adding login functionality to my app which has two controllers users and photos and i am having some trouble. In my users/index view <%if logged_in? %> <%=render "photos/index"%> <%else%> .... Home page With login..... <%end%> In my photos/index view <%if logged_in? %> .... Welcome page ..... <%else%>
2007 Dec 28
11
LIKE clause in rails
Hello, I am trying to achieve a search functionality in the following manner i have an table called people which has first_name,last_name,etc... After the user form to search people is submitted i get the params hash as params[:persons]={"first_name"=> "%John%","last_name"=>"%Stevens%"} NOTE : I have changed the params hash to include the %. Now
2009 Dec 14
3
[LLVMdev] clang and static functions
Hi, Sorry for not being specific. I just wanted to know if there is any way at all to force clang to generate intermediate code for static functions when they are not being called anywhere inside the current module. Other compilers seem to generate intermediate code (lcc, for instance). Thanks for your reply..Olivier. Sincerely Arvind On Mon, Dec 14, 2009 at 1:10 PM, Olivier Meurant
2008 Jan 28
2
[LLVMdev] llc fails to generate code for arm
Hi all, I had little success installing llvm inside scratchbox for an ARM build so have been trying to generate assembly code for arm using the llc utility. However, llc fails to generate code for arm. Output is as below... arvind at zeus:~/tools/llvm/del$ llc main.bc -o mainarm -filetype=asm -march=arm -f llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand LowerCALL(llvm::SDOperand,
2009 Dec 14
0
[LLVMdev] clang and static functions
Ah ok. Sorry. :) I think that argument "-femit-all-decls" will help you. Olivier. On Mon, Dec 14, 2009 at 9:18 PM, Arvind Sudarsanam < arvind.sudarsanam at aggiemail.usu.edu> wrote: > Hi, > > Sorry for not being specific. I just wanted to know if there is any > way at all to force clang to generate intermediate code for static > functions when they are not being
2009 Dec 14
2
[LLVMdev] clang and static functions
Hi, I am trying to compile a single module (dgemm.c) using clang and generate dgemm.ll. Command: clang -emit-llvm dgemm.c -S -o dgemm.ll Some of the functions are declared as static and clang ignores these functions: One of the functions is: static void innerloop(double a, const double* b, double* c, double beta) { *b = a*beta; return; } Is there any way to make clang generate llvm code
2008 Jan 28
0
[LLVMdev] llc fails to generate code for arm
HI Arvind, I think you are using an old llc version. VarArg support was implemented a long time ago. Lauro 2008/1/28, Arvind Ayyangar <arvind.ayyangar at gmail.com>: > Hi all, > I had little success installing llvm inside scratchbox for an ARM > build so have been trying to generate assembly code for arm using the > llc utility. However, llc fails to generate code for
2011 Jan 28
4
Diferente escala en los ejes de un barchart
Buenos dias a todos. Tengo este Barchart con dos tipos de datos. Desembarcado y Muestreado. Como los datos de Desembarcado son mucho mayores que los de Muestreado, estos ultimos datos apenas si se aprecian en la grafica. Lo que se me ocurre es cambiar la escala de este eje. ¿alguien sabria como hacerlo? O alguna otra sugerencia claro. Muchisimas gracias a todos los que me estan ayudando Jose Luis
2012 Nov 09
3
[LLVMdev] MODULE_CODE_GLOBALVAR error
Hi, I have istalled LLVM 3.1 Release+Asserts build. I was just trying out the hello world sequence of steps in the installation instructions. However when I run lli or llvm-dis I get an error "invalid MODULE_CODE_GLOBALVAR record". I have searched the web and I am not able to fathom what the problem and its fix is. I have GCC 4.6.3 running on a Ubuntu 12.04 LTS x86-64. Please let me
2009 Dec 14
0
[LLVMdev] clang and static functions
Hi Arvind, you need to use it effectively : static int add(int a, int b) { return a+b; } int use() { return add(4,5); } ==> ; ModuleID = '<stdin>' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i386-pc-linux-gnu" define i32 @use()
2019 Oct 02
2
CentOS 8 Broken Installation
On 10/2/19 9:47 PM, Jonathan Billings wrote: > On Oct 2, 2019, at 3:39 PM, Ljubomir Ljubojevic <centos at plnet.rs> wrote: >> Richard on CentOS-devel mailing list has similar problem but suggests it >> might be issue only with CentOS, he says he had to add the kernel line >> to make it work. >> Name of the tread is: >> [CentOS-devel] Booting CentOS 8 in a VM