On Friday, July 8, 2016 at 1:46:24 PM UTC-7, Jim Spoerl wrote: > > OK. I will try that when I can find a few moments of "prime" time. By the > way, it seems strange to me that no one else reported this in the two and a > half months since the error was introduced. Is there really so little use > of web2py these days. That would be so strange since it seems to me to be > a framework with a very easy learning curve compared with others. > > Again, thanks to you and others here in this group who have helped me. > This is really great. > \Jim > > Lots of use of web2py, but the wiki feature may not be heavily used. My projects don't need it, although it could be the basis of a very simple CMS (use Mercurial to track changes to pages, because "management" implies tracking)
/dps > On Friday, July 8, 2016 at 4:31:33 PM UTC-4, Anthony wrote: >> >> You can use appadmin to make an insert in the db.auth_group table or >> follow the documentation (see auth.add_group): >> http://web2py.com/books/default/chapter/29/09/access-control#Authorization >> . >> >> Anthony >> >> On Friday, July 8, 2016 at 3:55:09 PM UTC-4, Jim Spoerl wrote: >>> >>> Creating the "wiki_editor" role manually is straightforward for you but >>> since I am a beginner, I would appreciate it if you could show how this is >>> done. >>> Thanks very much! /Jim >>> >>> On Friday, July 8, 2016 at 2:55:19 PM UTC-4, Anthony wrote: >>>> >>>> From the code snippet in the ticket, it looks like at line 6453, gid >>>>>> should be set with the result of the insert, but I haven't yet looked at >>>>>> the whole code. >>>>>> >>>>> >>>>> As a test/workaround, a fresh install and manually creating the >>>>> wiki_editor group (using the admin interface or the sqlite3 shell) should >>>>> avoid the ticket. >>>>> >>>>> I'm not sure why there are tickets still occurring after the initial >>>>> one; the insert should have happened, but maybe that was lost when the >>>>> db.commit didn't happen because of the exception. This could be checked >>>>> from the sqlite3 shell. >>>>> >>>> >>>> No, the insert will be rolled back due to the exception. >>>> >>>> Anyway, turns out this is a bug introduced recently (on April 17). I >>>> have filed an issue: https://github.com/web2py/web2py/issues/1389. >>>> >>>> For now the workaround is to create the "wiki_editor" role manually >>>> rather than relying on auth.wiki() to create it automatically. It's just a >>>> one-time action, so not a big deal for now. >>>> >>>> Anthony >>>> >>> -- 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.