There is this issue open for some times could it be related : https://github.com/web2py/web2py/issues/1245
Richard On Tue, May 17, 2016 at 1:30 AM, Martin Weissenboeck <mweis...@gmail.com> wrote: > I have installed: > > Mercurial on the Windows server: > https://www.mercurial-scm.org/wiki/Download#Windows > > "Mercurial-3.8.1 (32-bit py2.7) > <https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.1.win32-py2.7.msi> > / Mercurial-3.8.1 (64-bit py2.7) > <https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.1.win-amd64-py2.7.msi>, > installs Mercurial source as Python modules and thus requires Python 2.7 > <http://www.python.org/download/releases/2.7.10/> installed. This is > recommended for hgweb setups and extensions with non-standard dependencies." > > Ubuntu: > > # hg --version > Mercurial Distributed SCM (version 2.8.2) > > # git --version > git version 1.9.1 > > > > > > > 2016-05-17 1:31 GMT+02:00 Massimo Di Pierro <massimo.dipie...@gmail.com>: > >> I think there are different incompatible versions of mercurial API's >> around. which version of mercurial do you have? >> >> >> On Saturday, 14 May 2016 02:36:17 UTC-5, mweissen wrote: >>> >>> I have tried to use the Mercurial Version Control System. >>> >>> There is the same web2py version (2.14.6) on a Linux Ubuntu server and >>> on a Windows 10 server. >>> No problem on the Linux server. But the Windows server produced an error >>> message. >>> >>> Mercurial on the Windows server: >>> https://www.mercurial-scm.org/wiki/Download#Windows >>> >>> "Mercurial-3.8.1 (32-bit py2.7) >>> <https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.1.win32-py2.7.msi> >>> / Mercurial-3.8.1 (64-bit py2.7) >>> <https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.1.win-amd64-py2.7.msi>, >>> installs Mercurial source as Python modules and thus requires Python 2.7 >>> <http://www.python.org/download/releases/2.7.10/> installed. This is >>> recommended for hgweb setups and extensions with non-standard dependencies." >>> >>> >>> Mercurial Version Control System Interface >>> for application 'admin'Commit formComment: >>> >>> Error ticket for "admin"Ticket ID >>> >>> 127.0.0.1.2016-05-14.09-06-55.4f00d7fc-f0ef-4879-88c7-9ee95ad06ba5 >>> <type 'exceptions.TypeError'> addremove() takes at least 3 arguments (1 >>> given)Version >>> web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 >>> Python Python 2.7.11: C:\Python27\python.exe (prefix: C:\Python27) >>> Traceback >>> >>> 1. >>> 2. >>> 3. >>> 4. >>> 5. >>> 6. >>> 7. >>> 8. >>> 9. >>> 10. >>> >>> Traceback (most recent call last): >>> File "D:\Dropbox\InfoSMS\web2py\gluon\restricted.py", line 227, in >>> restricted >>> exec ccode in environment >>> File >>> "D:/Dropbox/InfoSMS/web2py/applications/admin/controllers/mercurial.py" >>> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/mercurial.py>, >>> line 87, in <module> >>> File "D:\Dropbox\InfoSMS\web2py\gluon\globals.py", line 417, in <lambda> >>> self._caller = lambda f: f() >>> File >>> "D:/Dropbox/InfoSMS/web2py/applications/admin/controllers/mercurial.py" >>> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/mercurial.py>, >>> line 50, in commit >>> addremove(repo) >>> TypeError: addremove() takes at least 3 arguments (1 given) >>> >>> Error snapshot [image: help] >>> <http://127.0.0.1:8000/admin/default/ticket/admin/127.0.0.1.2016-05-14.09-06-55.4f00d7fc-f0ef-4879-88c7-9ee95ad06ba5#> >>> >>> <type 'exceptions.TypeError'>(addremove() takes at least 3 arguments (1 >>> given)) >>> What is wrong? >>> >>> >>> Kind regards, Martin >>> >> > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.