Re: [web2py] Re: Anvanced applications in gae

2010-06-21 Thread Carles
Ok, I'll try. Carles El 21/06/2010, a las 19:03, mdipierro escribió: > The only file you need to look into is gluon/contrib/gql.py > > specifically the select() function which calls filter returns the Rows > object > > On Jun 21, 11:55 am, Carles Gonzalez wrote: >

Re: [web2py] Re: Anvanced applications in gae

2010-06-23 Thread Carles
Sorry but, any thoughts? Carles El 22/06/2010, a las 19:56, Carles Gonzalez escribió: > My english is horrible, an maybe it wasn't clear, but that was exactly > my problem :). > > Currently i'm looking at the code massimo told me about but i think > that the problem i

Re: [web2py] Re: Anvanced applications in gae

2010-06-25 Thread Carles
Thanks a lot Dave. There isn't a deadline, tale your time :) Carles El 25/06/2010, a las 20:42, dlypka escribió: > OK will do - please give me a few days... > > On Jun 24, 8:43 pm, Carles Gonzalez wrote: >> Not to be annoying, but can you post an example? >> >

[web2py] Lazy loading

2010-06-25 Thread Carles
Is there any manner to lazy-load the components of web2py. Sometimes load all the framework at the start is overkill. Carles

[web2py] Anvanced applications in gae

2010-06-21 Thread Carles Gonzalez
Hi, I have developed some applications in web2py, and 2 are running currently in gae, but now i have serious problem. My current project is a social application, and when i design (example) the tables to make an user follow the actions other user (twitter like) I find that many-to-many relationsh

Re: [web2py] Re: Anvanced applications in gae

2010-06-21 Thread Carles Gonzalez
Ok, thanks! I would like to make the patch myself, but the innards of web2py are somewhat complex... Thanks again, Carles. On Mon, Jun 21, 2010 at 6:43 PM, mdipierro wrote: > Probably it would not be hard to implement. I will look into this next > week but if somebody sends me a patch

Re: [web2py] Re: Anvanced applications in gae

2010-06-22 Thread Carles Gonzalez
consider). Opinions? On Tue, Jun 22, 2010 at 1:42 AM, Matt wrote: > Any chance this could be considered as well? > > Currently the DAL doesn't allow you to set the parent which is > required for GAE entity groups. > > http://groups.google.com/group/web2py/browse_thread/thread/3c11

Re: [web2py] Re: Anvanced applications in gae

2010-06-24 Thread Carles Gonzalez
Thanks! On Thu, Jun 24, 2010 at 2:27 PM, mdipierro wrote: > thinking about how to handle this... > > On Jun 22, 12:56 pm, Carles Gonzalez wrote: >> My english is horrible, an maybe it wasn't clear, but that was exactly >> my problem :). >> >> Currently i

Re: [web2py] Re: Anvanced applications in gae

2010-06-24 Thread Carles Gonzalez
ative properties can be > directly declared in web2py tables. > > - Dave Lypka. > > On Jun 21, 10:25 am, Carles Gonzalez wrote: >> Hi, >> >> I have developed some applications in web2py, and 2 are running >> currently in gae, but now i have serious problem. >

Re: [web2py] Re: Anvanced applications in gae

2010-06-24 Thread Carles Gonzalez
Not to be annoying, but can you post an example? Just to organize the things in my head... Thanks again. On Fri, Jun 25, 2010 at 2:41 AM, Carles Gonzalez wrote: > Very interesting! > > I'll try tomorrow. > > Thanks a lot, Dave. > > On Fri, Jun 25, 2010 at 1:21 AM, dly

Re: [web2py] Re: Anvanced applications in gae

2010-06-26 Thread Carles Gonzalez
 required=False, > collection_name='linksFromChildItemToParent'))) > >                           ) > > and define the parent class in a similar fashion. > > It is also necessary to add some plumbing to find and track the native > GAE references > which lie un

Re: [web2py] Re: Anvanced applications in gae

2010-06-27 Thread Carles Gonzalez
ableQuery.fetch(limit=1) > >    myGAENativeChild = nativeresults[0] > > # Now myGAENativeChild can be inserted into the native GAE Reference > collection > > - Dave Lypka > > On Jun 26, 5:48 am, Carles Gonzalez wrote: >> Very interesting, i didn't know about col

Re: [web2py] Re: Anvanced applications in gae

2010-06-27 Thread Carles Gonzalez
t 'nativeRef' > > Would it be something like: >    self.nativeRef = tmp     # Python can add new properties 'on-the- > fly', right? > > as the new 2nd last statement of insert()? > > > > On Jun 27, 11:54 am, mdipierro wrote: >> I will wait for a pat

Re: [web2py] Re: Anvanced applications in gae

2010-06-30 Thread Carles Gonzalez
Hi, i was trying this technique but i'm getting this traceback when using gae_google_account: Traceback (most recent call last): File "/Users/lauer/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/Users/lauer/web2py/applications/web2pytodo/controllers/

Re: [web2py] Re: Anvanced applications in gae

2010-06-30 Thread Carles Gonzalez
Now is working. Thanks, let's continue testing... On Wed, Jun 30, 2010 at 10:39 PM, mdipierro wrote: > You are right... fixing it in trunk..1..2..3..done. Please check it. > > Massimo > > On 30 Giu, 15:25, Carles Gonzalez wrote: >> Hi, i was trying this technique but

Re: [web2py] Re: Anvanced applications in gae

2010-06-30 Thread Carles Gonzalez
an to release the source. I think that a working example of this technique woukd be interesting for reference. On Wed, Jun 30, 2010 at 10:56 PM, Carles Gonzalez wrote: > Now is working. Thanks, let's continue testing... > > On Wed, Jun 30, 2010 at 10:39 PM, mdipierro wrote: >>

Re: [web2py] Re: Anvanced applications in gae

2010-07-01 Thread Carles Gonzalez
pected string or buffer On Thu, Jul 1, 2010 at 7:32 AM, mdipierro wrote: > I think, > >                         Field(gae.ReferenceProperty(auth_user,...) > > should be > > > Field(gae.ReferenceProperty(db.auth_user._tableobj,) > > > > On 30 Giu, 16:15, C

Re: [web2py] Re: Anvanced applications in gae

2010-07-01 Thread Carles Gonzalez
Ah... Ok, that makes much more sense. On Thu, Jul 1, 2010 at 2:03 PM, mdipierro wrote: > Sorry... > > Field('fieldname',type=gae.ReferenceProperty(db.auth_user._tableobj,) > > On 1 Lug, 03:23, Carles Gonzalez wrote: >> Tested and now the error is: >>

[web2py] appadmin fails on gae

2010-02-19 Thread Carles G
Hi! I'm deploying a test aplication on GAE and almost everything woks fine, although I can't access appadmin. When i try to access through https the application fails and i can see the following error in the dashboard logs: In FILE: /base/data/home/apps/professorsecaib/1.339995859017462670/ appl

Re: [web2py] Re: appadmin fails on gae

2010-02-22 Thread Carles Gonzalez
> 179, in create_login_url > > raise NotAllowedError > > NotAllowedError > > Does it work on dev_appserver? > > > On Feb 19, 7:01 am, Carles G wrote: > > Hi! > > > > I'm deploying a test aplication on GAE and almost everything woks > > fine, altho