Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnucash / gtkhtml failure
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
xr31Daisy
Guru
Guru


Joined: 19 Jul 2002
Posts: 326
Location: Paris, France

PostPosted: Sun Sep 14, 2003 4:25 pm    Post subject: gnucash / gtkhtml failure Reply with quote

I've recently installed gnome 2.4 ( yes, via the gnome-bmg ebuild ) and maybe removed something that I shouldn't have.
When I open my gnucash files , gnucash exits with this message :
Code:
gtkhtml-ERROR **: gconf error: Failed to contact configuration server (a likely cause of this is that you have an existing configuration server (gconfd) running, but it isn't reachable from here - if you're logged in from two machines at once, you may need to enable TCP networking for ORBit)
 
 
aborting...
Aborted


I've tried reemerging both gnucash and gkthtml, without success.
Any suggestions ?
_________________
#include "pictures.h"
Back to top
View user's profile Send private message
xr31Daisy
Guru
Guru


Joined: 19 Jul 2002
Posts: 326
Location: Paris, France

PostPosted: Sun Sep 14, 2003 9:14 pm    Post subject: Reply with quote

Simple error message, and simple problem : gconfd-1 wasn't running. I've started it manually and gnucash works fine again. Except it was automatic before. And I'm not sure where the problem comes from.
_________________
#include "pictures.h"
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Sep 15, 2003 2:15 pm    Post subject: Reply with quote

Posted a bug report

https://bugs.gentoo.org/show_bug.cgi?id=28787
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Sat Oct 11, 2003 1:49 am    Post subject: Reply with quote

I can't get this to work...

I've run gconfd-1 manually, but when I run gnucash-1.8.4 i get the same error.

Quote:

gtkhtml-ERROR **: gconf error: Failed to contact configuration server (a likely cause of this is that you have an existing configuration server (gconfd) running, but it isn't reachable from here - if you're logged in from two machines at once, you may need to enable TCP networking for ORBit)


aborting...
[1]+ Exit 1 gconfd-1
Aborted
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Mon Oct 13, 2003 12:41 am    Post subject: Reply with quote

I think this has something to do with the gtk2 USE flag. I am receiving the same errors as listed above. Gnucash launches gconfd-2 when I run it, then crashes. If I run gconfd-1 before starting gnucash, it works fine.
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Mon Oct 13, 2003 2:05 am    Post subject: Reply with quote

This only works for me as root. If I run gconfd-1 as anyone other than root it has no effect on gnucash.

If root runs gconfd-1 and then gnucash, it works fine.

Darkweasel
Back to top
View user's profile Send private message
hgomersall
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jul 2002
Posts: 135
Location: Cambridge, UK

PostPosted: Sat Oct 18, 2003 2:45 pm    Post subject: Reply with quote

/usr/bin/gnucash is a script, so it can be edited to load gconfd-1 before loading gnucash. It would be better to have it check to see if gconfd-1 is running though.

Also, gconfd-1 doesn't return, so it needs to be loaded from the command line with gconfd-1 &. How do I implement this in a script?

hen
Back to top
View user's profile Send private message
Ant
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 129
Location: Australia

PostPosted: Sun Nov 02, 2003 12:18 am    Post subject: My partial success. Reply with quote

Well, gnucash starts gconfd-2 instead of gconfd-1, as above, starting gconfd-1 manually solved the problem. As long as gconfd-1 and gnucash were both started by the same user (not neccessarily root) it works fine.

Anyone know why gconfd-2 is being started and how? Maybe we can short circuit it to use gconfd-1 always??

For those that are reading this because they can't even compile it. If you are running the 2.6.0-test kernel, you'll have to boot back into a 2.4 kernel and compile there (for some reason beyond my interest at this point). Compile it there then you can run it in your normal 2.6 kernel.

Regards,

Ant.
Back to top
View user's profile Send private message
daddio
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 145
Location: Orem, UT

PostPosted: Mon Dec 01, 2003 6:17 pm    Post subject: Reply with quote

hgomersall wrote:
/usr/bin/gnucash is a script, so it can be edited to load gconfd-1 before loading gnucash. It would be better to have it check to see if gconfd-1 is running though.

Also, gconfd-1 doesn't return, so it needs to be loaded from the command line with gconfd-1 &. How do I implement this in a script?

hen


You pretty much answered your own question. just add the line

/usr/bin/gconfd-1 &

to your /usr/bin/gnucash file

near the beginning. (I added it right after #!/bin/sh)

What I don't know is how to make it unload gconfd-1 when you are done with gnucash
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Mon Dec 01, 2003 6:57 pm    Post subject: Reply with quote

For me, if any non-root user attempts to run "gconfd-1 &" it returns immediately with "gconfd-1 ended".

Only root can execute "gconfd-1 &" and have it stay active. Of course, root then needs to run gnucash.

Any one have any ideas why? It's annoying to keep running gnucash as root.
Back to top
View user's profile Send private message
levez
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2003
Posts: 89
Location: Staffordshire, England / Airstrip One

PostPosted: Fri Dec 05, 2003 4:12 pm    Post subject: Reply with quote

I'm getting the same problem, though if I run gconfd-1 it works okay. As I understand it, the differences between gconfd-1 & 2 is that they are for GTK1/2 programs.

I can start the program okay without running it, but when I tried to look at the New User tutorial (since I've not used it before) that is when it crashes. Odd.

I was looking at the gtk demo app last night, which I think uses gtkhtml, and that was okay. So I'm guessing the program lies more with the gconfd-2 => gtkhtml connection rather than some real bug in either component.
_________________
Sometimes evil can be quite good.
Back to top
View user's profile Send private message
darkweaseljedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 101
Location: Minneapolis, MN

PostPosted: Mon Dec 29, 2003 2:08 pm    Post subject: Reply with quote

Turns out my problem was related to NFS.

https://forums.gentoo.org/viewtopic.php?t=114550&highlight=

Thanks,
darkweasel
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Dec 14, 2004 12:37 am    Post subject: Reply with quote

For whatever reason gnucash now fails to print. I've gone thru every thread on this. gconfd-1 is not starting. gconfd-2 is, and so -1 won't. If I stop -2, -1 will run, but gnucash still ddoen't print. I have tried re-emerging gnucash, gconfd-1, downgrading to gconf2-2.8.0.1. Tried running both as root.


What gives???????????????????????? :(
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum