Skip to content

Camera app does not save photos but does save videos #228

@felipe-valerio

Description

@felipe-valerio

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

  1. Open the Camera app: image preview is working fine
  2. 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
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions