question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No such file or directory: undefined with version etcher-1.3.1-x86_64

See original GitHub issue
  • Version: etcher-1.3.1-x86_64
  • OS: Linux Mint 17.3
  • Image: Fedora 27 Cinnamon
  • Do you see any meaningful error information in the DevTools?:

{"stack":"Error: ENOENT: no such file or directory, open '/run/user/0/drivelist-f5b0a11d7fc6.sh'","message":"ENOENT: no such file or directory, open '/run/user/0/drivelist-f5b0a11d7fc6.sh'","code":"ENOENT"}
console.(anonymous function) @ /tmp/.mount_nutRHU/usr/bin/resources/app.asar/node_modules/raven-js/dist/raven.js:55
/tmp/.mount_nutRHU/usr/bin/resources/app.asar/node_modules/raven-js/dist/raven.js:55 sdk start +5m true
/tmp/.mount_nutRHU/usr/bin/resources/app.asar/node_modules/raven-js/dist/raven.js:55 Flash results Object
/tmp/.mount_nutRHU/usr/bin/resources/app.asar/node_modules/raven-js/dist/raven.js:55 Terminating IPC server

I’ve been using etcher-1.0.0-linux-x64 on my Linux Mint 17.3 laptop for quite a while now without any issues. I decided to get a bit more current and downloaded the newer etcher-1.3.1-x86_64 version. Things seemed about the same, up until the last step (Flash!). I was now prompted to enter the super user password (needed for /usr/bin/env. “Details” shows action of org.freedesktop.policykit.exec).

After entering the password, an error window appears:

    No such file or directory: undefined
    The file you're trying to access doesn't exist

After clicking OK to clear the error, another Attention window displays:

     Oops, seems something went wrong (Retry).`

If I run the exact same process using version 1.0.0, I am not prompted for the password and the flash completes successfully. Image is on an USB external hard drive, and is being written to a 16 GB USB 3.0 flash drive.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lurchcommented, Mar 14, 2018

@jhermsmeier It looks like the TMPDIR for the elevated (root) user /run/user/0/ doesn’t contain the drivelist script; presumably because it’s only in the (different) TMPDIR for the normal user. At least, that’s my best guess without attempting to reproduce this myself. Similar-but-different to #1699 😉

This might be fixed by https://github.com/resin-io-modules/drivelist/pull/255 ?

0reactions
lurchcommented, Nov 27, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

No such file or directory: undefined with version etcher-1.3.1 ...
I've been using etcher-1.0.0-linux-x64 on my Linux Mint 17.3 laptop for quite a while now without any issues. I decided to get a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found