Error when pushing 0.4.8 to a branch that exists in svn.

Bug #203381 reported by David Reid
2
Affects Status Importance Assigned to Milestone
subversion
Fix Released
Undecided
Jelmer Vernooij

Bug Description

sabrina dreid:~/projects/Twisted-bzr/branches/twisted-8.0.x-3085> bzr push
Using saved location: svn+ssh://svn.twistedmatrix.com/svn/Twisted/branches/twisted-8.0.x-3085
bzr: ERROR: exceptions.ValueError: need more than 0 values to unpack

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.5/site-packages/bzrlib/builtins.py", line 825, in run
    push_result = br_from.push(br_to, overwrite)
  File "/Library/Python/2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/branch.py", line 1569, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/Library/Python/2.5/site-packages/bzrlib/branch.py", line 1611, in _push_with_bound_branches
    result = self._basic_push(target, overwrite, stop_revision)
  File "/Library/Python/2.5/site-packages/bzrlib/branch.py", line 1630, in _basic_push
    target.update_revisions(self, stop_revision)
  File "/Users/dreid/.bazaar/plugins/svn/branch.py", line 364, in update_revisions
    push(self, other, revid)
  File "/Users/dreid/.bazaar/plugins/svn/commit.py", line 701, in push
    builder.commit(rev.message)
  File "/Users/dreid/.bazaar/plugins/svn/commit.py", line 461, in commit
    done, None, False)
  File "/Users/dreid/.bazaar/plugins/svn/errors.py", line 114, in convert
    raise convert_error(e)
  File "/Users/dreid/.bazaar/plugins/svn/errors.py", line 84, in convert_error
    (msg, num) = err.args
ValueError: need more than 0 values to unpack

bzr 1.2.0 on python 2.5.1.final.0 (darwin)
arguments: ['/usr/local/bin/bzr', 'push']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /Library/Python/2.5/site-packages/bzrlib/plugins/bzrtools [1.2.0]
  launchpad /Library/Python/2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent /Library/Python/2.5/site-packages/bzrlib/plugins/multiparent.py [unknown]
  svn /Users/dreid/.bazaar/plugins/svn [0.4.8]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
zsh: exit 4 DYLD_LIBRARY_PATH=/Users/dreid/.bazaar/svn/lib PYTHONPATH= bzr push

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

What version of subversion are you using? This looks like a bug in the python subversion bindings.

Revision history for this message
David Reid (dreid) wrote :

I'm using subversion from SVN trunk as of friday march 14th (It's an export so unfortunately I don't have a revision number for you.)

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Can you run with the BZR_PDB=1 environment variable set and check what the value of "err" is?

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Incomplete
Revision history for this message
David Reid (dreid) wrote :

err was a SubversionException with .args set to ''

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks! This does sound like a Python-Subversion bugv

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Fix committed in r30564

Changed in bzr-svn:
assignee: nobody → jelmer
status: Incomplete → Fix Committed
Jelmer Vernooij (jelmer)
Changed in subversion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.