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: 'wallpapper.InputFileNotExistsError'. #8

Closed
GoldenChaos opened this issue Aug 2, 2018 · 7 comments
Closed

Error: 'wallpapper.InputFileNotExistsError'. #8

GoldenChaos opened this issue Aug 2, 2018 · 7 comments

Comments

@GoldenChaos
Copy link

GoldenChaos commented Aug 2, 2018

Finally got the json file made, but when attempting to run wallpaper -i filename.json I get the following error :

Error: 'wallpapper.InputFileNotExistsError'.

I'm on Mojave DP5. The json file is definitely in the folder with the rest of the images and I'm referencing it with the correct name. In addition, I double checked all the files referenced in the json file and they are correctly named, too.

@mczachurski
Copy link
Owner

I cannot replicate this. I added more information to the console log. Please grab new source code and execute it. You should get more information on console. Maybe this will help us with this bug.

@GoldenChaos
Copy link
Author

Cool, I should have some time to do this tomorrow 🙂

@mczachurski
Copy link
Owner

Did you manage to run improved application? I would like to close this issue.

@vinivendra
Copy link

I got the same problem, fixed it by renaming the folder I was in into something without spaces.

@GoldenChaos
Copy link
Author

Finally got the chance to try this again. Removing spaces from the names of my folders did not fix the issue. Here's a screenshot of my terminal:

screen shot 2018-08-10 at 5 15 41 pm

mczachurski added a commit that referenced this issue Aug 11, 2018
@mczachurski
Copy link
Owner

Thanks for your feedback. I added support for absolute paths. It's working with paths with spaces:

wallpapper -i /Users/mczachurski/Projects/Wallpepper/earth\ wallpaper/wallpaper.json

and without spaces. Also relative paths works:

wallpapper -i earth/wallpapper.json

Please verify my fix.

@GoldenChaos
Copy link
Author

GoldenChaos commented Aug 11, 2018

I can confirm it worked! 😄 this is awesome.

By the way, the reason I wanted to use the Solar Gradients JSON data is because I started with it as a template and worked backwards to recolor various photos to look like different times of day according to the Solar Gradients wallpaper. It looks perfect!

It would be convenient if the Solar Gradients data could be included by default, that way the script could just take any folder with images numbered 1-16 and optionally a json file if you want to customize the solar behavior.

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

3 participants