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

UserWarning: Problem creating timelapse #395

Closed
jamessynge opened this issue Jan 19, 2018 · 5 comments
Closed

UserWarning: Problem creating timelapse #395

jamessynge opened this issue Jan 19, 2018 · 5 comments
Labels

Comments

@jamessynge
Copy link
Contributor

Error from PAN006, which I'm guessing indicates that some software is required that POCS doesn't have in its requirements.

 6510
Starting POCS - Press Ctrl-c to interrupt
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp35_6575fc_20180118T232417.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp35_7bab97_20180118T232417.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/HatP30_6575fc_20180119T020703.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/HatP30_7bab97_20180119T020703.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp104_6575fc_20180119T051913.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp104_7bab97_20180119T051913.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp104_6575fc_20180119T074529.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
/var/panoptes/POCS/pocs/utils/images/__init__.py:206: UserWarning: Problem creating timelapse: /var/panoptes/images/timelapse/Wasp104_7bab97_20180119T074529.mp4
  warn("Problem creating timelapse: {}".format(fn_out))
@wtgee
Copy link
Member

wtgee commented Jan 19, 2018

Some of these have started showing up in travis recently too. I'll double check that PAN001 is still working ok

@wtgee
Copy link
Member

wtgee commented Jan 19, 2018

Working fine on PAN001. Python module is ffmpy, underlying library is ffmpeg.

Do you have $PANDIR/timelapse directory with write permissions? Looks like it doesn't create or check for that but assumes.

@wtgee
Copy link
Member

wtgee commented Jan 19, 2018

FWIW, we don't actually use the timelapse for much and currently don't upload them to cloud storage. The jpgs are automatically deleted as part of cleanup so I was creating timelapse as I like to look at them in the morning. They are a quick way to see if any meteors or other odd behavior and also nice to show if tracking problems. But mostly just for fun. We should evaluate their use.

@jamessynge
Copy link
Contributor Author

I would like to have these available as a way to do a quick review of the nights observations.

I'll check the file system when I get home.

@jamessynge
Copy link
Contributor Author

There was no timelapse directory.

jamessynge added a commit to jamessynge/POCS that referenced this issue Jan 20, 2018
Use os.path.join instead of string concatenation for building paths.
Fix exception message output.
Add ffmpeg to requirements, needed for timelapse creation.

Fixes panoptes#395.
wtgee pushed a commit that referenced this issue Jan 20, 2018
Use os.path.join instead of string concatenation for building paths.
Fix exception message output.
Add ffmpeg to requirements, needed for timelapse creation.

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

No branches or pull requests

2 participants