Re: Request for Adding Supported Cameras
Shay Yederman <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.devel |
|---|---|
| Message-ID | <CAAKtSYDfDJg5Se-nDV0hhoxLGO50wm4ODTFEb9pusQkG7Z8V-w@mail.gmail.com> |
Hi dear Marcus, yes I did :) I've managed to make my first timelapse video using octopi and the Sony camera. Currently I'm having some power supply issues - I keep getting an undervoltage message which I believe affects the function and performance of the timelapses. By setting two cameras (webcam and the professional Sony camera) I'm getting many errors. Most of them are due to the fact that the OctoPrint cannot capture snapshots and render timelapse. Here is a screenshot of the errors: [image: image.png] In addition, I've downloaded the plugin_octolapse.log file and attached it here. Do you think that these errors can be caused due to other reasons? should I check for other stuff besides the power adapter? Thanks! Shay Y. בתאריך יום ב׳, 15 בנוב׳ 2021 ב-20:05 מאת Marcus Meissner < [email protected]>: > Hi, > > Does it work in this mode with --capture-image? and --capture-preview? > > Ciao, Marcus > On Sat, Nov 13, 2021 at 06:13:10PM +0200, Shay Yederman wrote: > > Dear Marcus, > > > > My apologies for rushing into replying to you before checking up > everything > > from my end. > > I've managed to find the way to define the USB connection as PC Control > > and, to my fortune, I can detect the camera: > > > > pi@octopi:~ $ gphoto2 --auto-detect > > Model Port > > ---------------------------------------------------------- > > USB PTP Class Camera usb:001,014 > > > > > > Thank you for your quick and effective guidance! > > Shay Y. > > > > > > בתאריך שבת, 13 בנוב׳ 2021 ב-18:00 מאת Shay Yederman < > > [email protected]>: > > > > > Hi Marcus, > > > > > > Thanks for the quick answer! > > > That the output I've got regarding the version: > > > > > > pi@octopi:~ $ gphoto2 --version > > > gphoto2 2.5.20 > > > > > > Copyright (c) 2000-2018 Lutz Mueller and others > > > > > > gphoto2 comes with NO WARRANTY, to the extent permitted by law. > You > > > may > > > redistribute copies of gphoto2 under the terms of the GNU General > > > Public > > > License. For more information about these matters, see the files > > > named COPYING. > > > > > > This version of gphoto2 is using the following software versions > and > > > options: > > > gphoto2 2.5.20 gcc, popt(m), exif, cdk, aa, jpeg, > > > readline > > > libgphoto2 2.5.22 all camlibs, gcc, ltdl, EXIF > > > libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 > > > usbdiskdirect usbs csi, gcc, ltdl, USB, serial without > > > locking > > > > > > > > > As for the PC control option you've mentioned - It seems that I cannot > > > locate it on my camera. > > > Can you guide me in where (which Manu) should I look for such an > option? > > > Or maybe you can refer me to some video on YouTube etc. ? > > > > > > > > > Thanks in advance, > > > Shay Yederman. > > > > > > > > > בתאריך שבת, 13 בנוב׳ 2021 ב-15:58 מאת Marcus Meissner < > > > [email protected]>: > > > > > >> Hi, > > >> > > >> The A6400 is already listed. > > >> > > >> What libgphoto2 version do you have? > > >> > > >> use gphoto2 --version > > >> > > >> > > >> You need to switch it to "PC Control" in its USB Menu mode to allow > > >> remote control. > > >> > > >> Ciao, Marcus > > >> > > > > _______________________________________________ Gphoto-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-devel
image.png
(image/png, 83.7 KB) - not displayed
plugin_octolapse.log
(application/octet-stream, 28.6 KB)
2021-11-12 17:05:47,437 - octolapse.__init__ - INFO - Started logging to file.
2021-11-12 17:05:47,443 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-12 17:05:47,481 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-12 17:05:47,558 - octolapse.settings - INFO - Settings created from iterable.
2021-11-12 17:05:47,560 - octolapse.settings - INFO - Settings file loaded.
2021-11-12 17:18:47,056 - octolapse.__init__ - INFO - Started logging to file.
2021-11-12 17:18:47,061 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-12 17:18:47,098 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-12 17:18:47,172 - octolapse.settings - INFO - Settings created from iterable.
2021-11-12 17:18:47,173 - octolapse.settings - INFO - Settings file loaded.
2021-11-12 17:26:59,161 - octolapse.__init__ - INFO - Started logging to file.
2021-11-12 17:26:59,166 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-12 17:26:59,204 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-12 17:26:59,276 - octolapse.settings - INFO - Settings created from iterable.
2021-11-12 17:26:59,278 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 09:36:59,392 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 09:36:59,411 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 09:36:59,530 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 09:36:59,678 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 09:36:59,679 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 09:41:12,958 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 09:41:12,963 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 09:41:13,001 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 09:41:13,077 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 09:41:13,078 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 09:47:49,877 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 09:47:49,882 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 09:47:49,919 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 09:47:50,023 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 09:47:50,024 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 11:41:08,910 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 11:41:08,919 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 11:41:08,966 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 11:41:09,075 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 11:41:09,076 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 11:58:22,840 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 11:58:23,365 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 11:58:23,988 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 11:58:24,113 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 11:58:24,114 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 12:45:55,806 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 12:45:55,810 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 12:45:55,846 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 12:45:55,917 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 12:45:55,918 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 12:49:05,553 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 12:49:05,559 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 12:49:05,603 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 12:49:05,678 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 12:49:05,679 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 15:49:08,830 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 15:49:08,834 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 15:49:08,870 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 15:49:08,940 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 15:49:08,941 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 15:49:29,073 - octolapse.settings_external - ERROR - Could not retrieve the settings file from the server! Using cached version.
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/settings_external.py", line 43, in get_available_profiles
profiles_dict = ExternalSettings._get_profiles_from_server(current_octolapse_version)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/settings_external.py", line 83, in _get_profiles_from_server
settings_version = ExternalSettings._get_best_settings_version(current_octolapse_version)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/settings_external.py", line 217, in _get_best_settings_version
versions = ExternalSettings._get_versions()["versions"]
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/settings_external.py", line 260, in _get_versions
raise ExternalSettingsError('profiles-retrieval-error', message, cause=e)
ExternalSettingsError: profiles-retrieval-error: An error occurred while retrieving profiles from the server. - Inner Exception: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /FormerLurker/Octolapse-Profiles/master/versions.json?nonce=7ee85e1d33a24efeb044f4a020eaf741 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6c21e370>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2021-11-13 16:22:18,138 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 16:22:18,143 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 16:22:18,181 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 16:22:18,253 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 16:22:18,254 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 16:22:58,716 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 16:22:58,721 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 16:22:58,759 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 16:22:58,844 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 16:22:58,845 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 16:33:22,702 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 16:33:22,711 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 16:33:22,773 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 16:33:22,849 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 16:33:22,850 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 16:47:04,014 - octolapse.camera - ERROR - Unable to connect to the provided snapshot URL of http://127.0.0.1:8080/?action=snapshot for the 'Logitec_Camera' camera profile.
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/camera.py", line 566, in _test_web_camera
r = utility.requests_retry_session(session=s).request("GET", url, timeout=timeout_seconds)
File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /?action=snapshot (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x6625b670>: Failed to establish a new connection: [Errno 111] Connection refused',))
2021-11-13 19:54:05,203 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 19:54:05,209 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 19:54:05,251 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 19:54:05,465 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 19:54:05,619 - octolapse.settings - INFO - Settings file loaded.
2021-11-13 20:14:00,058 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/9f42bb73-98c9-4e97-88b6-24df4bb3704f/1514299c-bfba-42ad-815d-9b000c08cec6/Support_poly2_start000000.jpg'.
2021-11-13 20:24:12,957 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP I/O Error
2021-11-13 20:17:30,113 - octolapse.__init__ - INFO - Started logging to file.
2021-11-13 20:17:30,118 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-13 20:17:30,156 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-13 20:17:30,230 - octolapse.settings - INFO - Settings created from iterable.
2021-11-13 20:17:30,232 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 01:16:12,337 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/3c9afd6b-0e8f-4165-9359-e341064c2f3c/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 01:16:56,925 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/3c9afd6b-0e8f-4165-9359-e341064c2f3c/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000001.jpg'.
2021-11-14 01:17:36,138 - octolapse.timelapse - ERROR - The snapshot position is None. Either the print has cancelled or a timeout has been reached.
2021-11-14 01:17:36,764 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/3c9afd6b-0e8f-4165-9359-e341064c2f3c/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000002.jpg'.
2021-11-14 01:17:46,315 - octolapse.render - ERROR - Rendering Error
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1519, in _render
self._check_image_count()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1888, in _check_image_count
"No snapshots were available for the '{0}' camera profile.".format(self._render_job_info.camera.name)
RenderError: insufficient-images: No snapshots were available for the 'Sony Alpha-A6400 Camera' camera profile.
2021-11-14 01:18:32,170 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/tmp/tmpNhfZkt/658a8440-cc56-4327-bd7e-4f69aed016c5/bcf7c97b-7c69-4750-b972-3f0ad5d723cc/test_snapshot000000.jpg'.
2021-11-14 01:17:30,924 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 01:17:30,940 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 01:17:30,991 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 01:17:31,066 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 01:17:31,067 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 01:27:48,833 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b2f6f7fa-ed74-4f85-8d7a-158f7081dd31/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 01:28:33,381 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b2f6f7fa-ed74-4f85-8d7a-158f7081dd31/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000001.jpg'.
2021-11-14 01:29:14,896 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b2f6f7fa-ed74-4f85-8d7a-158f7081dd31/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000002.jpg'.
2021-11-14 01:29:54,785 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b2f6f7fa-ed74-4f85-8d7a-158f7081dd31/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000003.jpg'.
2021-11-14 01:30:32,789 - octolapse.timelapse - ERROR - The snapshot position is None. Either the print has cancelled or a timeout has been reached.
2021-11-14 01:30:33,450 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b2f6f7fa-ed74-4f85-8d7a-158f7081dd31/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000004.jpg'.
2021-11-14 01:30:42,992 - octolapse.render - ERROR - Rendering Error
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1519, in _render
self._check_image_count()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1888, in _check_image_count
"No snapshots were available for the '{0}' camera profile.".format(self._render_job_info.camera.name)
RenderError: insufficient-images: No snapshots were available for the 'Sony Alpha-A6400 Camera' camera profile.
2021-11-14 09:53:54,487 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 09:53:54,494 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 09:53:54,531 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 09:53:54,609 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 09:53:54,611 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 10:05:08,756 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
2021-11-14 10:05:08,953 - octolapse.snapshot - ERROR - An unexpected exception occurred while creating a snapshot thumbnail for the Sony Alpha-A6400 Camera camera.
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/snapshot.py", line 470, in create_thumbnail
with Image.open(latest_snapshot_path) as img:
File "/home/pi/oprint/local/lib/python2.7/site-packages/PIL/Image.py", line 2818, in open
raise IOError("cannot identify image file %r" % (filename if filename else fp))
IOError: cannot identify image file u'/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/latest_1514299c-bfba-42ad-815d-9b000c08cec6.jpeg'
2021-11-14 10:06:35,189 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP I/O Error
2021-11-14 10:08:04,876 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/9c25c0fa-7724-4792-8b09-8ce1264a6f67/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000002.jpg'.
2021-11-14 10:08:15,229 - octolapse.render - ERROR - The file at path /home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/9c25c0fa-7724-4792-8b09-8ce1264a6f67/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg is not a valid image file, could not be converted, and has been removed.
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1766, in convert_and_copy_snapshot_image
with Image.open(file_path) as img:
File "/home/pi/oprint/local/lib/python2.7/site-packages/PIL/Image.py", line 2818, in open
raise IOError("cannot identify image file %r" % (filename if filename else fp))
IOError: cannot identify image file u'/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/9c25c0fa-7724-4792-8b09-8ce1264a6f67/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'
2021-11-14 10:08:17,532 - octolapse.render - ERROR - Rendering Error
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1519, in _render
self._check_image_count()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/render.py", line 1882, in _check_image_count
self._render_job_info.camera.name, self._images_removed_count
RenderError: insufficient-images: Not enough snapshots were found to generate a timelapse for the 'Sony Alpha-A6400 Camera' camera profile.
2021-11-14 20:17:29,607 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 20:17:29,676 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 20:17:29,716 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 20:17:29,860 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 20:17:29,862 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 20:20:03,617 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 20:20:03,623 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 20:20:03,663 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 20:20:03,742 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 20:20:03,743 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 20:28:16,895 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/0f617df3-ff5f-4750-9ce5-7f0a8f94f597/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 20:29:57,314 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 20:29:57,320 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 20:29:57,358 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 20:29:57,446 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 20:29:57,459 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 20:35:00,597 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/dacf9e8d-d3d2-4d37-b652-24ee27f23920/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 20:41:34,985 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/be6cc676-fa4d-4356-bb99-20b391ab0b85/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 20:42:19,579 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/be6cc676-fa4d-4356-bb99-20b391ab0b85/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000001.jpg'.
2021-11-14 20:43:01,124 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/be6cc676-fa4d-4356-bb99-20b391ab0b85/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000002.jpg'.
2021-11-14 20:39:57,011 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 20:39:57,020 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 20:39:57,061 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 20:39:57,153 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 20:39:57,154 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 20:50:01,300 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error (-52: 'Could not find the requested device on the USB port') ***
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/93305521-d63a-4e5f-b8bb-1e0f801a08e1/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000000.jpg'.
2021-11-14 20:56:52,659 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 20:56:52,665 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 20:56:52,703 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 20:56:52,784 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 20:56:52,785 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 23:17:31,213 - octolapse.__init__ - INFO - Started logging to file.
2021-11-14 23:17:31,220 - octolapse.settings - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2021-11-14 23:17:31,260 - octolapse.settings - INFO - Creating settings from iterable.
2021-11-14 23:17:31,334 - octolapse.settings - INFO - Settings created from iterable.
2021-11-14 23:17:31,335 - octolapse.settings - INFO - Settings file loaded.
2021-11-14 23:44:26,629 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
*** Error ***
You need to specify a folder starting with /store_xxxxxxxxx/
ERROR: Could not get image.
2021-11-14 23:44:27,035 - octolapse.snapshot - ERROR - An unexpected exception occurred while creating a snapshot thumbnail for the Sony Alpha-A6400 Camera camera.
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse/snapshot.py", line 470, in create_thumbnail
with Image.open(latest_snapshot_path) as img:
File "/home/pi/oprint/local/lib/python2.7/site-packages/PIL/Image.py", line 2818, in open
raise IOError("cannot identify image file %r" % (filename if filename else fp))
IOError: cannot identify image file u'/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/latest_1514299c-bfba-42ad-815d-9b000c08cec6.jpeg'
2021-11-14 23:45:52,957 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP I/O Error
2021-11-14 23:47:22,611 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b6c58d28-6a0e-47c1-b2ae-b0e5a6205444/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000002.jpg'.
2021-11-14 23:48:50,551 - octolapse.script - ERROR - Error output (stderr) for 'Sony Alpha-A6400 Camera - Snapshot Camera Script':
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error ***
PTP Timeout
*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): The supplied vendor or product id (0x0,0x0) is not valid.
The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/b6c58d28-6a0e-47c1-b2ae-b0e5a6205444/1514299c-bfba-42ad-815d-9b000c08cec6/Retract_Tower_Testing000003.jpg'.