[web2py] Re: db().select(db.table.all) does not return all fields

2013-01-17 Thread raphael . benedet
Hello, I noticed that a legacy model (with a different table definition) was imported, overriding db in my module. Everything works now. Sorry for the noise... Raphael Le jeudi 17 janvier 2013 04:37:16 UTC+1, Massimo Di Pierro a écrit : > > What is you print print str(schedulings) instead? Any

[web2py] db().select(db.table.all) does not return all fields

2013-01-16 Thread raphael . benedet
Hello, I have a table defined like this in my model: db.define_table('schedulings', Field('name'), Field('description'), Field('connectorId', db.connectors), Field('scenarioId', db.scenarios), Field('parametersSetId', db.parametersSets), Field('minInterval', 'integer', default=10), F

[web2py] Re: Concurrent HTTP requests (Ajax call blocking other requests)

2012-12-25 Thread raphael . benedet
Hello, I'm a little confused here... I tried to put your code in the models (I suppose you mean db.py) as you suggest but it didn't work. Then, I put it in the controller for this AJAX method and it didn't work either. After that, I modified your code to unlock the response instead of the reque

[web2py] Concurrent HTTP requests (Ajax call blocking other requests)

2012-12-24 Thread raphael . benedet
Hello, My application performs Ajax calls to dynamically retrieve and display the content of a log. If there is no change (no new lines) to the log compared to the previous Ajax request, the contoller holds the request for up to 5 secs (Ajax long polling). The problem is that when the controller