similar to: cant fully capture child output

Displaying 20 results from an estimated 200 matches similar to: "cant fully capture child output"

2007 Mar 05
0
dynamic status back to client...
Hi, I have a long worker process I want to capture the output as dynamically as possible and send it to the client. I do the following currently: class SvnWorker < Worker::Base def do_stuff(args) tmp = [] my_project = args[:repo] # Import the contents of a 20 Meg project into a bare bones svn repo. import_status = `svn import #{path_to_extracted_zipdir} file://#{my_project}` tmp =
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my apologies- just let me know. Just a Rails 4-ish thing. Am attempting to pull AMS (active_model_serializers), strong_parameters, and the "permitter" strategy that Adam Hawkins is using: http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/ Code so far is here (in the
2006 Jan 20
2
Conversation interrupted by fax
Asterisk SVN-trunk-r7353M (will be moving to 1.2.2 this weekend) E1 connected to Sangoma A102 SIP phones (Cisco 7960) I've been making a call from my mobile to the office, when, suddenly the conversation is terminated and replaced by a "fax-type" sound. This has happened to me several times over the past year, so it's not the version of asterisk (we've had cvs trunk and
2011 May 26
2
Rails new without test unit
When creating a new rails project (3.1.0.rc1) with no test unit options, it still create test unit rake tasks. rails new my_project --skip-test-unit rails g : TestUnit: test_unit:controller test_unit:helper test_unit:integration test_unit:mailer test_unit:model test_unit:observer test_unit:performance test_unit:plugin test_unit:scaffold Is this correct ?? -- You received
2010 Jan 19
15
git clone locally
Hi, I follow the instructions below to set up a git repository with gitosis on my home ubuntu server. I can connect to the repository remotely perfectly and set up a new repository named My_Project. I successfully push the content of My_Project to this repository using the remote computer with an SSH key. Now I want to clone My_Project locally onto another directory within the unbuntu server.
2004 Jun 12
2
SID-UID mapping issue on Samba 3.0.4 in an AD Domain
I have problems with SID to UID mapping using winbind on a FreeBSD 5.2/Samba 3.0.4 as a member server of a Win2k domain controller. I use heimdal-0.6.1 for kerberos. I would like my XP machines in the domain to use the share with the user accounts defined in Active Directory. At a first glance it seems to work: the connection to the share succeeds without a prompt for a password. Users may
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
Not sure if this is expected or not. Only happened with a has_one :through I had setup. (Workaround is just to remove it and go through the association manually vs has_one ..., through: .) Not a big deal if no one has time to look at it, as it''s not a big enough deal to look into a fix on our side. In Rails (3.2.9) console if I do: MyModel.reflections.each {|name,reflection|
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting to experiment with the Login and active RBAC engines but having trouble getting them to install. I''ve checked the following but can''t find any info on how to get it to work. http://rails-engines.org/wiki/pages/Engines+plugin I''ve also tried the following:
2009 May 12
4
different results on linux and windows
Dear R experts, we are preparing an R-package to compute the Oja Median which contains some C++ code in which random numbers are needed. To generate the random numbers we use the following Mersenne-Twister implementation: // MersenneTwister.h // Mersenne Twister random number generator -- a C++ class MTRand // Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus // Richard J.
2002 Nov 10
2
Harddisk gone bad
Hi all, I know this is the EXT3 list, and my problem is with an EXT2 filesys, but I cannot seem to find a more suitable list on this server, and I have seen a lot of knowledge go by on this list and in the archives, so I thought I'd give it a try anyway... Here goes nothing: I am in a terrible problem: My data disk on my Linux server has gone bad, with approx 18 GB of data on it, and I
2007 Mar 08
0
worker cant delete?
Hi, I get the following error from my client program when I try to call delete after my worker is completed: goten at goten-server:~/projects/svn_working/m29svn_back/app$ ruby backup_app.rb {:done=>true, :txt=>["piping to tmp", "piping done", "getting youngest", "youngest got", "destfile
2002 Aug 27
0
OT - the &quot;Dear Thompson Media&quot; open letter.
I must admit, reading this: http://www.xiph.org/ogg/vorbis/openletter.html brought out the loudest laugh in quite some time. My kids, hearing the hub-bub, gathered around the PC to see what I was laughing at. I *attempted* to explain the new mp3 licensing terms to my youngest daughter. I finally hit pay-dirt when I explained to my kids the bait-and-switch, what Thompson Media is doing now,
2007 Dec 21
0
db:migrate problem
I''m having a bit of trouble getting a rails project to build properly within cruisecontrolrb. My cruise task is in lib/tasks/my_project.rake, and looks like this: task :cruise => [''db:test:purge'', ''db:migrate'', ''db:test:prepare'', ''test:coverage:clean'', ''test:coverage:prepare'',
2002 Oct 03
2
Cannot connect WinXP
Hi All Can't connect WinXP (Remark: Group=SEC WinXP=M40G Samba Server=server.ltsp ipchains stop) # mount -t smbfs //M40G/Shared /mnt/WinXP/ params.c:Parameter() - Ignoring badly formed line in configuration file: 127.0.0.1 localhost localhost.localdomain params.c:Parameter() - Ignoring badly formed line in configuration file: 192.168.0.1 M40G params.c:Parameter() - Unexpected
2016 Jul 11
0
[PATCH] wave_out: fix casts
--- src/wave_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wave_out.c b/src/wave_out.c index 57b5703..0f871b9 100644 --- a/src/wave_out.c +++ b/src/wave_out.c @@ -71,7 +71,7 @@ Box ( const char* msg ) */ static void CALLBACK -wave_callback ( HWAVE hWave, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 ) +wave_callback ( HWAVEOUT hWave, UINT
2004 Jun 23
0
wonder shaper and ''unmetered ip addresses/ranges''
Hey, I was fiddling with wonder shaper and it works great, except in my situation I only have 1 real network interface and the other interface is a virtual interface ie eth0:0, and tc doesn''t seem to support that. I have 2 subnets, one of which goes to the router which then goes to the internet, and the other subnet which contains the rest of the computers which go through this server
1998 Apr 27
0
Win95 directory listing
> I have a slow (386DX40/16RAM) computer running win95. I have selected > the C and D drive to be shareable. > When I smbmount the drive, I can cd into it and access it, all is fine. > But most of the time, doing ``ls'' in a directory with large number of > entries it only shows (out of 100 entries) only about 25. I can cd into a > subdir even though it is not
2007 Oct 04
1
Wine RPM and Mandriva 2007
Dear All I have had only partial success with Wine and now I am approaching it afresh with Mandriva 2007-0. I have ensured their is no version already installed from the distribution and I have downloaded wine-0.9.46-mdv2007.0.i586.rpm. I do not know what to do after this. The user guide is not clear enough for an inexperienced user. In fact the only thing it says is: "2.2 Installing
2007 Dec 12
1
problems with rsync 2.6.9 and large files (up to 20GB)
Hi, I'm Jordi and I work at the university of barcelona. I'm trying to make a backup of our several clusters. In the past I worked with rsync with a very good results. When I try to backup some large directories (for example > 1.5TB with a lot of large files >20GB) whit this command: rsync -aulHI --delete --partial --modify-window=2 --log-format=" %t %o %l %f " - -stats
2010 Oct 06
1
Dynamic Variable Name
Is it possible to dynamically determine a variable''s name? I would like to do: $project_NAME where NAME can be anything. I''ve tried this (for experiment purposes): $project_name = ''my_project'' $project_my_project = ''/mnt/pa/test'' #this variable will be set out of this script notice($"project$project_name") This is not parseble!