Displaying 20 results from an estimated 3000 matches similar to: "An issue happens Embed R and redirt png file"
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi,
I have a trouble with deploying my ordinary rails application(myapp).
When I execute ''rake deploy'',
[...]
command finished
* executing task symlink
* executing "ls -x1 /var/www/myapp/releases"
servers: ["app1.olalog.com"]
[app1.olalog.com] executing command
command finished
* executing "ln -nfs /var/www/myapp/releases/under
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2013 Jul 02
1
rpmbuild environment CentOS5 vs CentOS6
On CentOS5 I was used to create a simple spec file where at the end I'll
declare files and directories I wan't to package:
--< Snip >--
%files
%dir /opt/myapp
%dir /opt/myapp/bin
%dir /opt/myapp/etc
/opt/myapp/bin/exec01
/opt/myapp/etc/myapp.conf
----
I'll copy the file in /usr/src/redhat/SPECS and run "rpmbuild -bb
myapp.spec".
On CentOS6 rpm-build package no longer
2009 Apr 30
1
odbcConnectAccess function
HI:
Is it possible to use the RODBC package within MS Access. I have been using from R but was just wondering if it could be used along with R(D)COM. Something like this:
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim myApp As StatConnector
Set myApp = New StatConnector
myApp.GetErrorText
myApp.Init "R"
myApp.EvaluateNoReturn "library(RODBC)"
myApp.EvaluateNoReturn
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2006 Dec 01
4
uninitialized constant error in app but not when using console
I''ve got a wierd issue here and maybe someone can assist
i created a module in my apps lib directory which i use for
authenticating against an external source (among other things).
lib/myapp.rb
-----------------
require ''rubygems''
require_gem ''activerecord''
# uses activerecord odbc adapter by openlink
module MyApp
module ExternalSource
class
2006 Mar 09
3
OT: Subversion repository layout
Hi,
I''m trying to get a nice repository structure happening and was
wondering what other people like to use.
I''m about ready to publish a rails app. This app now lives in myapp/trunk
When this app goes live I will need to freeze it so I will copy
myapp/trunk to myapp/tags/release-1.0 (right?)
I also would like to get going on a new version which will break the
current
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)
In the png function the value res seems to be inactive:
bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result:
witdh/heigth = 1920 <> 20.32 mm
ppi=2400
Results as expected
png(filename =
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
Hi all
I got a vps setup amazingly fast using the deprec recipes on Ubuntu
edgy, but now I''m having a minor issue where my site loads for the
main domain when I only want it accessible from the subdomain. This
is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer ->
mongrel cluster. I''m sure I''m missing something obvious in the
config...
I have the
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
Here's a patch to klcc.in from klibc-0.202. The context: I have an
application, managed with GNU automake/autoconf. Packagers should be
able to build the application with klibc if available, with plain gcc
otherwise, as follows:
$ cd ~/klibc-0.202
$ ... make linux symlink
$ make bindir=$HOME/local/bin \
mandir=$HOME/local/man \
INSTALLDIR=$HOME/local \
SHLIBDIR=$HOME/local/shlib \
2010 Aug 21
1
R-level expansion of Rplot%03d.png
Dear list,
I'm using the brew package to generate a report containing various
plots. I wrote a function that creates a plot in png and pdf formats,
and outputs a suitable text string to insert the file in the final
document using the asciidoc syntax,
<%
tmp <- 1
makePlot = function(p, name=paste("tmp",tmp,sep=""), width=300)
{
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.
2005 Feb 22
2
Custom Menu Not Working
Greetings *`s,
I am having what appears to be a small problem, but the frustration is
erally getting to me, what am I doing wrong here ?
I used AMP to set up a custom menu, so if caller presses 1 it goes to
ext200, if caller presses 2 it goes to ext201 etc etc...
Now I have created a third option that when the caller presses 3 it must
play a sound and hang up.
No rocket science yet.
When
2006 Nov 13
1
rails+apache2+mongrel_cluster
hey all,
I managed to configure a mongrel+apache2 but now I would like to do a
mongrel_cluster. For now I have a sites-available/myapp but when it
comes to mongrel_cluster I need to set up myapp.common,
myapp.proxy_cluster.conf and
myapp.proxy_frontend.conf and I couldn''t find a tutorial that explain
where should those file go. is it in conf.d or sites-available/ or
else?
thanx in
2006 Jul 13
3
How do I pass parameters to my program when using WINE?
Hello,
I'm trying to figure out the proper way of passing parameters to my program
that is being run by WINE. I've been trying different things I've found in
Google, but none have seemed to work yet. The parameters work in a Windows
environment, so I do believe the program is okay. This is on a SUSE/SLES 9
machine using WINE .917. If I want to pass the parameter
2006 Jun 27
3
Capgem 0.1 Released
I''ve put up a first release of Capgem on Rubyforge. It''s available under the
MIT license.
Capgem is an extension to Capistrano which adds a pack task to Capistrano so
you can package up your Rails application as a Gem. This is useful if you
are in an environment where Capistrano''s remote deployment tools aren''t an
option. Capgem currently adds start and stop
2006 Jun 17
4
Win32 issues with 0.3.13
Hey,
I have just a few observations to report about the new version of Mongrel
(0.3.13) on Win32.
1. When installing a new service, I have to use -N instead of -n to set the
name of my app. The help file (-h option) has this right but the examples
and such on the website all use -n.
2. The website documentation on the Win32 howto lists service::delete as a
command but it should be
2006 Nov 04
1
rsync and symbolic links
Hello!
I'm using rsync to generate a backup.
DATE=`date +%Y.%m.%d.%H.%M.%S`
cat files.txt | rsync -avz -e ssh --include-from=- / root@myserver:/backup/$DATE
files.txt contains e.g.:
- /home/user1
+ etc/
+ etc/*
+ etc/.*
+ etc/*/
+ etc/*/*
+ etc/*/.*
+ etc/**/
+ etc/**/*
+ etc/**/.*
+ boot/
+ boot/*
+ boot/.*
+ boot/*/
+ boot/*/*
+ boot/*/.*
+ boot/**/
+ boot/**/*
+ boot/**/.*
+ dev/
+ dev/*
2006 May 08
4
Gettext not worked in firefox,but done well under IE
Anyone who has met such a kind of problem? I am adding i18n
characteristics to my webapp using gettext,it works under IE,while not
under firefox.
here is my codes:
po:
po\zh_CN\myapp.po
after rake makemo, i have got:
locale\zh_CN\LC_MESSAGES\myapp.mo
require ''gettext/rails''
class ApplicationController < ActionController::Base
init_gettext "myapp"
end
Then I use
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI:
Webrick Debug:
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in