Bazaar Won't Commit or Update

A. S. Budden abudden at gmail.com
Tue Sep 27 14:37:33 UTC 2011


On 27 September 2011 15:23, John Arbash Meinel <john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 9/27/2011 4:02 PM, A. S. Budden wrote:
>> Dear all,
>>
>> One of my colleagues is having some fairly major problems with
>> Bazaar. He has made some changes to the files in his working
>> directory and now cannot commit (or even update).  This seems to
>> have affected the (bzr-externals) library modules in the project as
>> well.  We use heavyweight checkouts on all of our projects here (in
>> case it makes a difference).
>>
>> The output of "bzr update":
>>
>> bzr: ERROR: [Errno 2] No such file or directory
>>
>> Similar output comes from "bzr ci -m Message" or "bzr pull
>> f:/path/to/repository/branch".  Adding the "--verbose" option or
>> the "--no-plugins" option makes no difference.
>>
>> I'm a bit lost as to what to do with this: it doesn't tell me
>> which file or directory is missing!  This is a little scary as it's
>> the first fairly fundamental problem we've had with Bazaar...
>>
>> Any help anyone could offer in getting this working again (or at
>> least working out why it isn't working) would be greatly
>> appreciated.
>>
>> Al
>>
>> Some more information in case it's helpful:
>
> check '.bzr.log' which should have a traceback, or use "bzr ci
> - -Derror" which will also give you the traceback.
>
> As an example, if a directory like .bzr/repository/obsolete_packs was
> deleted, you could get something like this.

Thanks for another quick response John.  I couldn't find .bzr.log (I
looked in the project directory and in
c:\users\...\AppData\Roaming\bazaar\2.0, but the output of "bzr
-Derror update" was:

    bzr: ERROR: exceptions.OSError: [Errno 2] No such file or directory

    Traceback (most recent call last):
      File "bzrlib\commands.pyo", line 946, in exception_to_return_code
      File "bzrlib\commands.pyo", line 1150, in run_bzr
      File "bzrlib\commands.pyo", line 699, in run_argv_aliases
      File "bzrlib\commands.pyo", line 721, in run
      File "bzrlib\cleanup.pyo", line 135, in run_simple
      File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
      File "bzrlib\builtins.pyo", line 1493, in run
      File "bzrlib\decorators.pyo", line 217, in write_locked
      File "bzrlib\branch.pyo", line 2637, in update
      File "bzrlib\branch.pyo", line 1108, in pull
      File "bzrlib\decorators.pyo", line 217, in write_locked
      File "bzrlib\branch.pyo", line 3375, in pull
      File "bzrlib\branch.pyo", line 3505, in _pull
      File "bzrlib\decorators.pyo", line 217, in write_locked
      File "bzrlib\branch.pyo", line 3318, in _update_revisions
      File "bzrlib\decorators.pyo", line 217, in write_locked
      File "bzrlib\branch.pyo", line 3295, in fetch
      File "bzrlib\repository.pyo", line 724, in fetch
      File "bzrlib\decorators.pyo", line 217, in write_locked
      File "bzrlib\vf_repository.pyo", line 2497, in fetch
      File "bzrlib\fetch.pyo", line 75, in __init__
      File "bzrlib\fetch.pyo", line 102, in __fetch
      File "bzrlib\fetch.pyo", line 130, in _fetch_everything_for_search
      File "bzrlib\vf_repository.pyo", line 1955, in insert_stream
      File "bzrlib\repository.pyo", line 794, in start_write_group
      File "bzrlib\repofmt\pack_repo.pyo", line 1708, in _start_write_group
      File "bzrlib\repofmt\pack_repo.pyo", line 1515, in _start_write_group
      File "bzrlib\repofmt\groupcompress_repo.pyo", line 130, in __init__
      File "bzrlib\transport\local.pyo", line 331, in open_write_stream
      File "bzrlib\osutils.pyo", line 2370, in open_file
    OSError: [Errno 2] No such file or directory

Does this give any clues?

Thanks,

Al



More information about the bazaar mailing list