On Sun, Jul 5, 2009 at 8:13 PM, TK Soh<teekay...@gmail.com> wrote:
> On Wed, Jun 10, 2009 at 2:42 PM, Steve Borho<st...@borho.org> wrote:
>> On Wed, Jun 10, 2009 at 3:47 AM, KLEIN
>> Stéphane<steph...@is-webdesign.com> wrote:
>>> Hi,
>>>
>>> I would like use hgtk on my ubuntu 9.04 but I've this error :
>>>
>>> skl...@eee-sklein:~$ hgtk about
>>> icon not found hg.ico
>>>
>>> I use :
>>>
>>> * mercurial : 1.2.1
>>> * tortoisehg : 0.7.6
>>>
>>> Installed from source (tar.gz) with
>>>
>>> $ sudo python setup install
>>>
>>> My python version is 2.6.2
>>>
>>> Other information :
>>>
>>> skl...@eee-sklein:/usr/local$ find | grep "hg\.ico"
>>> ./src/hgtk/icons/tortoise/hg.ico
>>> ./share/pixmaps/tortoisehg/icons/tortoise/hg.ico
>>> ./share/pixmaps/tortoisehg/icons/hg.ico
>>> skl...@eee-sklein:/usr/local$
>>>
>>> skl...@eee-sklein:~$ dpkg -l | grep "python" | grep "gtk"
>>> ii  python-gtk2
>>> 2.14.1-1ubuntu1                    Python bindings for the GTK+ widget set
>>> ii  python-gtkhtml2
>>> 2.19.1-0ubuntu14                   Python bindings for the GtkHTML2
>>> library
>>> ii  python-gtksourceview2
>>> 2.6.0-0ubuntu1                     Python bindings for the GtkSourceView
>>> widget
>>
>> The stable source tree does not support install via setup.py.  You
>> should be able to run directly out of the tarball you downloaded, just
>> symlink the contrib/hgtk script into your $PATH.
>>
>> Have a look at the hgtk page on the wiki for more information.
>>
>> --
>> Steve Borho
>>
>> PS: When 0.8 is released, it will support setup.py installs and we
>> should have binary packages for the most popular distributions.
>
> I am using 0.8's hgtk via symlink on Fedora 9, but am getting the
> "icon not found" messages too. I was not getting this error error
> before that (not sure which version I was using). I checked  hgtk's
> wiki page, but not special notes on the symlink approach. Any
> pointers?

Look for thgutil/config.py*, and delete anything you find.  Setup.py
is building this file because you need it if you are installing
tortoisehg under /usr.  Unfortunately it does this even if you just
run something like 'python setup --version'.

I almost checked in a workaround for it today, but I didn't like the
hack so I'm going to think about it a bit more.

--
Steve Borho

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to