GNOME Bugzilla – Bug 619073
Crash upon opening any filechooser due to missing XDG paths
Last modified: 2010-10-06 19:59:08 UTC
Using version 0.8.3 on openSUSE 11.2, attempts to open or save files in pdfmod lead to a crash: [SNIP] Marshaling activate signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: path2 at System.IO.Path.Combine (System.String path1, System.String path2) [0x00000] at Hyena.XdgBaseDirectorySpec.GetUserDirectory (System.String key, System.String fallback) [0x00000] at Hyena.XdgBaseDirectorySpec.GetXdgDirectoryUnderHome (System.String key, System.String fallback) [0x00000] at PdfMod.Gui.Client.<CreateChooser>m__A (System.String s) [0x00000] [/SNIP] However, by running pdfmod with XDG_DOCUMENTS_DIR and XDG_DOWNLOAD_DIR set makes it work again.
Thanks for the report! I've fixed this in master - it'll be in the next release. commit 1bf89353c53ee111c0088462557e2cc693dcdbbb Author: Gabriel Burt <gabriel.burt@gmail.com> Date: Wed May 19 10:40:25 2010 Avoid XDG-related crash in file chooser (bgo#619073)
*** Bug 630590 has been marked as a duplicate of this bug. ***
*** Bug 625246 has been marked as a duplicate of this bug. ***