GNOME Bugzilla – Bug 525996
Emit a better error message about XDG_DATA_DIRS
Last modified: 2013-09-13 01:01:17 UTC
Steps to reproduce: 1. select an email 2. click on Reply button 3. crash Stack trace: System: Linux 2.6.24-gentoo-r4 #1 SMP PREEMPT Mon Mar 31 12:07:10 EDT 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: marble-look Icon Theme: gnome Memory status: size: 144883712 vsize: 144883712 resident: 45342720 share: 20086784 rss: 45342720 rss_rlim: 4294967295 CPU usage: start_time: 1207237652 rtime: 490 utime: 396 stime: 94 cutime:695 cstime: 143 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/opt/evo/bin/evolution' [?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb66346d0 (LWP 23939)] [New Thread 0xb5dfab90 (LWP 23971)] [New Thread 0xb3152b90 (LWP 23954)] [New Thread 0xb415fb90 (LWP 23952)] 0xb7f01410 in __kernel_vsyscall ()
+ Trace 194131
Thread 1 (Thread 0xb66346d0 (LWP 23939))
----------- .xsession-errors (342 sec old) --------------------- SSL-VPN logging out... SSL-VPN connection is terminated. Exiting NetExtender client JNI: LaunchNX: Exiting LaunchNX, returning (1) Loading saved profiles... Loaded profile: hatch.ateb.com Done. stop id=13 "Giant Eagle"-"Giant Eagle related efforts" 3:32:20 01-34-13 hours=3 min=212 secs=12740 start id=12 "ShopKo"-"ShopKo related efforts" 11:00:34 00-00-00 hours=11 min=660 secs=39634 (gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined. (gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined. (gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined. -------------------------------------------------- Other information: had to manually post bug -- bug buddy failed to post with this error ---begin bug buddy failure --- Bug Buddy has encountered an error while submitting your report to the Bugzilla server. Details of the error are included below. Failed to parse the xml-rpc response. Response follows: Unable to parse XML-RPC Response 3 <?xml version="1.0" encoding="UTF-8"?> <methodResponse><fault><value><struct><member><name>faultString</name><value><string>Application failed during request deserialization: not well-formed (invalid token) at line 23, column 0, byte 1699 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 187 </string></value></member><member><name>faultCode</name><value><string>Client</string></value></member></struct></value></fault></methodResponse> Distribution: Gentoo Base System release 1.12.11.1 Gnome Release: 2.20.3 2008-01-17 (Gentoo) BugBuddy Version: 2.20.1
Reid, does setting XDG_DATA_DIRS fix this? Adding this to my tracker bug (bug #522153). I'm sure others will hit this.
Yes -- setting XDG_DATA_DIRS appropriately does fix this. I build from SVN using the makefile from Paul at http://mad-scientist.us/evolution.html which PREFIX set to /opt/evo Adding export XDG_DATA_DIRS=/opt/evo/share:$XDG_DATA_DIRS to the the /opt/evo/bin/evolution-svn start script allows evo to find the appropriate files.
*** Bug 526586 has been marked as a duplicate of this bug. ***
Fixed in revision 8814. You'll still get a Bug Buddy crash, but GtkHTML will spit something like this to standard error before dying: *** FATAL ERROR *** gtkhtml could not find the required file "gtkhtml-editor.ui" in any of the system-wide data directories given by the XDG_DATA_DIRS environment variable. gtkhtml looked for: /usr/local/share/gtkhtml-3.14/gtkhtml-editor.ui /usr/share/gtkhtml-3.14/gtkhtml-editor.ui See http://www.freedesktop.org/Standards/basedir-spec for more information about standard base directories.
*** Bug 529687 has been marked as a duplicate of this bug. ***