Attachment from google drive

I have never tried to use this feature before so be patient with me.

I want to add a file from google drive as an attachment in the patient portal for my doctor’s office without having to first download it to my local drive.
I added my google account to the gnome settings panel.
I click the button to attach the document (jpg file) in the patient portal web application but I get an error message " file type not supported…" . If I first download the file and then go through the same process you attachment works fine.


This appears to be have been reported in the past (Opening files from google drive with Nautilus and GNOME Online Accounts)

This a recent install of ubuntu 24.04 and chrome Version 125.0.6422.76 (Official Build) (64-bit).

I recreated the issue around here is the (non-sudo) ouput from journalctl :

Jun 03 15:38:56 vreppet-3060 systemd[1]: Starting fwupd-refresh.service - Refresh fwupd metadata and update motd...
Jun 03 15:38:56 vreppet-3060 systemd[1]: fwupd-refresh.service: Deactivated successfully.
Jun 03 15:38:56 vreppet-3060 systemd[1]: Finished fwupd-refresh.service - Refresh fwupd metadata and update motd.
Jun 03 15:39:05 vreppet-3060 dbus-daemon[1190]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.72' (uid=1000 pid=2990 comm="/usr/libexec/xdg-desktop-portal-gnome" label="unconfined")
Jun 03 15:39:05 vreppet-3060 systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
Jun 03 15:39:05 vreppet-3060 dbus-daemon[1190]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jun 03 15:39:05 vreppet-3060 systemd[1]: Started systemd-hostnamed.service - Hostname Service.
Jun 03 15:39:05 vreppet-3060 gvfsd[146117]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.
Jun 03 15:39:05 vreppet-3060 gvfsd[146117]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: GFileInfo created without standard::content-type
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: file ../../../gio/gfileinfo.c: line 1821 (g_file_info_get_content_type): should not be reached
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: g_ref_string_new_intern: assertion 'str != NULL' failed
Jun 03 15:39:05 vreppet-3060 gvfsd-wsdd[230906]: Failed to spawn the wsdd daemon: Failed to execute child process “wsdd” (No such file or directory)
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: Couldn't create directory monitor on wsdd:///. Error: Automount failed: Failed to spawn the underlying wsdd daemon.
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: g_ref_string_release: assertion 'str != NULL' failed
Jun 03 15:39:05 vreppet-3060 gvfsd-network[146107]: g_file_info_set_content_type: assertion 'content_type != NULL' failed
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: GFileInfo created without standard::size
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: GFileInfo created without standard::size
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: GFileInfo created without standard::size
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: GFileInfo created without standard::size
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: GFileInfo created without standard::size
Jun 03 15:39:14 vreppet-3060 gvfsd-fuse[2031]: file ../../../gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached
Jun 03 15:39:33 vreppet-3060 systemd[1]: rsyslog.service: start operation timed out. Terminating.
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.575:33206): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/journal/dev-log" pid=230835 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:33 vreppet-3060 systemd[1]: rsyslog.service: Failed with result 'timeout'.
Jun 03 15:39:33 vreppet-3060 systemd[1]: Failed to start rsyslog.service - System Logging Service.
Jun 03 15:39:33 vreppet-3060 systemd[1]: rsyslog.service: Scheduled restart job, restart counter is at 3618.
Jun 03 15:39:33 vreppet-3060 systemd[1]: Starting rsyslog.service - System Logging Service...
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.890:33207): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="rsyslogd" pid=230937 comm="apparmor_parser"
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33208): apparmor="DENIED" operation="connect" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/userdb/io.systemd.DynamicUser" pid=230938 comm="rsyslogd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33209): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/notify" pid=230938 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33210): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/journal/dev-log" pid=230938 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33211): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/journal/dev-log" pid=230938 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33212): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/journal/dev-log" pid=230938 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:33 vreppet-3060 kernel: audit: type=1400 audit(1717454373.922:33213): apparmor="DENIED" operation="sendmsg" class="file" info="Failed name lookup - disconnected path" error=-13 profile="rsyslogd" name="systemd/journal/dev-log" pid=230938 comm="rsyslogd" requested_mask="w" denied_mask="w" fsuid=102 ouid=0
Jun 03 15:39:35 vreppet-3060 systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Jun 03 15:39:43 vreppet-3060 systemd[1]: cups.service: start operation timed out. Terminating.
Jun 03 15:39:43 vreppet-3060 systemd[1]: cups.service: Failed with result 'timeout'.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Failed to start cups.service - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: cups.service: Scheduled restart job, restart counter is at 623.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Stopped cups.service - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: cups.path: Deactivated successfully.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Stopped cups.path - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Stopping cups.path - CUPS Scheduler...
Jun 03 15:39:43 vreppet-3060 systemd[1]: Started cups.path - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: cups.socket: Deactivated successfully.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Closed cups.socket - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Stopping cups.socket - CUPS Scheduler...
Jun 03 15:39:43 vreppet-3060 systemd[1]: Listening on cups.socket - CUPS Scheduler.
Jun 03 15:39:43 vreppet-3060 systemd[1]: Starting cups.service - CUPS Scheduler...
Jun 03 15:39:43 vreppet-3060 kernel: audit: type=1400 audit(1717454383.844:33214): apparmor="DENIED" operation="sendmsg" class="file" profile="/usr/sbin/cupsd" name="/systemd/notify" pid=230948 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0