xdg: fails to save recently-used.xbel

Bug #1813402 reported by Andreas Metzler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Invalid
Undecided
Unassigned

Bug Description

With 2019.0.0 saving recently opened files fails if ~/.local does not already exist:

(hugin:9626): Gtk-WARNING **: 16:04:28.655: Attempting to store changes into `/dev/shm/ametzler-hugin-home/.local/share/recently-used.xbel', but failed: Failed to create file ?/dev/shm/ametzler-hugin-home/.local/share/recently-used.xbel.YXWZVZ?: No such file or directory

(hugin:9626): Gtk-WARNING **: 16:04:28.655: Attempting to set the permissions of `/dev/shm/ametzler-hugin-home/.local/share/recently-used.xbel', but failed: No such file or directory

How to reproduce:
mkdir /dev/shm/ametzler-hugin-home/
chmod 0755 /dev/shm/ametzler-hugin-home/
hugin
File->Open
[Cancel]

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

Obviously hugin needs to be invoked as
env HOME=/dev/shm/ametzler-hugin-home hugin

This is on Debian/testing, i.e. with wx 3.0.4.

Revision history for this message
tmodes (tmodes) wrote :

Hugin stores the recently used files in .hugin, not in recently-used.xbel.
This message is printed by GTKs file select dialog. You will see the same message when using another GTK program (e.g. leafpad) and run it with an empty home dir. So this needs to be fixed in GTK. There is nothing from Hugin side which can be done for this error message.

Changed in hugin:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.