plugin_wiki Insufficient privileges on Google App Engine

39 views
Skip to first unread message

Kurt Fehlhauer

unread,
Feb 22, 2012, 5:31:46 PM2/22/12
to web2py-users
When I installed plugin_wiki locally it runs just fine. The same
application uploaded to Google App Engine give me "Insufficient
privileges" when I navigated to the /plugin_wiki/index page. Am I
missing something obvious?

Thanks,
Kurt

Kurt Fehlhauer

unread,
Feb 22, 2012, 8:16:00 PM2/22/12
to web2py-users
So with a little more research I found this page
http://jhb.gtug.co.za/jhbgtug/plugin_wiki/page/appengine which
instructed me to add some records to the db_auth tables.
Unfortunately, GAE did not create the db_auth table. So now I need to
understand why this table did not get created. I am running a fairly
virgin version of web2py and the latest GAE tools locally. Any ideas?

Thanks,
Kurt

Kurt Fehlhauer

unread,
Feb 22, 2012, 8:37:37 PM2/22/12
to web2py-users
I waited 10 minutes and tried again and the table was created. So now
it works. Still I am unsure why it failed the first time I uploaded it
to GAE.

howesc

unread,
Feb 23, 2012, 4:01:44 PM2/23/12
to web...@googlegroups.com
the table creation understanding requires an insight to google big table....which is that big table actually does not have tables.  it has entries, and those entries contain data stored in key-value pairs.  under the covers are some secret key-value pairs that tell GAE that this entry actually belongs to a group of similar entries and that group is called X.  (at least i suspect that is what they are doing to make the entries appear as though they are grouped into a table).  as you work with the app engine you will notice that the GAE console will only show "tables" that have at least one row, and will only show a column if at least one row has data for that column.

so, the auth tables don't show up until you create a record.  a nice, fun catch-22 that can happen when starting your app.
Reply all
Reply to author
Forward
0 new messages