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: Command failed: which... #37

Closed
1 task done
punkscience opened this issue Nov 24, 2018 · 17 comments
Closed
1 task done

Error: Command failed: which... #37

punkscience opened this issue Nov 24, 2018 · 17 comments
Assignees
Labels
Help Wanted node v8.x Issues about Node v8.x Platform: Linux 🐧 Linux related problems

Comments

@punkscience
Copy link

punkscience commented Nov 24, 2018

Basic informations

  • Splash CLI version: 3.3.0
  • Node version: v8.10.0
  • Your OS: Ubuntu 18.04.1

Before you go

  • [?] I've read the FAQ section.

^ 404 Error

  • I've the latest version of Splash CLI installed
  • [X ] I've searched other issues like mine but I haven't found a solution.

The ISSUE

✔ Connected!
✔ Something is happening...
Error: Command failed: which -a gsettings; which -a setroot; which -a pcmanfm; which -a feh; which -a nitrogen; which -a xfconf-query; which -a gconftool-2; which -a dcop; which -a dconf; which -a qdbus

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)

To Reproduce
Steps to reproduce the behavior:

  1. Run splash --today

Expected behavior
I expected it to download and replace my wallpaper. :/

Console Output
See above.

@rawnly
Copy link
Owner

rawnly commented Nov 24, 2018

The “—today” flag does not exist. It is —day..

However I don’t think that this is the cause o f the problem. Tomorrow morning I’ll investigate 🤔

I’m sorry to all Linux users but I don’t have a Linux machine to test Splash Cli on.

@punkscience
Copy link
Author

Sorry -- my bad. :) Also tried with '--day' and '-c' -- got this result:

✔ Connected!
✔ Something is happening...
Error: Command failed: which -a gsettings; which -a setroot; which -a pcmanfm; which -a feh; which -a nitrogen; which -a xfc
onf-query; which -a gconftool-2; which -a dcop; which -a dconf; which -a qdbus

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

@punkscience
Copy link
Author

Happy to help you debug if you need it.

@rawnly
Copy link
Owner

rawnly commented Nov 25, 2018

Hi, does the splash command (without flags/options) works?

@rawnly rawnly added the 👷‍♂️ Work In Progress I'm working on it label Nov 25, 2018
@rawnly rawnly self-assigned this Nov 25, 2018
@rawnly rawnly added the Platform: Linux 🐧 Linux related problems label Nov 25, 2018
@punkscience
Copy link
Author

punkscience commented Nov 26, 2018 via email

@rawnly
Copy link
Owner

rawnly commented Nov 26, 2018

Have you tried editing permissions of the following path?

home/darrylwright/Pictures/splash_photos

@punkscience
Copy link
Author

punkscience commented Nov 26, 2018 via email

@rawnly
Copy link
Owner

rawnly commented Nov 26, 2018

Try by creating it via mkdir -p ~/Pictures/splash_photos or may be changing the default dir in splash-cli to a custom path.


To change the dir of splash-cli just do the following:

  splash settings
  # ... Then is the 2nd question that is presented.

@punkscience
Copy link
Author

punkscience commented Nov 26, 2018 via email

@rawnly
Copy link
Owner

rawnly commented Nov 29, 2018

Are you sure you had installed splash-cli correctly?

v2.8.0 [6th April 2018] Copyright (C) 2005-2017 ) * SPLASH comes with ABSOLUTELY NO WARRANTY. This is free software; and you are welcome to redistribute it under certain conditions (see LICENCE file for details). * Updates/userguide: http://users.monash.edu.au/~dprice/splash Email: daniel.price@monash.edu or splash-users@googlegroups.com Please cite Price (2007), PASA, 24, 159-173 (arXiv:0709.0832) if you use SPLASH in print and don't forget to send pics for the gallery. splash.defaults not found: using default settings reading ascii format

This doesn't seems to be splash-cli, maybe you have some conflict.

NPM

  • Uninstall: npm remove -g splash-cli
  • Installation: npm i -g splash-cli

YARN

  • Uninstall: yarn global remove splash-cli
  • Installation: yarn global add splash-cli

@punkscience
Copy link
Author

Ok -- so I uninstalled and reinstalled and this time the settings worked perfectly. There is a default folder setup for the splash images. But I still seem to get the same crash. The download part seems to function perfectly but whatever that last step is results in this:

Error: Command failed: which -a gsettings; which -a setroot; which -a pcmanfm; which -a feh; which -a nitrogen; which -a xfconf-query; which -a gconftool-2; which -a dcop; which -a dconf; which -a qdbus

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

@rawnly rawnly added the node v8.x Issues about Node v8.x label Dec 1, 2018
@rawnly rawnly added Help Wanted and removed 👷‍♂️ Work In Progress I'm working on it labels Jan 2, 2019
@rawnly
Copy link
Owner

rawnly commented Jan 3, 2019

Sorry for inactivity, please keep watching #34

@rawnly
Copy link
Owner

rawnly commented Jan 21, 2019

@eyesno any news? Have you tried with newer versions?

@punkscience
Copy link
Author

punkscience commented Jan 21, 2019 via email

@rawnly
Copy link
Owner

rawnly commented Jan 21, 2019

So I can close this issue?

@punkscience
Copy link
Author

punkscience commented Jan 21, 2019 via email

@rawnly
Copy link
Owner

rawnly commented Jan 22, 2019

Perfect 👌🏻 I just wanted your confirm before closing it✌️

@rawnly rawnly closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted node v8.x Issues about Node v8.x Platform: Linux 🐧 Linux related problems
Projects
None yet
Development

No branches or pull requests

2 participants