bzr push to smart server error: bzr: ERROR: Server sent an unexpected error: ('error', 'No module named pwd')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Thu 2011-06-09 13:09:47 +0300
0.313 bazaar version: 2.3.3
0.313 bzr arguments: [u'push']
0.407 looking for plugins in C:\work\
0.547 looking for plugins in C:/Program Files/Bazaar/
0.547 Plugin name colo already loaded
0.547 Plugin name explorer already loaded
0.547 Plugin name qbzr already loaded
0.578 encoding stdout as sys.stdout encoding 'cp866'
0.641 opening working tree 'XXX'
2.469 Transferred: 2kB (14.0kB/s r:1kB w:1kB)
2.469 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\push.pyo", line 140, in _show_push_branch
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
UnknownErrorFro
On the remote side I have Windows machine with `bzr serve` running. bzr is standalone bzr.exe 2.3.3-3.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/9/2011 12:13 PM, Alexander Belchenko wrote: Bazaar\ plugins plugins commands. pyo", line 926, in exception_ to_return_ code commands. pyo", line 1126, in run_bzr commands. pyo", line 691, in run_argv_aliases commands. pyo", line 713, in run cleanup. pyo", line 135, in run_simple cleanup. pyo", line 165, in _do_with_cleanups builtins. pyo", line 1132, in run controldir. pyo", line 533, in push_branch branch. pyo", line 1098, in push branch. pyo", line 3506, in push branch. pyo", line 3298, in _run_with_ write_locked_ target remote. pyo", line 2468, in lock_write remote. pyo", line 2452, in _remote_lock_write remote. pyo", line 59, in _call remote. pyo", line 2314, in _translate_error remote. pyo", line 825, in _translate_error remote. pyo", line 175, in _translate_error remote. pyo", line 3029, in _translate_error mSmartServer: Server sent an unexpected error: ('error', 'No module named pwd')
> Public bug reported:
>
> Thu 2011-06-09 13:09:47 +0300
> 0.313 bazaar version: 2.3.3
> 0.313 bzr arguments: [u'push']
> 0.407 looking for plugins in C:\work\
> 0.547 looking for plugins in C:/Program Files/Bazaar/
> 0.547 Plugin name colo already loaded
> 0.547 Plugin name explorer already loaded
> 0.547 Plugin name qbzr already loaded
> 0.578 encoding stdout as sys.stdout encoding 'cp866'
> 0.641 opening working tree 'XXX'
> 2.469 Transferred: 2kB (14.0kB/s r:1kB w:1kB)
> 2.469 Traceback (most recent call last):
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\push.pyo", line 140, in _show_push_branch
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> File "bzrlib\
> UnknownErrorFro
>
> On the remote side I have Windows machine with `bzr serve` running. bzr
> is standalone bzr.exe 2.3.3-3.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>
This indicates that the server side is unable to determine a username
for the process. Usually this happens when running as a service daemon,
etc. I forget the exact env variable you can set, but I think it is %USER%.
We could certainly use a better error message here, though.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
woAcACgkQJdeBCY SNAAOO/ wCfUKLYPvkwjBuI 8xAPsye1KCbG Pw+8PvZ6siFacyK IVWq+AdWd
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk3
IDgAoNl+
=EYnD
-----END PGP SIGNATURE-----