unknown exception encountered... report bug details

View: New views
3 Messages — Rating Filter:   Alert me  

unknown exception encountered... report bug details

by Klasky, Hilda B. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI

Happened while trying to enable keywords

Mac OS X 10.5
=====================
klaskyhbmac:hello kpf$ hg kwfiles
hello.c
klaskyhbmac:hello kpf$ hg kwshrink
abort: outstanding uncommitted changes
klaskyhbmac:hello kpf$ hg status
M hello.c
? .project
? hello.c.orig
? version
klaskyhbmac:hello kpf$ hg commit hello.c
klaskyhbmac:hello kpf$ hg push
user@host's password:
pushing to ssh://user@host//projects/hello
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 11 changesets with 11 changes to 1 files
klaskyhbmac:hello kpf$ hg kwshrink
klaskyhbmac:hello kpf$ hg kwexpand
klaskyhbmac:hello kpf$ less hello.c
klaskyhbmac:hello kpf$ hg status
M hello.c
? .project
? hello.c.orig
? version
klaskyhbmac:hello kpf$ hg kwshrink
abort: outstanding uncommitted changes
klaskyhbmac:hello kpf$ hg commit hello.c
abort: unknown revision '?{?'!
abort: unknown revision '?{?'!
Null message body; hope that's ok
klaskyhbmac:hello kpf$ hg commit hello.c
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@...
** Mercurial Distributed SCM (version 1.3.1)
** Extensions loaded: keyword
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 27, in dispatch
    return _runcatch(u, args)
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 43, in _runcatch
    return _dispatch(ui, args)
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 449, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 317, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 501, in _runcommand
    return checkargs()
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 454, in checkargs
    return cmdfunc()
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 448, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 402, in check
    return func(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/mercurial/commands.py", line 667, in commit
    node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
  File "/Library/Python/2.5/site-packages/mercurial/cmdutil.py", line 1213, in commit
    return commitfunc(ui, repo, message, match(repo, pats, opts), opts)
  File "/Library/Python/2.5/site-packages/mercurial/commands.py", line 665, in commitfunc
    editor=e, extra=extra)
  File "/Library/Python/2.5/site-packages/hgext/keyword.py", line 467, in commit
    return super(kwrepo, self).commit(*args, **opts)
  File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line 886, in commit
    ret = self.commitctx(cctx, True)
  File "/Library/Python/2.5/site-packages/hgext/keyword.py", line 493, in kwcommitctx
    self.hook('commit', node=n, parent1=xp1, parent2=xp2)
  File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line 139, in hook
    return hook.hook(self.ui, self, name, throw, **args)
  File "/Library/Python/2.5/site-packages/mercurial/hook.py", line 121, in hook
    r = _exthook(ui, repo, hname, cmd, args, throw) or r
  File "/Library/Python/2.5/site-packages/mercurial/hook.py", line 85, in _exthook
    r = util.system(cmd, environ=env, cwd=cwd)
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 392, in system
    del os.environ[k]
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/os.py", line 501, in __delitem__
    del self.data[key]
KeyError: 'HG_NODE'

_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial

Re: unknown exception encountered... report bug details

by Christian Ebert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Klasky, Hilda B. on Thursday, October 29, 2009 at 10:17:00 -0400
> Happened while trying to enable keywords
>
> Mac OS X 10.5
> =====================
> klaskyhbmac:hello kpf$ hg kwfiles
> hello.c
> klaskyhbmac:hello kpf$ hg kwshrink

You are aware that you only need to run kwshrink before
_dis_abling keywords?

> abort: outstanding uncommitted changes
> klaskyhbmac:hello kpf$ hg status
> M hello.c
> ? .project
> ? hello.c.orig
> ? version
> klaskyhbmac:hello kpf$ hg commit hello.c
> klaskyhbmac:hello kpf$ hg push
> user@host's password:
> pushing to ssh://user@host//projects/hello
> searching for changes
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: added 11 changesets with 11 changes to 1 files
> klaskyhbmac:hello kpf$ hg kwshrink
> klaskyhbmac:hello kpf$ hg kwexpand
> klaskyhbmac:hello kpf$ less hello.c
> klaskyhbmac:hello kpf$ hg status
> M hello.c
> ? .project
> ? hello.c.orig
> ? version

This should not happen already. And I can't reproduce it.

~/HGworkspace/test$ hg kwfiles
a
b
~/HGworkspace/test$ hg kwshrink
abort: outstanding uncommitted changes
~/HGworkspace/test$ hg status
M a
~/HGworkspace/test$ hg ci -m test
~/HGworkspace/test$ hg push
pushing to /Users/chris/HGworkspace/testa
searching for changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 3 changes to 1 files
~/HGworkspace/test$ hg kwshrink
~/HGworkspace/test$ hg kwexpand
~/HGworkspace/test$ less a
~/HGworkspace/test$ hg status
~/HGworkspace/test$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.5.8
BuildVersion: 9L30

I will look more closely into it over weekend if I find time.

c
--
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/
_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial

Re: unknown exception encountered... report bug details

by Christian Ebert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Christian Ebert on Friday, October 30, 2009 at 11:52:43 +0100

> * Klasky, Hilda B. on Thursday, October 29, 2009 at 10:17:00 -0400
>> Happened while trying to enable keywords
>>
>> Mac OS X 10.5
>> =====================
>> klaskyhbmac:hello kpf$ hg kwfiles
>> hello.c
>> klaskyhbmac:hello kpf$ hg kwshrink
>
> You are aware that you only need to run kwshrink before
> _dis_abling keywords?
>
>> abort: outstanding uncommitted changes
>> klaskyhbmac:hello kpf$ hg status
>> M hello.c
>> ? .project
>> ? hello.c.orig
>> ? version
>> klaskyhbmac:hello kpf$ hg commit hello.c
>> klaskyhbmac:hello kpf$ hg push
>> user@host's password:
>> pushing to ssh://user@host//projects/hello
>> searching for changes
>> remote: adding changesets
>> remote: adding manifests
>> remote: adding file changes
>> remote: added 11 changesets with 11 changes to 1 files
>> klaskyhbmac:hello kpf$ hg kwshrink
>> klaskyhbmac:hello kpf$ hg kwexpand
>> klaskyhbmac:hello kpf$ less hello.c
>> klaskyhbmac:hello kpf$ hg status
>> M hello.c
>> ? .project
>> ? hello.c.orig
>> ? version
>
> This should not happen already. And I can't reproduce it.
>
> ~/HGworkspace/test$ hg kwfiles
> a
> b
> ~/HGworkspace/test$ hg kwshrink
> abort: outstanding uncommitted changes
> ~/HGworkspace/test$ hg status
> M a
> ~/HGworkspace/test$ hg ci -m test
> ~/HGworkspace/test$ hg push
> pushing to /Users/chris/HGworkspace/testa
> searching for changes
> adding changesets
> adding manifests
> adding file changes
> added 3 changesets with 3 changes to 1 files
> ~/HGworkspace/test$ hg kwshrink
> ~/HGworkspace/test$ hg kwexpand
> ~/HGworkspace/test$ less a
> ~/HGworkspace/test$ hg status
> ~/HGworkspace/test$ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.5.8
> BuildVersion: 9L30

Above was with crew tip; just tried with 1.3.1 (which you seem to
be using): again unable to reproduce.

Perhaps you could run the first steps with hg --debug. The output
of hg kwdemo might also be interesting.

c
--
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western

         --->> http://www.blacktrash.org/underdogma/ccc.php
_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial