[Bug 788609] Re: bzr crashed with ValueError in fetch(): bad marshal data (unknown type code)

Andrew Bennetts andrew.bennetts at canonical.com
Mon Jun 20 01:10:49 UTC 2011


I'm betting this is because one or more of your .pyc/.pyo files is
corrupt, possibly bzrlib/fetch.pyc.  That would probably be due to a
system or hardware bug rather than being a fault in bzr.

What happens if you try python -c "import bzrlib.fetch"?

** Description changed:

  Binary package hint: bzr
  
  This is happening when doing a push on a branch that has worked so far
  :)
  
  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: bzr 2.3.1-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  Architecture: i386
  BzrDebugFlags: set()
  BzrVersion: 2.3.1
  CommandLine: ['/usr/bin/bzr', 'pull']
  CrashDb: bzr
  Date: Thu May 26 10:23:27 2011
  EcryptfsInUse: Yes
- ExecutablePath: /usr/bin/bzr
- FileSystemEncoding: UTF-8
- InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
- InterpreterPath: /usr/bin/python2.7
- Locale: en_US.UTF-8
- PackageArchitecture: all
- Platform: Linux-2.6.38-8-generic-pae-i686-with-Ubuntu-11.04-natty
- ProcCmdline: /usr/bin/python /usr/bin/bzr pull
- ProcEnviron:
-  SHELL=/bin/bash
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  LANGUAGE=en_US:en
- PythonVersion: 2.7.1
- SourcePackage: bzr
- Title: bzr crashed with ValueError in fetch(): bad marshal data (unknown type code)
- UpgradeStatus: Upgraded to natty on 2011-04-22 (34 days ago)
- UserEncoding: UTF-8
- UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
+ 
+ Traceback (most recent call last):
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
+     return the_callable(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
+     ret = run(*run_argv)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
+     return self.run(**all_cmd_args)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, 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 1008, in run
+     show_base=show_base)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
+     result = unbound(self, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1676, in pull
+     local=local)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1086, in pull
+     possible_transports=possible_transports, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
+     result = unbound(self, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3478, in pull
+     merge_tags_to_master=not source_is_master)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3588, in _pull
+     overwrite=overwrite, graph=graph)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1035, in update_revisions
+     overwrite, graph)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
+     result = unbound(self, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3430, in update_revisions
+     self.target.fetch(self.source, stop_revision)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
+     result = unbound(self, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 685, in fetch
+     pb=pb)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 1781, in fetch
+     find_ghosts=find_ghosts, fetch_spec=fetch_spec)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
+     result = unbound(self, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3427, in fetch
+     from bzrlib.fetch import RepoFetcher
+ ValueError: bad marshal data (unknown type code)

** Changed in: bzr
       Status: New => Incomplete

-- 
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/788609

Title:
  bzr crashed with ValueError in fetch(): bad marshal data (unknown type
  code)

Status in Bazaar Version Control System:
  Incomplete
Status in “bzr” package in Ubuntu:
  New

Bug description:
  Binary package hint: bzr

  This is happening when doing a push on a branch that has worked so far
  :)

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: bzr 2.3.1-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  Architecture: i386
  BzrDebugFlags: set()
  BzrVersion: 2.3.1
  CommandLine: ['/usr/bin/bzr', 'pull']
  CrashDb: bzr
  Date: Thu May 26 10:23:27 2011
  EcryptfsInUse: Yes

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, 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 1008, in run
      show_base=show_base)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1676, in pull
      local=local)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1086, in pull
      possible_transports=possible_transports, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3478, in pull
      merge_tags_to_master=not source_is_master)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3588, in _pull
      overwrite=overwrite, graph=graph)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1035, in update_revisions
      overwrite, graph)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3430, in update_revisions
      self.target.fetch(self.source, stop_revision)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 685, in fetch
      pb=pb)
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 1781, in fetch
      find_ghosts=find_ghosts, fetch_spec=fetch_spec)
    File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3427, in fetch
      from bzrlib.fetch import RepoFetcher
  ValueError: bad marshal data (unknown type code)

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/788609/+subscriptions




More information about the foundations-bugs mailing list