The following code is broken in trunk:
db = DAL('sqlite://test.sqlite')
db.define_table('t',Field('x'))
db.t.insert(x=1)
db(db.t).select(db.t.id,db.t.x+1).first()(db.t.id)
Throws AttributeError: 'Row' object has no attribute 'id'
The point seems to be the _extra entry created in the row object
WE NEED INDEPENDENT BENCHMARKS AGAINST 1.99.7. Here is the code to
benchmark:
-
import time
db=DAL()
db.define_table('person',Field('name'))
db.test.insert(name='one')
db.person.insert(name='one')
n = 10
t0 = time.time()
for k in range(n):
y = db.person.name
Just a small thing: Is it possible to have the -g option (the groups to be
picked by the worker) when calling the worker with the -K arg from the main
web2py.py?
maybe somthing like
python web2py.py -K appname(group1,group2,...)
Am Donnerstag, 12. Juli 2012 20:36:38 UTC schrieb Niphlod:
UTC+2, Daniel Haag wrote:
Just a small thing: Is it possible to have the -g option (the groups to
be picked by the worker) when calling the worker with the -K arg from the
main web2py.py?
maybe somthing like
python web2py.py -K appname(group1,group2,...)
--
) that is the useful information.
I wouldn't consider this an issue, actually it's a feature, isn't it?
Should the scheduler report only the output and not the traceback for
TIMEOUTted tasks?
On Wednesday, August 8, 2012 3:25:13 PM UTC+2, Daniel Haag wrote:
Hi Niphlod,
thanks for the great work
with this feature, if you saw
this feature implemented already ?
Well, actually I did not, but that doesn't mean a lot as I didn't have the
requirement of a scheduler in a web framework until recently...
On Wednesday, August 8, 2012 3:25:13 PM UTC+2, Daniel Haag wrote:
Hi Niphlod,
thanks
Am 14.08.2012 00:45 schrieb Niphlod niph...@gmail.com:
On Monday, August 13, 2012 4:44:18 PM UTC+2, Daniel Haag wrote:
I don't know if it would work this way but I would be glad if you could
give me some feedback (its actually just a proof of concept - but I did
already test it a little
Hi Niphlod,
thanks for the great work with the scheduler, I'm using it in a project
where it handles lots of big data imports into a database and the migration
to your version was without any problems.
On thing catched my eye in the old version and it still seems to be a
problem/missing
8 matches
Mail list logo