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

Error when Using Copy & Paste on Ubuntu running from WSL1 on Windows 10 #27

Open
MishaBoar opened this issue Jul 27, 2022 · 0 comments
Open

Comments

@MishaBoar
Copy link

Hello there,

when using Copy/Paste in Ubuntu running in Windows 10's WSL1, I get the following error and the wallet crashes.

================ SEND DOGECOINS ================


  Current balance: 100 Ð
  Fee: 1 Ð

  Amount: 0 Ð
  To: __________________

  TIP: Do CTRL+V to copy address in the 'To' field.

  Press "Enter" to send
  Press "Return" to return to main screen
/snapshot/dogecoin-spv-node/node_modules/clipboardy/node_modules/execa/index.js:347
                throw err;
                ^

Error: spawnSync /snapshot/dogecoin-spv-node/node_modules/clipboardy/fallbacks/windows/clipboard_x86_64.exe ENOENT
    at Object.spawnSync (node:internal/child_process:1111:20)
    at Object.spawnSync (node:child_process:814:24)
    at Object.spawnSync (pkg/prelude/bootstrap.js:2087:31)
    at Function.sync (/snapshot/dogecoin-spv-node/node_modules/clipboardy/node_modules/execa/index.js:334:30)
    at Object.pasteSync (/snapshot/dogecoin-spv-node/node_modules/clipboardy/lib/windows.js:15:30)
    at Object.readSync (/snapshot/dogecoin-spv-node/node_modules/clipboardy/index.js:48:38)
    at SendDogeScreen.pasteAddress (/snapshot/dogecoin-spv-node/src/interface/screens/sendDogeScreen.js:177:32)
    at SendDogeScreen.keyPressed (/snapshot/dogecoin-spv-node/src/interface/screens/sendDogeScreen.js:55:14)
    at ReadStream.<anonymous> (/snapshot/dogecoin-spv-node/src/interface/interface.js:53:23)
    at ReadStream.emit (node:events:527:28) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawnSync /snapshot/dogecoin-spv-node/node_modules/clipboardy/fallbacks/windows/clipboard_x86_64.exe',
  path: '/snapshot/dogecoin-spv-node/node_modules/clipboardy/fallbacks/windows/clipboard_x86_64.exe',
  spawnargs: [ '--paste' ],
  stdout: null,
  stderr: null,
  failed: true,
  signal: null,
  cmd: '/snapshot/dogecoin-spv-node/node_modules/clipboardy/fallbacks/windows/clipboard_x86_64.exe --paste',
  timedOut: false
}

I tried to look for a solution and it seems this might be caused by a missing fallback executable. Will try to dig a bit more.

Thanks for your work!

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