All,

        I've fixed the last bug (thank god) its hard trying to problem solve 
and learn a language at the same time but at least I'm still having fun (and 
python isn't like learning C ;).  Additionally now I have this bug which is 
mutually exclusive from any of the mmap stuff. But at least its registering 
with the git repository as can be seen below.  The problem is more in this 
other dulwich thing....which apparently there is a new version of so i'm going 
to merge that and retry.  Compressing objects certainly gives some nasty Cr 
output though....

james++


rator_gade% hg clone git://zen-sources.org/zen/THE.git
destination directory: THE.git
fetching from : git://zen-sources.org/zen/THE.git
importing Hg objects into Git
Counting objects: 1592, done.
Compressing objects:   0% (1/1185)   
Compressing objects:   1% (12/1185)   
Compressing objects:   2% (24/1185)   
Compressing objects:   3% (36/1185)   
Compressing objects:   4% (48/1185)   
Compressing objects:   5% (60/1185)   
Compressing objects:   6% (72/1185)   
Compressing objects:   7% (83/1185)   
Compressing objects:   8% (95/1185)   
Compressing objects:   9% (107/1185)   
Compressing objects:  10% (119/1185)   
Compressing objects:  11% (131/1185)   
Compressing objects:  12% (143/1185)   
Compressing objects:  13% (155/1185)   
Compressing objects:  14% (166/1185)   
Compressing objects:  15% (178/1185)   
Compressing objects:  16% (190/1185)   
Compressing objects:  17% (202/1185)   
Compressing objects:  18% (214/1185)   
Compressing objects:  19% (226/1185)   
Compressing objects:  20% (237/1185)   
Compressing objects:  21% (249/1185)   
Compressing objects:  22% (261/1185)   
Compressing objects:  23% (273/1185)   
Compressing objects:  24% (285/1185)   
Compressing objects:  25% (297/1185)   
Compressing objects:  26% (309/1185)   
Compressing objects:  27% (320/1185)   
Compressing objects:  28% (332/1185)   
Compressing objects:  29% (344/1185)   
Compressing objects:  30% (356/1185)   
Compressing objects:  31% (368/1185)   
Compressing objects:  32% (380/1185)   
Compressing objects:  33% (392/1185)   
Compressing objects:  34% (403/1185)   
Compressing objects:  35% (415/1185)   
Compressing objects:  36% (427/1185)   
Compressing objects:  37% (439/1185)   
Compressing objects:  38% (451/1185)   
Compressing objects:  39% (463/1185)   
Compressing objects:  40% (474/1185)   
Compressing objects:  41% (486/1185)   
Compressing objects:  42% (498/1185)   
Compressing objects:  43% (510/1185)   
Compressing objects:  44% (522/1185)   
Compressing objects:  45% (534/1185)   
Compressing objects:  46% (546/1185)   
Compressing objects:  47% (557/1185)   
Compressing objects:  48% (569/1185)   
Compressing objects:  49% (581/1185)   
Compressing objects:  50% (593/1185)   
Compressing objects:  51% (605/1185)   
Compressing objects:  52% (617/1185)   
Compressing objects:  53% (629/1185)   
Compressing objects:  54% (640/1185)   
Compressing objects:  55% (652/1185)   
Compressing objects:  56% (664/1185)   
Compressing objects:  57% (676/1185)   
Compressing objects:  58% (688/1185)   
Compressing objects:  59% (700/1185)   
Compressing objects:  60% (711/1185)   
Compressing objects:  61% (723/1185)   
Compressing objects:  62% (735/1185)   
Compressing objects:  63% (747/1185)   
Compressing objects:  64% (759/1185)   
Compressing objects:  65% (771/1185)   
Compressing objects:  66% (783/1185)   
Compressing objects:  67% (794/1185)   
Compressing objects:  68% (806/1185)   
Compressing objects:  69% (818/1185)   
Compressing objects:  70% (830/1185)   
Compressing objects:  71% (842/1185)   
Compressing objects:  72% (854/1185)   
Compressing objects:  73% (866/1185)   
Compressing objects:  74% (877/1185)   
Compressing objects:  75% (889/1185)   
Compressing objects:  76% (901/1185)   
Compressing objects:  77% (913/1185)   
Compressing objects:  78% (925/1185)   
Compressing objects:  79% (937/1185)   
Compressing objects:  80% (948/1185)   
Compressing objects:  81% (960/1185)   
Compressing objects:  82% (972/1185)   
Compressing objects:  83% (984/1185)   
Compressing objects:  84% (996/1185)   
Compressing objects:  85% (1008/1185)   
Compressing objects:  86% (1020/1185)   
Compressing objects:  87% (1031/1185)   
Compressing objects:  88% (1043/1185)   
Compressing objects:  89% (1055/1185)   
Compressing objects:  90% (1067/1185)   
Compressing objects:  91% (1079/1185)   
Compressing objects:  92% (1091/1185)   
Compressing objects:  93% (1103/1185)   
Compressing objects:  94% (1114/1185)   
Compressing objects:  95% (1126/1185)   
Compressing objects:  96% (1138/1185)   
Compressing objects:  97% (1150/1185)   
Compressing objects:  98% (1162/1185)   
Compressing objects:  99% (1174/1185)   
Compressing objects: 100% (1185/1185)   
Compressing objects: 100% (1185/1185), done.
Total 1592 (delta 455), reused 1128 (delta 286)
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercur...@selenic.com
** Mercurial Distributed SCM (version 1.3)
** Extensions loaded: bookmarks, hg-git
Traceback (most recent call last):
  File "/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 27, in dispatch
    return _runcatch(u, args)
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 43, in _runcatch
    return _dispatch(ui, args)
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 449, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 317, in 
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 501, in 
_runcommand
    return checkargs()
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 454, in checkargs
    return cmdfunc()
  File "/sys/python/lib/python2.5/mercurial/dispatch.py", line 448, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/sys/python/lib/python2.5/mercurial/util.py", line 370, in check
    return func(*args, **kwargs)
  File "/sys/python/lib/python2.5/mercurial/commands.py", line 635, in clone
    update=not opts.get('noupdate'))
  File "/sys/python/lib/python2.5/mercurial/hg.py", line 286, in clone
    dest_repo.clone(src_repo, heads=revs, stream=stream)
  File "/sys/python/lib/python2.5/mercurial/localrepo.py", line 2176, in clone
    return self.pull(remote, heads)
  File "/usr/james/hg-git/hgrepo.py", line 140, in pull
    git.fetch(remote.path)
  File "/usr/james/hg-git/git_handler.py", line 101, in fetch
    refs = self.fetch_pack(remote)
  File "/usr/james/hg-git/git_handler.py", line 679, in fetch_pack
    commit()
  File "/usr/james/hg-git/dulwich/object_store.py", line 287, in commit
    self.move_in_pack(path)
  File "/usr/james/hg-git/dulwich/object_store.py", line 248, in move_in_pack
    entries = p.sorted_entries()
  File "/usr/james/hg-git/dulwich/pack.py", line 599, in sorted_entries
    ret = list(self.iterentries(resolve_ext_ref, progress=progress))
  File "/usr/james/hg-git/dulwich/pack.py", line 581, in iterentries
    for (offset, type, obj, crc32) in todo:
  File "/usr/james/hg-git/dulwich/pack.py", line 553, in next
    (type, obj, total_size) = unpack_object(self.map, self.offset)
  File "/usr/james/hg-git/dulwich/pack.py", line 391, in unpack_object
    bytes = take_msb_bytes(map, offset)
  File "/usr/james/hg-git/dulwich/pack.py", line 78, in take_msb_bytes
    ret.append(ord(map[offset]))
IndexError: string index out of range
Exception exceptions.AttributeError: "'str' object has no attribute 'close'" in 
<bound method ObjectIterator.__del__ of 
<hgext_hgext_hg-git.dulwich.pack.ObjectIterator object at 0x6601AC>> ignored


Reply via email to