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

Missing pexecs cause a crash in R code #61

Open
snim2 opened this issue May 29, 2018 · 1 comment
Open

Missing pexecs cause a crash in R code #61

snim2 opened this issue May 29, 2018 · 1 comment
Assignees

Comments

@snim2
Copy link
Contributor

snim2 commented May 29, 2018

This traceback is from a file where an individual pexec crashed:

$ ../bin/warmup_stats --output-plots breaks.pdf breaks-warmup-stats.json.bz2 
.../warmup_stats/bin/mark_changepoints_in_json:224: RuntimeWarning: divide by zero encountered in log
  pen_value=15.0*numpy.log(len(p_exec)))
.../warmup_stats/work/pylibs/rpy2/rinterface/__init__.py:186: RRuntimeWarning: Error in multiple.meanvar.norm(data, mul.method = method, penalty, pen.value,  : 
  Minimum segment legnth is too large to include a change in this data

  warnings.warn(x, RRuntimeWarning)
.../warmup_stats/work/pylibs/rpy2/rinterface/__init__.py:186: RRuntimeWarning: In addition: 
  warnings.warn(x, RRuntimeWarning)
.../warmup_stats/work/pylibs/rpy2/rinterface/__init__.py:186: RRuntimeWarning: There were 26 warnings (use warnings() to see them)
  warnings.warn(x, RRuntimeWarning)
.../warmup_stats/work/pylibs/rpy2/rinterface/__init__.py:186: RRuntimeWarning: 

  warnings.warn(x, RRuntimeWarning)
Traceback (most recent call last):
  File ".../warmup_stats/bin/mark_changepoints_in_json", line 295, in <module>
    main(options.json_files[0], options.delta, options.steady_state)
  File ".../warmup_stats/bin/mark_changepoints_in_json", line 197, in main
    segments = get_segments(cpt, delta, steady_state, p_exec, outliers)
  File ".../warmup_stats/bin/mark_changepoints_in_json", line 224, in get_segments
    pen_value=15.0*numpy.log(len(p_exec)))
  File ".../warmup_stats/work/pylibs/rpy2/robjects/functions.py", line 178, in __call__
    return super(SignatureTranslatedFunction, self).__call__(*args, **kwargs)
  File ".../warmup_stats/work/pylibs/rpy2/robjects/functions.py", line 106, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
rpy2.rinterface.RRuntimeError: Error in multiple.meanvar.norm(data, mul.method = method, penalty, pen.value,  : 
  Minimum segment legnth is too large to include a change in this data

Traceback (most recent call last):
  File "../bin/warmup_stats", line 488, in <module>
    main(options)
  File "../bin/warmup_stats", line 404, in main
    benchmark.mark_changepoints()
  File "../bin/warmup_stats", line 349, in mark_changepoints
    output = subprocess.check_output(' '.join(cli), shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/usr/bin/python2.7 .../warmup_stats/bin/mark_changepoints_in_json -s 375 breaks-warmup-stats_outliers_w150.json.bz2' returned non-zero exit status 1
@snim2 snim2 added the bug label May 29, 2018
@snim2
Copy link
Contributor Author

snim2 commented May 29, 2018

This is a problem for the tabling scripts, also.

@snim2 snim2 self-assigned this Aug 21, 2018
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

1 participant