From nobody@FreeBSD.org  Tue Feb  6 18:32:58 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9EF5F16A401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Feb 2007 18:32:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 7896D13C471
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Feb 2007 18:32:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l16IWt2P050717
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 6 Feb 2007 18:32:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l16IWs2m050716;
	Tue, 6 Feb 2007 18:32:54 GMT
	(envelope-from nobody)
Message-Id: <200702061832.l16IWs2m050716@www.freebsd.org>
Date: Tue, 6 Feb 2007 18:32:54 GMT
From: William Denton<wtd@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: f-spot 0.3.2,1 fails with bus-related error
X-Send-Pr-Version: www-3.0

>Number:         108843
>Category:       ports
>Synopsis:       f-spot 0.3.2,1 fails with bus-related error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tmclaugh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 18:40:14 GMT 2007
>Closed-Date:    Sat Feb 24 05:16:06 GMT 2007
>Last-Modified:  Sat Feb 24 05:16:06 GMT 2007
>Originator:     William Denton
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD sherlock.miskatonic.org 6.2-STABLE FreeBSD 6.2-STABLE #1: Thu Jan 18 23:11:52 EST 2007     buff@sherlock.miskatonic.org:/usr/obj/usr/src/sys/SHERLOCK  i386

>Description:
I upgraded graphics/f-spot when the new version was put into the ports, and also upgraded the mono-* ports and anything else that might be related. Now f-spot won't run. This is the error I get:

$ f-spot

Unhandled Exception: System.Exception: Unable to open the system message bus. ---> System.IO.FileNotFoundException: No such file or directory ---> Mono.Unix.UnixIOException: No such file or directory [ENOENT].
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] 
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) [0x00000] 
  at NDesk.DBus.Transports.UnixSocket.Connect (System.Byte[] remote_end) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport.OpenUnix (System.String path) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport.Open (System.String path, Boolean abstract) [0x00000] 
  at NDesk.DBus.Transports.UnixTransport.Open (NDesk.DBus.AddressEntry entry) [0x00000] 
  at NDesk.DBus.Transports.Transport.Create (NDesk.DBus.AddressEntry entry) [0x00000] 
  at NDesk.DBus.Connection.OpenPrivate (System.String address) [0x00000] 
  at NDesk.DBus.Connection..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] 
  at NDesk.DBus.Bus.get_System () [0x00000] --- End of inner exception stack trace ---

  at NDesk.DBus.Bus.get_System () [0x00000] 
  at NDesk.DBus.BusG.Init () [0x00000] 
  at FSpot.Driver.Main (System.String[] args) [0x00000] 

Recently upgraded mono ports:

/var/db/pkg/mono-1.2.2.1
/var/db/pkg/mono-tools-1.2.1_1
/var/db/pkg/monodoc-1.2.1

All my GNOME ports are up to date, as are all the ports f-spot depends on.

>How-To-Repeat:
Upgrade f-spot and mono-* ports; run f-spot.


>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tmclaugh 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 6 20:19:48 UTC 2007 
Responsible-Changed-Why:  
tmclaugh@ wants to bsd-shart-list@forge.novall.com maintained ports PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108843 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Feb 6 20:20:27 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108843 

From: William Denton <wtd@pobox.com>
To: Phillip Neumann <pneumann@transtel.cl>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/108843: f-spot 0.3.2,1 fails with bus-related error
Date: Thu, 8 Feb 2007 11:54:31 -0500 (EST)

 On 7 February 2007, Phillip Neumann wrote:
 
 > I have to ask this..
 >
 > is dbus running ok?
 
 It seems to be, but I'm no dbus expert.  Here are the two processes 
 running:
 
 buff$ ps -auxw | grep dbus
 buff  63762  0.0  0.1  1912  1276  ??  Is    2:22AM   0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 14 --print-address 16 --session
 buff  63761  0.0  0.1  2460  1368  p7  I     2:22AM   0:00.00 dbus-launch --autolaunch a7a257855321a91128c17d0045ca0700 --binary-syntax
 
 I ran f-spot, and got the error I quoted in the bug report:
 
    System.Exception: Unable to open the system message bus. --->
    System.IO.FileNotFoundException: No such file or directory --->
    Mono.Unix.UnixIOException: No such file or directory [ENOENT].
 
 I tried killing the two dbus processes and running f-spot and it died with 
 the same error, and no dbus processes were restarted.
 
 I don't know anything about dbus, so if there's anything else I can do, 
 let me know.  At a glance, it does look like f-spot is complaining about 
 not being able to open something that is up and running.
 
 Thanks,
 
 Bill
 -- 
 William Denton, Toronto : miskatonic.org : frbr.org : openfrbr.org

From: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108843: f-spot 0.3.2,1 fails with bus-related error
Date: Thu, 08 Feb 2007 23:15:13 -0500

 Add the following to your rc.conf:
 
 dbus_enable="YES"
 
 After that run `/usr/local/etc/rc.d/dbus start`.  You may need to
 restart Gnome as well.  f-spot is trying to connect to the system
 message bus but since the dbus service is not running it is failing and
 causing f-spot to crash.
 
 tom
 

From: William Denton <wtd@pobox.com>
To: bug-followup@FreeBSD.org
Cc: tmclaugh@FreeBSD.org
Subject: Re: ports/108843: f-spot 0.3.2,1 fails with bus-related error
Date: Mon, 12 Feb 2007 14:16:04 -0500 (EST)

 (Sorry for the delay; I missed tmclaugh's reply and just saw it archived 
 on the bug report on the web site.)
 
 One important thing I forgot to mention is that I use FVWM as my window 
 manager and don't use the full GNOME setup.  From what I understand that 
 shouldn't be a problem, though.  I apologize for not mentioning it first.
 
 I added
 
    dbus_enable="YES"
 
 to /etc/rc.conf and, since I had to anyway, rebooted.  Now I see:
 
 $ ps -auxw | grep dbus
 messagebus   691  0.0  0.1  1912  1404  ??  Is   Sat12PM   0:00.01 /usr/local/bin/dbus-daemon --system
 buff       33371  0.0  0.1  1912  1248  ??  Is   Sat08PM   0:00.01 /usr/local/bin/dbus-daemon --fork --print-pid 14 --print-address 16 --session
 buff       33370  0.0  0.1  2460  1348  p5  I    Sat08PM   0:00.00 dbus-launch --autolaunch a7a257855321a91128c17d0045ca0700 --binary-syntax
 
 f-spot still fails, but with a different message:
 
 $ f-spot
 
 Unhandled Exception: System.Exception: Unable to open the session message 
 bus. ---> System.ArgumentNullException: Argument cannot be null.
 Parameter name: address
    at NDesk.DBus.Bus.Open (System.String address) [0x00000]
    at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace ---
    at NDesk.DBus.Bus.get_Session () [0x00000]
    at NDesk.DBus.BusG.Init () [0x00000]
    at FSpot.Driver.Main (System.String[] args) [0x00000]
 
 It used to say "Unable to open the system message bus," but now it's the 
 session message bus.
 
 I tried running f-spot as root, in case it was that sort of problem, but 
 it gives the same error.
 
 Bill
 -- 
 William Denton, Toronto : miskatonic.org : frbr.org : openfrbr.org

From: William Denton <wtd@pobox.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108843: f-spot 0.3.2,1 fails with bus-related error
Date: Fri, 16 Feb 2007 00:05:48 -0500 (EST)

 I installed f-spot on a second machine (an older machine but running 
 6.2-STABLE compiled the same day as the original machine) and had exactly 
 the same problem.  I hadn't run f-spot on that machine before, so it and 
 mono went in from scratch.  After installation I added the dbus_enable 
 line to rc.conf and rebooted.
 
 Another f-spot user saw this bug report and e-mailed me to say he'd had 
 this problem but had solved it by upgradinb dbus to 1.0.2.  Unfortunately, 
 that is already the version I'm using, on both machines.
 
 For the sake of completeness, here's the output of
 
 $ pkg_info -r f-spot-0.3.2,1 | sort
 
 Dependency: ORBit2-2.14.6
 Dependency: atk-1.12.4
 Dependency: bitstream-vera-1.10_2
 Dependency: cairo-1.2.6_1
 Dependency: cdparanoia-3.9.8_8
 Dependency: cdrtools-2.01_5
 Dependency: cups-base-1.2.7_2
 Dependency: dbus-1.0.2
 Dependency: dbus-glib-0.72
 Dependency: desktop-file-utils-0.12
 Dependency: dmidecode-2.8
 Dependency: docbook-sk-4.1.2_3
 Dependency: docbook-xml-4.2_1
 Dependency: docbook-xml-4.3
 Dependency: docbook-xml-4.4
 Dependency: docbook-xsl-1.71.1_2
 Dependency: esound-0.2.36_1
 Dependency: expat-2.0.0_1
 Dependency: fam-2.6.10_2
 Dependency: firefox-2.0.0.1_1,1
 Dependency: fontconfig-2.3.2_6,1
 Dependency: freetype2-2.2.1_1
 Dependency: gail-1.9.4
 Dependency: gconf2-2.16.0
 Dependency: gettext-0.14.5_2
 Dependency: glib-2.12.9
 Dependency: gnome-desktop-2.16.3
 Dependency: gnome-doc-utils-0.7.2_1
 Dependency: gnome-icon-theme-2.16.1
 Dependency: gnome-keyring-0.6.0
 Dependency: gnome-menus-2.16.1
 Dependency: gnome-mime-data-2.4.3
 Dependency: gnome-panel-2.16.3
 Dependency: gnome-sharp-2.16.0
 Dependency: gnome-vfs-2.16.3
 Dependency: gnome_subr-1.0
 Dependency: gnomehier-2.2
 Dependency: gtk-2.10.9
 Dependency: gtk-engines2-2.8.2
 Dependency: gtk-sharp-2.10.0_1
 Dependency: gtkhtml3-3.12.3
 Dependency: hicolor-icon-theme-0.9_2
 Dependency: icu-3.6
 Dependency: intltool-0.35.4
 Dependency: jpeg-6b_4
 Dependency: lcms-1.16_1,1
 Dependency: libIDL-0.8.7
 Dependency: libXft-2.1.7_1
 Dependency: libart_lgpl-2.3.17_1
 Dependency: libaudiofile-0.2.6
 Dependency: libbonobo-2.16.0_1
 Dependency: libbonoboui-2.16.0
 Dependency: libcddb-1.2.2
 Dependency: libcdio-0.77_1
 Dependency: libcroco-0.6.1
 Dependency: libdrm-2.0.2
 Dependency: libexif-0.6.13
 Dependency: libgcrypt-1.2.4
 Dependency: libglade2-2.6.0_2
 Dependency: libgnome-2.16.0
 Dependency: libgnomecanvas-2.14.0_2
 Dependency: libgnomecups-0.2.2_2,1
 Dependency: libgnomeprint-2.12.1_3
 Dependency: libgnomeprintui-2.12.1_2
 Dependency: libgnomeui-2.16.1
 Dependency: libgpg-error-1.4
 Dependency: libgphoto2-2.3.1
 Dependency: libgsf-1.14.3
 Dependency: libiconv-1.9.2_2
 Dependency: librsvg2-2.16.1
 Dependency: libtasn1-0.3.8
 Dependency: libusb-0.1.12_1
 Dependency: libvolume_id-0.71.0_1
 Dependency: libwnck-2.16.3
 Dependency: libxml2-2.6.27
 Dependency: libxslt-1.1.20
 Dependency: linc-1.0.3_6
 Dependency: mono-1.2.2.1_1
 Dependency: monodoc-1.2.1
 Dependency: nspr-4.6.4
 Dependency: nss-3.11.4
 Dependency: openldap-client-2.3.33
 Dependency: p5-XML-LibXML-1.62001
 Dependency: p5-XML-LibXML-Common-0.13
 Dependency: p5-XML-NamespaceSupport-1.09_1
 Dependency: p5-XML-Parser-2.34_2
 Dependency: p5-XML-SAX-0.15
 Dependency: pango-1.14.10
 Dependency: pciids-20070123
 Dependency: perl-5.8.8
 Dependency: pkg-config-0.21
 Dependency: png-1.2.14
 Dependency: policykit-0.1.20060514_3
 Dependency: popt-1.7_2
 Dependency: py24-libxml2-2.6.27
 Dependency: scrollkeeper-0.3.14_5,1
 Dependency: sdocbook-xml-1.1,1
 Dependency: sqlite-3.3.12
 Dependency: startup-notification-0.8_3
 Dependency: tiff-3.8.2_1
 Dependency: vte-0.14.2_1
 Dependency: xmlcatmgr-2.2
 Dependency: xorg-fonts-encodings-6.9.0_1
 Dependency: xorg-fonts-truetype-6.9.0
 Dependency: xorg-libraries-6.9.0_1
 
State-Changed-From-To: feedback->open 
State-Changed-By: tmclaugh 
State-Changed-When: Fri Feb 16 15:49:32 UTC 2007 
State-Changed-Why:  
Can you try running `dbus-launch f-spot` instead of just `f-spot`? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108843 
State-Changed-From-To: open->closed 
State-Changed-By: tmclaugh 
State-Changed-When: Sat Feb 24 05:14:12 UTC 2007 
State-Changed-Why:  
Closing, submitter indicated in private email that last suggestion fixed the 
problem.  f-spot requires dbus and if not run from a dbus enabled desktop 
environment (like Gnome) the app must be launched using dbus-launch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108843 
>Unformatted:
