[web2py] Re: Jobsite on GAE

2010-10-09 Thread mdipierro
The problem may be due to the fact that GAE does not create tables until you perform one insert into them. Therefore any select before there is data will fail. On Oct 10, 12:20 am, Sujith wrote: > Hi Massimo, > > I dont know why but when running under web2py the db seems to be > populated. But wh

[web2py] Re: error when registering on local GAE

2010-10-09 Thread mdipierro
which web2py version? On Oct 9, 11:27 pm, Chuck Paulson wrote: > I am getting an error while registering on my local GAE. I fill out > the registration form, click submit, and then get a ticket for the > error shown below. > > The user is put into the auth_user table, but the registration_key > f

[web2py] Re: How to display variables from request.vars in a form field?

2010-10-09 Thread mdipierro
The problem is that you may have both request.get_vars and request.post_vars. replacing: if form.accepts(request.vars, session): with if form.accepts(request.post_vars, session): should fix the problem. On Oct 9, 11:14 pm, John Tynan wrote: > Has anyone here tried to display variabl

[web2py] Re: Jobsite on GAE

2010-10-09 Thread Sujith
Hi Massimo, I dont know why but when running under web2py the db seems to be populated. But when i run under GAE this happens. Any idea where i should look into? Thanks Sujith On Oct 9, 8:54 pm, mdipierro wrote: > The error seems to be in viewcompany, it expects to find at least one > record bu

Re: [web2py] Re: Join on a join on a join on a.... eesh...

2010-10-09 Thread Jason Brower
One more thing, I put the auth.user.id in place of the db.auth_user table and it selectd the single user... Very nice indeed! Best Regards, Jason On 10/10/2010 08:13 AM, Jason Brower wrote: Ooops, yeah, that was easy! I think I am getting it now. Best Regards, Jason Brower On 10/09/2010 10:2

Re: [web2py] Re: Join on a join on a join on a.... eesh...

2010-10-09 Thread Jason Brower
Ooops, yeah, that was easy! I think I am getting it now. Best Regards, Jason Brower On 10/09/2010 10:21 PM, ron_m wrote: There is something wrong with the line in your last version of users_advertisements. For clarity I put one condition per line users_advertisements = db((db.auth_user.id==db

[web2py] Re: please help us test new web site

2010-10-09 Thread guruyaya
I happen to like to new logo. It looks like very slick. The offers on the google docs are problematic, as they are rectangles, not squares (or even almost squares). Imagine using it as a desktop icon, or as a favicon, and I think you'll see the problem. Overall - I like the new design. After gettin

[web2py] error when registering on local GAE

2010-10-09 Thread Chuck Paulson
I am getting an error while registering on my local GAE. I fill out the registration form, click submit, and then get a ticket for the error shown below. The user is put into the auth_user table, but the registration_key field is set to a UUID, causing a "registration needs verification" message t

[web2py] How to display variables from request.vars in a form field?

2010-10-09 Thread John Tynan
Has anyone here tried to display variables from request.vars in a form field? I am getting a strange result, where the variables are displayed properly on the form However, after the form is submitted, I notice that the variables are duplicated. See this screen capture: http://publicradioroadtr

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Bruno Rocha
I like that concept -> https://docs.google.com/leaf?id=0BzPqKovYWlw-N2IwYTA0Y2EtNDNjMi00OTg1LTgwN2MtZWI1YzhkZDI4YzRh&hl=en&authkey=CM6tupsG But, the snake looks childish. the idea is very good, but snake have to be redesigned, or maybe simplified, perhaps just the snake silhouette. And, I still l

[web2py] problem with large CSV import on local GAE

2010-10-09 Thread Chuck Paulson
I'm really enjoying working with web2py but I'm having some problems with local GAE. I imported a CSV file with 37500 rows into my local app running on GAE. This import works fine in web2py without GAE (took a few minutes). After about 2 hours I stopped my GAE app, thinking it was stuck somewhere

[web2py] Re: Any possible problems if I do this? Any possible improvement?

2010-10-09 Thread Magnitus
Well, technically, you can't access the admin unless: 1) You have local access and/or 2) You are using TLS So if you site isn't using TLS, the admin is disabled and you are safe (even if your generic users aren't). However, I dislike the amount of power you have in one place with the admin app

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Jonathan Lundell
On Oct 9, 2010, at 8:42 PM, weheh wrote: > > New website is good. Logo is kind of sinister looking IMHO. I like it fine.

[web2py] Re: please help us test new web site

2010-10-09 Thread weheh
New website is good. Logo is kind of sinister looking IMHO. If we need a new logo, I would like to resubmit some prototype logos from my friend Diane Heller. I think they have potential and last year, she was willing to spend some more time on the logo (pro bono) if there was any interest. If there

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Bruno Rocha
Take a look at logo in higher resolution http://web2py.com/examples/static/img/logo_bw.png Any suggestion or ideas will be considered, does anybody have an idea for a logo, send to us! 2010/10/10 Bruno Rocha > The Logo is just W and P, but I like your idea! "One framework to rule them > all!" i

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Bruno Rocha
The Logo is just W and P, but I like your idea! "One framework to rule them all!" is a good idea.. :-) 2010/10/9 Richard > nice. > Can you explain the meaning behind the new logo? It reminded me of the > Eye of Sauron - one Framework to rule them all! > > > > On Oct 10, 1:00 pm, Luis Díaz wrote

[web2py] problem with large CSV import on local GAE

2010-10-09 Thread Chuck Paulson
I'm really enjoying working with web2py but I'm having some problems with local GAE. I imported a CSV file with 37500 rows into my local app running on GAE. This import works fine in web2py without GAE (took a few minutes). After about 2 hours I stopped my GAE app, thinking it was stuck somewhere

[web2py] Re: please help us test new web site

2010-10-09 Thread Anthony
First, let me say this is excellent work and much appreciated. Along with the new scaffolding app, web2py is really looking very polished now. Thanks for your work Bruno, Martin, and Jose (and anyone else involved). Now for some feedback... Regarding the new logo, although it does indeed look ver

[web2py] Re: Any possible problems if I do this? Any possible improvement?

2010-10-09 Thread Richard
> 3) I'd also limit the IP access to the artist's home IP, but his IP will probably be dynamic. Maybe limit the area, I'll see. I've got some apps around the web with the admin exposed and haven't had any problems. Though it probably helps that nothing links to them. Could you modify admin so tha

[web2py] Re: please help us test new web site

2010-10-09 Thread Richard
nice. Can you explain the meaning behind the new logo? It reminded me of the Eye of Sauron - one Framework to rule them all! On Oct 10, 1:00 pm, Luis Díaz wrote: > very good design! > > I like the irc channel > -- > Díaz Luis > TSU Analisis de Sistemas > Universidad de Carabobo > > http://web2p

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Luis Díaz
very good design! I like the irc channel -- Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo http://web2pyfacil.blogspot.com/ Facultad de Odontología

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

2010-10-09 Thread Jonathan Lundell
On Oct 9, 2010, at 3:47 PM, mart wrote: > > A little late on this one, but I am a little curious. Have you found > the root cause for these unwelcome characters? I see these type of > characters often enough and not just in the code folks check in, but > they make there way into all sorts of annoy

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

2010-10-09 Thread mart
Hi all, A little late on this one, but I am a little curious. Have you found the root cause for these unwelcome characters? I see these type of characters often enough and not just in the code folks check in, but they make there way into all sorts of annoying places (like user change-descriptions)

[web2py] Re: please help us test new web site

2010-10-09 Thread mart
Looks awesome! Love the build notes at the bottom! On Oct 9, 6:34 pm, Wobmofo wrote: > I think the logo needs more work. It should pass the one color test > (http://www.corporate-eye.com/blog/2010/06/put-your-brand-logo-through- > the-one-color-test/) > > And what bothers also is that I read Wweb

[web2py] Re: please help us test new web site

2010-10-09 Thread Wobmofo
I think the logo needs more work. It should pass the one color test (http://www.corporate-eye.com/blog/2010/06/put-your-brand-logo-through- the-one-color-test/) And what bothers also is that I read Wweb2py. I think that web2py should more separated from the logo, a little more on the right, or dow

[web2py] Re: please help us test new web site

2010-10-09 Thread mdipierro
Yes, thanks to Jose, you and Martin for help with the new design. For everybody else... we needed a new/better design for long time. Many new users had complained about the old design. There was a possible trademark conflict with the logo. The example app was not designed to be translated into mul

Re: [web2py] please help us test new web site

2010-10-09 Thread Bruno Rocha
Many thanks to Jose V. Sousa, (http://twitter.com/josev2010) the designer who made all the graphics, created the new logo, and worked hard all these days to test the ideas for this site. Any suggestion is welcome, and if it is a good idea we can add or change for the next version of the site. Thi

[web2py] Re: please help us test new web site

2010-10-09 Thread mdipierro
there is nothing new in admin, except that the demo of admin was outdated and not is the same as regular admin On Oct 9, 4:10 pm, Kenneth Lundström wrote: >   >http://web2py.com > > Looking very nice. > >  > New demo_admin: >  >  http://web2py.com/demo_admin > > Whats new in the new admin? Could

[web2py] Re: In appadmin clicking on the "file" trying to load it in the browser..

2010-10-09 Thread mdipierro
can you tell us more. On Oct 9, 12:45 pm, Jason Brower wrote: > This is bad as it will load a JPG as garbage.  Perhaps it should always > go for download.  That or build a handler to preview it if it's an image. > Best Regards, > Jason

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Bruno Rocha
2010/10/9 Jurgis Pralgauskis > I liked orange collors more :) > > and the header is quite large to stay forever for my monintor -- there > could be option, to make it scroll up. > For testing, in any page just input: $('.headerExt').css('position','absolute') in firebug console, then header wi

Re: [web2py] Re: please help us test new web site

2010-10-09 Thread Bruno Rocha
The header scrolls up under http://web2py.com/examples/default/videos , it is better than fixed? The logo idea is just to use WP (web2py), it is a W with a P inside, but some people said the P remember python snakes (I dont think so) 2010/10/9 Jurgis Pralgauskis > I liked orange collors more :

[web2py] Re: please help us test new web site

2010-10-09 Thread ron_m
If you go to http://web2py.com and click the "read more" link at the end of the Includes bullet item I get "invalid request". The target URL is http://web2py.com/what which is a broken link. If you click the Home button or the icon at the top of the page you end up inside the examples web site h

[web2py] deepcopy( storage ) problem

2010-10-09 Thread Jurgis Pralgauskis
Hello, from copy import deepcopy z = deepcopy( Storage( a=5, c=10) ) Traceback (most recent call last): File "storage_deepcopy.py", line 136, in z = deepcopy( x ) File "/usr/lib/python2.5/copy.py", line 181, in deepcopy rv = reductor(2) TypeError: 'NoneType' object is not callable

[web2py] Re: please help us test new web site

2010-10-09 Thread Jurgis Pralgauskis
I liked orange collors more :) and the header is quite large to stay forever for my monintor -- there could be option, to make it scroll up. what is the idea of new logo? :) On 9 Spa, 23:07, mdipierro wrote: > New web2py layout: > >    http://web2py.com > > Thanks Bruno and Martin > > New dem

[web2py] Re: please help us test new web site

2010-10-09 Thread Pepe
the website layout looks very good! but the new "logo" looks like a Game and not like an "ENTERPRISE web framework"... is overdesigned... Pepe On Oct 9, 4:55 pm, ron_m wrote: > Looks very nice Massimo. > > Main site, under Documentation on the page the Epydoc link is > forhttp://127.0.0.1:800

Re: [web2py] please help us test new web site

2010-10-09 Thread Kenneth Lundström
> http://web2py.com Looking very nice. > New demo_admin: > http://web2py.com/demo_admin Whats new in the new admin? Could not see anything new with a fast look. Kenneth

[web2py] Re: please help us test new web site

2010-10-09 Thread ron_m
Looks very nice Massimo. Main site, under Documentation on the page the Epydoc link is for http://127.0.0.1:8000 On Oct 9, 1:07 pm, mdipierro wrote: > New web2py layout: > >    http://web2py.com > > Thanks Bruno and Martin > > New demo_admin: > >    http://web2py.com/demo_admin > > Massimo

Re: [web2py] please help us test new web site

2010-10-09 Thread Johann Spies
> >    http://web2py.com > > Thanks Bruno and Martin > > New demo_admin: > >   http://web2py.com/demo_admin I cannot get into the demo_admin one using 'any random passoword' :) Regards Johann --  May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord

Re: [web2py] Re: using external authentication -- does web2py track users

2010-10-09 Thread Audra Rudys
I'll check that out, thanks! On Sat, Oct 9, 2010 at 3:09 PM, mdipierro wrote: > It should. visit > > http:///yourapp/appadmin > > you should find a auth_user record for every user and a auth_event for > every login. > > On Oct 9, 2:53 pm, Audra Rudys wrote: > > If I use external authenticat

[web2py] Re: login

2010-10-09 Thread JC
I did forget to register. I think I was under the impression that login would register user if it wasn't already. Silly oversight. Thanks for clearing it up. On Oct 8, 1:13 pm, mdipierro wrote: > Are you using the plain welcome app without modification? Did you > register? > > On Oct 8, 12:25 pm,

[web2py] Re: using external authentication -- does web2py track users

2010-10-09 Thread mdipierro
It should. visit http:///yourapp/appadmin you should find a auth_user record for every user and a auth_event for every login. On Oct 9, 2:53 pm, Audra Rudys wrote: > If I use external authentication (e.g., google or facebook), does web2py > track "registered" users in any sense or current u

[web2py] please help us test new web site

2010-10-09 Thread mdipierro
New web2py layout: http://web2py.com Thanks Bruno and Martin New demo_admin: http://web2py.com/demo_admin Massimo

[web2py] using external authentication -- does web2py track users

2010-10-09 Thread Audra Rudys
If I use external authentication (e.g., google or facebook), does web2py track "registered" users in any sense or current users (users that are logged in at any moment)? Or would I need to use the native authentication/registration if my app requires knowing who uses the app or who is currently us

[web2py] Re: Join on a join on a join on a.... eesh...

2010-10-09 Thread ron_m
There is something wrong with the line in your last version of users_advertisements. For clarity I put one condition per line users_advertisements = db((db.auth_user.id==db.user_tags.user_id) & (db.user_tags.tag_id==db.tag.id) & (db.advertisement.id == db.advertisement_tags.advertisement_id) &

Re: [web2py] Re: almost have linkedin oauth working within web2py application. just need one more push

2010-10-09 Thread Carl Roach
Thanks Mic; looks and sounds really useful On 9 Oct 2010, at 18:23, Michele Comitini wrote: > You can try with oauth10a_account.py login method, it should work. I > did not have time yet to put an example application on line, > but it is very similar to twitter. > > http://code.google.com/r/mi

Re: [web2py] Re: Join on a join on a join on a.... eesh...

2010-10-09 Thread Jason Brower
I tried... users_advertisements = db((db.auth_user.id==db.user_tags.user_id) & (db.user_tags.tag_id==db.tag.id) & (db.advertisement.id == db.advertisement_tags.advertisement_id) == (db.tag.id == db.advertisement_tags.tag_id)).select()' and it works until I use select() In additon to these I ne

[web2py] Re: Join on a join on a join on a.... eesh...

2010-10-09 Thread ron_m
The last statement is between two db(condition1 & condition2) as in db(condition1 & condition2) & db(condition3 & condition4) Why not make this statement and try it db(condition1 & condition2 & condition3 & condition4).select() Ron On Oct 9, 11:09 am, Jason Brower wrote: >      #Get the users t

[web2py] Join on a join on a join on a.... eesh...

2010-10-09 Thread Jason Brower
#Get the users tags users_tags = db((db.auth_user.id==db.user_tags.user_id) & (db.user_tags.tag_id==db.tag.id)) #Get the advertisement's tags too advertisements_tags = db((db.advertisement.id == db.advertisement_tags.advertisement_id) & (db.tag.id == db.advertisement_tags.tag_i

[web2py] In appadmin clicking on the "file" trying to load it in the browser..

2010-10-09 Thread Jason Brower
This is bad as it will load a JPG as garbage. Perhaps it should always go for download. That or build a handler to preview it if it's an image. Best Regards, Jason

Re: [web2py] Re: almost have linkedin oauth working within web2py application. just need one more push

2010-10-09 Thread Michele Comitini
You can try with oauth10a_account.py login method, it should work. I did not have time yet to put an example application on line, but it is very similar to twitter. http://code.google.com/r/michelecomitini-facebookaccess/source/browse/#hg/applications/helloTwitter I will put the linkedin example

[web2py] Re: upgrade web2py now in admin page can't upgrade to 1.86.3

2010-10-09 Thread mdipierro
Yes 1.86.3 was recalled because of a problem. We will have 1.87.1 probably tomorrow. On Oct 9, 5:38 am, vince wrote: > upgrade web2py now in admin page can only upgrade to 1.86.2, can't > upgrade to 1.86.3.

[web2py] Re: Patch to add functional scalar/list accessors for request.vars

2010-10-09 Thread mdipierro
I believe this is already in web2py now. On Oct 9, 10:10 am, Kevin wrote: > That's awesome! Initially I was wanting to add them as class methods > since they only really would be useful with the Storage class, but > only decided not to because of the uniform access-by-key and access-by- > attribu

[web2py] Re: model beforeSave and afterSave methods

2010-10-09 Thread mdipierro
there should be something like this but it has to be more general. This is a design issue so it ill not happen overnight. On Oct 9, 3:59 am, guruyaya wrote: > One thing I like on cakePHP, over other frameworks (there actually is > only one), is the hooks they have on saving and loading data event

[web2py] Re: Get Auto-Generated Column Value on Insert or Update

2010-10-09 Thread mdipierro
no On Oct 9, 1:35 am, Dane wrote: > Hello, > > I have a db.table.insert and a db(query).update that both generate > timestamp columns. Is there a way for me to get the generated values > of these without hitting the db again? > > Thanks.

[web2py] Re: Jobsite on GAE

2010-10-09 Thread mdipierro
The error seems to be in viewcompany, it expects to find at least one record but the db is empty. This is an application error. On Oct 8, 11:27 pm, Sujith wrote: > Hi > I have customized the Jobsite appliance. In the _ah/admin the > following tables are created: > web2py_session_init > web2py_tic

[web2py] Re: error on compile

2010-10-09 Thread ceriox
thanks massimo, I test all function and I don't find any error ... I'll check all the functions more accurately On 8 Ott, 20:11, mdipierro wrote: > I will add to web2y better debugging for this case. Anyway, if you > just try call all the actions in your code you will find that one (or > more o

[web2py] Re: Patch to add functional scalar/list accessors for request.vars

2010-10-09 Thread Kevin
That's awesome! Initially I was wanting to add them as class methods since they only really would be useful with the Storage class, but only decided not to because of the uniform access-by-key and access-by- attribute functionality of the class. But now that I look at it more, it seems like all we

[web2py] "Invalid Function" what does it mean ?

2010-10-09 Thread Stef Mientki
hello, After a few weeks of too busy with other things, I'm trying to pick up web2py again, so I uploaded the latest stable ? version (version 1.86.3 crashed) Version 1.86.2 (2010-10-04 03:13:15) which contains a lot of standard examples, which runs form the browser, but crashes from an IDE. N

Re: [web2py] upgrade web2py now in admin page can't upgrade to 1.86.3

2010-10-09 Thread Jason Brower
Yeah I noticed my system crashed after the upgrade. I had to just reinstall. :D BR, Jason On 10/09/2010 01:38 PM, vince wrote: upgrade web2py now in admin page can only upgrade to 1.86.2, can't upgrade to 1.86.3.

[web2py] upgrade web2py now in admin page can't upgrade to 1.86.3

2010-10-09 Thread vince
upgrade web2py now in admin page can only upgrade to 1.86.2, can't upgrade to 1.86.3.

Re: [web2py] Re: crud.select syntax

2010-10-09 Thread rochacbruno
No, I just see that you can ommit that (sry) , but in this example. headers={'person.name', 'Name'} should be headers={'person.name': 'Name'} Are you geting any error message? Em 09/10/2010, às 05:53, andrej burja escreveu: > so the example in book, chapter 7 is wrong? > > # assuming db.

[web2py] book, chapter 07

2010-10-09 Thread andrej burja
hi in the section about crud should there be def data(): return dict(form=crud()) def create_tablename(): def update_tablename(): instead of def data: return dict(form=crud()) def create_tablename: def update_tablename: and in # assuming db.define_table('person', Field('name')) def people():

[web2py] model beforeSave and afterSave methods

2010-10-09 Thread guruyaya
One thing I like on cakePHP, over other frameworks (there actually is only one), is the hooks they have on saving and loading data events. beforeSave, and afterSave are my favorite. For example: 1. Say I have a fulltext search engine, like pyLucene, and I want to make sure it's updated whenever a d

[web2py] Re: crud.select syntax

2010-10-09 Thread andrej burja
so the example in book, chapter 7 is wrong? # assuming db.define_table('person', Field('name')) def people(): form = crud.create(db.person, next=URL('index'), message=T("record created")) persons = crud.select(db.person, fields=['name'], headers={'person.name', 'Name'

[web2py] Re: Any possible problems if I do this? Any possible improvement?

2010-10-09 Thread Magnitus
k, Using the os module, re module and a custom-made validator, I managed to generate a form containing upload fields that are labeled after the pictures in the static/images folder and only accept files that have the same name as uploads. Furthermore, by customizing the form display to place a hi

[web2py] Re: Form validation service in web2py

2010-10-09 Thread guandalino
Big thanks to all of you both, I'm going to decide how to handle this thing in a modular fashion and then I'll post the results of my client and server implementation here, if any... Best wishes, HAND.