bzr commit failed

Bug #134163 reported by Timmie
2
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Fix Released
Low
Marco Rodrigues

Bug Description

Binary package hint: bzr

~$: bzr commit
/usr/lib/python2.4/site-packages/ctypes/__init__.py:10: RuntimeWarning: Python C API version mismatch for module _ctypes: This Python has API version 1013, module _ctypes has version 1012.
  from _ctypes import Union, Structure, Array
deleted tschau
bzr: ERROR: exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: invalid data

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 650, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 612, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 304, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 2118, in run
    reporter=reporter)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree_4.py", line 244, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/mutabletree.py", line 160, in commit
    revprops=revprops, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/commit.py", line 332, in commit
    message = message_callback(self)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 2095, in get_message
    my_message = edit_commit_message(template)
  File "/usr/lib/python2.4/site-packages/bzrlib/msgeditor.py", line 129, in edit_commit_message
    for line in codecs.open(msgfilename, 'r', bzrlib.user_encoding):
  File "codecs.py", line 631, in next
    return self.reader.next()
  File "codecs.py", line 562, in next
    line = self.readline()
  File "codecs.py", line 477, in readline
    data = self.read(readsize, firstline=True)
  File "codecs.py", line 424, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: invalid data

bzr 0.15.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'commit']

** please send this report to <email address hidden>

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Can you try with bzr 0.90 on Gutsy ?

Changed in bzr:
status: New → Incomplete
Revision history for this message
Timmie (timmie) wrote :

It seems that this malfunction was due to a wrong configuration setting.
See:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/137625/comments/12

Revision history for this message
Timmie (timmie) wrote :

Please mark it to be triaged!

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Upstream author: "I'm pretty sure this was indeed fixed." -Martin Pool

If the bug reappears, please re-open the bug. Thanks for your report...

Changed in bzr:
importance: Undecided → Low
status: Incomplete → Fix Released
assignee: nobody → gothicx
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.