Skip to content

Error during test. #2

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

Open
mhf-ir opened this issue Oct 5, 2020 · 1 comment
Open

Error during test. #2

mhf-ir opened this issue Oct 5, 2020 · 1 comment

Comments

@mhf-ir
Copy link

mhf-ir commented Oct 5, 2020

Arguments [ 'testJson' ]
TEST JSON
TOTAL TIME: 50.31 s
(node:10810) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/sweb/tmp/javascript-serialization-benchmark/src/tmp/plot.json'
    at Object.openSync (fs.js:465:3)
    at Object.writeFileSync (fs.js:1416:35)
    at loadPlotData (/sweb/tmp/javascript-serialization-benchmark/src/utils/helper.ts:130:8)
    at savePlotData (/sweb/tmp/javascript-serialization-benchmark/src/utils/helper.ts:136:16)
    at Object.<anonymous> (/sweb/tmp/javascript-serialization-benchmark/src/utils/helper.ts:67:3)
    at Generator.next (<anonymous>)
    at fulfilled (/sweb/tmp/javascript-serialization-benchmark/src/utils/helper.ts:5:58)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10810) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10810) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
$ python3 plot.py
plot.py:188: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if i < len(baseline_y_values) and baseline_y_values[i] is not 0:
Matplotlib is building the font cache; this may take a moment.
Traceback (most recent call last):
  File "plot.py", line 135, in <module>
    with open(INPUT_FILE) as json_file:
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/plot.json'
@mhf-ir
Copy link
Author

mhf-ir commented Oct 5, 2020

Fixed and improved.
#3

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

No branches or pull requests

1 participant