> > 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.