[Bug 3986] New: Receving error while creating backup using bundle

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jul 18 00:47:43 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3986

          Priority: normal
            Bug ID: 3986
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Receving error while creating backup using bundle
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sandeep.nadkarni at gmail.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: earlier
         Component: Mercurial
           Product: Mercurial

While using bundle -a getting following error.

** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.4.3 (#1, Feb 22 2012, 16:05:45) [GCC 4.1.2 20080704 (Red Hat
4.1.2-52)]
** Mercurial Distributed SCM (version 2.3)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in ?
    mercurial.dispatch.run()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 28, in
run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 65, in
dispatch
    return _runcatch(req)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 88, in
_runcatch
    return _dispatch(req)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 740, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 514, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 830, in
_runcommand
    return checkargs()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 801, in
checkargs
    return cmdfunc()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 737, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 472, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/mercurial/commands.py", line 1056,
in bundle
    changegroup.writebundle(cg, fname, bundletype)
  File "/usr/lib64/python2.4/site-packages/mercurial/changegroup.py", line 103,
in writebundle
    fh.write(z.compress(chunk[pos:next]))
ValueError: the bz2 library has received wrong parameters
[root at devscm VS-M-3960]# vi .hg/hgrc
[root at devscm VS-M-3960]# hg bundle -a /backup/VS-M-3960_18072013/VS-M-3960.hg
not trusting file /repos/VS-M-3960/.hg/hgrc from untrusted user apache, group
apache
not trusting file /repos/VS-M-3960/.hg/hgrc from untrusted user apache, group
apache
424 changesets found
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.4.3 (#1, Feb 22 2012, 16:05:45) [GCC 4.1.2 20080704 (Red Hat
4.1.2-52)]
** Mercurial Distributed SCM (version 2.3)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in ?
    mercurial.dispatch.run()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 28, in
run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 65, in
dispatch
    return _runcatch(req)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 88, in
_runcatch
    return _dispatch(req)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 740, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 514, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 830, in
_runcommand
    return checkargs()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 801, in
checkargs
    return cmdfunc()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 737, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 472, in
check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/mercurial/commands.py", line 1056,
in bundle
    changegroup.writebundle(cg, fname, bundletype)
  File "/usr/lib64/python2.4/site-packages/mercurial/changegroup.py", line 103,
in writebundle
    fh.write(z.compress(chunk[pos:next]))
ValueError: the bz2 library has received wrong parameters


Other details 

OS : CentOS 5.8
Mercurail Version 2.3
Python : 2.4.3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list