3

(I'm a newcomer to mercurial so I admit I could just be doing things wrong)

Edit: Just noticed this http://mercurial.selenic.com/bts/issue2930. Has this update not come out yet?

I have just created my first repo on kiln. Then I downloaded the importer for it. On trying to import my local repo (small test project) and I got something similar to

http://kiln.stackexchange.com/questions/2652/error-in-kiln-client-on-command-line-running-hg-status-windows-xp

That question has an answer asking the user to download the latest tools. However a comment asks:

What do you mean by 'client tools', though? Upgrade to the latest Kiln client? (How do I tell which version my current Kiln client is at?) And is there a client download link on the net, other than through my hosted Kiln site under the Resources pulldown?

-- However this is not answered.

Now when I run hg from the command line I get the following

C:\temp\master>hg status * failed to import extension kbfiles from C:\Users\preet\AppData\Local\KilnExtensions\bfiles\kbfiles: [Errno 2] No such file or directory[Errno 2] No such file or directory

Here is my log:

hg  version --noninteractive

Mercurial Distributed SCM (version 1.9+10-e9264b45237d)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Finished at: 15/08/2011 10:30:35 p.m.


hg  id "d:\kern" --noninteractive --config "auth.kiln.prefix=d:\kern" --config "auth.kiln.username=" --config "auth.kiln.password=False" --config "extensions.hggit=!"

e0bb784e02b2 tip


Finished at: 15/08/2011 10:30:35 p.m.


hg  root --noninteractive --config "extensions.hggit=!"

d:\kern


Finished at: 15/08/2011 10:30:35 p.m.


hg  root --noninteractive --config "extensions.hggit=!"

d:\kern


Finished at: 15/08/2011 10:30:36 p.m.


hg  root --noninteractive --config "extensions.hggit=!"

d:\kern


Finished at: 15/08/2011 10:30:36 p.m.


hg  init "C:\Users\preet\AppData\Local\Temp\HgClone 5zhdpmhc.cib" --noninteractive


** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 1.9+10-e9264b45237d)
** Extensions loaded: convert, hggit, big-push, flush
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 27, in run
  File "mercurial\dispatch.pyo", line 64, in dispatch
  File "mercurial\dispatch.pyo", line 87, in _runcatch
  File "mercurial\dispatch.pyo", line 675, in _dispatch
  File "mercurial\dispatch.pyo", line 454, in runcommand
  File "mercurial\dispatch.pyo", line 729, in _runcommand
  File "mercurial\dispatch.pyo", line 683, in checkargs
  File "mercurial\dispatch.pyo", line 672, in <lambda>
  File "mercurial\util.pyo", line 385, in check
  File "mercurial\commands.pyo", line 3283, in init
  File "mercurial\hg.pyo", line 104, in peer
  File "mercurial\hg.pyo", line 93, in repository
  File "mercurial\hg.pyo", line 78, in _peerlookup
  File "C:\Users\preet\AppData\Roaming\KilnImporter\hggit\__init__.py", line 35, in _local
    p = util.drop_scheme('file', path)
AttributeError: 'module' object has no attribute 'drop_scheme'

Finished at: 15/08/2011 10:30:36 p.m.


System.Exception: ** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 1.9+10-e9264b45237d)
** Extensions loaded: convert, hggit, big-push, flush
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 27, in run
  File "mercurial\dispatch.pyo", line 64, in dispatch
  File "mercurial\dispatch.pyo", line 87, in _runcatch
  File "mercurial\dispatch.pyo", line 675, in _dispatch
  File "mercurial\dispatch.pyo", line 454, in runcommand
  File "mercurial\dispatch.pyo", line 729, in _runcommand
  File "mercurial\dispatch.pyo", line 683, in checkargs
  File "mercurial\dispatch.pyo", line 672, in <lambda>
  File "mercurial\util.pyo", line 385, in check
  File "mercurial\commands.pyo", line 3283, in init
  File "mercurial\hg.pyo", line 104, in peer
  File "mercurial\hg.pyo", line 93, in repository
  File "mercurial\hg.pyo", line 78, in _peerlookup
  File "C:\Users\preet\AppData\Roaming\KilnImporter\hggit\__init__.py", line 35, in _local
    p = util.drop_scheme('file', path)
AttributeError: 'module' object has no attribute 'drop_scheme'

   at KilnImport.Model.ImportRunner.PerformImport(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
flag

1 Answer

1

Look in your C:\Users\preet\AppData\Local\KilnExtensions\ folder and see if you have a kbfiles folder there. If so, create a folder there called bfiles and then move the kbfiles folder into it.

(There was a version of the client installer that was not using the bfiles folder.)

link|flag
Interestng, I only downloaded the importer a few minutes ago. Has it been updated already? Ps. [Errno 2] No such file or directory is no fixed - cheers. – PxS Aug 15 2011 at 11:06
@Preet, the KilExtensions are part of the KilnClient, not the KilnImporter. – Uwe Raabe Aug 15 2011 at 15:10
@Preet - do you see a bfiles folder in your C:\Users\preet\AppData\Local\KilnExtensions directory? Does the bfiles folder contain a kbfiles folder? – Ken Morse Aug 16 2011 at 0:40
@ken. Have Done that. And I've downloaded a new importer. Thank you This issue is now fixed but I've stuck on the next stage. I'm raising a new question. – PxS Aug 25 2011 at 22:24

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.