-
Notifications
You must be signed in to change notification settings - Fork 158
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
Camera and GPIO error after a while #197
Open
Tinker232
wants to merge
4
commits into
reuterbal:master
Choose a base branch
from
websta911:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello,
I have the same problem, I experienced it after a few minutes of idling.
Since it is working the first few times, and after some idle time happens.
I am not really sure if the problem is in the photobooth code or the
gphoto. I assume you are using the recent version of that.
I was also not able to figure that out, but want to. I updated to the
latest version of gphoto, upgraded the firmware of the camera, was not sure
if that is the problem.
I want to try some things to nail the problem, and I am leaning towards
gphoto or python library beeing the issue
Try controlling the camera via terminal gphoto. And see if there is also an
issue when idling.
Test the remote control via python and libghoto library.
Try using an other camera just to be sure it is not the camera.
If I am able to find the motivation and time I will tell you about it. But
if you try first I would like to read your findings.
Regards
Christoph
…On Fri, Oct 25, 2019, 14:32 Tinker232 ***@***.***> wrote:
Hey,
I use the modified version from @websta911 <https://github.com/websta911>
with fancy layouts etc. with my raspberrypi4 and a canon selphy1300
(connected via wifi).
The photobooth works fine, but when the photobooth is not used for
approximately 30/40 minutes and someone hits the button, there is no live
picture from the camera and short time later an error occurs. (Camera and
GPIO)
*Screenshots/Screencast*
[image: Bilder-Upload.eu - share DEINE Bilder]
<https://www.bilder-upload.eu/bild-b01312-1571784171.png.html>
*Hardware (please complete the following information)*
- Raspberry PI4
- Camera 70D
- Canon Selphy CP1300
- GPIO: [No]
*Photobooth log*
2019-10-15 21:16:51,997 - root - INFO - Initializing photobooth
2019-10-15 21:16:51,997 - root - INFO - Photobooth version: 0.5.dev6+g871b526
2019-10-15 21:16:51,998 - root - INFO - Reading config file "/home/pi/photobooth/photobooth/defaults.cfg"
2019-10-15 21:16:52,001 - root - INFO - Reading config file "photobooth.cfg"
2019-10-15 21:16:52,051 - root - INFO - GPIO disabled
2019-10-15 21:16:52,069 - root - INFO - Number of last existing file: 35
2019-10-15 21:16:52,074 - root - INFO - Saving pictures as "2019-10-15/photoboothXXXXX.jpg"
2019-10-15 21:16:52,081 - root - INFO - Number of last existing file: 0
2019-10-15 21:16:52,083 - root - INFO - Saving pictures as "2019-10-15/src/photobooth_shot_XXXXX.jpg"
2019-10-15 21:16:52,087 - root - INFO - fancy "False"
2019-10-15 21:16:52,843 - root - INFO - Using printer "Canon_SELPHY_CP1300"
2019-10-15 21:16:54,117 - root - INFO - Using python-gphoto2 bindings
2019-10-15 21:16:54,403 - root - INFO - Camera summary: Manufacturer: Canon Inc.
Model: Canon EOS 70D
Version: 3-1.1.1
Serial Number: f1266c86fd7c41cf848c8b4d6f39d057
Vendor Extension ID: 0xb (1.0)
Capture Formats: JPEG
Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104), Unknown(b105)
Device Capabilities:
File Download, File Deletion, File Upload
No Image Capture, No Open Capture, Canon EOS Capture, Canon EOS Capture 2
Canon Wifi support
Storage Devices Summary:
store_00020001:
StorageDescription: SD
VolumeLabel: None
Storage Type: Removable RAM (memory card)
Filesystemtype: Digital Camera Layout (DCIM)
Access Capability: Read-Write
Maximum Capability: 31037849600 (29600 MB)
Free Space (Bytes): 20006240256 (19079 MB)
Free Space (Images): -1
Device Property Summary:
Model ID(0xd049):(read only) (type=0x6) 2147484453
Property 0xd402:(read only) (type=0xffff) 'Canon EOS 70D'
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'
Property 0xd303:(read only) (type=0x2) 1
Battery Level(0x5001):(read only) (type=0x2) Enumeration [100,0,75,0,50] value: 100% (100)
2019-10-15 21:16:54,614 - root - INFO - Loading camera config "canoneos70d.cfg"
2019-10-15 21:16:54,638 - root - INFO - Camera configuration:
Camera Actions [actions]:
Synchronize camera date and time with PC [syncdatetimeutc]: 0
Synchronize camera date and time with PC [syncdatetime]: 0
UI Lock [uilock]: 2
Drive Canon DSLR Autofocus [autofocusdrive]: 0
Drive Canon DSLR Manual focus [manualfocusdrive]: None (Near 1, Near 2, Near 3, None, Far 1, Far 2, Far 3, )
Cancel Canon DSLR Autofocus [cancelautofocus]: 0
Canon EOS Zoom [eoszoom]: 0
Canon EOS Zoom Position [eoszoomposition]: 0,0
Canon EOS Viewfinder [viewfinder]: 2
Canon EOS Remote Release [eosremoterelease]: None (None, Press Half, Press Full, Release Half, Release Full, Immediate, Press 1, Press 2, Press 3, Release 1, Release 2, Release 3, )
PTP Opcode [opcode]: 0x1001,0xparam1,0xparam2
Camera Settings [settings]:
Camera Date and Time [datetimeutc]: 1571774696
Camera Date and Time [datetime]: 1571774696
Quick Review Time [reviewtime]: None (None, 2 seconds, 4 seconds, 8 seconds, Hold, )
Camera Output [output]: PC (Off, TFT, PC, TFT + PC, Setting 4, Setting 5, Setting 6, Setting 7, Unknown value 0008, Unknown value 0009, Unknown value 000a, Unknown value 000b, )
Recording Destination [movierecordtarget]: Unknown value 0003 (Unknown value 0003, )
EVF Mode [evfmode]: 1 (1, 0, )
Owner Name [ownername]:
Artist [artist]:
Copyright [copyright]:
Custom Functions Ex [customfuncex]: 90,1,4,84,4,706,1,0,70f,2,0,2,40a,1,3,70c,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Focus Info [focusinfo]: eosversion=4,size=5472x3648,size2=5472x3648,points={{-1395,0,277,229},{-897,401,277,229},{-897,0,277,229},{-897,-401,277,229},{-399,401,277,229},{-399,0,277,229},{-399,-401,277,229},{0,755,277,229},{0,401,277,229},{0,0,277,229},{0,-401,277,229},{0,-755,277,229},{399,401,277,229},{399,0,277,229},{399,-401,277,229},{897,401,277,229},{897,0,277,229},{897,-401,277,229},{1395,0,277,229}},select={},unknown={ffff070000000000ffff}
Focus Area [focusarea]: 7
Auto Power Off [autopoweroff]: 0
Depth of Field [depthoffield]: 0
Capture Target [capturetarget]: Internal RAM (Internal RAM, Memory card, )
Capture [capture]: 0
Camera Status Information [status]:
Serial Number [serialnumber]: f1266c86fd7c41cf848c8b4d6f39d057
Camera Manufacturer [manufacturer]: Canon Inc.
Camera Model [cameramodel]: Canon EOS 70D
Device Version [deviceversion]: 3-1.1.1
Vendor Extension [vendorextension]: None
Camera Model [model]: 2147484453
PTP Version [ptpversion]: 256
Battery Level []: 100%
Battery Level [batterylevel]: 100%
Lens Name [lensname]: EF-S18-135mm f/3.5-5.6 IS STM
Serial Number [eosserialnumber]: 333058000085
Shutter Counter [shuttercounter]: 6853
Available Shots [availableshots]: 671086
Image Settings [imgsettings]:
Image Format [imageformat]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
Image Format SD [imageformatsd]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
Image Format CF [imageformatcf]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
ISO Speed [iso]: Auto (Auto, )
Color Temperature [colortemperature]: 5200
WhiteBalance X A [whitebalancexa]: 0
WhiteBalance X B [whitebalancexb]: 0
Color Space [colorspace]: sRGB (sRGB, )
Capture Settings [capturesettings]:
Focus Mode [focusmode]: One Shot (One Shot, )
Continuous AF [continuousaf]: Off (Off, On, )
Aspect Ratio [aspectratio]: 3:2 (3:2, )
Storage Device [storageid]: 00020001
High ISO Noise Reduction [highisonr]: Off (Off, )
Canon Auto Exposure Mode [autoexposuremode]: Unknown value 0016 (P, TV, AV, Manual, Bulb, A_DEP, DEP, Custom, Lock, Green, Night Portrait, Sports, Portrait, Landscape, Closeup, Flash Off, Unknown value 0016, )
Drive Mode [drivemode]: Single (Single, Continuous high speed, Continuous low speed, Single silent, Continuous silent, Timer 10 sec, Timer 2 sec, )
Aperture [aperture]: implicit auto (implicit auto, )
Shutter Speed [shutterspeed]: auto (auto, )
Bracket Mode [bracketmode]: 0
Auto Exposure Bracketing [aeb]: off (off, )
Other PTP Device Properties [other]:
Model ID [d049]: -2147482843
PTP Property 0xd402 [d402]: Canon EOS 70D
PTP Property 0xd407 [d407]: 1
PTP Property 0xd406 [d406]: Unknown Initiator
PTP Property 0xd303 [d303]: 1
Battery Level [5001]: 100 (100, 0, 75, 0, 50, )
2019-10-15 21:16:54,639 - root - INFO - Using camera with preview functionality
2019-10-15 21:16:56,514 - root - INFO - _skip: "[4]"
2019-10-15 21:16:56,515 - root - INFO - Adding Logo : "False"
2019-10-15 21:16:56,515 - root - INFO - Using logo "/home/pi/Bilder/1024px-logo.png"
2019-10-15 21:16:56,515 - root - INFO - Using background "/home/pi/photobooth/supplementals/backgrounds/Fotopaper_background_forever_59.jpg"
2019-10-15 21:17:21,616 - root - INFO - Pic "0"
2019-10-15 21:17:21,690 - root - INFO - Pic "1"
2019-10-15 21:17:21,758 - root - INFO - Pic "2"
2019-10-15 21:17:21,907 - root - INFO - Saving picture as 2019-10-15/photobooth00036.jpg
2019-10-15 23:12:30,440 - root - ERROR - CameraProcess: Exception "[-1] Unspecified error"
Traceback (most recent call last):
File "/home/pi/photobooth/photobooth/main.py", line 66, in run
if cap.run():
File "/home/pi/photobooth/photobooth/camera/__init__.py", line 109, in run
self.handleState(state)
File "/home/pi/photobooth/photobooth/camera/__init__.py", line 120, in handleState
self.capturePreview()
File "/home/pi/photobooth/photobooth/camera/__init__.py", line 146, in capturePreview
picture = self._cap.getPreview()
File "/home/pi/photobooth/photobooth/camera/CameraGphoto2.py", line 134, in getPreview
camera_file = self._cap.capture_preview()
gphoto2.GPhoto2Error: [-1] Unspecified error
2019-10-15 23:12:30,459 - root - ERROR - Camera: [-1] Unspecified error
2019-10-15 23:12:31,000 - root - ERROR - Main: Exception "Unknown Event type "capture""
Traceback (most recent call last):
File "/home/pi/photobooth/photobooth/main.py", line 164, in mainloop
exit_code = context.handleEvent(event)
File "/home/pi/photobooth/photobooth/StateMachine.py", line 84, in handleEvent
self.state.handleEvent(event, self)
File "/home/pi/photobooth/photobooth/StateMachine.py", line 289, in handleEvent
raise TypeError('Unknown Event type "{}"'.format(event))
TypeError: Unknown Event type "capture"
2019-10-15 23:12:31,009 - root - ERROR - Gpio: Unknown Event type "capture"
2019-10-15 23:13:43,560 - root - ERROR - Main: Exception "Unknown Event type "abort""
Traceback (most recent call last):
File "/home/pi/photobooth/photobooth/main.py", line 164, in mainloop
exit_code = context.handleEvent(event)
File "/home/pi/photobooth/photobooth/StateMachine.py", line 84, in handleEvent
self.state.handleEvent(event, self)
File "/home/pi/photobooth/photobooth/StateMachine.py", line 359, in handleEvent
raise TypeError('Unknown Event type "{}"'.format(event))
TypeError: Unknown Event type "abort"
2019-10-15 23:13:43,579 - root - ERROR - Gpio: Unknown Event type "abort"
2019-10-15 23:14:30,861 - root - INFO - Writing config file "photobooth.cfg"
2019-10-15 23:14:30,921 - root - INFO - Restarting photobooth and reloading config
2019-10-15 23:14:30,924 - root - INFO - Photobooth version: 0.5.dev6+g871b526
2019-10-15 23:14:30,926 - root - INFO - Reading config file "/home/pi/photobooth/photobooth/defaults.cfg"
2019-10-15 23:14:30,934 - root - INFO - Reading config file "photobooth.cfg"
2019-10-15 23:14:31,012 - root - INFO - Number of last existing file: 36
2019-10-15 23:14:31,015 - root - INFO - Saving pictures as "2019-10-15/photoboothXXXXX.jpg"
2019-10-15 23:14:31,017 - root - INFO - Number of last existing file: 0
2019-10-15 23:14:31,018 - root - INFO - Saving pictures as "2019-10-15/src/photobooth_shot_XXXXX.jpg"
2019-10-15 23:14:31,019 - root - INFO - GPIO disabled
2019-10-15 23:14:31,047 - root - INFO - fancy "False"
2019-10-15 23:14:31,773 - root - INFO - Using printer "Canon_SELPHY_CP1300"
2019-10-15 23:14:33,633 - root - INFO - Using python-gphoto2 bindings
2019-10-15 23:14:33,894 - root - INFO - Camera summary: Manufacturer: Canon Inc.
Model: Canon EOS 70D
Version: 3-1.1.1
Serial Number: f1266c86fd7c41cf848c8b4d6f39d057
Vendor Extension ID: 0xb (1.0)
Capture Formats: JPEG
Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104), Unknown(b105)
Device Capabilities:
File Download, File Deletion, File Upload
No Image Capture, No Open Capture, Canon EOS Capture, Canon EOS Capture 2
Canon Wifi support
Storage Devices Summary:
store_00020001:
StorageDescription: SD
VolumeLabel: None
Storage Type: Removable RAM (memory card)
Filesystemtype: Digital Camera Layout (DCIM)
Access Capability: Read-Write
Maximum Capability: 31037849600 (29600 MB)
Free Space (Bytes): 20006240256 (19079 MB)
Free Space (Images): -1
Device Property Summary:
Model ID(0xd049):(read only) (type=0x6) 2147484453
Property 0xd402:(read only) (type=0xffff) 'Canon EOS 70D'
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'
Property 0xd303:(read only) (type=0x2) 1
Battery Level(0x5001):(read only) (type=0x2) Enumeration [100,0,75,0,50] value: 100% (100)
2019-10-15 23:14:34,027 - root - INFO - Loading camera config "canoneos70d.cfg"
2019-10-15 23:14:34,033 - root - INFO - Camera configuration:
Camera Actions [actions]:
Synchronize camera date and time with PC [syncdatetimeutc]: 0
Synchronize camera date and time with PC [syncdatetime]: 0
UI Lock [uilock]: 2
Drive Canon DSLR Autofocus [autofocusdrive]: 0
Drive Canon DSLR Manual focus [manualfocusdrive]: None (Near 1, Near 2, Near 3, None, Far 1, Far 2, Far 3, )
Cancel Canon DSLR Autofocus [cancelautofocus]: 0
Canon EOS Zoom [eoszoom]: 0
Canon EOS Zoom Position [eoszoomposition]: 0,0
Canon EOS Viewfinder [viewfinder]: 2
Canon EOS Remote Release [eosremoterelease]: None (None, Press Half, Press Full, Release Half, Release Full, Immediate, Press 1, Press 2, Press 3, Release 1, Release 2, Release 3, )
PTP Opcode [opcode]: 0x1001,0xparam1,0xparam2
Camera Settings [settings]:
Camera Date and Time [datetimeutc]: 1571781755
Camera Date and Time [datetime]: 1571781755
Quick Review Time [reviewtime]: None (None, 2 seconds, 4 seconds, 8 seconds, Hold, )
Camera Output [output]: Off (Off, TFT, PC, TFT + PC, Setting 4, Setting 5, Setting 6, Setting 7, Unknown value 0008, Unknown value 0009, Unknown value 000a, Unknown value 000b, )
Recording Destination [movierecordtarget]: None (None, )
EVF Mode [evfmode]: 1 (1, 0, )
Owner Name [ownername]:
Artist [artist]:
Copyright [copyright]:
Custom Functions Ex [customfuncex]: 90,1,4,84,4,706,1,0,70f,2,0,2,40a,1,3,70c,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Focus Info [focusinfo]: eosversion=4,size=5472x3648,size2=5472x3648,points={{-1395,0,277,229},{-897,401,277,229},{-897,0,277,229},{-897,-401,277,229},{-399,401,277,229},{-399,0,277,229},{-399,-401,277,229},{0,755,277,229},{0,401,277,229},{0,0,277,229},{0,-401,277,229},{0,-755,277,229},{399,401,277,229},{399,0,277,229},{399,-401,277,229},{897,401,277,229},{897,0,277,229},{897,-401,277,229},{1395,0,277,229}},select={},unknown={ffff070000000000ffff}
Focus Area [focusarea]: 7
Auto Power Off [autopoweroff]: 0
Depth of Field [depthoffield]: 0
Capture Target [capturetarget]: Internal RAM (Internal RAM, Memory card, )
Capture [capture]: 0
Camera Status Information [status]:
Serial Number [serialnumber]: f1266c86fd7c41cf848c8b4d6f39d057
Camera Manufacturer [manufacturer]: Canon Inc.
Camera Model [cameramodel]: Canon EOS 70D
Device Version [deviceversion]: 3-1.1.1
Vendor Extension [vendorextension]: None
Camera Model [model]: 2147484453
PTP Version [ptpversion]: 256
Battery Level []: 100%
Battery Level [batterylevel]: 100%
Lens Name [lensname]: EF-S18-135mm f/3.5-5.6 IS STM
Serial Number [eosserialnumber]: 333058000085
Shutter Counter [shuttercounter]: 6853
Available Shots [availableshots]: 671086
Image Settings [imgsettings]:
Image Format [imageformat]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
Image Format SD [imageformatsd]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
Image Format CF [imageformatcf]: Smaller JPEG (Large Fine JPEG, Large Normal JPEG, Medium Fine JPEG, Medium Normal JPEG, Small Fine JPEG, Small Normal JPEG, Smaller JPEG, Tiny JPEG, RAW + Large Fine JPEG, RAW + Large Normal JPEG, RAW + Medium Fine JPEG, RAW + Medium Normal JPEG, RAW + Small Fine JPEG, RAW + Small Normal JPEG, RAW + Smaller JPEG, RAW + Tiny JPEG, mRAW + Large Fine JPEG, mRAW + Large Normal JPEG, mRAW + Medium Fine JPEG, mRAW + Medium Normal JPEG, mRAW + Small Fine JPEG, mRAW + Small Normal JPEG, mRAW + Smaller JPEG, mRAW + Tiny JPEG, sRAW + Large Fine JPEG, sRAW + Large Normal JPEG, sRAW + Medium Fine JPEG, sRAW + Medium Normal JPEG, sRAW + Small Fine JPEG, sRAW + Small Normal JPEG, sRAW + Smaller JPEG, sRAW + Tiny JPEG, RAW, mRAW, sRAW, )
ISO Speed [iso]: Auto (Auto, )
Color Temperature [colortemperature]: 5200
WhiteBalance X A [whitebalancexa]: 0
WhiteBalance X B [whitebalancexb]: 0
Color Space [colorspace]: sRGB (sRGB, )
Capture Settings [capturesettings]:
Focus Mode [focusmode]: AI Focus (AI Focus, )
Continuous AF [continuousaf]: Off (Off, On, )
Aspect Ratio [aspectratio]: 3:2 (3:2, )
Storage Device [storageid]: 00020001
High ISO Noise Reduction [highisonr]: Off (Off, )
Canon Auto Exposure Mode [autoexposuremode]: Unknown value 0016 (P, TV, AV, Manual, Bulb, A_DEP, DEP, Custom, Lock, Green, Night Portrait, Sports, Portrait, Landscape, Closeup, Flash Off, Unknown value 0016, )
Drive Mode [drivemode]: Single (Single, Continuous high speed, Continuous low speed, Single silent, Continuous silent, Timer 10 sec, Timer 2 sec, )
Aperture [aperture]: implicit auto (implicit auto, )
Shutter Speed [shutterspeed]: auto (auto, )
Bracket Mode [bracketmode]: 0
Auto Exposure Bracketing [aeb]: off (off, )
Other PTP Device Properties [other]:
Model ID [d049]: -2147482843
PTP Property 0xd402 [d402]: Canon EOS 70D
PTP Property 0xd407 [d407]: 1
PTP Property 0xd406 [d406]: Unknown Initiator
PTP Property 0xd303 [d303]: 1
Battery Level [5001]: 100 (100, 0, 75, 0, 50, )
2019-10-15 23:14:34,034 - root - INFO - Using camera with preview functionality
2019-10-15 23:14:36,122 - root - INFO - _skip: "[4]"
2019-10-15 23:14:36,129 - root - INFO - Adding Logo : "False"
2019-10-15 23:14:36,129 - root - INFO - Using logo "/home/pi/Bilder/1024px-logo.png"
2019-10-15 23:14:36,129 - root - INFO - Using background "/home/pi/photobooth/supplementals/backgrounds/Fotopaper_background_forever_59.jpg"
2019-10-15 23:15:03,754 - root - INFO - Pic "0"
2019-10-15 23:15:03,833 - root - INFO - Pic "1"
2019-10-15 23:15:03,906 - root - INFO - Pic "2"
2019-10-15 23:15:04,077 - root - INFO - Saving picture as 2019-10-15/photobooth00037.jpg
2019-10-15 23:35:57,121 - root - INFO - Exiting photobooth with status code 0
*Additional context*
Add any other context about the problem here.
------------------------------
You can view, comment on, or merge this pull request online at:
#197
Commit Summary
- My changes and extensions to new codebas added
- Update README.md
- Update INSTALL.md
File Changes
- *M* INSTALL.md
<https://github.com/reuterbal/photobooth/pull/197/files#diff-0> (6)
- *A* PBlogo.png
<https://github.com/reuterbal/photobooth/pull/197/files#diff-1> (0)
- *M* README.md
<https://github.com/reuterbal/photobooth/pull/197/files#diff-2> (2)
- *M* photobooth/camera/CameraPicamera.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-3> (3)
- *M* photobooth/camera/PictureDimensions.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-4> (27)
- *M* photobooth/camera/__init__.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-5> (244)
- *M* photobooth/defaults.cfg
<https://github.com/reuterbal/photobooth/pull/197/files#diff-6> (30)
- *M* photobooth/gui/Qt5Gui/Frames.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-7> (107)
- *M* photobooth/gui/Qt5Gui/__init__.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-8> (1)
- *M* photobooth/gui/Qt5Gui/stylesheets/dark-800x600.qss
<https://github.com/reuterbal/photobooth/pull/197/files#diff-9> (8)
- *A* photobooth/gui/Qt5Gui/stylesheets/dark_small.qss
<https://github.com/reuterbal/photobooth/pull/197/files#diff-10> (239)
- *M* photobooth/worker/__init__.py
<https://github.com/reuterbal/photobooth/pull/197/files#diff-11> (5)
Patch Links:
- https://github.com/reuterbal/photobooth/pull/197.patch
- https://github.com/reuterbal/photobooth/pull/197.diff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#197?email_source=notifications&email_token=AMQFTDGVDNWQ2E3NHCCRTNDQQLRMTA5CNFSM4JFCYSYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUL7MKA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMQFTDHZKALFSOEY7EH4AW3QQLRMTANCNFSM4JFCYSYA>
.
|
added if clause for enabling single pictures
@Tinker232 Check your camera settings and turn off the standby or sleep mode. On Canon settings its is called: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
I use the modified version from @websta911 with fancy layouts etc. with my raspberrypi4 and a canon selphy1300 (connected via wifi).
The photobooth works fine, but when the photobooth is not used for approximately 30/40 minutes and someone hits the button, there is no live picture from the camera and short time later an error occurs. (Camera and GPIO)
Screenshots/Screencast
Hardware (please complete the following information)
Photobooth log
Additional context
Add any other context about the problem here.