[BUG] bzr upgrade: ERROR: exceptions.TypeError: sequence item 0: expected string, NoneType found

John Arbash Meinel john at arbash-meinel.com
Wed Nov 1 15:58:26 GMT 2006


It looks like you are converting a branch that has no history. Is that
true? We certainly shouldn't fail to do that, I'm just trying to isolate
the cause.

Jean-François Veillette wrote:
...

I say that because:

>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib/fetch.py",
> line 132, in __fetch

v- Give me the things that need to be updated

>     revs = self._revids_to_fetch()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib/fetch.py",
> line 158, in _revids_to_fetch

v- I couldn't grab 'last_revision()' which is usually the tip of the branch

>     raise InstallFailed([self._last_revision])
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/bzrlib/errors.py",
> line 658, in __init__

v- Well, this should really be ", ".join(revisions), but still it is
expecting a list of revision ids, which are strings. 'None' is the
not-a-revision.

>     msg = "Could not install revisions:\n%s" % " ,".join(revisions)
> TypeError: sequence item 0: expected string, NoneType found
> 
> bzr 0.12.0 on python 2.4.2.final.0 (darwin)
> arguments: ['/usr/local/bin/bzr', 'upgrade']
> 

I'm thinking that I'm missing something, though, because if I do:
bzr init --format=weave weave
cd weave
bzr upgrade

and it succeeds.

Can you give us the output of 'bzr --version'? (Though I did try this
with the last 5 releases of bzr.)

Is this a public project that you could send me a tarball to
investigate? (Or post it online somewhere)

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061101/41d4720a/attachment.pgp 


More information about the bazaar mailing list