[web2py] Re: Wing IDE / GAE / breakpoints not getting hit for "exec" code

2010-07-25 Thread NickFranceschina
bump On Jul 13, 11:20 am, NickFranceschina wrote: > thanks but this doesn't help me... >   1) I'm using Wing >   2) I'm trying to debug using GAE's dev_appserver.py > > Wing debugs fine if I use web2py's web server... but when run on GAE, > Web2py has t

[web2py] Re: Wing IDE / GAE / breakpoints not getting hit for "exec" code

2010-07-13 Thread NickFranceschina
etions, current version works > almost all Completions in web2py ). > > On Mon, Jul 12, 2010 at 9:48 PM, NickFranceschina < > > > > nickfrancesch...@gmail.com> wrote: > > after going back and forth a bit with WING support guys... it appears > > to be an issue

[web2py] Re: Wing IDE / GAE / breakpoints not getting hit for "exec" code

2010-07-12 Thread NickFranceschina
na On Jul 2, 12:55 pm, NickFranceschina wrote: > I've been using WingIDE pro for a while... love it... followed advice > to get it setup to work with Web2py and runs fine if I launch debugger > through web2py.py ... but if I launch it through dev_appserver.py then >

[web2py] GAE/Jython

2010-07-11 Thread NickFranceschina
anyone running Web2py with Jython on GAE? just wondering...

[web2py] Re: GAE / parents / ancestors in Web2py?

2010-07-02 Thread NickFranceschina
anybody? On Jun 29, 10:03 pm, NickFranceschina wrote: > I've been reading and googling and searching... but not sure what the > latest, up-to-date information is on this: > > in GAE "parents" and "references" are two different things.  when you > cr

[web2py] Wing IDE / GAE / breakpoints not getting hit for "exec" code

2010-07-02 Thread NickFranceschina
I've been using WingIDE pro for a while... love it... followed advice to get it setup to work with Web2py and runs fine if I launch debugger through web2py.py ... but if I launch it through dev_appserver.py then the server runs and the app works and the breakpoints are hit for all code except for t

[web2py] GAE / parents / ancestors in Web2py?

2010-06-29 Thread NickFranceschina
I've been reading and googling and searching... but not sure what the latest, up-to-date information is on this: in GAE "parents" and "references" are two different things. when you create an object in GAE you can, on insert, assign the "parent"... and this puts the new object into the parents "e

[web2py] Re: GAE / Case sensitivity / canonical validator?

2010-06-29 Thread NickFranceschina
d be slow in general. The preferred way is to use a hidden > autocomputed normalized field. > > On Jun 25, 10:54 am, NickFranceschina > wrote: > > > > > Massimo, > > > just realized that GQL does not allow for LOWER() or UPPER()... thus > > cannot do case-ins

[web2py] dynamic tables / expando object / GAE

2010-06-25 Thread NickFranceschina
is it possible during runtime to create new table definitions and have them executed? so instead of putting my models in db.py, I could pull the meta-data from a database and build the model on the fly when the app starts up? (if it is on SQL, it will do the usual maintenance stuff... if it is o

[web2py] GAE / Case sensitivity / canonical validator?

2010-06-25 Thread NickFranceschina
Massimo, just realized that GQL does not allow for LOWER() or UPPER()... thus cannot do case-insensitive searches. the generally suggested solution is to create another field and store the canonical form of the string you're trying to search example: person.name = "Nick Franceschina" person.

[web2py] Re: login_bare() blows up on GAE

2010-06-24 Thread NickFranceschina
yes that's what I'm saying... there must be some code in Web2py where if the field is 'upload' and you're running on GAE, then it triggers creation of the blob field... but probably shouldn't create the blob in the same table, since on GAE there is no way to NOT load the blob (it always loads the e

[web2py] Re: login_bare() blows up on GAE

2010-06-22 Thread NickFranceschina
.. I dunno... I did run across this Webslices post... but haven't dug into it yet to see what it solves/provides... http://www.web2pyslices.com/main/slices/take_slice/63 On Jun 22, 3:27 pm, NickFranceschina wrote: > OK... I had uploaded a 900+kb photo by mistake (thought I had uploaded

[web2py] Re: login_bare() blows up on GAE

2010-06-22 Thread NickFranceschina
cords to JSON and blowing up... have to tell it to skip any 'blob' fields. working now! thanks!! On Jun 22, 2:50 am, mdipierro wrote: > You have something too large in the session and the datastore refuses > to store the session in the database. > > On Jun 21, 11:32 pm, Ni

[web2py] login_bare() blows up on GAE

2010-06-21 Thread NickFranceschina
I'm not sure what I'm doing wrong... I've built a JSON service on top of Web2py that uses Auth.login_bare() to authenticate via AJAX... my auth_user table looked like this (standard): auth.settings.table_user = db.define_table('auth_user', Field('first_name', length=512,default='', require

[web2py] login_bare() blows up on GAE

2010-06-21 Thread NickFranceschina
I'm not sure what I'm doing wrong... I've built a JSON service on top of Web2py that uses Auth.login_bare() to authenticate via AJAX... my auth_user table looked like this (standard): auth.settings.table_user = db.define_table('auth_user', Field('first_name', length=512,default='', require

[web2py] bug?

2010-06-20 Thread NickFranceschina
Version 1.79.2 (2010-06-08 22:45:26) was browsing through the code implementing some custom authentication and noticed this on line 1809 of tools.py: user.update_record(password=form.vars.new_password, registration_key='', reset_password_key='') where a few lines above you see this: passfi

[web2py] Re: difference between rows.json() and gluon.serializers.json(rows)

2010-06-13 Thread NickFranceschina
anyone? On Jun 12, 4:52 pm, NickFranceschina wrote: > if I have a records collection (of type Rows) from a select() call > through the DAL...  why is the output different between these two > versions ofjsonconversion? > > >>> records.json() > > '[{"descrip

[web2py] difference between rows.json() and gluon.serializers.json(rows)

2010-06-12 Thread NickFranceschina
if I have a records collection (of type Rows) from a select() call through the DAL... why is the output different between these two versions of json conversion? >>> records.json() '[{"description": "my description", "created_by": 1, "id": 1, "created_on": "2010-06-06 23:21:52", "name": "my name"}

[web2py] Re: routes with file extensions

2010-06-11 Thread NickFranceschina
. Let me give this some thought. > > meanshile you can do > > outes_in = ( >    ('/$c/$f\.$ext', '/init/$c/$f.$ext'), > ) > > or > > outes_in = ( >    ('/$c/$anything', '/init/$c/$anything'), > ) > > On 11 Giu, 1

[web2py] routes with file extensions

2010-06-11 Thread NickFranceschina
I know file extensions are optional... but you do have some nice functionality in there that allows passing file extensions on to the view... so if I were to request "app/controller/function.html" I would get the matching (or generic) .html template... but if I were to request "app/controller/funct