bzr crashed with TypeError in smart_add(): __call__() takes at least 5 arguments (1 given)

Bug #894195 reported by Ludovic Claude
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Fix Released
Medium
Jelmer Vernooij
bzr-git (Ubuntu)
Fix Released
Medium
Jelmer Vernooij

Bug Description

Hello,
I'm running the following commands on my bzr repository, and bzr crashed quite unexpectedly:

> bzr status
Bzr repository status:
unknown:
  doc/
  maven-packager-utils/src/test/resources/plexus-compiler/

> bzr add maven-packager-utils/src/test/resources/plexus-compiler/
bzr: ERROR: exceptions.TypeError: __call__() takes at least 5 arguments (1 given)

> bzr add maven-packager-utils/
(No error)

> bzr status
Bzr repository status:
unknown:
  doc/
  maven-packager-utils/src/test/resources/plexus-compiler/

Thank,
Ludovic

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.4.1
CrashDb: bzr
Date: Thu Nov 24 00:16:11 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
Locale: fr_FR.utf8
PackageArchitecture: all
Platform: Linux-3.0.0-13-generic-x86_64-with-Ubuntu-11.10-oneiric
ProcCmdline: /usr/bin/python /usr/bin/bzr add maven-packager-utils/src/test/resources/plexus-compiler/.git maven-packager-utils/src/test/resources/plexus-compiler/.gitignore maven-packager-utils/src/test/resources/plexus-compiler/plexus-compiler-api maven-packager-utils/src/test/resources/plexus-compiler/plexus-compiler-manager maven-packager-utils/src/test/resources/plexus-compiler/plexus-compilers maven-packager-utils/src/test/resources/plexus-compiler/plexus-compiler-test maven-packager-utils/src/test/resources/plexus-compiler/pom.xml
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with TypeError in smart_add(): __call__() takes at least 5 arguments (1 given)
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (40 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout floppy fuse lpadmin netdev plugdev sambashare tape users video

Revision history for this message
Ludovic Claude (ludovicc) wrote :
Revision history for this message
Ludovic Claude (ludovicc) wrote :

tree maven-packager-utils/src/test/resources/plexus-compiler/
maven-packager-utils/src/test/resources/plexus-compiler/
├── plexus-compiler-api
│   └── pom.xml
├── plexus-compiler-manager
│   └── pom.xml
├── plexus-compilers
│   ├── plexus-compiler-aspectj
│   │   └── pom.xml
│   ├── plexus-compiler-csharp
│   │   └── pom.xml
│   ├── plexus-compiler-eclipse
│   │   └── pom.xml
│   ├── plexus-compiler-javac
│   │   └── pom.xml
│   ├── plexus-compiler-jikes
│   │   └── pom.xml
│   └── pom.xml
├── plexus-compiler-test
│   └── pom.xml
└── pom.xml

9 directories, 10 files

description: updated
tags: removed: need-duplicate-check
Revision history for this message
Ludovic Claude (ludovicc) wrote :

I found a hidden .gitignore file in the folder maven-packager-utils/src/test/resources/plexus-compiler/, it may be the cause of this crash, but Bazaar should have handled this case more gracefully.

Revision history for this message
Ludovic Claude (ludovicc) wrote :

There was also a .git folder containing a full Git repository...

visibility: private → public
Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-git (Ubuntu)
Changed in bzr-git:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.6.6
Changed in bzr-git (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Fix Committed → Fix Released
Changed in bzr-git (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-git - 0.6.6-1

---------------
bzr-git (0.6.6-1) unstable; urgency=low

  * Use DEP5 format for copyright file.
  * New upstream release.
   + Copes with new `possible_transports` argument for Branch.open added in
     bzr 2.5b4. Closes: #652178
   + Copes with removal of global options in bzr 2.5b4. LP: #903639
   + Fixes support for directories in `bzr add`. LP: #894195

 -- Jelmer Vernooij <email address hidden> Thu, 15 Dec 2011 19:06:37 +0100

Changed in bzr-git (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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