camera
camera copied to clipboard
Camera app does not save photos but does save videos
What Happened?
When I take a photo with the Camera application, it becomes an empty text file. But video recordings work fine. I'm using Elementary OS 6.1 with everything updated and no modifications on a Lenovo laptop (IdeaPad S145), and I'm using the built-in webcam and I don't have a separate one to test.
I saw two similar closed issues but this one is different because:
- It always happens so it's not related to taking multiple photos
- It seems most similar to this one, but I see it's closed since last year so it was solved and the issue I'm having is still ocurring.
I followed the recommendation to download the io.elementary.Sdk and run the app in debug mode, this is what I get, hope it helps:
[📦 io.elementary.camera ~]$ G_MESSAGES_DEBUG=all io.elementary.camera
(io.elementary.camera:76): GVFS-DEBUG: 22:18:47.469: org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)
(io.elementary.camera:76): GLib-GIO-DEBUG: 22:18:47.470: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
(io.elementary.camera:76): GLib-GIO-DEBUG: 22:18:47.471: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ?gsettings-backend?
(io.elementary.camera:76): GLib-DEBUG: 22:18:47.471: unsetenv() is not thread-safe and should not be used after threads are created
Gtk-Message: 22:18:47.516: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:18:47.518: Failed to load module "canberra-gtk-module"
(io.elementary.camera:76): GLib-DEBUG: 22:18:47.518: unsetenv() is not thread-safe and should not be used after threads are created
Thank you very much for looking at this!
Steps to Reproduce
- Open the Camera app: image preview is working fine
- Click the button to take a picture: the image stops for a sec and a sound is heard, there is also feedback from the led right next to the webcam
- Go to /home/username/Pictures/Webcam: There will be an empty text file there instead of the photo taken.
Expected Behavior
I expected that the photo would be saved as a picture with content in it.
OS Version
6.x (Odin)
Software Version
Latest release (I have run all updates)
Log Output
[📦 io.elementary.camera ~]$ G_MESSAGES_DEBUG=all io.elementary.camera
(io.elementary.camera:76): GVFS-DEBUG: 22:18:47.469: org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)
(io.elementary.camera:76): GLib-GIO-DEBUG: 22:18:47.470: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
(io.elementary.camera:76): GLib-GIO-DEBUG: 22:18:47.471: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ?gsettings-backend?
(io.elementary.camera:76): GLib-DEBUG: 22:18:47.471: unsetenv() is not thread-safe and should not be used after threads are created
Gtk-Message: 22:18:47.516: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:18:47.518: Failed to load module "canberra-gtk-module"
(io.elementary.camera:76): GLib-DEBUG: 22:18:47.518: unsetenv() is not thread-safe and should not be used after threads are created
Hardware Info
Quad-Core AMD Ryzen 5 3500u with radeon vega mobile gfx
Looks like a duplicate of #135, which has been fixed in master (but not yet released).
Looks like a duplicate of #135, which has been fixed in master (but not yet released).
I mentioned it, but the difference is it doesn't only happen if I take two or more pictures in a short period of time. It happens even if I take a single picture, it always gets saved as an empty file regardless of how much time I wait or if I take a single or multiple pictures. But I hope then that when #135 is released my issue gets solved as well as I don't really understand how the app works behind the UI, I'm just a user 😅