Serving Bazaar with Apache on Windows XP
Can't get smart server to work on Windows with the instructions given at
http://
(use mod_wsgi)
I can execute "log", "branch", "checkout" command, but "commit" command fails with the following error
bzr: ERROR: Server sent an unexpected error: ('error', 'No module named pwd')
Configuration Apache httpd.conf:
WSGIScriptAlia
WSGIRestrictStdout Off
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/bzr/
RewriteRule ^/bzr/(
<Directory C:/bazaar_
WSGIApplic
</Directory>
Apache smart server wsgi script bzr.wsgi:
import sys
sys.path.insert(0, "C:/Bazaar/
from bzrlib.
def application(
app = wsgi.make_app(
return app(environ, start_response)
execute following command
>bzr log bzr+http://
>bzr checkout bzr+http://
>bzr commit -m "test"
bzr: ERROR: Server sent an unexpected error: ('error', 'No module named pwd')
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask yamamura seiya for more information if necessary.