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

Need to be able to run the program from anywhere #10

Open
waldo323 opened this issue Mar 25, 2018 · 8 comments
Open

Need to be able to run the program from anywhere #10

waldo323 opened this issue Mar 25, 2018 · 8 comments
Assignees

Comments

@waldo323
Copy link
Collaborator

Need to be able to run the program from anywhere so when auto starting the paths work ok

@waldo323
Copy link
Collaborator Author

I created a separate shell script which simply changes to the photo booth program folder and then runs the capture.py script

@craigmaloney craigmaloney self-assigned this Mar 25, 2018
@craigmaloney
Copy link
Owner

Would you create a pull request with the shell script? Thanks!

@craigmaloney
Copy link
Owner

Ah, I see what's going on. When it loads the config file if it isn't given an explicit path then it defaults to "./peppercarrot.yaml". So if it's not in the same directory it'll error out.

@craigmaloney
Copy link
Owner

I think this is fixed with the latest push in feature/cleanup. Please confirm.

@craigmaloney
Copy link
Owner

@waldo323 Did this work properly for Penguicon or is there still more work to do?

@waldo323
Copy link
Collaborator Author

@craigmaloney I may have the full path listed in the cron or whatever is launching the script from or it is changing to the directory then running. I will check later and confirm one way or the other

@waldo323
Copy link
Collaborator Author

waldo323 commented Oct 4, 2018

I can run capture from elsewhere running develop, but run into an issue

Traceback (most recent call last):
File "/home/user/projects/pygame_photobooth/capture.py", line 361, in
config.load()
File "/home/user/projects/pygame_photobooth/capture.py", line 36, in load
fb = open(filename, 'rb')
IOError: [Errno 2] No such file or directory: './peppercarrot.yaml'

develop is not full screen otherwise the yaml files for the theme look the same

@waldo323
Copy link
Collaborator Author

waldo323 commented Oct 4, 2018

I verified that with the capture file from develop checked into master I am able to start the photobooth software. I will commit it to my master and then put in a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants