FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
637 stars 99 forks source link

Octolapse issue while interfacing to a Canon EOS450 DSLR #944

Closed graaja closed 7 months ago

graaja commented 7 months ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: 0.4.5

Version of OctoPrint

OctoPrint Version: 1.9.3

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: YES

What were you doing when the problem occurred

  1. I use a Raspberry Pi 4 hardware
  2. I want to interface my Canon EOS450D camera and make timelapses
  3. I was following the github instructions (and the YouTube video) from https://github.com/FormerLurker/Octolapse/wiki/Configuring-an-External-Camera
  4. I installed gphoto2
  5. Configured etc/sudoers file
  6. Tested the camera. I was able to trigger a capture and the file was downloaded and stored in the current folder
  7. Created the snapshots.sh script. Copied and pasted code from the link mentioned in Step #1
  8. Configured camera profile and added the "Snapshot Acquire Script"
  9. Enabled test mode, enabled debug logging and started a test print
  10. Got an error notification "The 'DSLR - Snapshot Camera Script' process returned errors. See plugin_octolapse.log for details"

What should have happened?

Expected the snapshots to be stored and preview to build

What happened instead?

Everytime Octolapse took a snapshot, I got the error message mentioned in Step #9, and the "Failed Snapshots" number incremented. However, I was able to see the latest snapshot in the preview window When I click on the "View larger version of the preview" button, I see a foggy screen with a big message "No snapshots have been taken with the current camera..."

Operating System running OctoPrint and Octolapse

OS Name: OctoPrint Os Version: 1.9.3

Printer model & used firmware incl. version

Printer Model: Prusa i3 Mk4 Printer Firmware Version: 5.1.3

Browser and version of browser, operating system running browser

Browser: Chrome Browser OS: 123.0.6312.106 (Official Build) (64-bit)

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: https://gist.github.com/graaja/2ce9b0f65fd0493d57dfd0ddbd5ef518

Link to settings.json

Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: https://gist.github.com/graaja/252285b5f289bb783a0da0ab98401a34

Link to octoprint.log

Link to octoprint.log: https://gist.github.com/graaja/f93e2253ea14d3bbaa71b59c8a27ae91

Link to contents of Javascript console in the browser

Link to javascript console output: _REPLACE_THISLINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: Screenshot

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

graaja commented 7 months ago

Found a mistake in the copy paste of the script file. Fixed this and now the snapshots are happening fine.

image