[Win32utils-devel] [ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services

noreply at rubyforge.org noreply at rubyforge.org
Sun Dec 30 08:02:47 EST 2007


Bugs item #16648, was opened at 2007-12-27 13:58
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85

Category: win32-service
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob  (phasis68)
Summary: Cannot find the file specified with Service.services

Initial Comment:
Hi,

Just trying to help my dad out here while I'm on Christmas vacation and I hit this error while listing the Services via Service.services:

Win32::Service::Error: The system cannot find the file specified.
        from c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.0-x86-mswin32-60/l
ib/win32/service.rb:1334:in `get_config_info'
        from c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.0-x86-mswin32-60/l
ib/win32/service.rb:1085:in `services'
        from c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.0-x86-mswin32-60/l
ib/win32/service.rb:1047:in `upto'
        from c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.0-x86-mswin32-60/l
ib/win32/service.rb:1047:in `services'
        from (irb):5

This happens after listing about a dozen services or so just fine. I can't tell which service is causing this problem, as there appear to be several services not listed in the Windows Services GUI that show up in the Service.services call.

Dan

----------------------------------------------------------------------

>Comment By: Daniel Berger (djberg96)
Date: 2007-12-30 06:02

Message:
Hi,

I tried it again this morning and naturally I can no longer duplicate it either. Now it works fine. :(

I can only guess that it was related to the Symantec services (aka Norton Antivirus), which I later disabled. Perhaps whatever was causing the problem was ultimately deleted. I tried several times to uninstall NAV but was only partially successful.

The only thing I can think of is that there was a service installed, then disabled, then the executable it pointed to was deleted but the service itself was not. Could that have caused it? Otherwise, I'm not sure. I see one or two similar posts on Google, but nothing definitive.

Anyway, feel free to reject this ticket if you like. We'll just have to keep it in mind if it ever shows up again.

Regards,

Dan

----------------------------------------------------------------------

Comment By: Park Heesob  (phasis68)
Date: 2007-12-30 02:50

Message:
Hi,

I cannot repeat your problem. So I have no idea.
Please try with some debugging code insert before get_config_info to know what service_name, display_name and other information cause the problem.

Regards,
Park Heesob


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85


More information about the win32utils-devel mailing list