| Summary: | media-gfx/f-spot-0.2.2 fails to start | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ilya Schurov <ivsgentoo> |
| Component: | Current packages | Assignee: | Joe McCann (RETIRED) <joem> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | greg, paulo |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ilya Schurov
2006-11-01 05:04:08 UTC
same happens for me with 0.2.2, also when launching f-spot with dbus-launch. 0.2.0 worked fine (although it needed dbus-launch for me -- perhaps it wouldn't if I were using gnome, but I use a lightweight WM). smulloni@bracknell ~ $ emerge --info Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 Last Sync: Sat, 04 Nov 2006 08:00:02 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11 dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/smulloni/workdir/svn.wnyc.org/trunk/gentoo/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cairo cli cracklib crypt cups curl dbus divx4linux dlloader dri dv dvd dvdread eds elibc_glibc emacs emboss encode escreen esd fame ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif gimp glade gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber javascript jpeg kde kernel_linux lcms libg++ libwww mad maildir mikmod mmx motif mozxmlterm mp3 mpeg nautilus ncurses nls nptl ogg opengl oss pam pango pcre perl png postgres pppd python qt3 qt4 quicktime readline reflection samba sdl session sox spell spl sqlite ssl subtitles tcpd tiff truetype truetype-fonts type1-fonts udev urandom usb userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis wxwindows xchattext xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS Actually, the problem is simply that f-spot now evidently requires that the systemwide dbus service be started. /etc/init.d/dbus start solves the problem. Jacob, thanks for the hint, but it doesn't work for me: [user@heartofgold user #2049]$ sudo /etc/init.d/dbus start * Starting D-BUS system messagebus ... [ ok ] [user@heartofgold user #2050]$ f-spot Unhandled Exception: System.ArgumentNullException: Argument cannot be null. Parameter name: key at System.Collections.Generic.Dictionary`2[System.String,NDesk.DBus.Bus].GetPrev (System.String , System.Int32& ) [0x00000] at System.Collections.Generic.Dictionary`2[System.String,NDesk.DBus.Bus].GetSlot (System.String , System.Int32& ) [0x00000] at System.Collections.Generic.Dictionary`2[System.String,NDesk.DBus.Bus].ContainsKey (System.String ) [0x00000] at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at FSpot.Driver.Main (System.String[] args) [0x00000] Ooops, "dbus-launch f-spot" solves the issue. Shouldn't be this info somewhere in the ebuild? (In reply to comment #4) > Ooops, "dbus-launch f-spot" solves the issue. Shouldn't be this info somewhere > in the ebuild? > dbus is on, still f-spot doesn't start.. it gives the following: $ dbus-launch f-spot Starting new FSpot server XXXXX Mono.Data.SqliteClient.SqliteSyntaxException: file is encrypted or is not a database in <0x00181> Mono.Data.SqliteClient.SqliteCommand:GetNextStatement (IntPtr pzStart, System.IntPtr pzTail, System.IntPtr pStmt) in <0x00136> Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32 rows_affected) in <0x00022> Mono.Data.SqliteClient.SqliteCommand:ExecuteNonQuery () in <0x0006c> MetaStore:CreateTable () in <0x000e1> MetaStore:.ctor (Mono.Data.SqliteClient.SqliteConnection connection, Boolean is_new) in <0x00183> Db:Init (System.String path, Boolean create_if_missing) in <0x000c3> FSpot.Core:.ctor () in <0x004fb> FSpot.Driver:Main (System.String[] args) XXXXX Starting new FSpot server Starting new FSpot server Starting new FSpot server Starting new FSpot server Starting new FSpot server Starting new FSpot server Starting new FSpot server Starting new FSpot server emerge --info: # emerge --info Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17.7 x86_64) ================================================================= System uname: 2.6.17.7 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-52 Gentoo Base System version 1.12.6 Last Sync: Mon, 13 Nov 2006 13:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib alsa amd64 arts avi berkdb bitmap-fonts bonobo cairo cdda cddb cdr cli cpudetection cracklib crypt cups daap dbus dlloader doc dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_wacom ipv6 isdnlog jpeg kde kernel_linux ldap libg++ live livecd mad mikmod mjpeg mono mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc rtsp sdl session shout sound spell spl ssl stream tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_nv video_cards_nvidia video_cards_vesa vorbis wacom xine xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS in reply to my self: this 'Starting new f-spot server' keeps repeating until i stop it with ctrl-c thanks bart Having the same issue reported above gregf@betsy ~ % 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] Portage 2.1.2-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19.2 i686) ================================================================= System uname: 2.6.19.2 i686 Intel(R) Pentium(R) D CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 30 Jan 2007 19:00:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache cvs digest distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa berkdb bitmap-fonts cairo cdr cli cracklib cups dlloader dri dvd dvdr emboss encode esd fam firefox fortran gdbm gif gstreamer gtk hal iconv isdnlog java jpeg ldap libg++ mad midi mikmod mp3 mpeg ncurses nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv cirrus" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Like mentioned if i run f-spot with the following it does launch fine after. Have not really tested to see how well it's running but it does start. gregf@betsy ~ % dbus-launch f-spot Same issue here: $ 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 tr ace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at FSpot.Driver.Main (System.String[] args) [0x00000] $ dbus-launch f-spot also solves problem. f-spot version is 0.3.3. # emerge --info Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r4 x86_64) ================================================================= System uname: 2.6.18-gentoo-r4 x86_64 Intel(R) Pentium(R) D CPU 3.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 20 Feb 2007 12:59:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 ada aiglx alsa amarok amazon amd64 asf athena auctex audacious audiofile berkdb bitmap-fonts blender-game bonobo branding bzip2 cairo cdr cli cpudetection cracklib crypt cups cvs dbus divx djvu dlloader dnd doc dri dv dvd dvdread dvi dxr3 effects emacs eolconv escreen etwin examples fame ffmpeg firefox flac fluidsynth fortran gdbm gif gimp gimpprint gkrellm glade glep glib glut gmail gmedia gnome gpm graphviz gstreamer gtk gtkhtml guile gzip-el hal haskell hddtemp iconv imagemagick imlib inkjar isdnlog jack java javascript jingle jpeg kde kdeenablefinal latex ldap libg++ lm_sensors lzo midi mikmod mjpeg mng mono motif mozbranding mp3 mpeg mplayer mysql ncurses neXt nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl pam pascal pcre pdf perforce perl php png pop postgres ppds pppd preview-latex python qt3 qt4 quicktime rdesktop readline realmedia reflection ruby samba sametime sdl seamonkey sensord session slang slp sndfile speex spell spl sql sqlite ssl subtitles subversion svg tcl tcltk tcpd tetex theora tiff timidity tk toolkit-scroll-bars truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vcd vim-syntax visualization vorbis wmf wmp xcomposite xface xine xml xorg xpm xprint xrandr xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Well for people having the unable to open session bus problem, I'm not sure how to go about it. Yes, you need a dbus session bus started in addition to the system bus. I think all login managers should do this by default(most do, and the dbus ebuild adds a proper file for gdm). There are several other apps that behave this way and I feel like limiting the "you need to start a session bus" message to this ebuild doesn't solve the problem. If people aren't using a login manager like gdm or kdm, they need to know that a dbus session will need to be started for the increasingly growing number of applications that are adopting dbus. Part of me thinks that if you are running startx, you should be aware of how things work and that you will need to edit some config files to start session services, since there is no "works just right out of the box" goal with that script. I'll see what other dbus using maintainers think. The only real solution I see for this is to make a note of that in the dbus elog output. For now, if you are using gnome via startx, just put exec dbus-launch gnome-session in your ~/.xinitrc file. Created a new bug to add information about dbus-launch at the end of the dbus ebuild. *** This bug has been marked as a duplicate of bug 168263 *** |