Pulling pretty big revision...
Asmodehn Shade
asmodehn at gmail.com
Fri Oct 31 20:42:09 GMT 2008
OK as I was advised by JAM on IRC I did:
bzr whoami `bzr whoami`
and now my problem is fixed...
A bit weird... I guess the bzr whoami was getting the value from the system,
but when I actually specify a name it stores it somwhere, which kind of
workaround the problem I was experiencing...
all this is a bit weird to me...
Anyway thanks for the help ;-)
--
Alex
2008/10/31 Asmodehn Shade <asmodehn at gmail.com>
> I really do not think so, since this happens almost everytime after a big
> transfer... and the network doesnt break that often.
>
> I had it today trying to :
>
> bzr branch bzr+ssh://[...]/home/autobzr/bzr.dev between remote
> locations...
>
> plus bzr whoami shows the right user...
>
> and
>
> autobzr at deploy:~$ python
> Python 2.5 (release25-maint, Jul 20 2008, 20:47:25)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pwd
> >>> pwd.getpwuid(2050)
> ('autobzr', '*', 2050, 3021, 'Automated BZR User', '/home/autobzr',
> '/bin/bash')
> >>>
>
> I would think it s something more subtle...
>
> While writing that, on another branch in other locations, it happened
> again...
>
> here is the log
>
>
> 8925.873 60 body bytes read
> 8925.873 Reading entire index
> bzr+ssh://deploy.sgf.in.iz/home/autobzr/deployBZR/.bzr/repository/indices/6bf979baa20c5f7e3a880bdb63afbb66.six
> 8925.873 RemoteSSHTransport.readv 1 offsets => 1 coalesced => 1 requests
> (1)
> 8925.873 hpss call w/readv: 'readv',
> '/home/autobzr/deployBZR/.bzr/repository/indices/794eb3819839d190afe98a8583bd55f4.six'
> 8925.873 4 bytes in readv request
> 8926.078 result: ('readv',)
> 8926.078 60 body bytes read
> 8926.079 Reading entire index
> bzr+ssh://deploy.sgf.in.iz/home/autobzr/deployBZR/.bzr/repository/indices/794eb3819839d190afe98a8583bd55f4.six
> 8928.047 Traceback (most recent call last):
> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 893, in
> run_bzr_catch_errors
> return run_bzr(argv)
> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 839, in run_bzr
> ret = run(*run_argv)
> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 539, in
> run_argv_aliases
> return self.run(**all_cmd_args)
> File "/home/autobzr/bzr.dev/bzrlib/builtins.py", line 980, in run
> force_new_repo=standalone)
> File "/home/autobzr/bzr.dev/bzrlib/bzrdir.py", line 1113, in sprout
> result_repo.fetch(source_repository, revision_id=revision_id)
> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 989, in fetch
> find_ghosts=find_ghosts)
> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 3115, in fetch
> find_ghosts=find_ghosts)
> File "/home/autobzr/bzr.dev/bzrlib/decorators.py", line 192, in
> write_locked
> result = unbound(self, *args, **kwargs)
> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 2840, in fetch
> self.target._pack_collection._save_pack_names()
> File "/home/autobzr/bzr.dev/bzrlib/repofmt/pack_repo.py", line 1660, in
> _save_pack_names
> self.lock_names()
> File "/home/autobzr/bzr.dev/bzrlib/repofmt/pack_repo.py", line 1275, in
> lock_names
> self.repo.control_files.lock_write()
> File "/home/autobzr/bzr.dev/bzrlib/lockable_files.py", line 258, in
> lock_write
> token_from_lock = self._lock.lock_write(token=token)
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 576, in lock_write
> return self.wait_lock()
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 500, in wait_lock
> return self.attempt_lock()
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 461, in attempt_lock
> result = self._attempt_lock()
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 223, in
> _attempt_lock
> tmpname = self._create_pending_dir()
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 281, in
> _create_pending_dir
> info_bytes = self._prepare_info()
> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 436, in
> _prepare_info
> user = config.user_email()
> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 214, in user_email
> return extract_email_address(self.username())
> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 242, in username
> name, email = _auto_user_id()
> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 842, in _auto_user_id
> w = pwd.getpwuid(uid)
> KeyError: 'getpwuid(): uid not found: 2050'
>
>
> Format of my repository : Shared repository with trees (format:
> rich-root-pack)
> command :
> ~/bzr.dev/bzr branch -Dhpss -Dindex -r1
> bzr+ssh://[...]/home/autobzr/deployBZR/branch
>
> yes my first revision is pretty big (^_^) round 2.5GB I believe...
>
> 2008/10/30 Robert Collins <robertc at robertcollins.net>
>
> I think its a machine configuration issue - that uid is not mappable to
>> a username on your machine; if you're using ldap or something this could
>> indicate a network failure happened.
>>
>> -Rob
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081031/90ad727d/attachment-0001.htm
More information about the bazaar
mailing list