Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message when no results are returned #81

Open
ezyang opened this issue Feb 28, 2015 · 1 comment
Open

Better error message when no results are returned #81

ezyang opened this issue Feb 28, 2015 · 1 comment

Comments

@ezyang
Copy link

ezyang commented Feb 28, 2015

crest-team@cutter:~/working_copies/cnf-misc-ezyang/paper/data$ ./fetch_data.sh inttpointtree-mem
+ mkdir -p ./downloaded/
+ for bench in '$BENCHES'
+ go inttpointtree-mem
+ bench=inttpointtree-mem
+ QUERY='SELECT PROGNAME,VARIANT,DATETIME,ARGS,THREADS,MINTIME,MEDIANTIME,MEDIANTIME_PRODUCTIVITY,MAXTIME,GIT_DEPTH        FROM FT WHERE              MEDIANTIME > 0 and              PROGNAME LIKE '\''inttpointtree-mem%'\''            '
+ QUERY+='and HOSTNAME LIKE '\''%cutter%'\'''
+ QUERY+='and GIT_DEPTH >= 0'
+ hsbencher-fusion-fetch --id=905767673358.apps.googleusercontent.com --secret=REDACTED --table=CompactNF2 '--query=SELECT PROGNAME,VARIANT,DATETIME,ARGS,THREADS,MINTIME,MEDIANTIME,MEDIANTIME_PRODUCTIVITY,MAXTIME,GIT_DEPTH     FROM FT WHERE              MEDIANTIME > 0 and              PROGNAME LIKE '\''inttpointtree-mem%'\''            and HOSTNAME LIKE '\''%cutter%'\''and GIT_DEPTH >= 0' --raw
[HSBencher.Internal.Fusion] Initializing
[HSBencher.Internal.Fusion] Fetching information from Google
[HSBencher.Internal.Fusion] REDACTED
["PROGNAME","VARIANT","ARGS","HOSTNAME","MINTIME","MEDIANTIME","MAXTIME","THREADS","RETRIES","RUNID","CI_BUILD_ID","DATETIME","MINTIME_PRODUCTIVITY","MEDIANTIME_PRODUCTIVITY","MAXTIME_PRODUCTIVITY","ALLTIMES","TRIALS","COMPILER","COMPILE_FLAGS","RUNTIME_FLAGS","ENV_VARS","BENCH_VERSION","BENCH_FILE","UNAME","PROCESSOR","TOPOLOGY","GIT_BRANCH","GIT_HASH","GIT_DEPTH","WHO","ETC_ISSUE","LSPCI","FULL_LOG","MEDIANTIME_ALLOCRATE","MEDIANTIME_MEMFOOTPRINT","ALLJITTIMES","BYTES_ALLOC","BYTES_COPIED","CPUTIME","CYCLES","NUMGC","BYTES","BYTES_SENT","COMM","DESERIALIZE","GENTREE","SIZE","TOTALTIME","BYTES_ALLOCATED"]
hsbencher-fusion-fetch: getData: failed to parse JSON response:
valFromObj: Could not find key: "rows"

That failed to parse JSON response is an unfriendly message meaning the real thing which is, "No results!"

@rrnewton
Copy link
Member

rrnewton commented Mar 2, 2015

This is really an issue for handa-gdata package, but it is an important issue that we should get to now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants