One of my colleagues got the same error when trying to remove a binary file.
It seems to be the same problem.
Note that both are runing python 2.4.
Do we have any unit tests for removing a binary file?
I'm pretty sure we have tests for removing directories though.
Is PQM running python 2.5?
==
bzr: ERROR: exceptions.TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 800, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 758, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1121, in run
force=file_deletion_strategy=='force')
File "/usr/lib/python2.4/site-packages/bzrlib/mutabletree.py", line 50, in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 1847, in remove
if not self.is_ignored(path[1]) and (
File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 1604, in is_ignored
return self._ignoreglobster.match(filename)
File "/usr/lib/python2.4/site-packages/bzrlib/globbing.py", line 213, in match
match = regex.match(filename)
TypeError: expected string or buffer
One of my colleagues got the same error when trying to remove a binary file.
It seems to be the same problem.
Note that both are runing python 2.4.
Do we have any unit tests for removing a binary file?
I'm pretty sure we have tests for removing directories though.
Is PQM running python 2.5?
== TypeError: expected string or buffer
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 4/site- packages/ bzrlib/ commands. py", line 800, in run_bzr_ catch_errors python2. 4/site- packages/ bzrlib/ commands. py", line 758, in run_bzr python2. 4/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 4/site- packages/ bzrlib/ builtins. py", line 1121, in run file_deletion_ strategy= ='force' ) python2. 4/site- packages/ bzrlib/ mutabletree. py", line 50, in tree_write_locked python2. 4/site- packages/ bzrlib/ workingtree. py", line 1847, in remove ignored( path[1] ) and ( python2. 4/site- packages/ bzrlib/ workingtree. py", line 1604, in is_ignored bster.match( filename) python2. 4/site- packages/ bzrlib/ globbing. py", line 213, in match filename)
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
force=
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
if not self.is_
File "/usr/lib/
return self._ignoreglo
File "/usr/lib/
match = regex.match(
TypeError: expected string or buffer
bzr 0.91.0 on python 2.4.3.final.0 (linux2) local/bin/ bzr', 'remove', 'src/za/ co/enerweb/ enerbench/ client/ images/ action/ back.gif' , 'src/za/ co/enerweb/ enerbench/ client/ images/ action/ fastforward. gif', 'src/za/ co/enerweb/ enerbench/ client/ images/ action/ find.gif' , 'src/za/ co/enerweb/ enerbench/ client/ images/ action/ forward. gif', 'src/za/ co/enerweb/ enerbench/ client/ images/ action/ rewind. gif']
arguments: ['/usr/
** please send this report to <email address hidden>