Cynosure.X International LLC


Add Comment | Related Links | TrackBack
Related Content

Amazon Mechanical Turk Command Line Tools Cannot Find

There was a problem reading your properties file from
The exception was (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Cannot load configuration properties file from
at com.amazonaws.mturk.util.PropertiesClientConfig.(
at com.amazonaws.mturk.util.PropertiesClientConfig.(
at com.amazonaws.mturk.cmd.AbstractCmd.(
at com.amazonaws.mturk.cmd.GetBalance.(
at com.amazonaws.mturk.cmd.GetBalance.main(
Caused by: (No such file or directory)
at Method)
at com.amazonaws.mturk.util.PropertiesClientConfig.(
... 4 more

How to fix it in linux...

Tue, 12 Oct 2010 08:50:13 +0000

First of all, have you determined the location of the "" file yet? It reports that it can't find that file.

Chieh Cheng
Tue, 12 Oct 2010 16:52:38 +0000

Hi...Chieh Cheng

it'll be works fine in linux and window through command line but there is a problem with when it'll run through browser.
that time above exception will be raised.


$ssMturkCmdPath = sfConfig::get("sf_lib_dir");
$ssCommand = $ssMturkCmdPath."/aws-mturk-clt-1.3.0/bin/./";
$oOutput = shell_exec($ssCommand." 2>&1"); //system call
print "<pre>">
print_r($oOutput); //show output

after run this code in browser it gives above exception.

any idea behind this issue...

Wed, 13 Oct 2010 05:43:45 +0000

I suspect that your environment variable is set-up correctly in your terminal. However, PHP executes under a different environment and the environment is not set-up correctly there. Output your environment variables in your terminal. Then output them in PHP. Compare the two.

Chieh Cheng
Wed, 13 Oct 2010 19:57:28 +0000

hey Chieh Cheng

you are right there is a issue of set environement variable.

thanks buddy...

Fri, 15 Oct 2010 07:00:59 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 + 4?
Click button only once, please!


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

46 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.