On 10.09.2009 14:45, Chris Withers wrote:
> Adrian Buehlmann wrote:
>> On 10.09.2009 13:14, Chris Withers wrote:
>>> Adrian Buehlmann wrote:
>>>> does 'hgtk log' in cmd.exe work?
>>> No:
>>>
>>> C:\>hgtk log
>>> Traceback (most recent call last):
>>> File "hgtk", line 27, in <module>
>>> File "zipextimporter.pyc", line 82, in load_module
>>> File "gtk\__init__.pyc", line 38, in <module>
>>> File "zipextimporter.pyc", line 82, in load_module
>>> File "gobject\__init__.pyc", line 30, in <module>
>>> File "zipextimporter.pyc", line 82, in load_module
>>> File "gobject\constants.pyc", line 22, in <module>
>>> File "zipextimporter.pyc", line 98, in load_module
>>> ImportError: MemoryLoadLibrary failed loading gobject\_gobject.pyd
>> if run outside of a repo. Do you have a mercurial repo
>> somewhere?
>
> Yes, trying hgtk log in it results in the same output.
>
>> Does command line 'hg' work?
>
> Yes.
>
>> As as side note, you could also try installing the latest bugfix
>> nightly (TortoiseHg-Nightly-090908.exe) from
>> http://bitbucket.org/tortoisehg/thg-winbuild/downloads/
>>
>> Just to be sure, please uninstall 0.8.1 before installing
>> TortoiseHg-Nightly-090908.exe.
>
> Done.
>
>> TortoiseHg-Nightly-090908.exe allows to install without
>> the shell integration -- so you could concentrate on
>> command line hg + hgtk first (needs no reboot and no admin
>> login to install).
>
> Done, but same output...
>
> What should I do next?
It looks like the gtk import in hgtk already fails. The part of hgtk
up to line 27 is (comment lines removed):
'''
import os
import sys
if hasattr(sys, "frozen"):
# Prepend C:\Program Files\TortoiseHg\gtk (equiv) to the path
from thgutil import paths
gtkpath = os.path.join(paths.bin_path, 'gtk')
os.environ['PATH'] = os.pathsep.join([gtkpath, os.environ['PATH']])
else:
# if hgtk is a symlink, insert symlink target directory in sys.path
thgpath = os.path.dirname(os.path.realpath(__file__))
testpath = os.path.join(thgpath, 'thgutil')
if os.path.isdir(testpath) and thgpath not in sys.path:
sys.path.insert(0, thgpath)
import pygtk
pygtk.require('2.0')
import gtk
'''
TortoiseHg bundles gtk inside, maybe there could be a conflict
with a gtk you already have installed.
Do you have gtk installed? If yes, what version?
I admit I'm a bit at loss here. The definitive expert for this is
Steve Borho. I expect him to show up in an hour or two.
------------------------------------------------------------------------------
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