noreply at rubyforge.org
2007-Dec-27 20:58 UTC
[Win32utils-devel] [ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
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 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85
noreply at rubyforge.org
2007-Dec-30 09:50 UTC
[Win32utils-devel] [ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
Bugs item #16648, was opened at 2007-12-28 05: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: Park Heesob (phasis68)Date: 2007-12-30 18: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
noreply at rubyforge.org
2007-Dec-30 13:02 UTC
[Win32utils-devel] [ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
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
noreply at rubyforge.org
2008-Jan-01 22:36 UTC
[Win32utils-devel] [ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
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: Closed >Resolution: AcceptedPriority: 4 Submitted By: Daniel Berger (djberg96)>Assigned to: Daniel Berger (djberg96)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: 2008-01-01 15:36 Message: Ok, I figured out what caused this. The underlying registry entry was deleted but the service still exists. Specifically, the QueryServiceConfig function queries the registry. I''ll check for ERROR_FILE_NOT_FOUND specifically, issue a warning about the deleted registry entry, and set the various config variables to nil. I''ll reassign this bug to myself now, too. :) Regards, 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
Maybe Matching Threads
- [ win32utils-Bugs-3924 ] Segmentation fault under Windows
- [ win32utils-Bugs-10589 ] Bug in win32-mmap
- [ win32utils-Bugs-2093 ] unable to open existing shortcut
- [ win32utils-Bugs-2532 ] Etc::Admin.configure_group problem
- [ win32utils-Bugs-4101 ] create hash param