Getting "*** failed to import extension" errors after upgrading to 1.5.1

Vishakh Harikumar vsh426 at gmail.com
Thu Apr 29 13:20:29 CDT 2010


On Thu, Apr 29, 2010 at 11:29 PM, Vishakh Harikumar <vsh426 at gmail.com>wrote:

>
>
> On Thu, Apr 29, 2010 at 3:07 PM, Pavel Shevaev <pacha.shevaev at gmail.com>wrote:
>
>> Folks, I have upgraded my mercurial installation to 1.5.1 version and
>> now hg can't find extensions.
>>
>> I used to have mercurial installed by apt-get, first I removed it by
>> running "apt-get --purge remove mercurial" and then installed
>> mercurial from the source manually.
>>
>> Looks like it can't find the directory with built-in extensions for
>> some reason. it's strange because it's definitely in PYTHONPATH: I
>> added "print sys.path" into /usr/local/bin/hg and now when running hg
>> it shows something like this:
>>
>> ['/usr/local/bin', ... '/usr/local/lib/python2.6/dist-packages']
>>
>> ... and /usr/local/lib/python2.6/dist-packages/hgext does contain the
>> required extension(fetch in my case)
>>
>> What am I doing wrong?
>>
>> -- Best regards, Pavel
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>
>
> did apt-get remove the 'mercurial-common' package as well?
>
> --
> vsh
>

seems like apt-get doesnt remove the mercurial-common package along with
mercurial
do a 'apt-get remove mercurial-common' as well

-- 
vsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100429/cbe88d79/attachment.htm>


More information about the Mercurial mailing list