Re: [web2py] Where to get mod_wsgi for python 2.5.x?

2011-07-31 Thread Vasile Ermicioi
http://code.google.com/p/modwsgi/wiki/InstallationOnWindows

[web2py] Re: return() wont return

2011-07-31 Thread Massimo Di Pierro
The book does not way but a controller can also return a helper (it will be serialized) or an iterator over strings (it is used for streaming). On Jul 30, 9:15 pm, Anthony abasta...@gmail.com wrote: A controller function must either return a string or a dictionary. If a string is returned, it

[web2py] reddit and GAE

2011-07-31 Thread Massimo Di Pierro
I notice that news from http://www.reddit.com/r/AppEngine/ are linked form http://code.google.com/appengine/

[web2py] Re: Rocket support IPv6

2011-07-31 Thread Timothy Farrell
OK, I'll take a look at these. New baby here so I'll probably be slow. -tim On Jul 29, 5:25 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Since you are at it... can you check why (I think and I may be wrong) rocket responds http/1.1 even when the request is http/1.0? On Jul 28,

[web2py] Re: web2py for freelance work

2011-07-31 Thread spiffytech
What's the complexity of site you guys normally build with web2py? Is it mostly CRUD stuff, or anything more complicated? Has anyone built a CMS in web2py? On Jul 26, 1:39 am, howesc how...@umich.edu wrote: i do all my work as freelance work, and have done 98% of it in web2py in the last 2-3

[web2py] Re: reddit and GAE

2011-07-31 Thread Anthony
http://www.reddit.com/widget/

[web2py] web2py 1.98.1 is OUT

2011-07-31 Thread Massimo Di Pierro
1.98.1 changelog fixed some problems with LOAD(ajax=False), thanks Anthony jquery 1.6.2 gevent.pywsgi adds ssl support, thanks Vasile import/export of blobs are base64 encoded max number of login attempts in admin, thanks Ross fixed joins with alias tables new field.custom_delete attribute

Re: [web2py] web2py 1.98.1 is OUT

2011-07-31 Thread Kenneth Lundström
I tried from admin upgrade to 1.98.1 and got this ticket: web2py™ Version 1.98.1 (2011-07-31 10:15:50) Python Python 2.6.5: /usr/bin/python Traceback (most recent call last): File /data/domains/web2py/gluon/main.py, line 513, in wsgibase session._try_store_on_disk(request, response) File

Re: [web2py] web2py 1.98.1 is OUT

2011-07-31 Thread Cliff Williams
Not sure whether this is an issue.. http://www.web2py.com/examples/static/nightly/tests.log : [: 44: ==: unexpected operator /usr/lib/python2.5/site-packages/nose-1.0.0-py2.5.egg/nose/plugins/multiprocess.py:120: RuntimeWarning: multiprocessing module is not available, multiprocess plugin

[web2py] web2py hosting

2011-07-31 Thread Web2Py Freak
when am hosting a web2py website .. am going to use a python hosting ??? and i didnt find anything about hosting sqlite ?? help guys am confused .

Re: [web2py] web2py hosting

2011-07-31 Thread Vasile Ermicioi
sqlite comes with python, most recommended hostings that I know are webfaction and linode

[web2py] appadmin exception on large queries

2011-07-31 Thread Alan Etkin
Hi. I have a table with +3 records in a web2py app and the admin interface stops with a ValueError in dal.py when trying a .id0 query. It seems to be related to some cache/time managing at the admin's action. I solved the issue modifying dal.py near the line 1413 (web2py source code version

[web2py] Re: web2py hosting

2011-07-31 Thread LightOfMooN
linode the best $) have 7 web2py sites on it, and all works fine On 31 июл, 22:06, Web2Py Freak halna...@gardeniatelco.com wrote: when am hosting a web2py website  .. am going to use a python hosting ??? and i didnt find anything about hosting sqlite  ?? help guys am confused .

[web2py] Re: web2py hosting

2011-07-31 Thread Web2Py Freak
Thank you guys , you helped me alot .

Re: [web2py] search

2011-07-31 Thread Marin Pranjic
rows = db(db.blog.title.contains('search_entry').select() where 'search_entry' is string that you want to seach for. On Sat, Jul 30, 2011 at 7:14 PM, Web2Py Freak halna...@gardeniatelco.com wrote: hey guys , is there anyway to do a search  but other that the crud.search   or a way to control

[web2py] Not getting proper Janrain choices

2011-07-31 Thread Matthew
I just tried to link a new web2py application with my Janrain account, but I am still seeing the default Janrain options on the /default/user/ login. My models/db.py has my key, domain (not full domain, just Janrain app name), and the url to /default/user/login. My 0.py file has

Re: [web2py] Re: A group inside a group in auth.membership

2011-07-31 Thread António Ramos
Create a ticket ? where ? 2011/7/30 weheh richard_gor...@verizon.net In case Massimo doesn't find a simple way to do this deep in the code, you should really consider doing this as an app yourself, Sr. Ramos. This is easy to implement with web2py group auth functionality. Personally, I

[web2py] Re: Not getting proper Janrain choices

2011-07-31 Thread Anthony
Check http://code.google.com/p/web2py/source/browse/gluon/contrib/login_methods/rpx_account.py. You might need to override the login_form method. Anthony On Sunday, July 31, 2011 3:00:50 PM UTC-4, Matthew wrote: I just tried to link a new web2py application with my Janrain account, but I

Re: [web2py] Re: A group inside a group in auth.membership

2011-07-31 Thread Anthony
On Sunday, July 31, 2011 3:17:22 PM UTC-4, Ramos wrote: Create a ticket ? where ? Here: http://code.google.com/p/web2py/issues/list

[web2py] Mix query and string types?

2011-07-31 Thread pbreit
I'm starting to implement Postgres text search and am not quite sure how to build a complex query. The full text part is a string and then, of course, the other components are Query types. How would I combine them? Example: items = db((to_tsvector('english', description) @@

[web2py] Re: Not getting proper Janrain choices

2011-07-31 Thread Matthew
That method actually uses the values that are set in the RPXAccount object, which is constructed in db.py. On Jul 31, 3:21 pm, Anthony abasta...@gmail.com wrote: Checkhttp://code.google.com/p/web2py/source/browse/gluon/contrib/login_met You might need to override the login_form method.

[web2py] Re: Not getting proper Janrain choices

2011-07-31 Thread Anthony
Can you show more of your 0.py and db.py code related to auth settings? Did you copy those files from somewhere? On Sunday, July 31, 2011 3:59:14 PM UTC-4, Matthew wrote: That method actually uses the values that are set in the RPXAccount object, which is constructed in db.py. On Jul 31,

Re: [web2py] Re: Rocket support IPv6

2011-07-31 Thread Michele Comitini
Tim, Congratulations. Male or Female? :-) mic 2011/7/31 Timothy Farrell explori...@gmail.com: OK, I'll take a look at these.  New baby here so I'll probably be slow. -tim On Jul 29, 5:25 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Since you are at it... can you check why (I

[web2py] Re: web2py 1.98.1 is OUT

2011-07-31 Thread Massimo Di Pierro
As often happens this is an error in running the tests, not in the tests, not in the actual code. On Jul 31, 10:14 am, Cliff Williams gcliffwilli...@gmail.com wrote: Not sure whether this is an issue.. http://www.web2py.com/examples/static/nightly/tests.log : [: 44: ==: unexpected operator

[web2py] Re: appadmin exception on large queries

2011-07-31 Thread Massimo Di Pierro
please do. On Jul 31, 9:20 am, Alan Etkin spame...@gmail.com wrote: Hi. I have a table with +3 records in a web2py app and the admin interface stops with a ValueError in dal.py when trying a .id0 query. It seems to be related to some cache/time managing at the admin's action. I solved the

[web2py] Re: Mix query and string types?

2011-07-31 Thread Massimo Di Pierro
Look how web2py handles db.table.field.belongs(list). You can add a db.table.field.contains_text() using a similar text. You will need something like this in dal.py class Expression(object): def contains_text(self, value): return Query(self.db, self.db._adapter.CONTAINS_TEXT,

[web2py] Delete buttons not working

2011-07-31 Thread peter
Bruno Thanks a lot for this, it is a very useful tool just as I needed it. I am using the latest version of web2py, and python 2.5, so I had the same problems as Tomt had. I commented out the 'with open(path' etc. I am now finding that the delete buttons do not work on the examples on which

[web2py] Re: Delete buttons not working

2011-07-31 Thread Massimo Di Pierro
I am a bit lost about the context. Is this about a previous thread? massimo On Jul 31, 4:12 pm, peter peterchutchin...@gmail.com wrote: Bruno Thanks a lot for this, it is a very useful tool just as I needed it. I am using the latest version of web2py, and python 2.5, so I had the same

[web2py] delete buttons not working

2011-07-31 Thread peter
I now see that the delete buttons do not work in your live demos, and that this is maybe deliberate as you do not want people emptying the demo databases. So maybe this is not a bug, but the lack of documentation leaves me unclear. Thanks Peter

[web2py] Re: delete buttons not working

2011-07-31 Thread Massimo Di Pierro
do you refer to web2py.com/demo_admin and web2py.com/demo_app ? Yes, they are in readonly mode. On Jul 31, 4:23 pm, peter peterchutchin...@gmail.com wrote: I now see that the delete buttons do not work in your live demos, and that this is maybe deliberate as you do not want people emptying the

[web2py] Re: Not getting proper Janrain choices

2011-07-31 Thread Matthew
They were both generated by the new application wizard, then I modified them. I've copied the relevant portions below (substituting for secret keys, etc.). 0.py from gluon.storage import Storage settings = Storage() settings.migrate = True settings.title = 'My New App' settings.subtitle =

[web2py] Re: voltdb support

2011-07-31 Thread boss
Hi Massimo, the driver can be downloaded from here: http://community.voltdb.com/downloads the DB only works with stored procedures. I guess the DB could be defined as usual in web2py and a new dml command could contain the name of a stored procedure, params, etc... i would love to test. thank

[web2py] Re: Not getting proper Janrain choices

2011-07-31 Thread Anthony
On Sunday, July 31, 2011 7:20:27 PM UTC-4, Matthew wrote: 0.py settings.login_config = 'domain:api_key' I think the above is supposed to be your domain and Janrain API key, not the literal string 'domain:api_key' (you input this in the first step of the wizard). However, in this case I

Re: [web2py] Delete buttons not working

2011-07-31 Thread Bruno Rocha
Hi, you are probably talking about PowerGrid example app. I made delete buttons read-only, just to avoid loss of the data on examples. I am writing a better documentation and solving some reported issues, thank you for testing. I hope next week to release a better version, with support to more

[web2py] streamer vs stream_file_or_304_or_206

2011-07-31 Thread Charles Law
I've noticed that when I stream() files using the streamer I get content type warnings in chrome: Resource interpreted as Document but transferred with MIME type image/png. But the static directory, which uses stream_file_or_304_or_206() does not have this issue. Should the streamer be

[web2py] Legacy Tables: Can't Insert rows. Nothing back from db._lastsql

2011-07-31 Thread Andrew
Hello, I'm experimenting with using legacy tables, and I've created a test table in MS SQL, inserted some rows(through SQLServer Studio), and I can now see the rows in a very simple View. I have tried to Insert rows into this table through the Models database administration screen, as well as