Camera App spams the journal with not very useful logs when the roll is empty
Tested on PinePhone.
When looking at the output of journalctl
after opening the Camera App when the camera roll is empty, the following error messages appear:
févr. 04 16:16:25 ubuntu-phablet aa-exec[78805]: QFileSystemWatcher::removePaths: list is empty
févr. 04 16:16:25 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:30:5: QML Item: Binding loop detected for property "height"
févr. 04 16:16:25 ubuntu-phablet aa-exec[78805]: file:///usr/lib/aarch64-linux-gnu/qt5/qml/Lomiri/Components/Popups/1.3/Popover.qml:250:9: QML Item: Binding loop detected for property "height"
févr. 04 16:16:25 ubuntu-phablet aa-exec[78805]: QFileSystemWatcher::addPaths: list is empty
févr. 04 16:16:25 ubuntu-phablet aa-exec[78805]: [PERFORMANCE]: Last frame took 39 ms to render.
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Photo.PixelYDimension' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Photo.PixelXDimension' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Photo.DateTimeOriginal' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.Model' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.Copyright' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.ExposureTime' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.FNumber' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.NewSubfileType' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/SlideshowView.qml:47: TypeError: Cannot read property 'isSelected' of null
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:62: TypeError: Cannot read property 'Exif.Photo.Flash' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/MediaInfoPopover.qml:11: TypeError: Cannot read property 'url' of undefined
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/SlideshowView.qml:388: TypeError: Cannot call method 'getMedia' of null
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/SlideshowView.qml:422: TypeError: Cannot read property 'actions' of null
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/OptionButton.qml:24:5: Unable to assign [undefined] to QString
févr. 04 16:16:26 ubuntu-phablet aa-exec[78805]: file:///usr/share/click/preinstalled/camera.ubports/4.0.5/OptionButton.qml:24:5: Unable to assign [undefined] to QString
This comes from the Camera roll being empty. Most likely, this compoenent is the one that triggers the error, because it does not detect that the roll is empty, and still attempts to access attributes that do not exist.