[Bug 914715] Re: bzr crashed with TypeError in bzrlib._bencode_pyx.Encoder.process(): unsupported type u'Preparing file merge'

Alexander Belchenko bialix at ukr.net
Thu Mar 8 15:39:39 UTC 2012


*** This bug is a duplicate of bug 872616 ***
    https://bugs.launchpad.net/bugs/872616

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 923, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1128, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 676, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 698, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/commands.py", line 822, in run
    return run_subprocess_command(cmd, bencoded)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 888, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1128, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 676, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 698, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1616, in run
    show_base=show_base)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1424, in update
    return self._update_tree(old_tip, change_reporter, revision, show_base)
  File "/usr/lib/python2.7/dist-packages/bzrlib/mutabletree.py", line 51, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1494, in _update_tree
    show_base=show_base)
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 2044, in merge_inner
    return merger.do_merge()
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 715, in do_merge
    merge = operation.run_simple()
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 685, in _do_merge_to
    merge.do_merge()
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 825, in do_merge
    operation.run()
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 830, in _do_merge
    self._compute_transform()
  File "/usr/lib/python2.7/dist-packages/bzrlib/merge.py", line 869, in _compute_transform
    num, len(entries))
  File "/usr/lib/python2.7/dist-packages/bzrlib/progress.py", line 123, in update
    self.ui_factory._progress_updated(self)
  File "/usr/lib/python2.7/dist-packages/bzrlib/ui/text.py", line 372, in _progress_updated
    self._progress_view.show_progress(task)
  File "/usr/lib/python2.7/dist-packages/bzrlib/ui/text.py", line 552, in show_progress
    self._repaint()
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 804, in _repaint
    SUB_PROGRESS + bencode.bencode((progress, trans, task_msg)) + '\n')
  File "_bencode_pyx.pyx", line 399, in bzrlib._bencode_pyx.bencode
  File "_bencode_pyx.pyx", line 383, in bzrlib._bencode_pyx.Encoder.process
  File "_bencode_pyx.pyx", line 346, in bzrlib._bencode_pyx.Encoder._encode_list
  File "_bencode_pyx.pyx", line 383, in bzrlib._bencode_pyx.Encoder.process
  File "_bencode_pyx.pyx", line 346, in bzrlib._bencode_pyx.Encoder._encode_list
  File "_bencode_pyx.pyx", line 391, in bzrlib._bencode_pyx.Encoder.process
TypeError: unsupported type u'Preparing file merge'

** Package changed: bzr (Ubuntu) => qbzr (Ubuntu)

** This bug has been marked a duplicate of bug 872616
   TypeError on all commands that get progress report from subprocess

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/914715

Title:
  bzr crashed with TypeError in bzrlib._bencode_pyx.Encoder.process():
  unsupported type u'Preparing file merge'

Status in “qbzr” package in Ubuntu:
  Confirmed

Bug description:
  Precise, just updated today, I was looking at the "gtk" source, and
  tried

  bzr update -r 26365

  (or something like that). Crash

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: bzr 2.5.0~beta4-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Uname: Linux 3.2.0-7-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  BzrDebugFlags: set()
  BzrVersion: 2.5b4
  CommandLine:
   ['/usr/bin/bzr',
    'qsubprocess',
    '--bencode',
    'l6:update2:-r53:revid:git-v1:6aeab7b7ccfcdeb8f871c2744d5fbae24e3bda5fe']
  CrashDb: bzr
  Date: Wed Jan 11 12:34:30 2012
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20120103)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_IE.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.2.0-7-generic-x86_64-with-Ubuntu-12.04-precise
  ProcCmdline: /usr/bin/python /usr/bin/bzr qsubprocess --bencode l6:update2:-r53:revid:git-v1:6aeab7b7ccfcdeb8f871c2744d5fbae24e3bda5fe
  PythonVersion: 2.7.2
  SourcePackage: bzr
  Title: bzr crashed with TypeError in bzrlib._bencode_pyx.Encoder.process(): unsupported type u'Preparing file merge'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserEncoding: UTF-8
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qbzr/+bug/914715/+subscriptions




More information about the foundations-bugs mailing list