On Windows GRAMPS is usually started from the menu entry or a short cut to the same location, that is fine when everything is working
fine. When your system is experiencing the problem described here, trying to start GRAMPS will cause the GRAMPS GUI to never appear, and you will get no user information back about the problem.
The only visibility to the actual problem will be when you start GRAMPS from the command prompt, in that case you will get the error message from python similar to the following:
ImportError: DLL load failed: The specified procedure could not be found.
What is happening is that python is trying to load the Gtk runtime, when python is unsuccessful loading the runtime, it will throw
and exception and dump the above trace out. There can be many reasons why python cannot load the gtk-runtime.
Now it is up to the user to diagnose what is wrong with his/her system and rectify it. Unfortunately since there have been multiple causes for the error in the past this can be quite difficult resulting in potential GRAMPS users to throw their hands up in disgust and give up, this page is solely to discuss possible methods to identify and fix the above problem.
If your minimal test throws the exception as shown you have just proved the problem exists between python and gtk-runtime, this is not a GRAMPS problem.
How you proceed from here is dependent on your own skill set and how dirty you are willing to get your hands.
check_gtk_install was an attempt to create a script to help diagnose problems with the gtk install, it has been of limited success, sometimes helping, sometimes confusing more. Possibly the biggest problem, is that the output of the script can be cryptic and can need someone with prior knowledge to decode it.
You will need to download [https://gramps.svn.sourceforge.net/svnroot/gramps/trunk/windows/check_gtk_install.py check_gtk_install.py] the check script benefits from a couple of other third party components to be downloaded as well
* [http://python.net/crew/mhammond/win32/ Win32Api] Provides some ability to handle dos short path names that might be encountered in the path environment variable. This is a python library, download and install as you would any python library.
Run the script from the command
line and check (or post online in the GRAMPS Windows forum ) the output of the script.
Note; The DependencyWalker section may post a number of issues, that can safely be ignored.
I want to discuss how to use dependency walker on it's own to achieve the same aim.