18 messages in ru.sysoev.nginxRe: Running Mercurial using Nginx as ...
FromSent OnAttachments
ThomasJan 26, 2008 9:26 am 
Cliff WellsJan 26, 2008 11:14 am 
Adrian PerezJan 27, 2008 5:29 pm 
ThomasJan 29, 2008 2:58 am 
Marcin KasperskiJan 29, 2008 3:49 am 
ThomasJan 29, 2008 1:11 pm 
eliottJan 29, 2008 1:27 pm 
ThomasJan 29, 2008 1:34 pm 
ThomasJan 29, 2008 2:03 pm 
Manlio PerilloJan 29, 2008 2:30 pm 
ThomasJan 29, 2008 2:47 pm 
ThomasJan 29, 2008 3:23 pm 
ThomasJan 30, 2008 4:57 am 
Manlio PerilloJan 30, 2008 5:47 am 
ThomasJan 30, 2008 6:01 am 
ThomasJan 30, 2008 6:33 am 
Manlio PerilloJan 30, 2008 7:16 am 
ThomasMar 17, 2008 5:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Running Mercurial using Nginx as http serverActions...
From:Thomas (iamk@public.gmane.org)
Date:Jan 29, 2008 2:47:15 pm
List:ru.sysoev.nginx

I have decided to install mercurial from scratch and by compiling from the source using this documentation page: http://www.selenic.com/mercurial/wiki/index.cgi/UnixInstall

It all goes almost well until: $ hg debuginstall.

If I run it as a regular user, I get:

------------ Traceback (most recent call last): File "/usr/bin/hg", line 11, in <module> mercurial.commands.run() AttributeError: 'module' object has no attribute 'run'

-------------

And if I run it as root:

------------- Checking encoding (UTF-8)... Checking extensions... Checking templates... Checking patch... Checking merge helper... Checking commit editor... Checking username... No username found, using 'root@ubuntu' instead (specify a username in your .hgrc file) No problems detected

---------------

Is that okay?

Now browsing the repository has come back finally!

So I try pushing through http, and I get the error as a regular user: $hg push http://ubuntu:83

-------------------- Traceback (most recent call last): File "/usr/bin/hg", line 11, in <module> mercurial.commands.run() AttributeError: 'module' object has no attribute 'run'

----------------------

And as root: $sudo hg push http://ubuntu:83

------------------- pushing to http://ubuntu:83 searching for changes abort: 'http://ubuntu:83/' does not appear to be an hg repository!

----------------------

Well I am back to square one, and actually things have gotten even worse, because now I need to push being root.

I am totally lost with that issue.

I will roll back to my previous setup using the ubuntu mercurial package and the old hgweb.cgi file, and I'll try to correct the permissions or something like that. If nothing works I'll have to move on to another DVCS as I won't let nginx down.

On Jan 29, 2008 11:31 PM, Manlio Perillo
<manlio_perillo-VGgt2q2+T+FeoW@public.gmane.org> wrote:

Thomas ha scritto:

Hello guys,

I have heard some horror stories about mod_wsgi.

mod_wsgi for Nginx? What horror stories?