"ValueError: too many values to unpack" when pushing to github
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Git Plugin |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
I'm trying to push a single change to a repository on github.com:
$ bzr missing ../tycho-github
You have 1 extra revision(s):
-------
revno: 815
committer: Brian de Alwis <email address hidden>
branch nick: trunk
timestamp: Sun 2010-08-29 11:08:00 -0400
message:
Fix for TYCHO-466: "StringIndexOut
unclean MacOS X product". This exception occurs in ProductExportMo
should there be detritus remaining from a previous build. This
patch ensures that any detritus is removed and also adds a safety
check before any string processing is performed.
$ bzr dpush git+ssh://<email address hidden>
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/pkg/
return the_callable(*args, **kwargs)
File "/usr/pkg/
ret = run(*run_argv)
File "/usr/pkg/
return self.run(
File "/usr/pkg/
return self._operation
File "/usr/pkg/
self.cleanups, self.func, *args, **kwargs)
File "/usr/pkg/
result = func(*args, **kwargs)
File "/usr/pkg/
push_result = source_
File "/usr/pkg/
return lossy_push(
File "/usr/pkg/
update_refs)
File "/usr/pkg/
self.
File "/usr/pkg/
return self._transport
File "/usr/pkg/
generate_
File "/usr/pkg/
new_refs = determine_
File "/usr/pkg/
for name, (gitid, revid) in self.new_
ValueError: too many values to unpack
bzr 2.2.0 on python 2.6.2 (Darwin-
arguments: ['/usr/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_CA.UTF-8'
plugins:
automv /Users/
bash_completion /Users/
bzrtools /Users/
clear_exec_bit /Users/
colo /Users/
diffstat /Users/
externals /Users/
extmerge /Users/
git /usr/pkg/
grep /Users/
launchpad /usr/pkg/
mail_app /Users/
netrc_
news_merge /usr/pkg/
rewrite /Users/
sprout /Users/
svn /usr/pkg/
xmloutput /Users/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
Related branches
Changed in bzr-git: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-git: | |
status: | Triaged → Fix Committed |
tags: | added: verified |
Changed in bzr-git: | |
milestone: | none → 0.6.0 |
status: | Fix Committed → Fix Released |
milestone: | 0.6.0 → none |
Some more information, in case it matters. My local bzr branch was actually branched from a bzr-git branch made against
git: //github. com/sonatype/ sonatype- tycho.git
I subsequently forked that repository on github.com and am trying to dpush my changes into that forked repo.
So the order of operations was:
$ bzr branch git://github. com/sonatype/ sonatype- tycho.git tycho-github sonatype- tycho.git on github.com /briandealwis/ sonatype- tycho.git
$ bzr branch tycho-github tycho-bugfix
$ cd tycho-bugfix
// hack hack
// fork sonatype/
$ bzr commit
$ bzr dpush git+ssh://<email address hidden>
I doubt it matters since I still receive the ValueError if I first pull from git://github. com/briandealwi s/sonatype- tycho.git