GNOME Bugzilla – Bug 469464
corba/gconf errors on Vista
Last modified: 2018-06-29 21:46:41 UTC
+++ This bug was initially created as a clone of Bug #468279 +++ I receive the following error when I launch the program: An error occurred while loading or saving configuration information for gnucash. Some of your configuration settings may not work properly. Here are the details: Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Here is what I did to try to fix it: - Uninstall gnucash - Checked for registry keys to remove in HKEY_CURRENT_USER\Software\Gnucash and HKEY_LOCAL_MACHINE\Software\Gnucash, but uninstall had already removed them - Checked for C:\Program Files\gnucash, but uninstall had already removed it (my data files are on a different partition) - Removed the directories ~\.gconf, ~\.gconfd, ~\.gnome2, ~\.gnome2_private, and ~\.gnucash (~ is C:\Users\<username> in Vista) - Re-installed gnucash 2.2.1 This did not work (same error). The program works, but is so extremely sluggish it is really un-usable. Seems to be a dependency issue. I ran depends.exe on gnucash-bin.exe and have a Dependency Walker Image (.dwi) file that shows the missing dependencies. It reports the following missing modules: LIBGNCMOD-APP-UTILS.DLL LIBGNCMOD-CALCULATION.DLL LIBGNCMOD-ENGINE.DLL LIBGNCMOD-GNOME-SEARCH.DLL LIBGNCMOD-GNOME-UTILS.DLL LIBGNCMOD-LEDGER-CORE.DLL LIBGNCMOD-REGISTER-CORE.DLL LIBGNCMOD-REGISTER-GNOME.DLL LIBGNCMOD-REPORT-GNOME.DLL LIBGNCMOD-REPORT-SYSTEM.DLL I have verified that each and every one of these files exists under %PROGRAMFILES%\gnucash\lib\gnucash, so I'm not sure what the problem could be (although it does seem odd that when I hit the "View Full Paths" button in Dependency Walker, these are the only modules listed without a full path in front of the basename).
I did not have any such problems on the same platform with version 2.2.0 and no configuration changes were made prior to upgrade to 2.2.1. I simply installed it over the previous version.
Created attachment 94190 [details] Dependency Walker Image file
What about deleting C:\Documents and Settings\$user\Local Settings\Temp\gconf-$user\lock\ior?
(In reply to comment #3) > What about deleting C:\Documents and Settings\$user\Local > Settings\Temp\gconf-$user\lock\ior? I tried that; I should also mention some other things I have tried since posting this bug: - Made sure I was connected to the internet, in case it needed to contact some external IP for some reason. - Copied all DLLs from %PROGRAMFILES%\gnucash\bin to %PROGRAMFILES%\gnucash\libexec I still get the same error. I have re-installed version 2.2.0 so I can use GnuCash, but will be happy to try the upgrade again if you have more suggestions.
Created attachment 94402 [details] Folder permissions Here is a screen capture of the folder permissions for the following directories (all are the same): ~\.gconf ~\.gconfd ~\.gnome2 ~\.gnome2_private ~\.gnucash Including this because I have seen some discussion of permissions in other GnuCash bug reports.
I do not have any version of perl installed on this machine. Not sure if this is a problem, but I saw some "unable to spawn" error in the trace logs before I deleted them. I will re-install 2.2.1 and submit the trace logs if this seems relevant.
The missing dlls are due to incomplete search paths. A missing perl will only disable online price retrieval, so that is not an issue here. As a short-term solution, does uncompressing ftp://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.13/ORBit2-2.13.3.zip into your GnuCash installation folder help? Also, do you see two gconfd-2.exe processes running (that is actually intended...). Overall, this sounds like bug 449153. Could you please check whether that helps you, applies to you, and in case it does, give us some new information there? Thanks!
Yes, that orbit package fixes the problem. This is the first time I have been able to launch v2.2.1 properly (no delay, no error). To answer your other question, yes, I do see two gconfd-2 processes when the app is running. I can't tell if this is a duplicate of bug 449153. That problem was produced on an XP OS and the symptoms were somewhat different (may be the same problem and Vista just reacts differently to it). Thanks for helping me get the app running. Let me know if you need any additional info, or if I can test something else for you. I will be glad to help any way I can.
Ok, so I will not mark this bug as duplicate now. May you please give us the information asked for in bug 449153 comment 30 nonetheless? Thank you very much!
Created attachment 94686 [details] Requested network info Here is the requested information, although I don't know how useful it will be. The app works whether or not I am connected to a network.
Great information, but it would be cool if you could narrow it down for me a bit more. Please update ORBit2 again, i.e. the error should appear again, then disable some network devices, one by one, until GnuCash starts (or not), maybe starting with the "Media disconnected", then "Tunnel adaptors" and then "VMware adaptors". I wonder why gconfd-2.exe is listening on port 139 on two different interfaces. Any idea?
I am honestly not sure why gconfd-2.exe is listening on either of these interfaces. These interfaces were configured during installation of VMWare, but VMWare was not running when I took that snapshot. It is set up to NAT to the host address on this workstation, so that probably explains why it shows it listening on two different interfaces. Anyway, I updated ORBit2 and disabled interfaces as best I could (really this would be *much* easier in Linux) until I was left with my wireless interface, which is all I really use, and some pseudo-interface crap (Tunnel adapters 7 & 9 shown in the previous attachment). Still having the same problem loading GnuCash. So, I finally disabled the wireless interface. Now the app loads perfectly. To re-cap, all interfaces must be disabled in order for GnuCash to launch properly. I will attach "ipconfig /all" and "netstat -a -b" output in case you are interested.
Created attachment 94737 [details] New ipconfig and netstat output
Comment on attachment 94737 [details] New ipconfig and netstat output "ipconfig /all" and "netstat -a -b" output with all network interfaces disabled and GnuCash v2.2.1 running.
Hm. I noticed that on my computer, a process call "System" with PID 4 is listening on port 139 of all my interfaces. Could you please attach the output of "net start", i.e. a list of running services? Thanks a lot!
Created attachment 94864 [details] "net start" output
Thanks! If you do not mind, I have a few other comments/questions :-) I am running Windows XP Professional here and I do not know how Vista dialogs look alike. But I noticed that I can make System not listen on port 139 anymore when I configure my network interfaces > Internet Protocol (TCP/IP) > Properties > Advanced > WINS > Deactivate NetBIOS over TCP/IP. Do you have strange values on that tab or dialog, does playing with them help? Also may you please attach a "netstat -a -b -n" of the non-working scenario?
The Vista dialogs are pretty much the same as XP, but changing the NetBIOS settings did not help at all. I will attach the netstat output requested from this configuration: Updated ORBit2 files (non-working configuration), all network interfaces enabled, and NetBIOS disabled. I don't think I ever mentioned this before, but when I launch the app with the updated ORBit2 files in place I can always tell if it's not going to work because a window briefly comes up with ".\gconftool2.exe" in the title bar and then blows away. That only happens when GnuCash is going to fail to launch properly.
Created attachment 94897 [details] "netstat -a -b -n" output Command run with all interfaces enabled and NetBIOS disabled.
Unfortunately attachment 94897 [details] did not contain any references to gconfd-2.exe or gnucash-bin.exe :-( Also, could you please try to set the environment variable GCONF_DEBUG_OUTPUT (e.g. to 1), set the exetype of bin/gconfd-2.exe to console (http://wiki.gnucash.org/wiki/Windows#Subsystems_and_exetype) and attach what gconfd-2.exe prints out? Thanks!
Created attachment 94964 [details] "netstat -a -b -n" output, plus app console output Sorry, not sure how that happened. I am attaching "netstat -a -b -n" output that includes gnucash-bin.exe info. Bundled with console output from gnucash-bin.exe and gconfd-2.exe
*** Bug 480517 has been marked as a duplicate of this bug. ***
Another question: What is in Control Panel > Network Connections > Advanced > Advanced Settings > Adapters and Bindings, in what order and does changing the order help? What about installing the Microsoft Loopback Adapter (Control Panel > Hardware > ...) and moving that to the top of that list?
Sorry for the delayed response. Changing the order of the adapters (moving the active interface to the top of the list) did not help. I installed the Microsoft Loopback Adapter, but that did not help either. I was not able to move it to the top of the list because for some reason it does not show up in "Adapters and Bindings" (even after reboot). That may just be one of the things Vista Home Premium is hiding from us novice users.
*** Bug 488608 has been marked as a duplicate of this bug. ***
Err... this whole corba/gconf issue boils down to one specific problem in orbit2, see http://wiki.gnucash.org/wiki/Windows#GConf.2FORBit_COMM_FAILURE and especially bug#363648, which has an explanation for a weird listening interface. Should be fixed with bug#363648.
Will be fixed in the 2.2.2 release. *** This bug has been marked as a duplicate of 363648 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=469464. Please update any external references or bookmarks.