Steve Borho wrote:
>>>> Any ideas what on earth is going on?
>>> Ah, in this case, I suspect the problem is that C:\GTK\bin must be in your
>>> path.
>> Ah you saying it is and it shouldn't be or it isn't but it should be?
> 
> C:\GTK\bin needs to be in your path for PyGtk to work.  It needs to be
> able to find those DLLs to load that pyd.

OK, but what about
> 
>>> I also suspect in the original case that copying the python25.dll that
>>> comes in the TortoiseHg directory into the library.zip folder of the
>>> _gobject.pyd would fix that problem.
>> Sorry, I didn't understand this at all. Can you explain in simple steps what
>> I should do? (and, as a secondary thing, why installing TortoiseHg didn't
>> "just work"?)
> 
> I think that the installed TortoiseHg is failing to load _gobject.pyd
> because _gobject.pyd links against python25.dll and it is finding your
> C:\Python25\ DLL 

Why C:\Python25\ DLL python25.dll?

> before the one that was installed with TortoiseHg.

But they're surely both the same dll? And why would the installed 
version be finding my python25.dll before its own?

> Another way to test that theory would be to move TortoiseHg in front
> of Python in your PATH.

Tried that, doesn't appear to have made any difference:

C:\Documents and Settings\Chris>set PATH
Path=C:\Program Files\TortoiseHg;C:\Program Files\PC Connectivity 
Solution\;C:\Program Files\CollabNet Subversion 
Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO
WS\System32\Wbem;C:\Python25;C:\Program Files\Common 
Files\GTK\2.0\bin;C:\Program Files\Common 
Files\Adobe\AGL;C:\MingW\bin;C:\Program Files\QuickTime\QTSystem\
;C:\putty;C:\Program Files\TortoiseSVN\bin;


C:\Documents and Settings\Chris>hgtk
Traceback (most recent call last):
   File "hgtk", line 27, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "gtk\__init__.pyo", line 38, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "gobject\__init__.pyo", line 30, in <module>
   File "zipextimporter.pyo", line 82, in load_module
   File "gobject\constants.pyo", line 22, in <module>
   File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading gobject\_gobject.pyd

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to