search for: djberg

Displaying 20 results from an estimated 24 matches for "djberg".

Did you mean: djberge
2010 Jan 23
10
Trouble creating mingw binary
Hi, I''m trying to build a binary for win32-open with a mingw install but I''m having trouble. I''ve installed MinGW 5.1.6 and I''ve got gcc, etc. But, when I run "ruby extconf.rb; make" I get the following error: C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb checking for ruby/io.h... no checking for rb_pid_t in ruby.h... yes creating Makefile C:\Documents and Settings\djberge\Repositories\win32-open3\ext>make make: *** No rule to make target `ruby.h'', needed by `open3.o''. Stop. I...
2008 May 11
4
Latest rb_win32_select patch
...writePipe.puts "a"*2048 end end t.join At the console I typed the word "world", let it run for a bit, then hit Ctrl-C. It mostly seems to work. Here was the difference between Ruby with your patch and JRuby 1.1.1. # Ruby 1.8.6-114 with patch C:\Documents and Settings\djberge\workspace>ruby pipe_test.rb hello from main hello from main hello from main got 2049 bytes hello from main got 2049 bytes hello from main got 2049 bytes hello from main got 2049 bytes hello from main got 2049 bytes hello from main got 2049 bytes hello from main got 2049 bytes hello from main go...
2009 Aug 02
2
win32-security, 1.9.x, encoding issue?
...ev (2009-07-18 trunk 24186) [i386-mswin32_90] I noticed there was an ordinal bug in win32-security and Ruby 1.9.x. I fixed those easily enough, but now we''re left with this: 1) Error: test_string_to_sid(TC_Win32_Security_Sid): ArgumentError: invalid byte sequence in US-ASCII c:/Users/djberge/workspace/win32-security/lib/win32/security/sid.rb:111:in `strip'' c:/Users/djberge/workspace/win32-security/lib/win32/security/sid.rb:111:in `string_to_sid'' test/test_sid.rb:62:in `test_string_to_sid'' Where line 111 is the last line of this: def self.string_to_si...
2007 May 04
1
Trying to get a good example for win32-mutex
Hi all, I''ve been going through the various IPC modules for Win32Utils and converting them to pure Ruby. I''m almost done with win32-mutex, but I can''t get the example to work. I keep getting this error: C:/Documents and Settings/djberge/workspace/win32-mutex/examples/mutex_test.rb:41: undefined method `+'' for nil:NilClass (NoMethodError) from C:/Documents and Settings/djberge/workspace/win32-mutex/examples/mutex_test.rb:38:in `times'' from C:/Documents and Settings/djberge/workspace/win32-mutex/e...
2007 Nov 06
5
textarea fails on rows attribute
...builder.rb:140:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:140:in `tag!'' (eval):92:in `tag!'' c:/ruby/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:217:in `html_tag'' (eval):3:in `input'' C:/Documents and Settings/djberge/workspace/cluri/cluri.rb:118:in `index'' c:/ruby/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:123:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:123:in `capture'' c:/ruby/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/buil...
2007 Sep 28
1
Help with win32/api, windows-api
Hi all, I must have been testing windows-pr with an old version of windows-api, because now when I run ''rake test'' for windows-pr I get this: C:\Documents and Settings\djberge\workspace\windows-pr>rake test C:0:Warning: require_gem is obsolete. Use gem instead. (in C:/Documents and Settings/djberge/workspace/windows-pr) C:/ruby/lib/ruby/site_ruby/1.8/windows/api.rb:288: warning: instance variable @boolean not initialized C:/ruby/lib/ruby/1.8/openssl/buffering.rb:98...
2004 Mar 01
0
RE: win32etc test failure
...tc test failure That worked ! Now everything is working without \\. I haven''t really tried everything...later. -- Shashank PS> Forgot to tell you how much easy you have made my admin tasks with this module. Thanks a million !! -----Original Message----- From: Berger, Daniel [mailto:djberge@qwest.com] Sent: Monday, March 01, 2004 11:11 AM To: win32utils-devel@rubyforge.org; Date, Shashank [Non-Employee] Subject: RE: [Win32utils-devel] RE: win32etc test failure For delete_user, try this patch: etc.c, line 639: - lpHost = (LPCWSTR)STR2CSTR(rbHost); +lpHost = AllocWideLString(rbHost...
2004 Mar 01
0
RE: win32etc test failure
...004 10:02 AM To: Berger, Daniel Subject: RE: win32etc test failure I like your approach better: allow me to be lazy (so I am not _forced_ to give it) but forgive me if I do ;-) It worked for add_user both with AND without \\ -- Shashank -----Original Message----- From: Berger, Daniel [mailto:djberge@qwest.com] Sent: Monday, March 01, 2004 10:53 AM To: Date, Shashank [Non-Employee] Cc: win32utils-devel@rubyforge.org Subject: RE: win32etc test failure Yep, I agree. Well, what would you prefer? I handle it for you or you handle it yourself? I''m tempted to go with the former becaus...
2004 Mar 01
0
RE: win32etc test failure
...004 10:02 AM To: Berger, Daniel Subject: RE: win32etc test failure I like your approach better: allow me to be lazy (so I am not _forced_ to give it) but forgive me if I do ;-) It worked for add_user both with AND without \\ -- Shashank -----Original Message----- From: Berger, Daniel [mailto:djberge@qwest.com] Sent: Monday, March 01, 2004 10:53 AM To: Date, Shashank [Non-Employee] Cc: win32utils-devel@rubyforge.org Subject: RE: win32etc test failure Yep, I agree. Well, what would you prefer? I handle it for you or you handle it yourself? I''m tempted to go with the former becaus...
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all, I created a "pure" branch on github that uses the code Heesob posted a while back: http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html However, I couldn''t make it work on my Vista laptop. c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb start VERSION: 0.8.0 C:/Ruby187/lib/ruby/gems/1.8/gems/win32-service-0.8.0/lib/win32/service.rb:7 53:in `start'': The servi ce did not respond to the start or control request in a timely fashion. (Win32::Service::Error)...
2004 Mar 01
0
RE: win32etc test failure
...Subject: RE: win32etc test failure My preference: POLS ! Either do it for _all_ the situations, no exceptions OR do not do it at all. delete_user did not work with OR without the \\. getpwnam worked without the \\. Thanks, -- Shashank -----Original Message----- From: Berger, Daniel [mailto:djberge@qwest.com] Sent: Monday, March 01, 2004 10:40 AM To: Date, Shashank [Non-Employee] Subject: RE: win32etc test failure Oops - I think I tried to be helpful by automatically prepending ''\\\\'' in some cases (see line 321 in etc.c for example). Try just a plain host name. I shou...
2008 Jan 18
5
Temporarily setting the output language for cmd.exe
Hi all, One of the net-ping users reported that the Net::Ping::External library was returning false positives on Vista. Basically, it does a ''ping -n1 host'' and checks for certain error strings. The problem is that the error strings it checks for are in English. The user in question is using a cmd.exe that''s entirely in Swedish (I think). Is there any way I can
2007 Sep 28
3
[ win32utils-Bugs-14298 ] windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Bugs item #14298, was opened at 2007-09-28 10:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=14298&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Lars Olsson (lasso) Assigned to: Nobody (None) Summary: windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file Initial Comment:
2009 Aug 21
0
[ win32utils-Bugs-26975 ] Two test failures on XP virtual machine
Bugs item #26975, was opened at 2009-08-21 10:52 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=26975&group_id=85 Category: win32-sapi Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: Two test failures on XP virtual machine Initial Comment: Ruby 1.8.6-p383 VC++ 9 Windows XP Pro (VM via VMWare Fusion) On my XP VM I get the following test failures: C:\Documents and Settings\djberge\workspace\win32-sapi>rake test (in C:/Documents and Set...
2006 Oct 13
2
win32-mmap - trying to marshal self
...ethod_missing I did: obj = memcpy(buf, @address, @size) val = object.send(obj.to_sym) instance_variable_set("@#{method}", Marshal.load(val)) But when I run the map1.rb and map2.rb scripts again, I get errors (and beeping!) with odd characters no less: C:/Documents and Settings/djberge/workspace/win32-mmap/lib/win32/mmap.rb:334:in `send'': undefined method o:?Win32::MMap? @inheriti'' for nil:NilClass (NoMethodError) from C:/Documents and Settings/djberge/workspace/win32-mmap/lib/win32/mmap.rb:334:in `method_missing'' from map2.rb:8 Is thi...
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
...rk > > Sent: Tuesday, May 16, 2006 9:51 PM > > To: Development and ideas for win32utils projects > > Subject: Re: [Win32utils-devel] Need a little help with the > > pure Rubywin32-eventlog > > > > > > Hi, > > > > 2006/5/17, Daniel Berger <djberg96 at gmail.com>: > > > Hi all, > > > > > > I''m working on the EventLog#read method for the pure Ruby > > version of > > > win32-eventlog, but I''m stuck on the get_description > private method. > > > > > > Here are...
2008 Apr 25
4
win32-mmap test failures
...ses with that earlier mmap sub/replace example, but I wasn''t sure what was happening. Note that windows-api 0.2.3 and windows-pr-0.8.3 are the latest versions in CVS, but this happens with windows-api-0.2.2 and windows-pr-0.8.2 as well. Any ideas? Thanks, Dan C:\Documents and Settings\djberge\workspace\win32-mmap>rake test (in C:/Documents and Settings/djberge/workspace/win32-mmap) c:/ruby/bin/ruby -w -Ilib;test "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/ tc_mmap.rb" Loaded suite c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/ra...
2006 Oct 23
0
Need some help with MMap# and MMap#=
...ing, string.length) end When I try this, however, I get: C:/ruby/lib/ruby/site_ruby/1.8/windows/memory.rb:82:in `call'': NULL pointer given (ArgumentError) from C:/ruby/lib/ruby/site_ruby/1.8/windows/memory.rb:82:in `VirtualAlloc'' from C:/Documents and Settings/djberge/workspace/win32-mmap/lib/win32/mmap.rb:309:in `[]='' from test.rb:8 Am I using the right function? Do I have it declared correctly in windows-pr? BTW, I also tried changed the function prototype for VirtualAlloc from ''PLLL'' to just ''LLLL'' and...
2004 Jan 22
1
Latest win32-service error
I''m getting an error when I run the test2.rb script. I get this error: C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb install installed C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb start (Win32ServiceError)t'': Overlapped I/O operation is in progress. from test2.rb:42 Any ideas? Also, it looks like the output from ErrorDescription()
2008 Feb 27
0
Making redirecting output with win32-process a bit easier
Hi all, Inspired by Sander Pool''s help request, I came up with this change to win32-process which makes redirecting stdin/stdout/stderr less of a hassle: C:\Documents and Settings\djberge\workspace\win32-process\lib\win32>diff -u process.orig process.rb --- process.orig Tue Feb 26 22:23:56 2008 +++ process.rb Tue Feb 26 22:23:20 2008 @@ -270,6 +270,10 @@ # library. Note that the ''stdin'', ''stdout'' and ''stderr'' opti...