bzr does not automatically create 'obsolete_packs' when it is missing.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
I am seeing those errors again quite frequently on bzr. Full traceback:
Tue 2009-01-06 18:37:01 +0900
0.075 bzr arguments: [u'ci', u'../../TODO', u'-m', u'Add TODO.']
0.086 looking for plugins in /home/david/
0.091 looking for plugins in /usr/lib/
0.213 encoding stdout as sys.stdout encoding 'UTF-8'
0.333 opening working tree '/usr/media/
0.382 preparing to commit
[32740] 2009-01-06 18:37:01.443 INFO: Committing to: /usr/media/
0.422 Selecting files for commit with filter [u'TODO']
[32740] 2009-01-06 18:37:01.450 INFO: added TODO
0.570 Auto-packing repository <bzrlib.
1.516 aborting commit write group because of exception:
1.553 Traceback (most recent call last):
File "/usr/lib/
self.rev_id = self.builder.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._pack_
File "/usr/lib/
if not self.autopack():
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for filename in obsolete_
File "/usr/lib/
self.
File "/usr/lib/
raise errors.
NoSuchFile: No such file: u'/usr/
[32740] 2009-01-06 18:37:02.575 INFO: aborting commit write group: NoSuchFile(No such file: u'/usr/
1.562 Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.rev_id = self.builder.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._pack_
File "/usr/lib/
if not self.autopack():
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for filename in obsolete_
File "/usr/lib/
self.
File "/usr/lib/
raise errors.
NoSuchFile: No such file: u'/usr/
I use bzr 1.10 from the PPA on Ubuntu 8.10. Also, I found out that my .bzr is insanely big (~90M, for a couple of MB of data and a few revisions - compressing it gives me a couple of MB only archive).
Related branches
- Martin Packman (community): Needs Fixing
- John A Meinel: Needs Fixing
- Jelmer Vernooij (community): Approve
-
Diff: 65 lines (+23/-0)3 files modifiedbzrlib/repofmt/pack_repo.py (+9/-0)
bzrlib/tests/blackbox/test_pack.py (+11/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
- Martin Packman (community): Approve
- Bazaar Developers: Pending requested
- John A Meinel: Pending requested
- Jelmer Vernooij: Pending requested
-
Diff: 91 lines (+43/-3)3 files modifiedbzrlib/repofmt/pack_repo.py (+17/-3)
bzrlib/tests/test_repository.py (+23/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
summary: |
- Crash when committing: No such file: - u'/usr/media/boulot/PhdThesis/.bzr/repository/obsolete_packs/ + bzr does not automatically create 'obsolete_packs' when it is missing. |
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in bzr: | |
assignee: | nobody → Jonathan Riddell (jr) |
Changed in bzr: | |
status: | Confirmed → Triaged |
status: | Triaged → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.5b5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Cournapeau wrote:
> Public bug reported:
>
> I am seeing those errors again quite frequently on bzr. Full traceback:
> File "/usr/lib/ python2. 5/site- packages/ bzrlib/ transport/ __init_ _.py", line 306, in _translate_error NoSuchFile( path, extra=e) media/boulot/ PhdThesis/ .bzr/repository /obsolete_ packs/' : [Errno 2] No such file or directory: '/usr/media/ boulot/ PhdThesis/ .bzr/repository /obsolete_ packs/'
> raise errors.
> NoSuchFile: No such file: u'/usr/
You have apparently deleted your boulot/ PhdThesis/ .bzr/repository /obsolete_ packs/ directory.
/usr/media/
> I use bzr 1.10 from the PPA on Ubuntu 8.10. Also, I found out that my
> .bzr is insanely big (~90M, for a couple of MB of data and a few
> revisions - compressing it gives me a couple of MB only archive).
If you restore your obsolete_packs, packing will work again and your
repository size will go down.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkl 1K0YACgkQ0F+ nu1YWqI2kiwCfZs u8R/fG1aUaVDRK9 9i15Ofw h2dnKCJ8UBS01+ 5R2EnNdEVJ
ce8AoIG/
=yPyk
-----END PGP SIGNATURE-----