--0016e640d340289f84046826b462 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Wed, Apr 22, 2009 at 8:42 AM, Alexandre Stehlin < alexandre.stehlin / gmail.com> wrote: > Alexandre Stehlin wrote: > > "C:\Program Files\ruby\bin\ruby.exe" "C:\Program > > Files\RR_Outils\FileHandler\FileHandler.rb" -s > > Oops, made a mistake in the name of the file : it's FileHandlerService > that I used... > > When I tried "C:\Program Files\ruby\bin\ruby.exe" "C:\Program > Files\RR_Outils\FileHandler\FileHandler.rb" -r (to run the service), the > out_file is empty and I get in this in the cmd window : > C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:408:in 'load xml': > Not valid XML-file <Runtime Error> > from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:326:in 'load > config' > from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:558:in > 'service_init' > from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:604:in > 'mainloop' > from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:604:in > 'execute' > from C:/Program Files/RR_Outils/FileHandler/FileHandler.rb:655 > -- > Posted via http://www.ruby-forum.com/. > > Sounds like it's looking for some kind of file on line 408. Maybe the original author was using an XML file for configuration parameters? I'd have a look at line 408 in FileHandler.rb -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I canÃÕ hear a word youÃÓe saying." -Greg Graffin (Bad Religion) --0016e640d340289f84046826b462--