Error on commit of binary file
Rickard Lind
Rickard at ntier.se
Wed Jan 30 21:53:41 GMT 2008
$ bzr commit BACK1.BOK
modified Bokföring/BACK1.BOK
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 35: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 817, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 779, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 477, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2283, in run
reporter=reporter, revprops=properties)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 246, in commit
result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 207, in commit
revprops=revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 311, in commit
message = message_callback(self)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2260, in get_message
my_message = edit_commit_message(template)
File "/usr/lib/python2.5/site-packages/bzrlib/msgeditor.py", line 105, in edit_commit_message
infotext, ignoreline, start_message)
File "/usr/lib/python2.5/site-packages/bzrlib/msgeditor.py", line 173, in _create_temp_file_with_commit_template
text=True)
File "tempfile.py", line 302, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "tempfile.py", line 238, in _mkstemp_inner
return (fd, _os.path.abspath(file))
File "posixpath.py", line 403, in abspath
path = join(os.getcwd(), path)
File "posixpath.py", line 65, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 35: ordinal not in range(128)
bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'commit', 'BACK1.BOK']
** please send this report to bazaar at lists.ubuntu.com
More information about the bazaar
mailing list