crashes when cloning local git repository with tags pointing at Tree objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Git Plugin |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
Attempting to run the command
$ bzr branch ~/path/
Bazaar crashed with
AttributeError: 'Tree' object has no attribute 'encoding'
So, as requested, the traceback:
$ cat ~/.bzr.log
...
Thu 2011-09-29 01:45:00 +0000
0.044 bazaar version: 2.4.1
0.044 bzr arguments: [u'init-repo', u'.']
0.066 looking for plugins in /home/andrew/
0.066 looking for plugins in /usr/lib/
0.083 looking for plugins in /usr/lib/
0.092 encoding stdout as sys.stdout encoding 'UTF-8'
0.121 creating repository in file://
0.145 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.145 return code 0
Thu 2011-09-29 01:45:18 +0000
0.041 bazaar version: 2.4.1
0.042 bzr arguments: [u'branch', u'/home/
0.064 looking for plugins in /home/andrew/
0.064 looking for plugins in /usr/lib/
0.081 looking for plugins in /usr/lib/
0.094 encoding stdout as sys.stdout encoding 'UTF-8'
1.232 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
1.235 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
source_
File "/usr/lib/
mapping=
File "/usr/lib/
wants = determine_
File "/usr/lib/
return list(potential - self._target_
File "/usr/lib/
revids = [self.source.
File "/usr/lib/
mapping.
File "/usr/lib/
if commit.encoding is not None:
AttributeError: 'Tree' object has no attribute 'encoding'
1.236 couldn't find apport bug-reporting library: No module named apport
1.268 return code 4
$
AfC
Related branches
summary: |
- bzr crashes when trying to branch a Git repo, with "AttributeError: - 'Tree' object has no attribute 'encoding'" + crashes when cloning local git repository with tags pointing at Tree + objects |
Changed in bzr-git: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | In Progress → Fix Committed |
milestone: | none → 0.6.3 |
Changed in bzr-git: | |
status: | Fix Committed → Fix Released |
Sorry, further context: this is on a Lucid server running the Bazaar PPA. As branching from a [local] Git repo appears to work fine on my Natty laptop, I can only assume there is a missing dependency. This system pristine, other than
# apt-get install --no-install- recommends git-core recommends bzr
# apt-get install --no-install-
# apt-get install bzr-git
AfC