bzr: ERROR: No such file: '<random>.pack'

Bug #362021 reported by Bob Tanner
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar
Incomplete
Low
Bob Tanner

Bug Description

$ bzr commit
bzr: ERROR: No such file: '0lj5t2a2gdbn3br45hhy.pack': [Errno 2] No such file or directory: '/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/upload/0lj5t2a2gdbn3br45hhy.pack'

$ bzr --version
Bazaar (bzr) 1.15dev
  from bzr checkout /Users/tanner/projects/bzr.dev
    revision: 4294
    revid: <email address hidden>

Tags: packs
Revision history for this message
Bob Tanner (tanner) wrote :
Revision history for this message
Bob Tanner (tanner) wrote :

osx-10.5.6
Python 2.6.1

Revision history for this message
Robert Collins (lifeless) wrote :

Its trying to make the randomly named file in the upload directory, so probably that directory doesn't exist. Does it?

Revision history for this message
Bob Tanner (tanner) wrote :

Did not exist. Even thought I only added files and did a 'bzr add' and then 'bzr commit'. Did a mkdir for upload, but now get this error:

$ bzr commit
Committing to: /Applications/World of Warcraft/Interface/AddOns/
aborting commit write group: NoSuchFile(No such file: u'/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/packs/3b29325ed11b454789124584c8f9d566.pack': [Errno 2] No such file or directory: u'/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/packs/3b29325ed11b454789124584c8f9d566.pack')

bzr: ERROR: No such file: u'/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/packs/3b29325ed11b454789124584c8f9d566.pack': [Errno 2] No such file or directory: u'/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/packs/3b29325ed11b454789124584c8f9d566.pack'

$ file /Applications/World\ of\ Warcraft/Interface/AddOns/.bzr/repository/packs/
/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/packs/: directory

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 362021] Re: bzr: ERROR: No such file: '<random>.pack'

can you ls -lR your .bzr/repository directory please.

-Rob

Revision history for this message
Bob Tanner (tanner) wrote :

Attached.

Revision history for this message
Bob Tanner (tanner) wrote :

Restored my repo form backup and things work. Not sure how or what caused directories and files to disappear. Tagging this invalid.

Changed in bzr:
status: New → Invalid
Revision history for this message
Bob Tanner (tanner) wrote :

Gonna re-open this issue. Happened to me again.

bzr: ERROR: No such file: '6v0wjdswj43345bivo19.pack': [Errno 2] No such file or directory: '/Applications/World of Warcraft/Interface/AddOns/.bzr/repository/upload/6v0wjdswj43345bivo19.pack'

Looking at my previous Time Machine backup (4am this morning) the .bzr/repository/upload directory is there. Some time between 4am and 4pm I lost the upload directory. Only thing I've done unzip a new AddOn into the directory and try a "bzr add; bzr commit".

Inside the AddOns directory a "mkdir -p .bzr/repository/upload/; bzr add; bzr commit" is a work around.

Changed in bzr:
assignee: nobody → tanner
importance: Undecided → Low
status: Invalid → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

On Wed, 2009-04-22 at 21:31 +0000, Bob Tanner wrote:
> Gonna re-open this issue. Happened to me again.
>
> bzr: ERROR: No such file: '6v0wjdswj43345bivo19.pack': [Errno 2] No
> such
> file or directory: '/Applications/World of
> Warcraft/Interface/AddOns/.bzr/repository/upload/6v0wjdswj43345bivo19.pack'
>
>
> Looking at my previous Time Machine backup (4am this morning)
> the .bzr/repository/upload directory is there. Some time between 4am
> and 4pm I lost the upload directory. Only thing I've done unzip a new
> AddOn into the directory and try a "bzr add; bzr commit".
>
>
> Inside the AddOns directory a "mkdir -p .bzr/repository/upload/; bzr
> add; bzr commit" is a work around.

Ok. So I suggest:
1) try to make it reproduceable on demand: unzip another AddOn, run bzr
add; bzr commit.
2) repeat and vary until you can make it happen on demand.
3) step through whatever steps you found made it reproduceable, checking
after each one for the directory (but don't leave a window open on it,
that can potentially alter things).
4) ???
5) profit!

Jelmer Vernooij (jelmer)
tags: added: packs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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