GNOME Bugzilla – Bug 617154
Fix to 606090 causes DOA for new user
Last modified: 2010-05-25 11:44:21 UTC
With evince 2.30.1, we found this error when invoking evince. $ evince ** (evince:2513): WARNING **: Error creating last_settings file: Error opening file '/home/gheet/.gnome2/evince/last_settings': No such file or directory The problem is that for a brand new user, the directory, $HOME/.gnome2/evince has not been created and the fix to 606090 does not do the check. (down stream bug, https://defect.opensolaris.org/bz/show_bug.cgi?id=15783 )
The fix is simple, make sure the directory is created, $ diff -u ev-window.c.orig ev-window.c --- ev-window.c.orig 2010-04-29 10:51:12.341623597 +0100 +++ ev-window.c 2010-04-29 10:48:05.185145778 +0100 @@ -6107,7 +6107,7 @@ GFile *file; gchar *path; - path = g_build_filename (ev_application_get_dot_dir (EV_APP, FALSE), "last_settings", NULL); + path = g_build_filename (ev_application_get_dot_dir (EV_APP, TRUE), "last_settings", NULL); file = g_file_new_for_path (path); g_free (path);
Fixed in gnome-2-30 branch. Thanks for reporting.
Oh, thanks for the patch, it's exactly what I had just done.
thanks, Carlos. You were fast :)
*** Bug 617513 has been marked as a duplicate of this bug. ***
*** Bug 617800 has been marked as a duplicate of this bug. ***
*** Bug 617895 has been marked as a duplicate of this bug. ***
*** Bug 618191 has been marked as a duplicate of this bug. ***
*** Bug 619063 has been marked as a duplicate of this bug. ***
*** Bug 619454 has been marked as a duplicate of this bug. ***
*** Bug 619595 has been marked as a duplicate of this bug. ***