"DLL load failed" when loading extensions - how to debug?
Benjamin Pollack
benjamin at bitquabit.com
Sun Oct 2 00:12:37 UTC 2011
On Oct 1, 2011, at 2:09 PM, Matt Mackall wrote:
> On Sat, 2011-10-01 at 11:41 +0100, Danny Tuppeny wrote:
>> I've been using the Kiln Client Tools for a while, and recently at work we
>> had a strange issue when we upgraded to Mercurial 1.9. We spent lots of time
>> discussing the issue with Fog Creek, but never really tracked down the
>> issue. With lots of installing/uninstalling/rebooting, the problem went
>> away, so we forgot about it.
>>
>> Now, I've just upgraded to 1.9.2 at home, and I have the same issue. Is
>> there anything I do to get more information than is given in the error? Eg.
>> What DLL?
>>
>> X:\Temp\HG Test>hg version
>> *** failed to import extension kiln from D:\Documents\Misc
>> Scripts\Mercurial\Kiln-Extensions\kiln.py: DLL load failed: The specified
>> module could not be found.
>> *** failed to import extension kbfiles from D:\Documents\Misc
>> Scripts\Mercurial\Kiln-Extensions\bfiles\kbfiles: 'module' object has no
>> attribute 'basestore'
>
> Both of these messages are specific to Kiln so you're asking in the
> wrong place.
Indeed, but thankfully, we try to monitor the list.
In this case: it looks as if you have mixed versions of kbfiles. Audit your Mercurial.ini file for duplicate entries of kbfiles, and make sure you have the most up-to-date copy of the Kiln extensions (we keep a Mercurial repository of a self-updating version of them at https://developers.kilnhg.com/Repo/Kiln/Group/Kiln-Extensions). If that fails to magically fix your problem, let me know, and we'll figure it out from there.
While I don't mind monitoring this list, Kiln-specific issues are best discussed either at the Kiln StackExchange (http://kiln.stackexchange.com) or by contacting Fog Creek customer service (customer-service at fogcreek.com). You'll get a faster response, and allow this list to be focused on pure Mercurial issues.
--Benjamin
More information about the Mercurial
mailing list