Open Alex-developer opened 1 week ago
2024-06-29T00:11:34.589094+01:00 allsky allsky[4019154]: INFO: Adding text field 'Fan State: Off (Fan State: ${GPIOSTATE1})' took 0.000797 seconds. Elapsed time 0.114022 seconds 2024-06-29T00:11:34.589111+01:00 allsky allsky[4019154]: INFO: Adding All Text Fields took 0.027071 seconds. Elapsed time 0.141093 seconds 2024-06-29T00:11:34.589130+01:00 allsky allsky[4019154]: Traceback (most recent call last): 2024-06-29T00:11:34.589144+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/flow-runner.py", line 203, in <module> 2024-06-29T00:11:34.589196+01:00 allsky allsky[4019154]: result = globals()[method](arguments, shared.args.event) 2024-06-29T00:11:34.589213+01:00 allsky allsky[4019154]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-29T00:11:34.589228+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 1443, in overlay 2024-06-29T00:11:34.589243+01:00 allsky allsky[4019154]: annotater.annotate() 2024-06-29T00:11:34.589258+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 1425, in annotate 2024-06-29T00:11:34.589274+01:00 allsky allsky[4019154]: self._addImages() 2024-06-29T00:11:34.589360+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 925, in _addImages 2024-06-29T00:11:34.589384+01:00 allsky allsky[4019154]: self._doAddImage(imageData) 2024-06-29T00:11:34.589407+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 965, in _doAddImage 2024-06-29T00:11:34.589423+01:00 allsky allsky[4019154]: self._image = self._overlay_transparent(imageName, self._image, image, imageX, imageY, imageData) 2024-06-29T00:11:34.589438+01:00 allsky allsky[4019154]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-06-29T00:11:34.589453+01:00 allsky allsky[4019154]: File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 1011, in _overlay_transparent 2024-06-29T00:11:34.589467+01:00 allsky allsky[4019154]: background[y:y+h, x:x+w] = (1.0 - mask) * background[y:y+h, x:x+w] + mask * overlay_image 2024-06-29T00:11:34.589481+01:00 allsky allsky[4019154]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2024-06-29T00:11:34.589500+01:00 allsky allsky[4019154]: ValueError: operands could not be broadcast together with shapes (6,6,6) (6,6,3) 2024-06-29T00:11:35.458471+01:00 allsky allsky[4019115]: NUM_IMAGES=18: Not creating mini-timelapse: 2 images(s) left in frequency.
Need to add some logic to trap errors when adding images
Need to add some logic to trap errors when adding images