bzr-git craches on pull in shamap.py , add_entry()

Bug #533407 reported by Arnaud Jeansen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

I have a local bzr branch of solang master. I tried to update today and got this error.

arnaud@dell-laptop:~/Documents/bzr-repo/solang$ bzr pull
Using saved parent location: git://git.gnome.org/solang
bzr: ERROR: exceptions.AssertionError: type was None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/arnaud/.cache/crash/bzr-20100306180509-9140.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

Crash file added, as requested by the comment

methane (songofacandy)
affects: bzr → bzr-git
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 533407] [NEW] bzr-git craches on pull in shamap.py , add_entry()

On Sun, Mar 07, 2010 at 12:23:25AM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:

> I have a local bzr branch of solang master. I tried to update today and
> got this error.

> arnaud@dell-laptop:~/Documents/bzr-repo/solang$ bzr pull
> Using saved parent location: git://git.gnome.org/solang

What version of bzr-git are you using ?

Cheers,

Jelmer

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

Thanks for looking at this, this is using latest lucid. The local branches had been done previously with latest karmic.

arnaud@dell-laptop:~/Documents/bzr-repo$ dpkg -l | grep "ii bzr"
ii bzr 2.1.0-1 easy to use distributed version control syst
ii bzr-builddeb 2.3 bzr plugin for Debian package management
ii bzr-builder 0.2-0ubuntu1 construct a bzr branch from a recipe
ii bzr-dbus 0.1~bzr39-1 D-Bus announcements plugin for Bazaar
ii bzr-git 0.4.3-1 Bazaar plugin providing Git integration
ii bzr-gtk 0.97.0+bzr674-3ubuntu1 provides graphical interfaces to Bazaar (bzr
ii bzr-rebase 0.5.5-1 Rebase plugin for Bazaar
ii bzr-search 1.7.0~bzr77-1 search plugin for Bazaar
ii bzr-stats 0.0.1~bzr37-1 statistics plugin for Bazaar
ii bzr-svn 1.0.2-2 Bazaar plugin providing Subversion integrati
ii bzr-xmloutput 0.8.6-1 XML Communication plugin for Bazaar
ii bzrtools 2.1.0-1 Collection of tools for bzr

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 533407] Re: bzr-git craches on pull in shamap.py , add_entry()

On 03/07/10 14:47, Arnaud Jeansen wrote:
> Thanks for looking at this, this is using latest lucid. The local
> branches had been done previously with latest karmic.
>
Is there any chance you could try with bzr-git trunk and dulwich trunk?
IIRC I have fixed a bug like this since 0.4.3.

Cheers,

Jelmer

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

Jelmer:

I checked out both trunks, but I don't know how to proceed from there. I did manage to link bzr-git as plugin, but dulwich seems to be a bit more complicated.
Is there a nightly PPA of bzr and bzr-git ?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi Arnaud,

There isn't a PPA for Dulwich, but you should be able to use bzr-git with a not-installed version of Dulwich by setting PYTHONPATH.

E.g. if you already have bzr-git installed in ~/.bazaar/plugins and have unpacked Dulwich in ~/dulwich-0.5.0, run:

cd ~/dulwich-0.5.0
./setup.py build_ext -i
export PYTHONPATH=~/dulwich-0.5.0
bzr branch git://...

Revision history for this message
Arnaud Jeansen (ajeans) wrote :

Hi Jelmer,

I don't see this issue with latest trunk of dulwich and bzr-git. I managed to pull the latest changes from the git repository, although it spent a lot of time updating the "git map" (~2 hours).

arnaud@dell-laptop:~/Documents/bzr-repo/bzr$ bzr tip dulwich/ && bzr tip bzr-git
------------------------------------------------------------
revno: 475
git commit: 9450192d34f7be5e77679644cf762f76aa4cc5b9
committer: Jelmer Vernooij <email address hidden>
timestamp: Sun 2010-03-07 17:51:12 +0100
message:
  Add Dave to authors.
------------------------------------------------------------
revno: 731
committer: Jelmer Vernooij <email address hidden>
branch nick: trunk
timestamp: Sun 2010-03-07 17:06:18 +0100
message:
  Handle unsupported flag to open_branch().

Are those versions scheduled for lucid release ?

Thanks.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi Arnaud,

On Mon, Mar 08, 2010 at 09:49:47PM -0000, Arnaud Jeansen wrote:
> I don't see this issue with latest trunk of dulwich and bzr-git. I
> managed to pull the latest changes from the git repository, although it
> spent a lot of time updating the "git map" (~2 hours).
>
> arnaud@dell-laptop:~/Documents/bzr-repo/bzr$ bzr tip dulwich/ && bzr tip bzr-git
> ------------------------------------------------------------
> revno: 475
> git commit: 9450192d34f7be5e77679644cf762f76aa4cc5b9
> committer: Jelmer Vernooij <email address hidden>
> timestamp: Sun 2010-03-07 17:51:12 +0100
> message:
> Add Dave to authors.
> ------------------------------------------------------------
> revno: 731
> committer: Jelmer Vernooij <email address hidden>
> branch nick: trunk
> timestamp: Sun 2010-03-07 17:06:18 +0100
> message:
> Handle unsupported flag to open_branch().
>
> Are those versions scheduled for lucid release ?
Those versions are not currently scheduled for inclusion in Lucid, but
it might indeed be a good idea to get them into Lucid given how common
this problem appears to be.

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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