Re: [web2py] Re: minimal setup on Debian for using Mail()

2010-12-04 Thread Bernardo Botella Corbí
Hi Miguel, which test did you do from command line? does web2py print something? Any error? Try to do the next thing from the command line: tail -f /var/log/mail.log (if you are in ubuntu/debian, don't know where it would be in other distributions...) and see if it complaints about anything

[web2py] Deploying a site powered by web2py.

2010-12-04 Thread RyaneD
Now I do understand that I am probably asking a very rudimentary question but in the end I need a rudimentary answer that I am just not finding. Or if I am finding I don't know what i am looking at. A little background: I have experience in Python and in Web Design, not much in the incorporation

Re: [web2py] Deploying a site powered by web2py.

2010-12-04 Thread Kenneth Lundström
Hello, have you read the web2py book, specifically chapter 11, http://web2py.com/book/default/chapter/11 it should tell the most. If you still have questions will try to answer them. Kenneth Now I do understand that I am probably asking a very rudimentary question but in the end I need a

[web2py] Re: I Just Need a Programmer

2010-12-04 Thread ma...@rockiger.com
By the way, any interesting business ideas here in the web2py-world? Marco On 3 Dez., 15:46, mdipierro mdipie...@cs.depaul.edu wrote: I do not think there is a lack of ideas not a lack of execution capabilities. The problem is that the more interesting projects require a critical mass of

[web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread villas
I am too dumb to solve it but this program can: M, that program was dumb -- call yourself a programmer! :) However, my first effort to re-factor the code still took 9 lines! IQ Test #2 -- Who can propose minimum lines to re-factor Massimo's code? Of course two lines to be included

Re: [web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread Branko Vukelic
On Sat, Dec 4, 2010 at 2:50 PM, villas villa...@gmail.com wrote: Who can propose minimum lines to re-factor Massimo's code? Of course two lines to be included somewhere must be: x=[(2,3,10),(7,2,63),(6,5,66),(8,4,96)] a,b = 9,7 Please first state your number of lines and then be prepared to

Re: [web2py] Re: I Just Need a Programmer

2010-12-04 Thread Branko Vukelic
Nothing that can be talked about without braking the NDA, I'm afraid. :) On Sat, Dec 4, 2010 at 1:29 PM, ma...@rockiger.com rocki...@googlemail.com wrote: By the way, any interesting business ideas here in the web2py-world? Marco On 3 Dez., 15:46, mdipierro mdipie...@cs.depaul.edu wrote: I

[web2py] Timepicker

2010-12-04 Thread Branko Vukelic
Since we've discussed the topic of timepickers before, I've just stumbled upon a very good solution from the Dojo camp. Here's a demo. http://www-01.ibm.com/software/ucd/UE/dijit/tests/form/test_TimeTextBox.html?theme=claro Except for the minor visual noise in the form of emphasized hundred

Re: [web2py] Deploying a site powered by web2py.

2010-12-04 Thread Albert Abril
I think deployment of web2py is one of the easiest of all the python frameworks. I found a lot of difficulties with Django. Maybe was my fault, but in web2py was a lot easier. Read Chapter 11 as Kenneth said. 2010/12/4 Kenneth Lundström kenneth.t.lundst...@gmail.com Hello, have you read the

[web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread weheh
I wasn't timing, but felt like between 5 10 sec. Thanks for the break. On Dec 4, 9:08 am, Branko Vukelic bg.bra...@gmail.com wrote: On Sat, Dec 4, 2010 at 2:50 PM, villas villa...@gmail.com wrote: Who can propose minimum lines to re-factor Massimo's code? Of course two lines to be included

[web2py] new dal

2010-12-04 Thread mdipierro
The good news... I have finished the new DAL for RDBMs. If you now replace gluon/sql.py with gluon/dal.py as long as you do not use GAE, everything should work fine. All tests pass. The new dal should have all the features as the old dal but no more. It just comes with a better more modular

[web2py] Re: new in trunk signed URLS

2010-12-04 Thread Brian M
Jonathan, How would you like to see this behave? Perhaps URL('index',args=[], vars={}, hash_key='xxx', hash=['args','vars']) and then URL.verify(hmac_key='xxx', hash=['args', 'vars]) so that you could choose which portions of the URL to sign and/or verify with hash=None triggering the original

[web2py] Re: new dal

2010-12-04 Thread ron_m
Describe what I did Copied the trunk hg area to a work area Renamed sql.py to sql-save.py Copied dal.py to sql.py in order to replace sql.py with dal.py Copied application I am working on to applications directory Backed up the database Ran the server as python web2py.py Got this stack trace

[web2py] Re: new dal

2010-12-04 Thread ron_m
Sorry should have mentioned that was in the welcome app fetching the index page as the default browser load occured fomr the TK server interface. In my own application I get Traceback (most recent call last): File /home/camcentral/Dev/web2py_hg/gluon/restricted.py, line 188, in restricted

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread Brian M
Check the site5 forums for hints, it looks like wsgi isn't available on the shared hosting plans but fastcgi is. There are some Django how to threads you may be able to work off of and combine with what's in chapter 11 of the web2py book. ~Brian On Dec 3, 11:21 pm, RyaneD scadzomb...@gmail.com

[web2py] Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
I have a form with a dummy checkbox: #view INPUT(_type='checkbox',_name='junk',_id='no_table_junk'), _onclick=ajax('process_checkbox', ['no_table_junk'],':eval');) #controller def process_checkbox(): checkbox_results=request.vars['no_table_junk'] return jQuery(#test).html(%s); %

[web2py] web2py installer broken

2010-12-04 Thread weheh
I just did an install using the auto-installer feature from the site admin page and it didn't work. Now, my web2py is corrupted and I have to download manually.

Re: [web2py] Re: new in trunk signed URLS

2010-12-04 Thread Jonathan Lundell
On Dec 4, 2010, at 10:29 AM, Brian M wrote: Jonathan, How would you like to see this behave? Perhaps URL('index',args=[], vars={}, hash_key='xxx', hash=['args','vars']) and then URL.verify(hmac_key='xxx', hash=['args', 'vars]) so that you could choose which portions of the URL to sign

Re: [web2py] web2py installer broken

2010-12-04 Thread Jonathan Lundell
On Dec 4, 2010, at 11:06 AM, weheh wrote: I just did an install using the auto-installer feature from the site admin page and it didn't work. Now, my web2py is corrupted and I have to download manually. If it's not too late, it might be useful to preserve a copy of the corrupt tree, and see

[web2py] Re: web2py installer broken

2010-12-04 Thread weheh
Too late, I think. I already installed from the manual download and it worked fine. Sorry, I'm in major development mode and didn't think about stopping to debug. On Dec 4, 2:09 pm, Jonathan Lundell jlund...@pobox.com wrote: On Dec 4, 2010, at 11:06 AM, weheh wrote: I just did an install

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
The var name should just be 'junk' since that is the name of the checkbox. Also, I don't think you should have a closing parenthesis after _id='no_table_junk'. Just a typo? Also, accessing it like request.vars['no_table_junk'] will throw an error. Why not just use request.vars.xxx and check for

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
Hi Nathan, thanks for the response. I checked the old threads (like this one http://groups.google.com/group/web2py/browse_thread/thread/35c5708111d173ae/7d12923e4643a3ed?lnk=gstq=ajax+checkbox#7d12923e4643a3ed) and see this is an old issue. In fact, I complained of this a long time ago in a

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
So I tried Nathan's suggested test case above and the return value of request.vars.junk is always None, regardless of whether the checkbox is checked or not. I'm not seeing the case where request.vars is empty when the checkbox is unchecked. In a nutshell, unless I'm doing something wrong, it's

Re: [web2py] Re: minimal setup on Debian for using Mail()

2010-12-04 Thread Miguel Lopes
Hi Bernado, 2010/12/4 Bernardo Botella Corbí estem...@gmail.com Hi Miguel, which test did you do from command line? does web2py print something? Any error? Try to do the next thing from the command line: tail -f /var/log/mail.log If I try to send mail from web2py using local resources

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
Strange. Works on my system. Have you modified the ajax function in web2py_ajax.html? On Dec 4, 1:56 pm, weheh richard_gor...@verizon.net wrote: So I tried Nathan's suggested test case above and the return value of request.vars.junk is always None, regardless of whether the checkbox is checked

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
No. web2py_ajax.html is the original On Dec 4, 3:59 pm, mr.freeze nat...@freezable.com wrote: Strange. Works on my system. Have you modified the ajax function in web2py_ajax.html? On Dec 4, 1:56 pm, weheh richard_gor...@verizon.net wrote: So I tried Nathan's suggested test case above and

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
Feel free to send me a packed app to test on my system. On Dec 4, 3:13 pm, weheh richard_gor...@verizon.net wrote: No. web2py_ajax.html is the original On Dec 4, 3:59 pm, mr.freeze nat...@freezable.com wrote: Strange. Works on my system. Have you modified the ajax function in

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread RyaneD
Thanks for the responses guys. I read all of chapter 11 and I must say this is why I feel like really am missing something important in the grand scheme of things. I simply can not understand what it is I need to do. I do not have root access so I can't do anything that requires it or sudo, so I

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
On close inspection, web2py_ajax.html is out of date on my test app. I updated web2py_ajax.html and the test case still doesn't work.

Re: [web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread Kenneth Lundström
Hi Ryan, you can find a fcgihandler.py file in the root web2py folder. I havn't used fcgi but the fcgihandler seems to have an example on how webserver should be configured. Kenneth Thanks for the responses guys. I read all of chapter 11 and I must say this is why I feel like really am

[web2py] Re: new in trunk signed URLS

2010-12-04 Thread Brian M
OK, so make it so that if desired some subset of the URL vars could be signed while still allowing other vars to be changed. That is certainly doable and would be nice for securing only the important parts. Are you assuming that *all* the args *always* get hashed though - that seems reasonable to

[web2py] Re: new dal

2010-12-04 Thread mdipierro
can you please try again? Massimo On Dec 4, 12:31 pm, ron_m ron.mco...@gmail.com wrote: Describe what I did Copied the trunk hg area to a work area Renamed sql.py to sql-save.py Copied dal.py to sql.py in order to replace sql.py with dal.py Copied application I am working on to

[web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread Christopher Steel
20sec On Dec 3, 9:32 am, António Ramos ramstei...@gmail.com wrote: 2+3=10 7+2=63 6+5=66 8+4=96 So: 9+7=??? What is the answer? They say the IQ of people that can find it is above 120 Dont write here the answer.. Just the time, maybe

[web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread mr.freeze
I tricked a co-worker into solving it then left early for a beer. I may be a genius. On Dec 3, 8:32 am, António Ramos ramstei...@gmail.com wrote: 2+3=10 7+2=63 6+5=66 8+4=96 So: 9+7=??? What is the answer? They say the IQ of people that can find it is above 120 Dont write here the

[web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread dustin.b
took me a while to find my calculator(behind my desk) cuz im not that bright at mental math ... til ... i realized im sitting in front of one .. doohh did that indicate my intelligence ? :D 'hope not! :) did python(usage) indicate some kind of intelligence? i hear employers like that kind of

[web2py] Re: web2py automatic instalation

2010-12-04 Thread Christopher Steel
it's python as well, thanks! On Dec 3, 9:05 pm, Bruno Rocha rochacbr...@gmail.com wrote: Simple and usefull script, I tested and it works. I know it has a simple purpose, but this is very useful as it downloads and unpack web2py for me. I am always testing new versions and nightly builds and

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
Your web2py_ajax.html ajax function IS different. Note this line: Yours: q = jQuery([name=+s[i]+]).serialize(); Standard: q = jQuery(#+s[i]).serialize(); On Dec 4, 3:32 pm, weheh richard_gor...@verizon.net wrote: On close inspection, web2py_ajax.html is out of date on my test app. I updated

Re: [web2py] Re: new in trunk signed URLS

2010-12-04 Thread Jonathan Lundell
On Dec 4, 2010, at 1:52 PM, Brian M wrote: OK, so make it so that if desired some subset of the URL vars could be signed while still allowing other vars to be changed. That is certainly doable and would be nice for securing only the important parts. Right. Not so much the important parts as

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
Perhaps this was a recent change in trunk but it's definitely not backwards compatible. Selecting by name and id will definitely give you different results. On Dec 4, 4:14 pm, mr.freeze nat...@freezable.com wrote: Your web2py_ajax.html ajax function IS different. Note this line: Yours:  q =

Re: [web2py] Re: Time to relax, off topic - Simple IQ Testing.

2010-12-04 Thread Branko Vukelic
On Sat, Dec 4, 2010 at 11:09 PM, dustin.b dustin.bens...@googlemail.com wrote: took me a while to find my calculator(behind my desk) cuz im not that bright at mental math ... til ...  i realized im sitting in front of one .. doohh  did that indicate my intelligence ? :D 'hope not! :) did

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread mr.freeze
Yep, changed on 11/3. Maybe web2py_ajax.html doesn't fall under the same backwards compatibility umbrella as the actual framework. Anyway, it's selecting by name so just change your onclick to: _onclick=ajax('process_checkbox',['junk'],':eval');) ...and it should work. On Dec 4, 4:17 pm,

[web2py] Re: when to use ajax

2010-12-04 Thread Mengu
instead of extjs i can happily recommend you using qooxdoo. see: http://qooxdoo.org On Dec 3, 11:10 pm, Branko Vukelic bg.bra...@gmail.com wrote: On Fri, Dec 3, 2010 at 7:04 PM, ron_m ron.mco...@gmail.com wrote: I would be careful on the licensing of Ext JS, wasn't this the one that caused

Re: [web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread Jonathan Lundell
On Dec 4, 2010, at 2:26 PM, mr.freeze wrote: Yep, changed on 11/3. Maybe web2py_ajax.html doesn't fall under the same backwards compatibility umbrella as the actual framework. Anyway, it's selecting by name so just change your onclick to: _onclick=ajax('process_checkbox',['junk'],':eval');)

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread weheh
OK, that did the trick. Thanks. As for the web2py_ajax.html file, all I have to say is, 'Urggh!' This is probably the 3rd time I've been bitten by changes to the file in the last year or two. Must keep that in mind in the future. Again, many thanks for the help, Nathan. You too, Jonathan. On

[web2py] Re: Supporting user translations on GAE

2010-12-04 Thread Richard
Does anyone happen to have a prior implementation? On Dec 4, 11:24 am, howesc how...@umich.edu wrote: because you cannot write to the file system, your updated files will need to be stored in the database.  since these could get large you might consider using blobstore to store the files.

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Branko Vukelic
Awesome feature set. On Sat, Dec 4, 2010 at 11:31 PM, Mengu whalb...@gmail.com wrote: instead of extjs i can happily recommend you using qooxdoo. see: http://qooxdoo.org On Dec 3, 11:10 pm, Branko Vukelic bg.bra...@gmail.com wrote: On Fri, Dec 3, 2010 at 7:04 PM, ron_m ron.mco...@gmail.com

[web2py] Forms, radio boxes, options, etc.

2010-12-04 Thread VP
I'd like to use FORM(...) to create forms with radio boxes, drop-down options, etc. But I can't find any document on how to do this. For example, if I'd like a drop-down option for 'red', 'green', 'blue', how do I do this using FORM? Thanks.

Re: [web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error?

2010-12-04 Thread Jonathan Lundell
On Dec 4, 2010, at 2:53 PM, weheh wrote: OK, that did the trick. Thanks. As for the web2py_ajax.html file, all I have to say is, 'Urggh!' This is probably the 3rd time I've been bitten by changes to the file in the last year or two. Must keep that in mind in the future. Right; you can't

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Branko Vukelic
OMG! I'm definitely using this for admin2! I've just started the Hello World tutorial. I can't believe the attention it's been given... /me drops jaw On Sun, Dec 5, 2010 at 12:07 AM, Branko Vukelic bg.bra...@gmail.com wrote: Awesome feature set. On Sat, Dec 4, 2010 at 11:31 PM, Mengu

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread pbreit
Unfortunately, Python in general is a bit harder to deploy than HTML and PHP. Site5 has a few different hosting options so to help out it would be good to know what sort of plan you are on. If it's Shared Hosting, I think you will want to try the fastcgi option. The web2py book doesn't really

[web2py] Re: Forms, radio boxes, options, etc.

2010-12-04 Thread mr.freeze
Look in the book under the HTML Helpers section: http://web2py.com/book/default/chapter/05?#HTML-Helpers This would create the form using helpers: def index(): form = FORM(SELECT([OPTION(opt) for opt in ['red','green','blue']])) return dict(form=form) ...or more verbose... def index():

Re: [web2py] Forms, radio boxes, options, etc.

2010-12-04 Thread Richard Vézina
Here you will find some answers : http://wiki.web2py.com/Form_Select_Options_from_DB http://wiki.web2py.com/Form_Select_Options_from_DBFor your drop down you have to define : requires=IS_IN_SET(['red', 'green', 'blue']) instead of requires=IS_IN_SET(['Non-Fiction', 'Fiction', 'Childrens']) Hope

[web2py] Re: Scalability of web2py?

2010-12-04 Thread blackthorne
I've read it while ago. The problem with that test is the number of processors. It takes a high number of CPUs to bring Erlang benefits. And scalability performance is only one issue. For example, how do you deal with deployment of a new version in large distributed system while on production?

[web2py] Re: new in trunk signed URLS

2010-12-04 Thread Brian M
Ok I'll work on making the change then. On Dec 4, 4:15 pm, Jonathan Lundell jlund...@pobox.com wrote: On Dec 4, 2010, at 1:52 PM, Brian M wrote: OK, so make it so that if desired some subset of the URL vars could be signed while still allowing other vars to be changed. That is certainly

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread Brian M
Check out these pages on web2py slices: http://web2pyslices.com/main/default/search?query=FastCGIcriteria=tags On Dec 4, 6:21 pm, pbreit pbreitenb...@gmail.com wrote: Unfortunately, Python in general is a bit harder to deploy than HTML and PHP. Site5 has a few different hosting options so to

Re: [web2py] Re: Scalability of web2py?

2010-12-04 Thread Branko Vukelic
On Sun, Dec 5, 2010 at 1:59 AM, blackthorne francisco@gmail.com wrote: I've read it while ago. The problem with that test is the number of processors. It takes a high number of CPUs to bring Erlang benefits. Another 'problem' is that it's not about performance when it comes to Erlang. It's

[web2py] Special Characters in Gluon DAL Connection String

2010-12-04 Thread Tony Young
Hi web2py-users, Currently, Gluon DAL has no support for weird and whacky characters like @ in the database connection string. I propose a patch to use unquote_plus to allow these characters, and leave it to be an exercise for the user to escape their own special characters. This issue is also

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread RyaneD
I followed the instructions on http://web2pyslices.com/main/slices/take_slice/68, which were starting to make sense but I am confounded with this error when i visit http://www.scadzombies.com/web2py : -- Internal Server Error The

[web2py] Re: new dal

2010-12-04 Thread mr.freeze
I was getting that error. After updating it goes away but now I get the below. I am running it against web2pyslices.com source on a sqlite db with Python 2.5: Traceback (most recent call last): File C:\Users\nathan\workspace\web2py\gluon\restricted.py, line 188, in restricted exec ccode in

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread RyaneD
I fixed the second problem but the first remains. I had messed up in my implementation of routes.py completely user error, forgot a parenthesis. :P As the traceback says. So that error is gone, but when I navigate to www.scadzombies.org/web2py I get the same 500 Internal Server Error On Dec 4,

[web2py] Re: Checkbox ajax not updating request.vars -- bug or pilot error? [Closed (but not entirely resolved)]

2010-12-04 Thread weheh
On further consideration, I consider this a kludge, albeit one that I'm at a loss to figure out how to fix. The web2py way is web2py +jQuery+ajax+css+... (hope I didn't leave something out). In the interest of backwards compatibility, we need to think carefully about this web2py_ajax.html file and

[web2py] Re: Scalability of web2py?

2010-12-04 Thread mdipierro
I tried this: # http://eventlet.net/doc/examples.html#wsgi-server import eventlet from eventlet import wsgi from rocket import Rocket def hello_world(env, start_response): if env['PATH_INFO'] != '/': start_response('404 Not Found', [('Content-Type', 'text/ plain')]) return

[web2py] Re: Newbie question:add new record as a copy of an existing row in SQLFORM

2010-12-04 Thread tomt
Thanks to both of the responders. The reference and example have answered my question. (and introduced some concepts I was unfamiliar with) - Tom On Dec 3, 9:30 pm, mr.freeze nat...@freezable.com wrote: Here is an example: Model -

[web2py] Re: Forms, radio boxes, options, etc.

2010-12-04 Thread VP
thanks. On Dec 4, 6:52 pm, Richard Vézina ml.richard.vez...@gmail.com wrote: Here you will find some answers : http://wiki.web2py.com/Form_Select_Options_from_DB http://wiki.web2py.com/Form_Select_Options_from_DBFor your drop down you have to define : requires=IS_IN_SET(['red', 'green',

[web2py] Re: new dal

2010-12-04 Thread mdipierro
Can you try delete everything in app/cache/ The error seems in opening the cache file. On Dec 4, 8:30 pm, mr.freeze nat...@freezable.com wrote: I was getting that error. After updating it goes away but now I get the below. I am running it against web2pyslices.com source on a sqlite db with

[web2py] strange problem with form

2010-12-04 Thread VP
I have this simple form. Lately, I've got this very strange problem. Occasionally, after I filled out the form and submit. (See code below). The form did not get submitted. Every field is clear. There're no errors (instead the else is entered with the message please fill the form.) I can't

[web2py] Re: strange problem with form

2010-12-04 Thread mdipierro
Do you have a custom form in the view? It could be a session problem Try display {{=request.session_id}} {{=response.session_id}} and see if they match of a new session is issued when the problem appears. On Dec 4, 9:59 pm, VP vtp2...@gmail.com wrote: I have this simple form.  Lately, I've

[web2py] Re: strange problem with form

2010-12-04 Thread VP
No custom view. Will try this. On Dec 4, 10:07 pm, mdipierro mdipie...@cs.depaul.edu wrote: Do you have a custom form in the view? It could be a session problem Try display {{=request.session_id}} {{=response.session_id}} and see if they match of a new session is issued when the problem

[web2py] Re: strange problem with form

2010-12-04 Thread VP
When there's no problem (don't know when it will show up), this is what is shown: request.session_id is None response.session_id is not what do you meant by see if they match of a new session is issued when the problem appears.?

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Phyo Arkar
Why nobody uses JQUI ? http://jqueryui.com yes extJS and other UI frameworks have already build UIs , but if you want to build something from scratch jqui provide you all the stuff you need. It have very powerful CSS Framework. I found it very easy/productive to use, and themeroller rocks! On

[web2py] Re: new dal

2010-12-04 Thread mr.freeze
I get this now: Traceback (most recent call last): File C:\web2py\gluon\restricted.py, line 188, in restricted exec ccode in environment File C:/web2py/applications/main/models/db.py, line 22, in module db = SQLDB(dal_connection,pool_size=10) File C:\web2py\gluon\sql.py, line 2405,

[web2py] Re: new dal

2010-12-04 Thread mr.freeze
Looking closer, there is a syntax error on line 189: COnnectionPool After I fixed that, I get: Traceback (most recent call last): File C:\web2py\gluon\main.py, line 488, in wsgibase BaseAdapter.close_all_instances(BaseAdapter.rollback) File C:\web2py\gluon\sql.py, line 163, in

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Phyo Arkar
I just check qooxdoo , it seems very powerful.. What jslib it based on? jq? mootoo? or nothing at all? On 12/5/10, Phyo Arkar phyo.arkarl...@gmail.com wrote: Why nobody uses JQUI ? http://jqueryui.com yes extJS and other UI frameworks have already build UIs , but if you want to build

[web2py] Re: new dal

2010-12-04 Thread mdipierro
One more test please. I do not have mysql installed here so I did not test pooling. This helps a lot. thanks. On Dec 4, 10:33 pm, mr.freeze nat...@freezable.com wrote: Looking closer, there is a syntax error on line 189: COnnectionPool After I fixed that, I get: Traceback (most recent call

[web2py] Re: strange problem with form

2010-12-04 Thread mdipierro
sorry. print request.cookies[response.session_id_name].value and response.session_id they should always be the same unless your session is reset. On Dec 4, 10:21 pm, VP vtp2...@gmail.com wrote: When there's no problem (don't know when it will show up), this is what is shown:

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Branko Vukelic
The difference between frameworks like Dojo, qooxdoo, extJS on one hand, and jQUI on the other is that the former are complete GUI toolkits, whereas jQUI is a mere collection widgets. It's a difference between plastic surgery and makeup. Some of the stuff jQUI is missing: * coross-browser form

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Branko Vukelic
It's a framework. It's got its own packaging system, build system, you name it. Very powerful stuff. Plus you get an endless collection of 'stuff' to build your apps with. Amazing. On Sun, Dec 5, 2010 at 5:35 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: I just check qooxdoo , it seems very

Re: [web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread Branko Vukelic
Check the server logs. That usually means there's a bug in your scripts. On Sun, Dec 5, 2010 at 3:40 AM, RyaneD scadzomb...@gmail.com wrote: I fixed the second problem but the first remains. I had messed up in my implementation of routes.py completely user error, forgot a parenthesis. :P As

[web2py] Display XML as HTML web2py

2010-12-04 Thread Andrew Evans
I am trying to display some XML that has been screen scraped I want to display it as HTML in my code but for some reason its not working. It appears in the HTML source code but not being displayed any ideas Controller - def guildRoster(): url =

[web2py] Re: Deploying a site powered by web2py.

2010-12-04 Thread RyaneD
Thanks. These are the only error logs I have. Last 300 Error Log messages in reverse order (newest at the top, oldest at the bottom): [Sun Dec 05 00:57:18 2010] [error] [client 96.38.69.221] File does not exist: /home/scadzomb/public_html/404.shtml [Sun Dec 05 00:57:18 2010] [error] [client

Re: [web2py] Re: when to use ajax

2010-12-04 Thread Phyo Arkar
yes , all your points are good. But jq+jqueryui allows to build something really cool stuff like jqgrid which is superb.I had check and qooxdoo's table is not even half of jqgrid capabilities. I just wish it would be really nice if qooxdoo will support jq's themeroller.. and it will be more than

Re: [web2py] Re: Scalability of web2py?

2010-12-04 Thread Phyo Arkar
This discussion becomes not about comparison of scalability of web2py or scability of web2py vs other framework but web2py vs other langauges?? massimo wrote: ab -n 1 -c 100 http://127.0.0.1:8081/ rocket: 0.629 [ms] eventlet: Massimo , does eventlet failed in that test? On 12/5/10,

Re: [web2py] Re: Scalability of web2py?

2010-12-04 Thread Phyo Arkar
If this become a langauge war: Erlang have many scability advantages , yes , but Langauge Looks horrible!! almost as readable as C (in my opinion) I will only choose python .It will not be Super Scalable as erlang but still scalable as proven by google. sorry for my bad english. On 12/5/10,