On Thu, Sep 10, 2009 at 10:56 AM, Chris Withers <[email protected]> wrote: > Steve Borho wrote: >>> >>> File "C:\Python25\lib\site-packages\gtk-2.0\gtk\__init__.py", line >>> 38, in <mod >>> ule> >>> import gobject as _gobject >>> ImportError: No module named gobject >>> >>> Interesting... >>> >>> 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. >> 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 before the one that was installed with TortoiseHg. Another way to test that theory would be to move TortoiseHg in front of Python in your PATH. If that fixes the problem, we should be able to work around it on our side by placing our install directory at the front of the PATH when hgtk starts. -- Steve Borho ------------------------------------------------------------------------------ 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

