OK as I was advised by JAM on IRC I did:<br><br>bzr whoami `bzr whoami`<br>and now my problem is fixed...<br><br>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...<br>
<br>all this is a bit weird to me...<br><br>Anyway thanks for the help ;-)<br><br>--<br>Alex<br><br><div class="gmail_quote">2008/10/31 Asmodehn Shade <span dir="ltr"><<a href="mailto:asmodehn@gmail.com">asmodehn@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I really do not think so, since this happens almost everytime after a big transfer... and the network doesnt break that often.<br>
<br>I had it today trying to :<br><br> bzr branch bzr+ssh://[...]/home/autobzr/bzr.dev between remote locations...<br>
<br>plus bzr whoami shows the right user...<br><br>and<br><br>autobzr@deploy:~$ python<br>Python 2.5 (release25-maint, Jul 20 2008, 20:47:25)<br>[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import pwd<br>>>> pwd.getpwuid(2050)<br>('autobzr', '*', 2050, 3021, 'Automated BZR User', '/home/autobzr', '/bin/bash')<br>>>><br><br>I would think it s something more subtle...<br>
<br>While writing that, on another branch in other locations, it happened again...<br><br>here is the log <br><br><br>8925.873 60 body bytes read<br>8925.873 Reading entire index bzr+ssh://deploy.sgf.in.iz/home/autobzr/deployBZR/.bzr/repository/indices/6bf979baa20c5f7e3a880bdb63afbb66.six<br>
8925.873 RemoteSSHTransport.readv 1 offsets => 1 coalesced => 1 requests (1)<br>8925.873 hpss call w/readv: 'readv', '/home/autobzr/deployBZR/.bzr/repository/indices/794eb3819839d190afe98a8583bd55f4.six'<br>
8925.873 4 bytes in readv request<br>8926.078 result: ('readv',)<br>8926.078 60 body bytes read<br>8926.079 Reading entire index bzr+ssh://deploy.sgf.in.iz/home/autobzr/deployBZR/.bzr/repository/indices/794eb3819839d190afe98a8583bd55f4.six<br>
8928.047 Traceback (most recent call last):<br> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 893, in run_bzr_catch_errors<br> return run_bzr(argv)<br> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 839, in run_bzr<br>
ret = run(*run_argv)<br> File "/home/autobzr/bzr.dev/bzrlib/commands.py", line 539, in run_argv_aliases<br> return self.run(**all_cmd_args)<br> File "/home/autobzr/bzr.dev/bzrlib/builtins.py", line 980, in run<br>
force_new_repo=standalone)<br> File "/home/autobzr/bzr.dev/bzrlib/bzrdir.py", line 1113, in sprout<br> result_repo.fetch(source_repository, revision_id=revision_id)<br> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 989, in fetch<br>
find_ghosts=find_ghosts)<br> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 3115, in fetch<br> find_ghosts=find_ghosts)<br> File "/home/autobzr/bzr.dev/bzrlib/decorators.py", line 192, in write_locked<br>
result = unbound(self, *args, **kwargs)<br> File "/home/autobzr/bzr.dev/bzrlib/repository.py", line 2840, in fetch<br> self.target._pack_collection._save_pack_names()<br> File "/home/autobzr/bzr.dev/bzrlib/repofmt/pack_repo.py", line 1660, in _save_pack_names<br>
self.lock_names()<br> File "/home/autobzr/bzr.dev/bzrlib/repofmt/pack_repo.py", line 1275, in lock_names<br> self.repo.control_files.lock_write()<br> File "/home/autobzr/bzr.dev/bzrlib/lockable_files.py", line 258, in lock_write<div class="Ih2E3d">
<br>
token_from_lock = self._lock.lock_write(token=token)<br></div> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 576, in lock_write<br> return self.wait_lock()<br> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 500, in wait_lock<br>
return self.attempt_lock()<br> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 461, in attempt_lock<br> result = self._attempt_lock()<br> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 223, in _attempt_lock<div class="Ih2E3d">
<br>
tmpname = self._create_pending_dir()<br></div> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 281, in _create_pending_dir<div class="Ih2E3d"><br> info_bytes = self._prepare_info()<br></div> File "/home/autobzr/bzr.dev/bzrlib/lockdir.py", line 436, in _prepare_info<br>
user = config.user_email()<br> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 214, in user_email<div class="Ih2E3d"><br> return extract_email_address(self.username())<br></div> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 242, in username<div class="Ih2E3d">
<br>
name, email = _auto_user_id()<br></div> File "/home/autobzr/bzr.dev/bzrlib/config.py", line 842, in _auto_user_id<div class="Ih2E3d"><br> w = pwd.getpwuid(uid)<br>KeyError: 'getpwuid(): uid not found: 2050'<br>
<br><br></div>Format of my repository : Shared repository with trees (format: rich-root-pack)<br>
command : <br>~/bzr.dev/bzr branch -Dhpss -Dindex -r1 bzr+ssh://[...]/home/autobzr/deployBZR/branch<br><br>yes my first revision is pretty big (^_^) round 2.5GB I believe...<br><br><div class="gmail_quote">2008/10/30 Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span><div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think its a machine configuration issue - that uid is not mappable to<br>
a username on your machine; if you're using ldap or something this could<br>
indicate a network failure happened.<br>
<br>
-Rob<br>
</blockquote></div></div></div><br>
</blockquote></div><br>