win32utils-devel@rubyforge.org
2004-Jan-25 19:57 UTC
[Win32utils-devel] Re: win32-service ideas
> It''s in CVS.I pulled it out and ran nmake. This is what I got while running the test: ---------------------------------------------------------------------------- ------ C:\extract\_ruby\win32-service-0.2.2>ruby test\tc_service.rb This test will stop and start your Clipboard service, as well as pause and resume your Schedule service. This is harmless unless you are actually using these services at the moment you run this test. Is it OK to proceed? (y/N) y This will take a few seconds. Be patient... Loaded suite test/tc_service Started .....F.............F.... Finished in 16.544 seconds. 1) Failure!!! test_create_delete(TC_Win32Service) [test/tc_service.rb:173]: Exception raised: Class: <Win32ServiceError> Message: <The specified service already exists.>---Backtrace--- test/tc_service.rb:168:in `create_service'' test/tc_service.rb:168:in `test_create_delete'' test/tc_service.rb:167:in `assert_nothing_raised'' c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:172:in `_wrap_assertion'' c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:191:in `assert_nothing_raised'' test/tc_service.rb:173:in `test_create_delete'' c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `send'' c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'' c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:53:in `run_suite'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:77:in `start_mediator'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:51:in `start'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:26:in `run'' c:/ruby/lib/ruby/1.8/test/unit.rb:178 c:/ruby/lib/ruby/1.8/test/unit.rb:176:in `call'' c:/ruby/lib/ruby/1.8/test/unit.rb:213 c:/ruby/lib/ruby/1.8/test/unit.rb:162 test/tc_service.rb:234 --------------- 2) Failure!!! test_services(TC_Win32Service) [test/tc_service.rb:135]: Exception raised: Class: <Win32ServiceError> Message: <The RPC server is unavailable.>---Backtrace--- test/tc_service.rb:135:in `services'' test/tc_service.rb:135:in `test_services'' test/tc_service.rb:135:in `assert_nothing_raised'' c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:172:in `_wrap_assertion'' c:/ruby/lib/ruby/1.8/test/unit/assertions.rb:191:in `assert_nothing_raised'' test/tc_service.rb:135:in `test_services'' c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `send'' c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:68:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'' c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:53:in `run_suite'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:77:in `start_mediator'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:51:in `start'' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:26:in `run'' c:/ruby/lib/ruby/1.8/test/unit.rb:178 c:/ruby/lib/ruby/1.8/test/unit.rb:176:in `call'' c:/ruby/lib/ruby/1.8/test/unit.rb:213 c:/ruby/lib/ruby/1.8/test/unit.rb:162 test/tc_service.rb:234 --------------- 24 tests, 66 assertions, 2 failures, 0 errors C:\extract\_ruby\win32-service-0.2.2>
win32utils-devel@rubyforge.org
2004-Jan-26 19:17 UTC
[Win32utils-devel] Re: win32-service ideas
>From: Shashank Date <sdate@everestkc.net> >To: Daniel Berger <djberg96@hotmail.com>, phasis@nownuri.net >CC: win32utils-devel@rubyforge.org >Subject: Re: win32-service ideas >Date: Sun, 25 Jan 2004 10:49:03 -0600 > >Dan, Park, > > > Still nothing. The svc.log file never gets created. It''s definitely > > choking on the StartService() call. > >Sorry, I have been out of touch with all this. Where can I get the source >to >be tested ? >I will give it a whirl this morning ...It''s in CVS. Regards, Dan _________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418