After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617154 - Fix to 606090 causes DOA for new user
Fix to 606090 causes DOA for new user
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.30.x
Other All
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 617513 617800 617895 618191 619063 619454 619595 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-29 09:38 UTC by Ghee Teo
Modified: 2010-05-25 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ghee Teo 2010-04-29 09:38:30 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 )
Comment 1 Ghee Teo 2010-04-29 09:52:37 UTC
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);
Comment 2 Carlos Garcia Campos 2010-04-29 09:55:22 UTC
Fixed in gnome-2-30 branch. Thanks for reporting.
Comment 3 Carlos Garcia Campos 2010-04-29 09:56:07 UTC
Oh, thanks for the patch, it's exactly what I had just done.
Comment 4 Ghee Teo 2010-04-29 10:54:40 UTC
thanks, Carlos. You were fast :)
Comment 5 Carlos Garcia Campos 2010-05-03 10:34:16 UTC
*** Bug 617513 has been marked as a duplicate of this bug. ***
Comment 6 Carlos Garcia Campos 2010-05-05 19:26:59 UTC
*** Bug 617800 has been marked as a duplicate of this bug. ***
Comment 7 Carlos Garcia Campos 2010-05-06 13:32:20 UTC
*** Bug 617895 has been marked as a duplicate of this bug. ***
Comment 8 Carlos Garcia Campos 2010-05-10 07:06:48 UTC
*** Bug 618191 has been marked as a duplicate of this bug. ***
Comment 9 Carlos Garcia Campos 2010-05-19 08:55:23 UTC
*** Bug 619063 has been marked as a duplicate of this bug. ***
Comment 10 Vincent Untz 2010-05-25 11:32:23 UTC
*** Bug 619454 has been marked as a duplicate of this bug. ***
Comment 11 Carlos Garcia Campos 2010-05-25 11:44:21 UTC
*** Bug 619595 has been marked as a duplicate of this bug. ***