fast-import-filter: cannot concatenate 'str' and 'NoneType' objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-fastimport |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
python-fastimport (Ubuntu) |
Fix Released
|
Undecided
|
Jelmer Vernooij |
Bug Description
$ rsync -avzHS rsync:/
[...]
$ bzr fast-export-
[...]
$ bzr fast-import-filter /tmp/grub.fe
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/home/
verbose, user_map=user_map)
File "/home/
return proc.process(
File "/home/
self.
File "/home/
handler(self, cmd)
File "/home/
self.
TypeError: cannot concatenate 'str' and 'NoneType' objects
bzr 2.0.1 on python 2.5.4 (Linux-
arguments: ['/usr/bin/bzr', 'fast-import-
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ca_AD.UTF-8'
plugins:
bzrtools /usr/lib/
cia /usr/lib/
cvsps_import /usr/lib/
fastimport /home/rmh/
launchpad /usr/lib/
netrc_
rebase /usr/lib/
svn /usr/lib/
*** 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.
affects: | bzr → bzr-fastimport |
affects: | bzr-fastimport → python-fastimport |
Changed in python-fastimport: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in python-fastimport (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
Changed in python-fastimport (Ubuntu): | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in python-fastimport: | |
status: | Fix Committed → Fix Released |
I made it print the faulty "cmd" as per instructions from bialix on IRC. bialix said that "mark" should follow "commit", which seems to be the culprit here.
Also, if I import this into a bzr, and then fast-export from it, I get a new stream fast-import-filter can work with.
commit refs/heads/master
committer erich <erich@localhost> 843012952 +0000
data 17
Initial revision
M 644 :1 grub/shared_ src/disk_ inode.h src/char_ io.c src/fsys_ ext2fs. c src/imgact_ aout.h src/fat. h src/asm. S src/cmdline. c src/pc_ slice.h src/fsys_ ffs.c src/boot. c src/dir. h src/disk_ inode_ffs. h src/fsys_ fat.c src/shared. h src/gunzip. c src/mb_ header. h src/defs. h src/freebsd. h src/i386- elf.h src/fs. h src/common. c src/filesys. h src/disk_ io.c src/mb_ info.h src/stage1_ 5.c
M 644 :2 grub/shared_
M 644 :3 grub/shared_
M 644 :4 grub/shared_
M 644 :5 grub/shared_
M 644 :6 grub/shared_
M 644 :7 grub/shared_
M 644 :8 grub/shared_
M 644 :9 grub/shared_
M 644 :10 grub/shared_
M 644 :11 grub/shared_
M 644 :12 grub/shared_
M 644 :13 grub/shared_
M 644 :14 grub/shared_
M 644 :15 grub/shared_
M 644 :16 grub/shared_
M 644 :17 grub/shared_
M 644 :18 grub/shared_
M 644 :19 grub/shared_
M 644 :20 grub/shared_
M 644 :21 grub/shared_
M 644 :22 grub/shared_
M 644 :23 grub/shared_
M 644 :24 grub/shared_
M 644 :25 grub/shared_