If you say that everything work well with ubuntu and that both system don't
have the same version of software I would agree that the version are in
cause.

Mercurial 1.0.1 is kind of very old I think... You must check if it has been
compatible with web2py in the first place.

Why you need mercurial in your prod? Just dump your app in that box not
enought? That goog for me. I make a tar ball with each of prod and drop and
replace my old prod with my new prod app.

Hope it help.


Richard


On Mon, May 2, 2011 at 8:14 PM, Eduardo Gonzalez <ehgonzale...@gmail.com>wrote:

> Hello,
>
> When I'm trying to use Versioning (mercurial) but I get an a ticket error:
>
> Traceback (most recent call last):
>   File "/var/www/web2py/gluon/restricted.py", line 181, in restricted
>     exec ccode in environment
>   File "/var/www/web2py/applications/admin/controllers/mercurial.py", line
> 75, in <module>
>   File "/var/www/web2py/gluon/globals.py", line 133, in <lambda>
>     self._caller = lambda f: f()
>   File "/var/www/web2py/applications/admin/controllers/mercurial.py", line
> 47, in commit
>     files = TABLE(*[TR(file) for file in repo[repo.lookup('.')].files()])
>   File "/var/lib/python-support/python2.5/mercurial/localrepo.py", line
> 443, in lookup
>     raise repo.RepoError(_("no revision checked out"))
> RepoError: no revision checked out
>
> My prod environment is:
>
> Debian 5.0 Lenny AMD64
> Python 2.5.2
> Mercurial 1.0.1
> Web2py  1.95.1
>
> I use Ubuntu for development (desktop) but everything works Ok!
>
> My dev environment:
> Ubuntu 10.04 32bits
> Python 2.6.5
> Mercurial 1.4.3
> Web2py 1.95.1
>
> What's wrong? Software versions?
>

Reply via email to