[web2py] Re: Drop box and populating text area.

2011-08-27 Thread annet
Hi Cliff, Thanks for your reply. I fear I wasn't clear enough. I read about the .change and .val functions, however, I couldn't figure out how to get from the JavaScript function to querying the database and back to the JavaScript function. I have the following view: {{extend

Re: [web2py] Published my collection of plugins

2011-08-27 Thread Bruno Rocha
Thank you Kenji! I just incorporated all plugins in my system, and made it all JQUeryUI themeable. look: http://www.diigo.com/item/image/121xl/cwy8 On Fri, Aug 26, 2011 at 1:35 PM, kenji4569 hos...@s-cubism.jp wrote: Hi, I've just published a collection of plugins which I'd created for some

Re: [web2py] Published my collection of plugins

2011-08-27 Thread Bruno Rocha
I loved the extracolumns feature! this really need to be included in SQLTABLE!

Re: [web2py] Published my collection of plugins

2011-08-27 Thread Martín Mulone
Really great job kenji. I see you take time to make order in sqltable :O. Please subscribe to web2py-developers. Perhaps we can replace sqltable with your solidtable, also we are making grid and smartgrid and perhaps your ideas can be very helpfully. 2011/8/27 Bruno Rocha rochacbr...@gmail.com

Re: [web2py] Published my collection of plugins

2011-08-27 Thread Martín Mulone
Bruno extracolumns are in SQLTABLE. 2011/8/27 Bruno Rocha rochacbr...@gmail.com I loved the extracolumns feature! this really need to be included in SQLTABLE! -- http://martin.tecnodoc.com.ar

[web2py] Re: fluxflex - how to?

2011-08-27 Thread Ray (a.k.a. Iceberg)
On Aug 27, 10:03 am, MidGe degreef.mic...@gmail.com wrote: I am trying to use fluxflex but I must be missing something fundamental as I do not understand what is happening when I follow the instructions. First of all, it all seems to be working fine. I can see the site and I can log in admin

[web2py] Re: Drop box and populating text area.

2011-08-27 Thread Anthony
Would web2py's built-in ajax() function work for you: http://web2py.com/book/default/chapter/10#The-ajax-Function? Maybe something like: select id=mail_subject onchange=ajax({{=URL('get_mail_text'), ['mail_subject'], 'mail_text'); Anthony On Saturday, August 27, 2011 2:52:07 AM UTC-4, annet

Re: [web2py] Published my collection of plugins

2011-08-27 Thread Bruno Rocha
On Sat, Aug 27, 2011 at 8:01 AM, Martín Mulone mulone.mar...@gmail.comwrote: Bruno extracolumns are in SQLTABLE. really? LOL.. never knew about it.

[web2py] Re: fluxflex - how to?

2011-08-27 Thread leone
Hi, sameone knows how to see server error log informations in fluxflex? I receive internal server errors in uploading a plugin file. Thanks On 27 Ago, 13:39, Ray (a.k.a. Iceberg) iceb...@21cn.com wrote: On Aug 27, 10:03 am, MidGe degreef.mic...@gmail.com wrote: I am trying to use

[web2py] Re: fluxflex

2011-08-27 Thread Alan Etkin
Great! Many thanks Yota On 26 ago, 19:47, Yota Ichino www.i...@gmail.com wrote: oops! mistakes. How to add a application: 1. clone from fluxflex repository. 2. copy your application(in web2py/applications/YOUR_APP) to public_html/applications folder in the repository. 3. add new files to

[web2py] Re: fluxflex - how to?

2011-08-27 Thread Alan Etkin
Hi, check this thread: http://groups.google.com/group/web2py/browse_thread/thread/ab40be4dc44bb0fb/bc514ae05388967b?lnk=raot#bc514ae05388967b On 27 ago, 09:47, leone handja...@gmail.com wrote: Hi, sameone knows how to see server error log informations in fluxflex? I receive internal server

[web2py] Re: GAE deployment problem

2011-08-27 Thread Massimo Di Pierro
Jarrod, can you tell us what the original problem was. Other users may be in the same shoes. On Aug 27, 12:52 am, Jarrod Cugley jcug...@gmail.com wrote: Oh interesting! Both great tips guys thanks Anthony and Bruno :) On Aug 27, 3:37 pm, Bruno Rocha rochacbr...@gmail.com wrote: Go to

[web2py] Re: fluxflex - how to?

2011-08-27 Thread MidGe
Yes! Thank you. That last post from Yota Ichino did the trick for my understanding. Here is the gist of it: How to add a application: 1. clone from fluxflex repository. 2. copy your application(in web2py/applications/YOUR_APP) to public_html/applications folder in the repository. 3. add new

[web2py] Re: pip install web2py

2011-08-27 Thread nekrox
Hi de packages has a bug, when i exec mkweb2pyenv the script dont found env.tar and the web2pyenv dont create. On 10 ago, 15:07, Chris Steel chris.st...@gmail.com wrote: Users of pip and virtual environments (virtualenv) can now make user of the latest version of Web2py when installing from

[web2py] Re: ProgrammingError: LOB variable no longer valid after subsequent fetch

2011-08-27 Thread Tim Korb
To reproduce the error, load 50 events into the auth_events table of a default app with Oracle as database. The problem appears to be caused by the default Oracle cursor arraysize of 50. Adding... self.cursor.arraysize = 200 to the OracleAdapter __init__ method (temporarily) fixes the

[web2py] Re: Has anyone configured web2py on the Basic Amazon Linux AMI?

2011-08-27 Thread Chris
When I start web2py, it says please visit: http://127.0.0.1:8000. Obviously that address only works for the local instance. So from the web browser on my desktop machine, I use the public IP address and enter http://10.xx.xx.xx:8000, and receive an error message: The connection has timed out

[web2py] Re: Has anyone configured web2py on the Basic Amazon Linux AMI?

2011-08-27 Thread Chris
I could, but the problem I'm experiencing may not be related to that ... I think have permissions wide-open on my test instance. On Aug 26, 7:20 pm, pbreit pbreitenb...@gmail.com wrote: The Amazon AMI is pretty locked down by default. I presume you've reviewed all the

[web2py] GAE select all does not iterate

2011-08-27 Thread Arbie Samong
Hello, I have this app in gae where I want to fetch the latest 20 profiles. The model is: *** db.define_table('userprofile', Field('owner', 'reference auth_user', readable=False, writable=False, default=auth.user_id), Field('created',

[web2py] Re: Published my collection of plugins

2011-08-27 Thread kenji4569
Thank you all for your wonderful comments. Do you want to host and manage all plugins? Currently I doubt if I could commit this, though I want to contribute more as much as I could. I see you take time to make order in sqltable :O. Please subscribe to web2py-developers. I will subscribe to

Re: [web2py] Re: Has anyone configured web2py on the Basic Amazon Linux AMI?

2011-08-27 Thread nils
Hi Chris, I do this ssh -i key.pem -L 8000:localhost:8000 root@amazon-Ec2-VPS I then run on the amazon instance ./web2py -a password You can then access web2py via http://localhost:8000 Regards, Nils On Sat, Aug 27, 2011 at 4:40 PM, Chris ch...@spitfireinnovation.com wrote: I could,

[web2py] Re: Drop box and populating text area.

2011-08-27 Thread Cliff
How many bytes of 'corresponding text' will there be? If it's not many, why not just send them along with the initial page load and then unhide the one you need or move it into mail_text. If you really need to get something out of the database an ajax call will work. The ajax call causes jQuery

[web2py] broken list operations for fields

2011-08-27 Thread Carlos
Hi, Is it expected that fields do not behave correctly for list operations?. For reference: f1 = db.auth_user.first_name f2 = db.auth_user.last_name x = [ f1, f2 ] fx = db.auth_user.email f1 in x True (ok) f2 in x True (ok) fx in x True (WRONG) x.remove(f2)

[web2py] Re: Lazy virtual fields - strange result!

2011-08-27 Thread Michael Toomim
Interesting approach to use lambdas. Since lambdas don't do side- effects, I checked out my virtualfields to see if my uses have side effects. In my app I have: 12 methods total across 3 database tables 10 of those methods have no side-effects 2 have side-effects The two methods with

[web2py] Re: Lazy virtual fields - strange result!

2011-08-27 Thread Michael Toomim
I'm sorry, that was a doofus comment. Of course lambdas allow side- effects! I wish mailing lists supported delete. On Aug 27, 1:08 pm, Michael Toomim too...@gmail.com wrote: Interesting approach to use lambdas.  Since lambdas don't do side- effects, I checked out my virtualfields to see if

[web2py] help configuring model with db.user_auth external key

2011-08-27 Thread monotasker
Hi. I'm trying to create a table in a model that users db.user_auth as an external key in one of the fields. But whenever I add db.auth to the table definition it generates a key error compaining about user_auth. Here's the section of the model that throws the error:

[web2py] Re: help configuring model with db.user_auth external key

2011-08-27 Thread monotasker
Sorry, I meant auth_user not user_auth. So that wasn't the problem. On Aug 27, 4:16 pm, monotasker scotti...@gmail.com wrote: Hi. I'm trying to create a table in a model that users db.user_auth as an external key in one of the fields. But whenever I add db.auth to the table definition it

[web2py] Re: GAE select all does not iterate

2011-08-27 Thread howesc
i do this all the time and have never had problems. what web2py version are you using? are you certain that there is data in the GAE production namespace that your are querying? cfh

[web2py] Re: validators.py IS_IN_DB.__call__ elif self.theset must compare with str instead?

2011-08-27 Thread howesc
haven't studied the code, but during a form submit (which is the most frequent trigger of validation), all the values are strings so there is no need to cast them. i could come up with ways to break that flow but i don't know if they actually happen in practice.

[web2py] Re: help configuring model with db.user_auth external key

2011-08-27 Thread monotasker
OK, I think I solved my own problem through trial and error. It seems I was defining db in two different model files, so some of the default tables weren't usable. I'm new to web2py, so still figuring out the basics! On Aug 27, 4:16 pm, monotasker scotti...@gmail.com wrote: Hi. I'm trying to

[web2py] Re: validators.py IS_IN_DB.__call__ elif self.theset must compare with str instead?

2011-08-27 Thread pbreit
I presume value is always a string (except when it's a list which is handled).

Re: [web2py] Re: Has anyone configured web2py on the Basic Amazon Linux AMI?

2011-08-27 Thread pbreit
Yeah, you have to do what Nils suggests in order to access your AWS server from your browser as a localhost.

[web2py] Re: GAE deployment problem

2011-08-27 Thread Jarrod Cugley
Problems deploying my app onto GAE because I left out things like gaehelper.py and was running the web2py.app instead of the source code. On Aug 27, 11:07 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Jarrod, can you tell us what the original problem was. Other users may be in the

[web2py] Re: GAE select all does not iterate

2011-08-27 Thread Jarrod Cugley
I am actually having the same problem, my select(db.listing.ALL) is working fine on the web2py server but as soon as I run it on GAE it doesn't work. I'm using the latest web2py (1.98.2) and I'm also using the latest version of GAE Launcher (1.5.3) On Aug 28, 7:36 am, howesc how...@umich.edu

[web2py] Re: GAE select all does not iterate

2011-08-27 Thread Arbie Samong
same with Jarrod, up to date with web2py and GAE sdk web2py: 1.98.2 (2011-08-04 00:47:09) gae: 1.5.3 Yes there is data in the namespace. Thanks, Arbie On Aug 28, 5:36 am, howesc how...@umich.edu wrote: i do this all the time and have never had problems. what web2py version are you using?