[web2py] Re: Problem getting auth.wiki('slug', env=dict(mytest=...)) to work in a view?

2013-11-08 Thread Chuck Paulson
which would reprocess the wiki page, but of course that slows down page retrieval. Anyway, its working now and I wanted to let everyone know the answer. On Tuesday, November 5, 2013 4:58:15 PM UTC-5, Chuck Paulson wrote: > > In a simple test app I have defined a controller, view, and wiki pag

[web2py] Problem getting auth.wiki('slug', env=dict(mytest=...)) to work in a view?

2013-11-05 Thread Chuck Paulson
In a simple test app I have defined a controller, view, and wiki page. The idea is that the controller decides which wiki page to display (ex. 'slug'), and the view calls auth.wiki() to get the wiki page. The wiki page contains @{mytest:hi} which should be processed by the auth.wiki() call in t

[web2py] local GAE error on registration - fixed but why?

2010-10-14 Thread Chuck Paulson
rying to understand the real GAE, mainly the bulk loader tool and the mapreduce function so I can upload and delete large numbers of records more efficiently. Thanks, Chuck Paulson

[web2py] Re: error when registering on local GAE

2010-10-10 Thread Chuck Paulson
uot;C:\webdev\google_appengine\google\appengine\tools \dev_appserver.py", line 1790, in LoadModuleRestricted description) File "C:\webdev\web2py\gluon\main.py", line 37, in os.chdir(web2py_path) AttributeError: 'module' object has no attribute 'chdir' On

[web2py] Re: error when registering on local GAE

2010-10-10 Thread Chuck Paulson
(registration_key='') in tools.py line#1627 is failing to write to the db.auth_user.registration_key field and the default UUID remains there. If I change that field to the null string then it works fine. On Oct 10, 2:46 am, mdipierro wrote: > which web2py version? > > On Oct 9, 11:2

[web2py] error when registering on local GAE

2010-10-09 Thread Chuck Paulson
t; message to pop up when attempting to login. What could be causing this? Chuck Paulson Traceback (most recent call last): File "C:\webdev\web2py\gluon\restricted.py", line 188, in restricted exec ccode in environment File "C:\webdev\web2py\applications\ArticleSpin/con

[web2py] problem with large CSV import on local GAE

2010-10-09 Thread Chuck Paulson
and start over again? Removing the app from GAE and adding it back doesn't affect the database. Even un-installing and re-installing GAE and then adding the app back doesn't work, the database persists. Right now I'm stuck because I can't empty this table on the local GAE. Chuck Paulson

[web2py] problem with large CSV import on local GAE

2010-10-09 Thread Chuck Paulson
ise, the database tables were not empty, the table in question still had many rows and I still couldn't open it in appadmin. Is there any way to empty the database on the local GAE and start over again? Removing the app from GAE and adding it back doesn't affect the database. Even un-installing and re-installing GAE and then adding the app back doesn't work, the database persists. Right now I'm stuck because I can't empty this table on the local GAE. Chuck Paulson

[web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-07 Thread Chuck Paulson
I am using Windows VIsta Home Premium Service Pack 2 with Internet Explorer 8. The editor is just the standard editor that comes with web2py. However since I can't edit with that now, I am moving over to Eclipse with PyDev which doesn't have this problem. On Oct 7, 12:59 pm, Jonathan Lundell wrot

[web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-07 Thread Chuck Paulson
oblem is not there. > > A hunch: the new syntax-checking code in admin/default/edit needs to convert > Windows line endings before calling compile. > > > > > > > On Oct 7, 8:39 am, Chuck Paulson wrote: > >> I just upgraded to version 1.86.3 and whenever I t

[web2py] Re: SyntaxError at line 2 on version 1.86.3

2010-10-07 Thread Chuck Paulson
ase db = DAL('sqlite://storage.sqlite') # if not, use SQLite or other DB On Oct 7, 10:09 am, mdipierro wrote: > For now I reverted to 1.86.2 hoping the problem is not there. > > On Oct 7, 8:39 am, Chuck Paulson wrote: > > > > > I just upgraded to vers

[web2py] SyntaxError at line 2 on version 1.86.3

2010-10-07 Thread Chuck Paulson
can't edit anything. Chuck Paulson

[web2py] Re: pre-populating SQLFORM list:string field

2010-10-06 Thread Chuck Paulson
.default = wordlist > form = SQLFORM(db.syntable) > if form.accepts(request.vars, session): >     redirect(URL('test',args=myid)) > > There should be no '|' in your code. > On Oct 6, 8:54 am, Chuck Paulson wrote: > > > > > I am new to web2py and am wri

[web2py] pre-populating SQLFORM list:string field

2010-10-06 Thread Chuck Paulson
s, one per value? Thanks, Chuck Paulson db.define_table('syntable', Field('phrase', 'string'), Field('syns', 'list:string')) form = SQLFORM(db.syntable) form.vars.phrase = word #form.vars.syns = '|'+'|'.join(wordlist)+'|'