Could not find launcher.cfg - Help

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Rob_Roach
Posts: 10
Joined: Fri Dec 09, 2011 3:33 pm

Could not find launcher.cfg - Help

Post by Rob_Roach »

Hi,

I am trying to run the YamCam programs within power point, however when I try to run it I get the error message "Could not find launcher.cfg. Please reinstall.... " . The .cfg file is in the same directory as the Yamcam.exe. Is microsoft looking somewhere else? or is it me?

Help

Thanks

Rob
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Post by z3r0c00l12 »

I had that problem when trying to launch Yawcam at startup without defining the working directory.
memoric
Posts: 184
Joined: Wed Feb 23, 2011 1:37 pm

Post by memoric »

Create a shortcut of yawcam somewhere & call this instead of the program's executable.
PaulMy
Posts: 20
Joined: Fri Feb 11, 2011 4:35 am

RE: Could not find launcher.cfg - Help

Post by PaulMy »

I have been running Yawcam for over a year and just this past week have been getting the same "Could not find launcher.cfg Please restart application" when I check my computer in the morning. Yawcam appears to still be running fine after the message occurs.

To overcome issues with ftp to Weather Underground I have recently started Windows Task Scheduler to stop Yawcam after 1435 min (23 hrs 55 min) running and restart 5 minutes later so that I have a restart once a day (6:00 am). This has been working fine but just recently getting this launcher.cfg error popup. Don't know how I would incorporate the Yawcam shortcut as suggested by memoric (I have the Yawcam shortcut on my desktop).

Oh, one other thing, this started after I had to shut down my computer by cutting power as my monitor had failed. But Yawcam, like all other programs, started ok after a computer restart.

Any further suggestions on how to overcome the error popup?

Thanks,
Paul
DIP80
Posts: 4
Joined: Fri Jan 27, 2012 5:55 am

Post by DIP80 »

"Could not find file launcher.cfg. Please reinstall the application"

I also have the same problem, does anyone have any idea for solution?

Sorry for my bad English
DIP80
Posts: 4
Joined: Fri Jan 27, 2012 5:55 am

Post by DIP80 »

A small clarification to the post above

I get this error when I try to launch the executable with the PsExec from remote pc, everything works perfect if you
launch on a PC where it is installed.
There is another way to boot Yawcam from another PC ?

P.S.
I want to make sincere congratulations to the author,
more I use this software and more I realize that it's great.
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Post by z3r0c00l12 »

When launching, make sure you set the "working directory" to yawcam's folder otherwise it can't find the launcher.cfg.

Another option here I guess would be to add Yawcam's path to the environment variables so that they get searched automatically, and it can find launcher.cfg
DIP80
Posts: 4
Joined: Fri Jan 27, 2012 5:55 am

Post by DIP80 »

Thanks for the answer, but I'm not very experienced.

Please you give me an example for the 2 solutions you've written?
memoric
Posts: 184
Joined: Wed Feb 23, 2011 1:37 pm

Post by memoric »

To define the working directory at psexec you should use the -w switch.
So, if yawcam is installed in "C:\Programs\Yawcam", you must give the
following command:

Code: Select all

psexec \\yourcomputer -w "C:\Programs\Yawcam" "C:\Programs\Yawcam\Yawcam.exe"
DIP80
Posts: 4
Joined: Fri Jan 27, 2012 5:55 am

Post by DIP80 »

memoric wrote:To define the working directory at psexec you should use the -w switch.
So, if yawcam is installed in "C:\Programs\Yawcam", you must give the
following command:

Code: Select all

psexec \\yourcomputer -w "C:\Programs\Yawcam" "C:\Programs\Yawcam\Yawcam.exe"
You were great, everything works now. :D
I just had to add the user and password to execute the command correctly.

Code: Select all

psexec \\computer_name -u user -p password -w "C:\Program Files\Yawcam" "C:\Program files\Yawcam\Yawcam.exe"
To close Yawcam from remote I used this command:

Code: Select all

pskill \\computer_name -u user -p password javaw.exe


Thanks again memoric and z3r0c00l12
Post Reply