From: <ste...@op...> - 2011-07-04 00:15:47
|
Hi David > David Lynch <dav...@vi...> wrote: > > On 03/07/2011 18:54, Josip wrote: > > On 03.07.2011 17:29, David Lynch wrote: > > > >> from glib._glib import * > >> ImportError: DLL load failed: The specified procedure could not be > >> found. > >> > >> This error is similar, but not identical, to the one I was getting > when > >> trying to install the packages separately two weeks ago. > >> > > > > Everything in AIO is built with mingw so it depends of msvcrt, except > > of python himself which is from python.org build with msvc so it > > depends on msvcr90. > > Try installing: > > http://www.microsoft.com/download/en/details.aspx?id=29 > > > I have tried this. The download from the micrsosoft site appears > successful. But I still get the same error. ================== Copied part of your earlier email thread where you ran check_gtk_install.py and documented it's output. On 15/06/2011 8:11 AM, David Lynch wrote: > 1. I am unable to install gramps 3.3.0 on Windows 7. > Since your having problems running AIO version as well as the minimal Gramps installation I feel that their is something fundamentally different about your computer. > 5. I installed and ran the script <check_gtk_install.py>, and as a > result of the first run of this got errors relating to MSVCR90.DLL and > IESHIMS.DLL. I then copied these DLLs to the \Windows\System32 directory > as advised. I'm not sure the advise to copy MSVCR90.dll to Windows\System32 is correct, on win7 I would be expecting to see it get loaded from the WinSxs directory, .. The check_gtk_install script that you run earlier has picked up on a WinSxs version being loaded, The advise from Josip would MSVCR90 correctly install into a WinSxs directory, and not dump MSVCR90 in Windows\System32. (but it looks like it's already there) In your output from the check script you may note, that two versions of MSVCR90 are being loaded. MS runtime Version 9.0.30729.5570 loaded from c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_non e_509463cabcb6ef2a\MSVCR90.DLL MS runtime Version 9.0.21022.8 loaded from c:\windows\system32\MSVCR90.DLL If it were my system I think I would be getting rid of MSVCR90.dll in windows\system32 as I suspect you manually copied that there. But be cautious as you may find some other program might stop working, and you may have to re-instate the MSVCR90.dll. However I don't think that will fix your problem (and you may not want to do this until you investigated the next part). I am more worried about this entry in your output of check install script. ====Checking environment path for other gtk installations==== FOUND: C:\GTK\bin, Probably OK as appears AFTER runtime path FOUND: C:\Program Files\Graphviz2.26\bin, Probably OK as appears AFTER runtime path FOUND: C:\Windows\system32, Probably OK as appears AFTER runtime path *************************************************************** * While there are other installations of GTK DLL's on the path, * it should be safe as they are on the path AFTER the runtime * directory. I can't work out why the script is finding gtk dll's in windows\system32 . They should not be there!! Looking at the check_gtk_install script to see what it is doing at that time. - It grabs the environment path - finds the entry for GTK runtime path as a reference point - iterates over each path in the environment path looking for a few of gtk dll's - if it finds a dll, it will spit out the message that the runtime dll's were found with reference to before or after the GTK entry on path. It would seem you happen to have c:\windows\system32 in your environment path which is why it's being checked (and that's OK), but it should not have spit out the message unless it found GTK dll's in your system32 path. The DLL's the script is looking for are 'libgdk-win32-2.0-0.dll', 'libglib-2.0-0.dll', 'libgobject-2.0-0.dll', 'libcairo-2.dll' do you have any of these in your Windows\System32 ??, I suspect you do, then they may also be the reason why AIO is also not working properly. ( windows\system32 is a special path that gets checked for DLL's before entries in your environment path) If you find any of these in system32 then you should delete them, .. but you may have further work working out if there are any other gtk dll's in system32 that the script didn't check for, don't think just those 4 dll's would be the extent of your problems. Would be interested to finding out if you indeed had gtk DLL's in system32 Good luck - Steve ======== output from check gtk install script ============== > > C:\Python26>path > PATH=C:\Program Files\GTK2-Runtime\bin;C:\Program > Files\GTK2-Runtime;c:\python26 > \Lib\site-packages\WebKitGTK-1.1.16\bin;C:\Python26\Lib\site-packages;C:\GTK\bin > ;C:\Program > Files\Graphviz2.26\bin;C:\python26\lib\site-packages\gtk-2.0\gtk;C:\ > Windows\system32;C:\Windows; > > C:\Python26>python > Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit > (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> import gtk > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line > 40, in <mod > ule> > from gtk import _gtk > ImportError: DLL load failed: The specified procedure could not be found. > >>> ^Z > > > C:\Python26>python "C:\python26\check_gtk_install.py" > > ==== platform.win32_ver() reports ==== > Operating System: Vista > Version : 6.0.6002 > Service Pack : SP2 > OS type : Multiprocessor Free > > ==== Checking Registry for GTK ===== > Version : 2.16.6 > Path : C:\Program Files\GTK2-Runtime > DllPath : C:\Program Files\GTK2-Runtime\bin > > ==== Use win32Api to query short path name for GTK ===== > DllPath8.3: C:\PROGRA~1\GTK2-R~1\bin > > ==== Use ctypes to find dlls ==== > OK ... ctypes found dll's in C:\Program Files\GTK2-Runtime\bin > > ====Checking environment path for other gtk installations==== > FOUND: C:\GTK\bin, Probably OK as appears AFTER runtime path > FOUND: C:\Program Files\Graphviz2.26\bin, Probably OK as appears > AFTER runtime > path > FOUND: C:\Windows\system32, Probably OK as appears AFTER runtime path > *************************************************************** > * While there are other installations of GTK DLL's on the path, > * it should be safe as they are on the path AFTER the runtime > * directory. > > ==== Test import into python ==== > Python version 2.5.1 or above..... found 2.6.6 ...OK > GTK+ version 2.10.11 or above..... Not Found > pyGTK version 2.10.6 or above..... Cannot test, ...GTK+ missing > gobject version 2.12.3 or above..... found 2.20.0 ...UNTESTED VERSION > cairo version 1.2.6 or above..... found 1.4.12 ...OK > > ==== See if libglade installed ==== > Glade importError: DLL load failed: The specified procedure could > not be fou > nd. > > > ==== Checking with Dependency Walker ==== > Please be patient takes some time > Testing file C:\Python26\Lib/site-packages/gtk-2.0/gtk/_gtk.pyd > > MS runtime Version 9.0.30729.5570 loaded from > > c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_non > e_509463cabcb6ef2a\MSVCR90.DLL > > MS runtime Version 9.0.21022.8 loaded from > c:\windows\system32\MSVCR90.DLL > > Testing file C:\Python26\Lib/site-packages/gtk-2.0/gobject/_gobject.pyd > > MS runtime Version 9.0.30729.5570 loaded from > > c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_non > e_509463cabcb6ef2a\MSVCR90.DLL > > MS runtime Version 9.0.21022.8 loaded from > c:\windows\system32\MSVCR90.DLL > > Testing file C:\Python26\Lib/site-packages/gtk-2.0/pangocairo.pyd > > MS runtime Version 9.0.30729.5570 loaded from > > c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_non > e_509463cabcb6ef2a\MSVCR90.DLL > > MS runtime Version 9.0.21022.8 loaded from > c:\windows\system32\MSVCR90.DLL > > > C:\Python26> |