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

Unhandled 'error' event #34

Open
gyetman opened this issue Oct 28, 2020 · 0 comments
Open

Unhandled 'error' event #34

gyetman opened this issue Oct 28, 2020 · 0 comments

Comments

@gyetman
Copy link

gyetman commented Oct 28, 2020

Trying to run on Windows 10, with the latest version of Node (fresh install), I see a unhandled error event.

C:\Data>classify-images -o test.csv -l "ok,bad" Washington10.png
Running  localturk --static-dir . C:\Users\Greg\AppData\Local\Temp\2020928-7916-u1cm55.xcmw.html C:\Users\Greg\AppData\Local\Temp\2020928-7916-14ghlsf.1fkz.csv test.csv
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: spawn localturk ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn localturk',
  path: 'localturk',
  spawnargs: [
    '--static-dir',
    '.',
    'C:\\Users\\Greg\\AppData\\Local\\Temp\\2020928-7916-u1cm55.xcmw.html',
    'C:\\Users\\Greg\\AppData\\Local\\Temp\\2020928-7916-14ghlsf.1fkz.csv',
    'test.csv'
  ]
}

C:\Data>

We have reproduced this across three different machines now. Any suggestions?

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