ValueError: need more than 0 values to unpack

Bug #406169 reported by Savvas Radevic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar CIA Plugin
Triaged
Low
Unassigned

Bug Description

I just encountered this bug while submitting to cia.vc.

I have the latest trunk version:
~/.bazaar/plugins/cia
$ bzr log | head
------------------------------------------------------------
revno: 50
branch nick: trunk
timestamp: Tue 2009-05-05 00:01:43 +0200
message:
  sax escape authors again.

$ apt-cache policy bzr
bzr:
  Installed: 1.17-1~bazaar1~jaunty1
  Candidate: 1.17-1~bazaar1~jaunty1
  Version table:
 *** 1.17-1~bazaar1~jaunty1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     1.13.1-1 0
        500 http://rs.archive.ubuntu.com jaunty/main Packages

$ bzr commit
Committing to: /home/forger/project/timekpr/timekpr/
modified timekpr-client.py
modified timekpr-gui.py
modified timekprd.py
modified timekpr/common.py
modified timekpr/pam.py
Committed revision 268.
Submitting revision to CIA.
/home/forger/.bazaar/plugins/cia/__init__.py:145: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
bzr: ERROR: exceptions.ValueError: need more than 0 values to unpack

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 835, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1030, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 647, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 3043, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 197, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/mutabletree.py", line 228, in commit
    *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 400, in commit
    self._process_post_hooks(old_revno, new_revno)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 517, in _process_post_hooks
    self._process_hooks("post_commit", old_revno, new_revno)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 556, in _process_hooks
    self.rev_id)
  File "/home/forger/.bazaar/plugins/cia/__init__.py", line 51, in branch_commit_hook
    return cia_submit(master, new_revid, new_revno)
  File "/home/forger/.bazaar/plugins/cia/__init__.py", line 183, in cia_submit
    except CIADeliverError, (error, ):
ValueError: need more than 0 values to unpack

bzr 1.17 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  builddeb /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb [unknown]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.17]
  cia /home/forger/.bazaar/plugins/cia [1.0dev]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [unknown]
  fastimport /usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport [unknown]
  gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.96.2.final]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [1.17]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [1.17]
*** 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.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 406169] [NEW] ValueError: need more than 0 values to unpack

This is a bug in the CIA plugin. I'm not sure offhand, where its
bugtracker is.

Revision history for this message
Savvas Radevic (medigeek) wrote :

err.. thanks for the heads-up, I thought this was the upstream bug tracker.
I've subscribed ~jelmer to shed some light. :)

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 406169] Re: ValueError: need more than 0 values to unpack

My bad, it is. Sorry :)

Jelmer Vernooij (jelmer)
Changed in bzr-cia:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Savvas Radevic (medigeek) wrote :

Just an update: I think that this has happened while the cia.vc service was down.
The CIA plugin works fine now :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

Hm.. it also happens when I am offline. I disconnected my router and was doing offline commits and got this error again!

Revision history for this message
Savvas Radevic (medigeek) wrote :

..and yes, "cia_project" is defined in .bzr/branch/branch.conf :)

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.