Thank you for your fast response. I think if "versioning" does not work in web2py the button and the chapter from the book should be removed. It is frustrating to try something, which does not work. I always think that I have made a mistake.
Regards Martin 2017-08-30 22:32 GMT+02:00 Dave S <[email protected]>: > > > On Wednesday, August 30, 2017 at 12:11:01 PM UTC-7, mweissen wrote: >> >> Now another instance of web2py and another ticket. >> It seems that web2py does not match this version of mercurial. >> Who uses "versioning" with success? >> >> > It's an interface issue. web2py uses an internal interface that's subject > to change, and which indeed did change for at least one of the commands > web2py uses. I've been meaning to work up using the command server (an > official mercurial interface), but haven't filed my tuit very round yet. > > (I use mercurial in my project, but since I use branches and the web2py > usage didn't include that, I just use command-line mercurial. If you're > looking for a mercurial gui, TortoiseHg is the best known, and has been > ported to Linux as well as Windows. I'm not sure what to use on Macs, but > that's probably listed in the wiki at mercurial-scm.org) > > /dps > > > >> >> Error ticket for "admin"Ticket ID >> >> 62.46.34.69.2017-08-30.18-52-32.0686f969-19c0-4400-9e6c-2f79cec2c962 >> <type 'exceptions.TypeError'> addremove() takes at least 3 arguments (1 >> given)Version >> web2py™ Version 2.15.3-stable+timestamp.2017.08.07.12.51.45 >> Python Python 2.7.12: /usr/local/bin/uwsgi (prefix: /usr)Traceback >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> 9. >> 10. >> >> Traceback (most recent call last): >> File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted >> exec(ccode, environment) >> File "/home/www-data/web2py/applications/admin/controllers/mercurial.py" >> <https://noez.infosms.org/admin/default/edit/admin/controllers/mercurial.py>, >> line 87, in <module> >> File "/home/www-data/web2py/gluon/globals.py", line 409, in <lambda> >> self._caller = lambda f: f() >> File "/home/www-data/web2py/applications/admin/controllers/mercurial.py" >> <https://noez.infosms.org/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] >> <https://noez.infosms.org/admin/default/ticket/admin/62.46.34.69.2017-08-30.18-52-32.0686f969-19c0-4400-9e6c-2f79cec2c962#> >> <type 'exceptions.TypeError'>(addremove() takes at least 3 arguments (1 >> given)) >> >> 2017-08-30 13:20 GMT+02:00 Martin Weissenboeck <[email protected]>: >> >>> I want to try the admin versioning. >>> mercurial is installed, hg --version shows 2.8.2 >>> >>> And a click on versioning gives "Sorry, could not find mercurial >>> installed" >>> >>> What is wrong - any ideas? >>> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

