Displaying 20 results from an estimated 1100 matches similar to: "strange problem with system call"
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill
on the worker before your task_progress controller method ever gets
called> So the worker is deleted and when you try to access it from
rails you get an error because there is no longer a worker at that
job key. The kill method is meant to be used within a worker that you
fire and forget. If you want to get the
2008 Feb 20
3
Can Rails and PHP work together?
Hello everyone,
I am new to RoR, coming from an ASP.NET background. I''m currently working
on a politically-themed social network, and I want to have multiple bloggers
who will blog about various topics. My web host offers several PHP-based
blogging engines, and I like WordPress, so I am trying to set it up with a
subdomain such as blogs.mydomain.com/blog_name. However, I''m
2005 Mar 01
2
Open3.popen3 oddity
Open3.popen3 returns the pid as well as the in, out, and err streams.
I thought only the streams were supposed to be returned.
Thanks
--
Nathaniel
<:((><
2006 Jan 14
2
SwitchTower and SCGI
Hi !
Following the manual, section 2.6 describes how to replace the restart
task. Since I''m using Lighttpd and SCGI, I did the following:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "cd #{deploy_to}/#{current} && scgi_cluster stop <
#{deploy_to}/#{current}/config/.password"
sudo "cd #{deploy_to}/#{current} &&
2008 May 30
1
[ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations
Bugs item #20455, was opened at 2008-05-30 16:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=20455&group_id=85
Category: None
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-open3: crashes after 170 popen3 operations
Initial Comment:
OS: XP w/SP2
C:\Documents and
2005 Mar 01
5
Open3.popen3 bug
Running this program:
require ''win32/open3''
i, o, e, pid = Open3.popen3("c:/ruby/bin/ruby.exe -e\"sleep 10\"")
i.close
Gives this result:
C:\_co\source\build\web\temp>ruby t.rb
t.rb:5: [BUG] Segmentation fault
ruby 1.8.2 (2004-06-29) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please
2006 May 29
3
[ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 16:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
Category: win32-open3
Group: Bug Fix
Status: Open
Resolution: None
Priority: 3
Submitted By: John-Mason Shackelford (jpshackelford)
Assigned to: Nobody (None)
Summary: [open3] set $? and return Process::Status with block call
Initial
2008 Jan 16
2
Problem with win32-open3 and net-ping
Hi all,
I''m seeing strange behavior with net-ping on Windows, which uses
win32-open3 (Open3.popen3) behind the scenes.
Download (or checkout) net-ping and run this:
ruby -Ilib test\tc_pingexternal.rb
It looks like the test suite is running twice. What''s happening?
Thanks,
Dan
This communication is the property of Qwest and may contain confidential or
privileged
2006 Apr 16
3
[ win32utils-Patches-4121 ] Make it possible to read process exit status
Patches item #4121, was opened at 2006-04-16 12:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
Category: win32-open3
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Samuel Tesla (stesla)
Assigned to: Nobody (None)
Summary: Make it possible to read process exit status
Initial Comment:
The UNIX Open3 sets the
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote:
>
> > By default, step 4 takes forever to run on large datasets because it
> > uses named entities. My ultimate plan was to use the numeric
> > user/group id's in that step instead of named ones so the Winbind cost
> > is not incurred. Seems for the whole process, the calls to Winbind to
> >
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we
2006 Aug 08
5
off topic: running non-ruby programs through command line
Hi all,
Slightly OT, but is there any way to run command-line programs through Ruby?
I have a rails web application that performs some database work. After a
certain action is performed, the rails app should then call a java program
that performs additional work to our mainframe. This is under Win 2003
Server.
Any ideas?
Thanks,
Jin Lee
-------------- next part --------------
An HTML attachment
2007 Jun 09
2
mystery problem with svn post-commit script running rspec tests
So, just spent seven straight hours on this.
I have a post-commit svn script that runs all my tests. Emails me if
something goes wrong.
One of the lines looks like:
@output = `rake test RAILS_ENV=test`
The output from the rspec tests don''t seem to appear in @output. Why
would that be? Oddly enough, that only seems to happen when the
script is ran from svn''s post-commit
2007 Apr 13
18
A different probklem with save/restore on C/S 14823.
I''m not seeing the problem that Fan Zhao is reporting, instead I get
this one. Not sure if ti''s the same one or a different problem... This
happens with my simple-guest [i.e. not using hvmloader, as I described
before]. This worked fine yesterday.
(XEN) event_channel.c:178:d0 EVTCHNOP failure: domain 0, error -22, line
178
(XEN) bad shared page: 0
(XEN) domain_crash_sync called
2006 Oct 02
1
capturing or suppressing rsync errors
Hello rsync,
I am using rsync to download files from rpm
repositories (because yum will not work directly with
my !@#$% ADSL service). I am calling rsync from a
python script. When the rsync server is down, I get
error messages, but the message goes to mail, so I get
a message
you have new mail in /var/spool/mail/rick
I would prefer the error message would not go to mail,
rather I would like
2002 Nov 20
1
Controlling smbclient from python weirdness
I've written a python wrapper around the smbclient program, so that I
can list/upload/download from Windows shares.
Using smbclient 2.0.9 or Version 2.2.5-2 for Debian, my wrapper works
well and is able to control the smbclient process via pipes well. With
both smbclient 2.999+3.0cvs20020723-1 and 2.999+3.0.alpha20-3 (on a
Debian box) the smbclient responses appear to be not always BEFORE the
2006 Dec 07
9
Exec as another user
I''m running puppetd as root and I''m trying to execute tar as the
"puppetd" user
59 define untar ( $source, $dest, $creates, $user = "puppetd" ) {
60 exec { "tar -xzf $source" :
61 cwd => $dest,
62 path => "/bin:/usr/bin",
63 user => $user,
64 creates => $creates,
2008 Mar 21
0
Fwd: Is select() untrustworthy on Windows when used with handles from popen3?
Any ideas?
Dan
---------- Forwarded message ----------
From: Steve Shreeve <steve.shreeve at gmail.com>
Date: Thu, Mar 13, 2008 at 10:51 AM
Subject: Is select() untrustworthy on Windows when used with handles
from popen3?
To: djberg96 at gmail.com
Dan,
Thanks for your work on the win32util modules.
I''ve created an expect-like library that allows one to easily script
2014 Jul 17
1
syslog-ng 2.1.4 - file sources are read only when reload or restart is performed?
Hi All ;)
I am using a virtual machine with:
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Linux logserver01 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
x86_64 x86_64 GNU/Linux
syslog-ng 2.1.4
I have following configuration:
...
9 options {
10 create_dirs (yes);
11 dir_group (root);
12 dir_owner (root);
13 dir_perm (0700);
14
2004 Oct 08
2
win32-popen3 just about ready
Hi all,
Well, what''s in CVS at the moment is what I''m planning on releasing
tomorrow, unless anyone has any objection. Please test, check out the docs,
etc. Let me know if there''s anything fatal I''m missing.
Regards,
Dan