Displaying 2 results from an estimated 2 matches for "win32servicestatus".
2005 Oct 12
1
[ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus
...an respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85
Category: win32-service
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Scott Harper (sharperct)
Assigned to: Nobody (None)
Summary: warning: redefining constant Struct::Win32ServiceStatus
Initial Comment:
Can these redefining constant warnings be suppressed?
irb(main):001:0> require "win32/service"
=> true
irb(main):002:0> [''Alerter'',''Apache2''].each { |s| puts Win32::Service.status(s).current_state }
stopped
(irb):2: warning:...
2005 Feb 28
3
test/unit error report for win32-service
...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 tc_service
Started
.....F.............tc_service.rb:134: warning: redefining constant
Struct::Win32Service
..E.tc_service.rb:199: warning: redefining constant
Struct::Win32ServiceStatus
.F
Finished in 7.481 seconds.
1) Failure:
test_create_delete(TC_Win32Service) [tc_service.rb:164]:
Exception raised:
Class: <Win32::ServiceError>
Message: <"The specified service already exists.">
---Backtrace---
tc_service.rb:165:in `create_service''
tc_service.rb:...