kirienko / gourmet

Gourmet Recipe Manager
GNU General Public License v2.0
30 stars 14 forks source link

Cannot export recipes with db file from Gourmet 2 #369

Closed pled closed 3 years ago

pled commented 3 years ago

Ubuntu 20.04 - Gourmet 1.0.0 - commit id: 0f3366198b4676bd802924570c75003c7e97fa6391727e8de93569988b8a9f13 I can't export all recipes or selected recipes, whatever the export format I choose. Error is :

emit error 1 Error during Exporter Traceback (most recent call last):
  File "/app/lib/python3.8/site-packages/gourmet/threadManager.py", line 104, in run
    self.do_run()
  File "/app/lib/python3.8/site-packages/gourmet/plugin_loader.py", line 440, in _
    retval = f(self,*args,**kwargs)
  File "/app/lib/python3.8/site-packages/gourmet/exporters/exporter.py", line 582, in do_run
    e.do_run()
  File "/app/lib/python3.8/site-packages/gourmet/exporters/exporter.py", line 88, in do_run
    self._write_text_()
  File "/app/lib/python3.8/site-packages/gourmet/plugin_loader.py", line 440, in _
    retval = f(self,*args,**kwargs)
  File "/app/lib/python3.8/site-packages/gourmet/exporters/exporter.py", line 153, in _write_text_
    if self.do_markup:  txt=self.handle_markup(txt)
  File "/app/lib/python3.8/site-packages/gourmet/exporters/exporter.py", line 313, in handle_markup
    ai.get_font(fd, None, None)
TypeError: Pango.AttrIterator.get_font() takes exactly 2 arguments (4 given)

emit done

Steps to Reproduce

  1. Run Gourmet
  2. Try to export all or selected recipes
  3. You get empty file as the export.

Possible Solution

I tried in a VM and export works, so it seems be related to my environment, see below.

Environment

cydanil commented 3 years ago

There were no changes to the database format, so you should be ok.

Now, regarding the exports, could you try release 1.0.1? The export issues were addressed in it.

Thanks!

pled commented 3 years ago

Hmm... Cannot run Gourmet 1.0.1 after install. Tried on both desktop and VM. I have to uninstall et reinstall 1.0.0 to make it starts. Here is the output :

$ flatpak run -vv io.github.thinkle.Gourmet 
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/pled/.local/share/flatpak
F: Opening user flatpak installation at path /home/pled/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/pled/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 1445477213
F: Allocated instance id 66575697
F: Add defaults in dir /io/github/thinkle/Gourmet/
F: Add locks in dir /io/github/thinkle/Gourmet/
F: Disallowing ipc access
F: Allowing host-fs access
F: skipping export for path /usr/libx32
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/pled/.config/pulse/client.conf': Error opening file /home/pled/.config/pulse/client.conf: Aucun fichier ou dossier de ce type
F: bwrap --args 32 = --bind /tmp /tmp --ro-bind /opt /opt --ro-bind '/lost+found' '/lost+found' --bind /var /var --ro-bind /proc /proc --ro-bind /usr /usr --ro-bind /sys /sys --ro-bind /media /media --ro-bind /home /home --bind /run /run --symlink usr/sbin /sbin --ro-bind /root /root --symlink usr/lib /lib --ro-bind /dev /dev --ro-bind /snap /snap --ro-bind /cdrom /cdrom --ro-bind /etc /etc --symlink usr/lib32 /lib32 --ro-bind /srv /srv --symlink usr/lib64 /lib64 --symlink usr/libx32 /libx32 --symlink usr/bin /bin --ro-bind /boot /boot --ro-bind /mnt /mnt --bind /run/user/1000/.dbus-proxy/ /run/user/1000/.dbus-proxy/ --file 30 /.flatpak-info
F: bwrap --args 34 = --fd=33 unix:path=/run/user/1000/bus /run/user/1000/.dbus-proxy/session-bus-proxy-9E5D70 --filter '--own=io.github.thinkle.Gourmet.*' '--own=org.mpris.MediaPlayer2.io.github.thinkle.Gourmet.*' '--call=org.freedesktop.portal.*=*' '--broadcast=org.freedesktop.portal.*=@/org/freedesktop/portal/*' 'unix:abstract=/tmp/dbus-OvcJSaKE7R,guid=281ffdee26c03df6ce62d21e6106a7fd' /run/user/1000/.dbus-proxy/a11y-bus-proxy-CO4D70 --filter --sloppy-names --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root --call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Unembed@/org/a11y/atspi/accessible/root --call=org.a11y.atspi.Registry=org.a11y.atspi.Registry.GetRegisteredEvents@/org/a11y/atspi/registry --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetKeystrokeListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetDeviceEventListeners@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersSync@/org/a11y/atspi/registry/deviceeventcontroller --call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersAsync@/org/a11y/atspi/registry/deviceeventcontroller
F: Running 'bwrap --args 32 xdg-dbus-proxy --args=34'
F: bwrap --args 30 = --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files /usr --lock-file /usr/.ref --ro-bind /var/lib/flatpak/app/io.github.thinkle.Gourmet/x86_64/master/701f4674ec30103db509a23f7e0a908fec3b4b4f422e342fc7ea4f064652b0c5/files /app --lock-file /app/.ref --tmpfs /usr/lib/x86_64-linux-gnu/GL --ro-bind /var/lib/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/20.08/3fbdbccc95abfb14b4a0fd619f8dd80106abd6c8538596d6b47cc9b0ea865ddd/files /usr/lib/x86_64-linux-gnu/GL/default --ro-bind /var/lib/flatpak/runtime/org.freedesktop.Platform.openh264/x86_64/2.0/73f998362a6fc0d57e0c7e83e928d32b0ec14d10d0d94291033976bdcecc6b6b/files /usr/lib/x86_64-linux-gnu/openh264 --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform.Locale/x86_64/40/4eb53651c461e3457d4eb2a9c8df7f1f3f8a865aa5694152431ce94293d7e6ce-fr/files /usr/share/runtime/locale --tmpfs /usr/share/runtime/share/themes --ro-bind /var/lib/flatpak/runtime/org.gtk.Gtk3theme.Yaru/x86_64/3.22/4cc5b77dab76579850e19073e0a4e09ab74801e6f3c10dec99950ff4297bdcb1/files /usr/share/runtime/share/themes/Yaru/gtk-3.0 --ro-bind-data 11 /run/flatpak/ld.so.conf.d/runtime-001-org.freedesktop.Platform.GL.default.conf --symlink /usr/lib/x86_64-linux-gnu/GL/default/vulkan/icd.d/radeon_icd.x86_64.json /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json --symlink /usr/lib/x86_64-linux-gnu/GL/default/vulkan/icd.d/intel_icd.x86_64.json /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json --symlink /usr/lib/x86_64-linux-gnu/GL/default/glvnd/egl_vendor.d/50_mesa.json /usr/lib/x86_64-linux-gnu/GL/glvnd/egl_vendor.d/50_mesa.json --symlink /usr/lib/x86_64-linux-gnu/GL/default/OpenCL/vendors/mesa.icd /usr/lib/x86_64-linux-gnu/GL/OpenCL/vendors/mesa.icd --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/nouveau_drv_video.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/nouveau_drv_video.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/r300_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/r300_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/i915_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/i915_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/r200_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/r200_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/radeon_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeon_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/libgallium_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/libgallium_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/radeonsi_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/r600_drv_video.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/r600_drv_video.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/nouveau_vieux_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/nouveau_vieux_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/nouveau_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/nouveau_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/radeonsi_drv_video.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/vmwgfx_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/vmwgfx_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/swrast_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/swrast_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/virtio_gpu_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/virtio_gpu_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/libgallium_drv_video.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/libgallium_drv_video.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/zink_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/zink_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/libmesa_dri_drivers.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/libmesa_dri_drivers.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/r600_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/r600_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/i965_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/i965_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/kms_swrast_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/kms_swrast_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/iris_dri.so /usr/lib/x86_64-linux-gnu/GL/lib/dri/iris_dri.so --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/d3d/d3dadapter9.so.1 /usr/lib/x86_64-linux-gnu/GL/lib/d3d/d3dadapter9.so.1 --symlink /usr/lib/x86_64-linux-gnu/GL/default/lib/d3d/d3dadapter9.so.1.0.0 /usr/lib/x86_64-linux-gnu/GL/lib/d3d/d3dadapter9.so.1.0.0 --symlink /usr/lib/x86_64-linux-gnu/GL/default/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json /usr/lib/x86_64-linux-gnu/GL/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json --ro-bind-data 12 /run/flatpak/ld.so.conf.d/runtime-002-org.freedesktop.Platform.openh264.conf --proc /proc --unshare-pid --dir /tmp --dir /var/tmp --dir /run/host --dir /run/user/1000 --setenv XDG_RUNTIME_DIR /run/user/1000 --symlink ../run /var/run --ro-bind /sys/block /sys/block --ro-bind /sys/bus /sys/bus --ro-bind /sys/class /sys/class --ro-bind /sys/dev /sys/dev --ro-bind /sys/devices /sys/devices --ro-bind-try /proc/self/ns/user /run/.userns --symlink /etc/timezone /var/db/zoneinfo --ro-bind-data 14 /etc/passwd --ro-bind-data 15 /etc/group --ro-bind-data 16 /etc/pkcs11/pkcs11.conf --ro-bind /etc/machine-id /etc/machine-id --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/xml /etc/xml --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/ssl /etc/ssl --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/protocols /etc/protocols --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/ld.so.cache /etc/ld.so.cache --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/issue /etc/issue --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/pipewire /etc/pipewire --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/vdpau_wrapper.cfg /etc/vdpau_wrapper.cfg --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/xdg /etc/xdg --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/pulse /etc/pulse --symlink ../../proc/self/mounts /etc/mtab --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/ld.so.conf /etc/ld.so.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/rc_keymaps /etc/rc_keymaps --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/issue.net /etc/issue.net --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/mke2fs.conf /etc/mke2fs.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/fonts /etc/fonts --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/ca-certificates.conf /etc/ca-certificates.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/rc_maps.cfg /etc/rc_maps.cfg --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/dbus-1 /etc/dbus-1 --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/rpc /etc/rpc --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/alsa /etc/alsa --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/e2scrub.conf /etc/e2scrub.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/ssh_config /etc/ssh_config --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/wgetrc /etc/wgetrc --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/services /etc/services --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/gtk-3.0 /etc/gtk-3.0 --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/geoclue /etc/geoclue --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/xattr.conf /etc/xattr.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/profile.d /etc/profile.d --symlink ../usr/lib/os-release /etc/os-release --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/moduli /etc/moduli --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/krb5.conf /etc/krb5.conf --ro-bind /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/f111d6c1e912823e8db0f6ee8eebff82f9a8794b444e85e3aa801fe10e7b8e59/files/etc/nsswitch.conf /etc/nsswitch.conf --bind /home/pled/.var/app/io.github.thinkle.Gourmet/cache /var/cache --bind /home/pled/.var/app/io.github.thinkle.Gourmet/data /var/data --bind /home/pled/.var/app/io.github.thinkle.Gourmet/config /var/config --bind /home/pled/.var/app/io.github.thinkle.Gourmet/cache/tmp /var/tmp --symlink usr/lib /lib --symlink usr/lib64 /lib64 --symlink usr/bin /bin --symlink usr/sbin /sbin --seccomp 17 --ro-bind /run/user/1000/.flatpak-helper/monitor /run/host/monitor --symlink /run/host/monitor/localtime /etc/localtime --symlink /run/host/monitor/resolv.conf /etc/resolv.conf --symlink /run/host/monitor/host.conf /etc/host.conf --symlink /run/host/monitor/hosts /etc/hosts --symlink /run/host/monitor/timezone /etc/timezone --ro-bind-data 22 /etc/pkcs11/modules/p11-kit-trust.module --ro-bind /run/user/1000/.flatpak-helper/pkcs11-flatpak-3129 /run/user/1000/p11-kit/pkcs11 --ro-bind-data 23 /etc/ld.so.conf --ro-bind-data 13 /etc/ld.so.cache --ro-bind /run/user/1000/.flatpak/66575697 /run/user/1000/.flatpak/66575697 --lock-file /run/user/1000/.flatpak/66575697/.ref --file 24 /.flatpak-info --ro-bind-data 25 /.flatpak-info --symlink ../../../.flatpak-info /run/user/1000/flatpak-info --info-fd 26 --bind /run/user/1000/doc/by-app/io.github.thinkle.Gourmet /run/user/1000/doc --unshare-ipc --dev /dev --bind /run/user/1000/app/io.github.thinkle.Gourmet /run/user/1000/app/io.github.thinkle.Gourmet --bind /cdrom /cdrom --bind /home /home --dir /home/pled --tmpfs /home/pled/.local/share/flatpak --tmpfs /home/pled/.var/app --bind /home/pled/.var/app/io.github.thinkle.Gourmet /home/pled/.var/app/io.github.thinkle.Gourmet --bind '/lost+found' '/lost+found' --bind /media /media --bind /mnt /mnt --bind /opt /opt --bind /snap /snap --bind /srv /srv --bind /swapfile /swapfile --bind /usr /run/host/usr --bind /etc /run/host/etc --ro-bind /home/pled/.config/user-dirs.dirs /home/pled/.var/app/io.github.thinkle.Gourmet/config/user-dirs.dirs --tmpfs /tmp/.X11-unix --ro-bind /tmp/.X11-unix/X0 /tmp/.X11-unix/X99 --ro-bind-data 28 /run/user/1000/Xauthority --ro-bind-data 27 /run/user/1000/pulse/config --ro-bind /run/user/1000/pulse/native /run/user/1000/pulse/native --ro-bind /run/user/1000/.dbus-proxy/session-bus-proxy-9E5D70 /run/user/1000/bus --ro-bind /run/user/1000/.dbus-proxy/a11y-bus-proxy-CO4D70 /run/user/1000/at-spi-bus --sync-fd 31 --bind /run/systemd/journal/socket /run/systemd/journal/socket --bind /run/systemd/journal/stdout /run/systemd/journal/stdout --ro-bind /usr/share/fonts /run/host/fonts --ro-bind /usr/local/share/fonts /run/host/local-fonts --ro-bind /var/cache/fontconfig /run/host/fonts-cache --ro-bind /home/pled/.cache/fontconfig /run/host/user-fonts-cache --ro-bind-data 29 /run/host/font-dirs.xml --ro-bind /usr/share/icons /run/host/share/icons --symlink /app/lib/debug/source /run/build --symlink /usr/lib/debug/source /run/build-runtime --setenv SHELL /bin/sh --setenv SESSION_MANAGER 'local/pled-Standard-PC-Q35-ICH9-2009:@/tmp/.ICE-unix/1594,unix/pled-Standard-PC-Q35-ICH9-2009:/tmp/.ICE-unix/1594' --setenv QT_ACCESSIBILITY 1 --setenv COLORTERM truecolor --setenv XDG_CONFIG_DIRS /app/etc/xdg:/etc/xdg --setenv XDG_MENU_PREFIX gnome- --setenv GNOME_DESKTOP_SESSION_ID this-is-deprecated --setenv LANGUAGE fr_FR:en_AU:en --setenv LC_ADDRESS fr_FR.UTF-8 --setenv GNOME_SHELL_SESSION_MODE ubuntu --setenv LC_NAME fr_FR.UTF-8 --setenv SSH_AUTH_SOCK /run/user/1000/keyring/ssh --setenv XMODIFIERS @im=ibus --setenv DESKTOP_SESSION ubuntu --setenv LC_MONETARY fr_FR.UTF-8 --setenv SSH_AGENT_PID 1534 --setenv GTK_MODULES gail:atk-bridge --setenv PWD '/home/pled/Téléchargements' --setenv LOGNAME pled --setenv XDG_SESSION_DESKTOP ubuntu --setenv XDG_SESSION_TYPE x11 --setenv GPG_AGENT_INFO /run/user/1000/gnupg/S.gpg-agent:0:1 --setenv XAUTHORITY /run/user/1000/Xauthority --setenv GJS_DEBUG_TOPICS 'JS ERROR;JS LOG' --setenv WINDOWPATH 2 --setenv HOME /home/pled --setenv USERNAME pled --setenv IM_CONFIG_PHASE 1 --setenv LC_PAPER fr_FR.UTF-8 --setenv LANG fr_FR.UTF-8 --setenv LS_COLORS 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' --setenv XDG_CURRENT_DESKTOP ubuntu:GNOME --setenv VTE_VERSION 6003 --setenv GNOME_TERMINAL_SCREEN /org/gnome/Terminal/screen/048f81a7_868b_4b32_8720_ce986606b981 --setenv INVOCATION_ID 3b3f08d6bf984e9480b37b6645438371 --setenv MANAGERPID 1340 --setenv GJS_DEBUG_OUTPUT stderr --setenv LESSCLOSE '/usr/bin/lesspipe %s %s' --setenv XDG_SESSION_CLASS user --setenv TERM xterm-256color --setenv LC_IDENTIFICATION fr_FR.UTF-8 --setenv LESSOPEN '| /usr/bin/lesspipe %s' --setenv USER pled --setenv GNOME_TERMINAL_SERVICE :1.87 --setenv DISPLAY :99.0 --setenv SHLVL 1 --setenv LC_TELEPHONE fr_FR.UTF-8 --setenv QT_IM_MODULE ibus --setenv LC_MEASUREMENT fr_FR.UTF-8 --setenv PAPERSIZE a4 --setenv XDG_RUNTIME_DIR /run/user/1000 --setenv LC_TIME fr_FR.UTF-8 --setenv JOURNAL_STREAM 9:35253 --setenv XDG_DATA_DIRS /app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share --setenv PATH /app/bin:/usr/bin --setenv GDMSESSION ubuntu --setenv DBUS_SESSION_BUS_ADDRESS unix:path=/run/user/1000/bus --setenv LC_NUMERIC fr_FR.UTF-8 --setenv OLDPWD /home/pled --setenv _ /usr/bin/flatpak --setenv ALSA_CONFIG_PATH /usr/share/alsa/alsa-flatpak.conf --setenv GI_TYPELIB_PATH /app/lib/girepository-1.0 --setenv GST_PLUGIN_SYSTEM_PATH /app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0 --setenv ALSA_CONFIG_DIR /usr/share/alsa --setenv FLATPAK_ID io.github.thinkle.Gourmet --setenv PS1 '[📦 $FLATPAK_ID \W]\$ ' --setenv FLATPAK_SANDBOX_DIR /home/pled/.var/app/io.github.thinkle.Gourmet/sandbox --setenv XDG_DATA_HOME /home/pled/.var/app/io.github.thinkle.Gourmet/data --setenv XDG_CONFIG_HOME /home/pled/.var/app/io.github.thinkle.Gourmet/config --setenv XDG_CACHE_HOME /home/pled/.var/app/io.github.thinkle.Gourmet/cache --setenv PULSE_SERVER unix:/run/user/1000/pulse/native --setenv PULSE_CLIENTCONFIG /run/user/1000/pulse/config --setenv AT_SPI_BUS_ADDRESS unix:path=/run/user/1000/at-spi-bus
F: Running 'bwrap --args 30 gourmet'
args = Namespace(db_url='', debug=None, debug_file='', gourmetdir='', thread_debug=False, thread_debug_interval=5.0, threads=False, time=False)
Gtk-Message: 16:15:05.547: Failed to load module "canberra-gtk-module"

As far as I know, this Gtk error message should not be be blocking, I already see it with some flatpak application such as nextcloud client, which is running fine despite this error being displayed. -=- I have to correct something from yesterday statement : In the VM, I can export recipes from my main recipes.db. So I was wrong this is not related to db file, but to my desktop. But I cannot test with v1.0.1 for now. Thanks.

pled commented 3 years ago

I can now reproduce the export error with Gourmet 1.0.1 Flatpak on Ubuntu 20.10 fresh install (VM). I just install all Flatpak dependencies then Gourmet. export-error It is a bit confusing...

$ flatpak list
Name                       Application ID               Version Branch Origin          Installation
Gourmet                    io.github.thinkle.Gourmet            master gourmet2-origin system
Mesa                       …desktop.Platform.GL.default 21.1.4  20.08  flathub         system
openh264                   …eedesktop.Platform.openh264 2.1.0   2.0    flathub         system
GNOME Application Platfor… org.gnome.Platform                   40     flathub         system
$ sudo apt-cache search libpango
libpango-1.0-0 - Mise en page et rendu de texte internationalisé
libpango1.0-dev - Fichiers de développement pour Pango
libpango1.0-doc - Fichiers de documentation pour Pango
libpangocairo-1.0-0 - Mise en page et rendu de texte internationalisé
libpangoft2-1.0-0 - Mise en page et rendu de texte internationalisé
libpangomm-1.4-1v5 - Conteneur C++ pour pango (bibliothèques partagées)
libpangomm-1.4-dev - Conteneur C++ pour pango (fichiers de développement)
libpangomm-1.4-doc - Conteneur C++ pour pango (documentation)
libpangoxft-1.0-0 - Mise en page et rendu de texte internationalisé
libpango-perl - module perl de mise en page et rendu de texte international
libpango1.0-0 - mise en place et rendu de texte internationalisé – paquet de transition
libpango3.0-cil - CLI binding for Pango
libpangox-1.0-0 - pango library X backend
libpangox-1.0-dev - pango library X backend - development files
librust-pango-sys-dev - FFI bindings to libpango-1.0 - Rust source code

It seems there is a real problem here, it is no more only related to my desktop... Thanks !

cydanil commented 3 years ago

Thanks for the clarifications. This issue occurs only within flatpaks.
I'm now looking into what the differences in these environment are.

cydanil commented 3 years ago

I made a fix that satisfies all environments in which Gourmet may run.
It will be in the next release, which should be soon :-)

pled commented 3 years ago

FYI, I am now using Gourmand, and I can export without any problem my db. Thank you.