[web2py] Re: web2py 2.4.2 is OUT

2013-03-05 Thread Ralo Tannahill
+1 for web2py!! In the admin interface I can see: Version 2.4.2 stable (2013-03-04 03:26:21) Unable to check for upgrades http://web2py.com/ Running on *%s* %s should be information about the server type, version..., right? I'm using Centos 6, nginx+uwsgi. Maybe web2py expects some wsgi

[web2py] Re: Saving language files

2013-01-24 Thread Ralo Tannahill
Click in the background of the page to lost focus on every field, press then End key and you are at the bottom of the page. If you press the Home key you go to the top of the page. Regards On Wednesday, 23 January 2013 05:33:45 UTC-6, Ramos wrote: Hello I live in Portugal, and i have to

[web2py] small typo in Book: Caching with Redis

2012-12-01 Thread Ralo Tannahill
http://www.web2py.com/books/default/chapter/29/13#Caching-with-Redis _cache missing in the module name: from gluon.contrib.redis*_cache* import RedisCache cache.redis = RedisCache('localhost:6379',db=None, debug=True) Best regards --

Re: [web2py] Re: web3py?

2012-11-28 Thread Ralo Tannahill
+1 In a production system with thousands of lines of code, lots of servers, databases... I plan to keep the systems frozen (CENTOS 6, python 2.6 and web2py 2.x) for some years with the exception of security patches. The cost of reviewing/updating the existing code is too high... So web3py

[web2py] Redis cache and session

2012-11-28 Thread Ralo Tannahill
I have tried to make some tests using redis to store cache and sessions but there is no module redis. I am using Version 2.2.1 (2012-10-21 16:57:04) stable, on CENTOS 6 and python 2.6. In gluon.contrib I have redis_cache.py and redis_session.py (both have the same import redis), but ther is no

[web2py] uwsgi+DB connection pool

2012-11-27 Thread Ralo Tannahill
I have configured nginx+uwsgi in CENTOS 6.3, with web2py 2.2.1 As I have read in other posts, uwsgi is configured to use processes instead of threads. In this scenario if I want to use database connection pooling to avoid the overhead of stablishing a new connection in every request. Every

[web2py] Hash-flooding DoS attack in Ruby

2012-11-16 Thread Ralo Tannahill
Hash-flooding DoS attack reported for the Hash function (Ruby) http://www.ruby-lang.org/en/news/2012/11/09/ruby19-hashdos-cve-2012-5371 Just for information, not a Dos for web2py. In web2py can we limit the size of the parsed data? just in case there was a DoS like this one Kind regards --

[web2py] Re: Authenticate one application from another application

2012-08-31 Thread Ralo Tannahill
In application1 when the user is registered you can load the session variables you need and access them from application2 session.connect(request,response,masterapp='application1') Put it in a model in application2 and you can access to the session variables fro mapplication1, without

Re: [web2py] Python 3 is catching up to us...

2012-06-21 Thread Ralo Tannahill
CENTOS 6 (released in 2011) has python 2.6.6 Regards On Thursday, 21 June 2012 08:39:52 UTC+2, Manuele wrote: Il 21/06/2012 07:30, Jason (spot) Brower ha scritto: Not a big deal still at this point but wanted to point out:

[web2py] DB with dynamic model

2012-04-24 Thread Ralo Tannahill
In the DB I am accessing the data is distributed into tables with the same structure but different names. With the parameters received in the HTTP request I can obtain the table name I have to use (I have something like an index for this) How can I use the table in web2py when its name is in a

[web2py] Re: DB with dynamic model

2012-04-24 Thread Ralo Tannahill
/books/default/chapter/29/6#Record-representation. Anthony On Tuesday, April 24, 2012 7:28:51 AM UTC-4, Ralo Tannahill wrote: In the DB I am accessing the data is distributed into tables with the same structure but different names. With the parameters received in the HTTP request I can

[web2py] Re: Cannot log in with Opera

2012-04-24 Thread Ralo Tannahill
I have web2py 1.99.7 and Opera 11.62. I can log in to the Admin interface and the welcome application without problems. I don't have any other applications to test. Regards On Tuesday, 24 April 2012 16:21:12 UTC+2, Johann Spies wrote: While testing different browsers I discovered that I

[web2py] session store

2012-04-13 Thread Ralo Tannahill
Hi I'm doing some tests with apache+mod_wsgi. The idea is to share sessions between two web servers. I've stored sessions in an external server (using DB and memcache), both of them wotk fine but I find that sessions stored in memcached are deleted in five minutes. Capturing web2py-memcache

[web2py] Re: Legacy databases

2012-03-05 Thread Ralo Tannahill
optional db interface libraries specified in the db uri. On 3 mar, 13:52, Ralo Tannahill ralo.tannah...@gmail.com wrote: Hello all I'm new to python and web2py, and I'm evaluating them to make new developments accessing legacy databases (MSSQL 2000, MySQL 3 and MySQL 5 ). I've

[web2py] Legacy databases

2012-03-03 Thread Ralo Tannahill
Hello all I'm new to python and web2py, and I'm evaluating them to make new developments accessing legacy databases (MSSQL 2000, MySQL 3 and MySQL 5 ). I've tried the connection strings shown in the web2py book, but I can connect only to MySQL 5. - The error connecting to MySQL 3 is access