Re: [web2py:37921] Re: xmlrpc usage

2009-12-28 Thread Oguz Yarimtepe
On Sun, 27 Dec 2009 11:46:50 -0800 (PST) mdipierro mdipie...@cs.depaul.edu wrote: import xmlrpclib server=xmlrpclib.ServerProxy('http://127.0.0.1:8000/app/xmlrpctest/ call/xmlrpc') print str(server.add(3,4)+server.sub(3,4)) I found my mistake. The right format for calling is as below:

[web2py:37922] admin disabled because unable to access password file

2009-12-28 Thread annet
When I access my web2py application at: https://admin.domain.com/welcome/default/index and navigate to the administrative interface, I get the following error: admin disabled because unable to access password file This is how I started web2py: [...@webxxx ~]$ cd webapps/apachewsgi/web2py

Re: [web2py:37923] admin disabled because unable to access password file

2009-12-28 Thread Thadeus Burgess
https runs on port 443. rename the file to parameters_443.py -Thadeus On Mon, Dec 28, 2009 at 3:04 AM, annet annet.verm...@gmail.com wrote: When I access my web2py application at: https://admin.domain.com/welcome/default/index and navigate to the administrative interface, I get the

[web2py:37924] Re: WSGI and wsgihandler.py

2009-12-28 Thread annet
Massimo, Thanks for your explanation. Kind regards, Annet. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py:37925] Re: admin disabled because unable to access password file

2009-12-28 Thread annet
Thadeus, Thanks for your reply, it pointed me in the right direction. I had to change the file name to parameters_80.py to solve the problem. I find all the port stuff rather confusing. In the httpd.conf file: Listen is set to: 32043 NameVirtualHost and VirtualHost are set to: 127.0.0.1:8000

Re: [web2py:37926] Re: admin disabled because unable to access password file

2009-12-28 Thread Thadeus Burgess
The number in the parameters file maps to the port that web2py is listening on. If you are using WSGI, you should never have to start web2py manually... since apache executes it for you, but I have no experience with webfaction. -Thadeus On Mon, Dec 28, 2009 at 4:04 AM, annet

[web2py:37927] Patch to Cache

2009-12-28 Thread Thadeus Burgess
Hey Massimo, would you take a patch to Cache that allows it to keep track of its hit ratio? It is nice from a profiling prospective, so that you can easily determine if you have your cache settings too high or too low. Here is a screenshot of it in action...

[web2py:37928] Re: Editor from browser

2009-12-28 Thread Joan Miller
On 27 dic, 21:32, Timbo tfarr...@swgen.com wrote: editor.  Their goal is to eventually create an IDE but it is far from that at present.  Other problems include no IE support and it suffers from the same highlighting inconsistancies that plague Editarea since it uses regexp-based parser.  It

Re: [web2py:37929] Re: plugin development notes/docs ?

2009-12-28 Thread Alexandre Andrade
where we find the not finalised plugin spec? 2009/12/9 Darcy Clark d4r...@gmail.com sorry to answer my own (dumb) question . looks like the plugin spec isn't finalised yet, so understandably there aren't many docs floating around yet On Dec 9, 4:08 pm, Darcy Clark d4r...@gmail.com

[web2py:37930] Re: Editor from browser

2009-12-28 Thread Joan Miller
On 27 dic, 19:50, mdipierro mdipie...@cs.depaul.edu wrote: Ideally I would like to have a better web based IDE fully coded in JS. An IDE coded in JS? That can be a thing of the past, in a short time. Native CLient (NaCl) lets running native code in web applications. So could be used i.e.

[web2py:37931] feature request: user/logout?_next=/foo/bar

2009-12-28 Thread selecta
Hi there, it would be nice to have the _next variable working for user/logout like it works for user/login In my case i always show a menu on top, whenever a user wants to log in I open the login page an after a sucessfull login I redirect them to wherever they have been before, doing the same

[web2py:37932] Problems with CRUD + Auth

2009-12-28 Thread Alexandre
Hi all, I followed the tutorial on http://wiki.web2py.com/build_wiki_with_versioning_and_auth_in_3_minutes_and_deploy_on_google_cloudto quickly add a wiki to an existing application I have, but I'm having acess denied messages when trying to create a wiki page. I boiled down to the current user

[web2py:37933] Re: Patch to Cache

2009-12-28 Thread mdipierro
I like it. Could you email me the new cache.py? On Dec 28, 5:43 am, Thadeus Burgess thade...@thadeusb.com wrote: Hey Massimo, would you take a patch to Cache that allows it to keep track of its hit ratio? It is nice from a profiling prospective, so that you can easily determine if you have

[web2py:37934] Re: Patch to Cache

2009-12-28 Thread mdipierro
I also like the screenshot. Would you add a page to appadmin? On Dec 28, 5:43 am, Thadeus Burgess thade...@thadeusb.com wrote: Hey Massimo, would you take a patch to Cache that allows it to keep track of its hit ratio? It is nice from a profiling prospective, so that you can easily determine

[web2py:37936] Re: Problems with CRUD + Auth

2009-12-28 Thread mdipierro
I cannot find the page you link. Do you refer to this: http://www.vimeo.com/6782736 ? On Dec 28, 3:12 am, Alexandre airm...@gmail.com wrote: Hi all, I followed the tutorial onhttp://wiki.web2py.com/build_wiki_with_versioning_and_auth_in_3_minut... quickly add a wiki to an existing

[web2py:37937] Re: cache.increment

2009-12-28 Thread mdipierro
I think it is correct self.storage[key] = (time.time(), value) so self.storage[key][0] is time and self.storage[key][1] is value web2py does not use this anywhere but apps may use it. Massimo On Dec 28, 12:05 am, Thadeus Burgess thade...@thadeusb.com wrote: def increment(self, key,

[web2py:37938] Re: web2py request.function problem

2009-12-28 Thread Massimo Di Pierro
Hi Przemyslaw, I am forwarding your email to the mailing list since this issues are probably of general interest. request.function is always the function requested by the browser in the URL. When your program calls redirect, it tells the browser to request the other page. If you want to

Re: [web2py:37939] Re: Patch to Cache

2009-12-28 Thread Alex Fanjul
Thadeus, your web interface its simply awesome!, clear and nice... what is this blogitize about? could you tell us something more? Thanks in advance, Alex F El 28/12/2009 15:56, mdipierro escribió: I also like the screenshot. Would you add a page to appadmin? On Dec 28, 5:43 am, Thadeus

[web2py:37940] Re: Editor from browser

2009-12-28 Thread Timbo
If you build it, I will come. =) On Dec 28, 6:34 am, Joan Miller pelok...@gmail.com wrote: On 27 dic, 19:50, mdipierro mdipie...@cs.depaul.edu wrote: Ideally I would like to have a better web based IDE fully coded in JS. An IDE coded in JS? That can be a thing of the past, in a short time.

Re: [web2py:37941] Re: How to locale web2py date calendar widget

2009-12-28 Thread Alexandre Andrade
about calendar.js, I found in http://docs.jquery.com/Plugins/Calendar that it has renamed to http://docs.jquery.com/UI/Datepicker. Datepicker suports localization: --

[web2py:37942] Re: How to locale web2py date calendar widget

2009-12-28 Thread mdipierro
I am all for replacing the current calendar.js with another datepicker but it must have datetimepicker functionality too. The one you propose does not. We could use this http://plugins.jquery.com/project/DateTimepicker but I have not tried it. I would take a patch to replace it. Massimo On Dec

[web2py:37944] Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
I'm using web2py for an intranet but notice that in the default config web2py does not handle all requests to the port you serve from. Basically I want to accept connections from 'localhost','127.0.0.1','whatevermyhostnameis','etc' all on say port 80 of the server. I know how to set this up but

[web2py:37945] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread mdipierro
If you use the built-in web server, when you start it, serve from 0.0.0.0 On Dec 28, 11:39 am, Delaney delaneygilli...@gmail.com wrote: I'm using web2py for an intranet but notice that in the default config web2py does not handle all requests to the port you serve from. Basically I want to

Re: [web2py:37946] Re: Problems with CRUD + Auth

2009-12-28 Thread Alexandre
On Mon, Dec 28, 2009 at 13:05, mdipierro mdipie...@cs.depaul.edu wrote: I cannot find the page you link. Do you refer to this: http://www.vimeo.com/6782736 ? Yes, it's exactly that tutorial but it's written down. Weird, the link is working for me. I didn't followed the tutorial line by line

[web2py:37947] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
Thanks... This works as a param on the command line ''' start web2py_no_console.exe -t -a recycle -p 80 -i 0.0.0.0 ''' But if create a options.py with import socket,os ip = '0.0.0.0' port = 80 taskbar = True password = 'recycle' folder = os.getcwd() server_name = socket.gethostname() I get...

[web2py:37948] Let Eclipse know about variables being passed into the controller at runtime

2009-12-28 Thread salbefe
Hello, I'm using eclipse IDE to develop an application. After reading the FAQ Support Eclipse, web2py, imports, code hints and code completion. There it explains that to let Eclipse know about variables being passed into the controller at runtime, you can do the following global db global

[web2py:37949] Re: Problems with CRUD + Auth

2009-12-28 Thread mdipierro
Are you logged in? You just need to be logged in to create and edit pages. When you edit a new one is created and the old version is archived. Massimo On Dec 28, 11:57 am, Alexandre airm...@gmail.com wrote: On Mon, Dec 28, 2009 at 13:05, mdipierro mdipie...@cs.depaul.edu wrote: I cannot find

[web2py:37950] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread mdipierro
you need these in options.py extcron = None nocron = None On Dec 28, 12:20 pm, Delaney delaneygilli...@gmail.com wrote: Thanks... This works as a param on the command line ''' start web2py_no_console.exe -t -a recycle -p 80 -i 0.0.0.0 ''' But if create a options.py with import socket,os

[web2py:37951] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
Yep, with a few more things (profiler_filename, ssl, etc) the options file works! On last thing. Since this is a backend that a non-techy will run (as the 'server' at a expo kiosk) is there anyway to either disable or modify the splash screen for the web2py_no_console.exe -t at startup. I have

[web2py:37952] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread mdipierro
Not sure if this is what you are asking but if you run web2py.exe with -a 'password' there will be no splash screen. Not sure about web2py_no_console.exe since i do not use windows and I never tried it myself. Massimo On Dec 28, 1:04 pm, Delaney delaneygilli...@gmail.com wrote: Yep, with a few

[web2py:37953] Re: How to locale web2py date calendar widget

2009-12-28 Thread Brian M
How about http://milesich.com/timepicker/ On Dec 28, 11:24 am, mdipierro mdipie...@cs.depaul.edu wrote: I am all for replacing the current calendar.js with another datepicker but it must have datetimepicker functionality too. The one you propose does not. We could use

[web2py:37954] Gathering a list of requested features, plugins and other what not for google summer of code...

2009-12-28 Thread Jason Brower
In the hopes of another google summer of code project. I am hoping on having web2py as part of the collection of participating organizations. Could we gather a list of features, fixes, and other additions that would help web2py become a better platform and help others become great contributors to

[web2py:37955] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
That doesn't seem to be true if you combine with -t option. For web2py.exe as well. On Dec 28, 11:32 am, mdipierro mdipie...@cs.depaul.edu wrote: Not sure if this is what you are asking but if you run web2py.exe with -a 'password' there will be no splash screen. Not sure about

Re: [web2py:37956] Re: breadcrumb design

2009-12-28 Thread Alexandre Andrade
I improved the function and put it at http://www.web2pyslices.com/main/slices/take_slice/46 Features: - links in every breadcrumb - can set a breadcrumb to args - can localize/personalize the controllers - using T() Thanks to Richard richardbp(at)gmail.com, for original function that I

[web2py:37957] Re: breadcrumb design

2009-12-28 Thread JorgeRpo
On Dec 28, 3:45 pm, Alexandre Andrade alexandrema...@gmail.com wrote: I improved the function and put it athttp://www.web2pyslices.com/main/slices/take_slice/46 Features:    - links in every breadcrumb    - can set a breadcrumb to args    - can localize/personalize the controllers -

Re: [web2py:37958] Re: breadcrumb design

2009-12-28 Thread Alexandre Andrade
I don't know the specs to do a plugin. I posted a message yesterday about it but have no answers 2009/12/28 JorgeRpo jorgeh...@gmail.com On Dec 28, 3:45 pm, Alexandre Andrade alexandrema...@gmail.com wrote: I improved the function and put it athttp://

[web2py:37959] Re: Retrieve Images From Database

2009-12-28 Thread Hasanat Kazmi
I have a quick question, how do I show an image stored in database (as blob; the default used in web2py when image is stored using crud) like, if some one embeds link like /image/24 , it shows image not html (i mean, content type is automatically set)? On Nov 19, 10:02 pm, mdipierro

[web2py:37960] CouchDB adapter - need any help?

2009-12-28 Thread Jon Romero
I've read some threads about it but what's the status? I see Django supports CouchDB and I think that's easy to do it also in web2py (and then mongoDB and tokyo tyrant). http://lethain.com/entry/2008/aug/18/an-introduction-to-using-couchdb-with-django/ any ideas? thanks -- You received this

[web2py:37961] Re: How to locale web2py date calendar widget

2009-12-28 Thread mdipierro
I like it. Just make sure that if it is very fancy works cross browser. On Dec 28, 1:37 pm, Brian M bmere...@gmail.com wrote: How abouthttp://milesich.com/timepicker/ On Dec 28, 11:24 am, mdipierro mdipie...@cs.depaul.edu wrote: I am all for replacing the current calendar.js with another

[web2py:37962] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread mdipierro
It is hard to test this for me since I do not have windows. There should not be a splash screen when running with -t if options.py is present. I would take a patch to fix this. On Dec 28, 2:21 pm, Delaney delaneygilli...@gmail.com wrote: That doesn't seem to be true if you combine with -t

[web2py:37963] Re: Retrieve Images From Database

2009-12-28 Thread mdipierro
My advice is do not do this manually because it is complicated db.define_table('mytable',Field('image','upload',uploadfield='ablob')) this automatically creates a Field('ablob','blob') where it stores images. Field('image') stores a tmp name for uploaded images including the original extension.

Re: [web2py:37965] Re: UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: unexpected code byte

2009-12-28 Thread Tito Garrido
Via a webform... using SQLFORM On Sat, Dec 26, 2009 at 12:39 PM, mdipierro mdipie...@cs.depaul.edu wrote: inserting via web forms or via db.table.insert(...)? On Dec 26, 7:54 am, Tito Garrido titogarr...@gmail.com wrote: When I'm inserting strings using ç ã õ é á on GAE you can create a

[web2py:37966] Re: UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: unexpected code byte

2009-12-28 Thread mdipierro
Can you check in your page source via the browser if there is any http meta that sets the encoding to something other than UTF8? Massimo On Dec 28, 5:33 pm, Tito Garrido titogarr...@gmail.com wrote: Via a webform... using SQLFORM On Sat, Dec 26, 2009 at 12:39 PM, mdipierro

Re: [web2py:37968] Re: breadcrumb design

2009-12-28 Thread Alex Fanjul
I don't know if I have problems with my email (cause nobody responded me the last ones asking for help), anyway next try: Thank you so much Alexandre, I think is a very useful bit of code because this feature (breadcumbs) its a must for web 2.0 nowdays, and from my point of view I think it

[web2py:37969] new plugin comments

2009-12-28 Thread Massimo Di Pierro
I am working in a new plugin comments. I could use some help in testing. You can add comment to any page just do {{=LOAD('plugin_comments',args=['tablename',1])}} where 1 is the record_id of the db[tablename] you want to add comments to. -- You received this message because you are

[web2py:37970] Re: new plugin comments

2009-12-28 Thread mdipierro
P.S. Requires trunk web2py or add this at the bottom of your models/ db.py auth.user_id = (auth.user and auth.user.id) or None On Dec 28, 7:27 pm, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:  web2py.plugin.comments.w2p 2KViewDownload I am working in a new plugin comments. I could use

Re: [web2py:37971] Re: cache.increment

2009-12-28 Thread Thadeus Burgess
Yes but it is incrementing the **value**, not the **time**. -Thadeus On Mon, Dec 28, 2009 at 9:06 AM, mdipierro mdipie...@cs.depaul.edu wrote: I think it is correct   self.storage[key] = (time.time(), value) so   self.storage[key][0] is time and self.storage[key][1] is value web2py

Re: [web2py:37972] Re: cache.increment

2009-12-28 Thread Thadeus Burgess
Should it not be incrementing the time? -Thadeus On Mon, Dec 28, 2009 at 7:46 PM, Thadeus Burgess thade...@thadeusb.com wrote: Yes but it is incrementing the **value**, not the **time**. -Thadeus On Mon, Dec 28, 2009 at 9:06 AM, mdipierro mdipie...@cs.depaul.edu wrote: I think it

Re:[web2py:37973] Re: a problem with gluon.shell.env

2009-12-28 Thread 王怀玉
Yes, I do, but failed . is it ok for u ? the database I use is mysql . Even I insert a row into mysql through mysql client manually, no change at all, either. module code start ### os.chdir(/path/to/web2py/) from gluon.shell import env

Re: [web2py:37974] Re: new plugin comments

2009-12-28 Thread Thadeus Burgess
Massimo... Let me send you mine :) -Thadeus On Mon, Dec 28, 2009 at 7:30 PM, mdipierro mdipie...@cs.depaul.edu wrote: uires trunk web2py or add this at the bottom of y -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group,

Re: [web2py:37975] Re: request headers

2009-12-28 Thread Thadeus Burgess
After testing, it was an issue with how I was sending the pings... it was stupidly obvious and one of those moments that make you say Dope! So its right there, in request.headers['X-Pingback'] just as it should be. [SOLVED] -Thadeus On Wed, Dec 23, 2009 at 11:56 AM, Thadeus Burgess

[web2py:37976] Re: new plugin comments

2009-12-28 Thread mdipierro
please do! On Dec 28, 8:17 pm, Thadeus Burgess thade...@thadeusb.com wrote: Massimo... Let me send you mine :) -Thadeus On Mon, Dec 28, 2009 at 7:30 PM, mdipierro mdipie...@cs.depaul.edu wrote: uires trunk web2py or add this at the bottom of y -- You received this message because you

Re: [web2py:37977] Re: Patch to Cache

2009-12-28 Thread Thadeus Burgess
Blogitize is my personal blogging software I am making in web2py :) I don't like how you need different systems for different things, (wordpress to blog, another one for an image gallery, another one to host projects/source code) which is why I am making this, to be an all in one solution. Here

Re: [web2py:37978] Re: plugin development notes/docs ?

2009-12-28 Thread Thadeus Burgess
Buried beyond 100's of google posts. Good Luck! There is also a screen cast on plugins at vimeo. http://www.vimeo.com/7182692 The reason there is no official spec is because the system most likely change. In my recent efforts making plugins, it leads to a quite archaic design pattern for the

Re: [web2py:37979] Re: feature request: user/logout?_next=/foo/bar

2009-12-28 Thread Thadeus Burgess
What about... auth.settings.login_url = URL(r=request, c='admin/user', f='login') auth.settings.logged_url = URL(r=request, c='admin/user', f='profile') auth.settings.login_next = URL(r=request, c='admin', f='index') auth.settings.logout_next = URL(r=request, c='admin', f='index')

[web2py:37983] How do I debug?

2009-12-28 Thread Christopher Helck
I have a db.py that is giving me all sorts of problems. If I start Python on the command line, what do I need to do to initialize my environment to be like web2py ? Is there a way to source db.py and start debugging? Thanks, C. Helck -- You received this message because you are subscribed to

Re: [web2py:37984] Re: Multiple DB keys in from pull down menu

2009-12-28 Thread Christopher Helck
Thanks for the response. I believe I understand your suggestion. DBs are not one of my areas of strength, and so I'm struggling with issues that may be simple. So, I have a few follow up questions: Question 1 In: db.define_table('application', Field('name'), Field('version'),

Re: [web2py:37985] Re: new plugin comments

2009-12-28 Thread Thadeus Burgess
Here you go, I hope it works since I have not tested it outside of my blog's environment. There are a ton of customizations that can be done and settings that can be edited. Also the comments will use WMD editor if you choose to use markdown syntax for comments, however it does not ship with it.

[web2py:37986] web2py newbie + google app engine

2009-12-28 Thread reyelts
Hi, I'm relatively new to both web2py and google app engine. I'm running on Fedora 11. I played around with standalone GAE for a while and got some things working before jumping to web2py. However, I can't seem to get web2py to run under GAE. When I start it up, there is a series of warnings, but

[web2py:37987] Re: plugin development notes/docs ?

2009-12-28 Thread mdipierro
I cannot find it either. On Dec 28, 8:51 pm, Thadeus Burgess thade...@thadeusb.com wrote: Buried beyond 100's of google posts. Good Luck! There is also a screen cast on plugins at vimeo. http://www.vimeo.com/7182692 The reason there is no official spec is because the system most likely

[web2py:37989] Re: How do I debug?

2009-12-28 Thread mdipierro
web2py.py -S yourapp -M -R yourscript.py web2py.py -h for help On Dec 28, 10:00 pm, Christopher Helck christopher.he...@gmail.com wrote: I have a db.py that is giving me all sorts of problems. If I start Python on the command line, what do I need to do to initialize my environment to be like

[web2py:37990] Re: Multiple DB keys in from pull down menu

2009-12-28 Thread mdipierro
On Dec 28, 10:23 pm, Christopher Helck christopher.he...@gmail.com wrote: Thanks for the response. I believe I understand your suggestion. DBs are not one of my areas of strength, and so I'm struggling with issues that may be simple. So, I have a few  follow up questions: Question 1 In:

[web2py:37991] Re: new plugin comments

2009-12-28 Thread mdipierro
Thank you a ton! On Dec 28, 10:53 pm, Thadeus Burgess thade...@thadeusb.com wrote: Here you go, I hope it works since I have not tested it outside of my blog's environment. There are a ton of customizations that can be done and settings that can be edited. Also the comments will use WMD editor

[web2py:37992] Re: web2py newbie + google app engine

2009-12-28 Thread mdipierro
you cannot use Google dev_appserver with python 2.6. It requires Python 2.5. Google App Engine runs on 2.5. Massimo On Dec 28, 9:18 pm, reyelts reye...@gmail.com wrote: Hi, I'm relatively new to both web2py and google app engine. I'm running on Fedora 11. I played around with standalone GAE

Re: [web2py:37993] Re: Multiple DB keys in from pull down menu

2009-12-28 Thread Christopher Helck
I assumed that the line: requires=IS_NOT_IN_DB(db (db.application.name==request.vars.name),db.application.version) Was a typo and that you had forgotten a comma. I parsed it as: requires=IS_NOT_IN_DB(db, (boolean expression, field) But it really is: requires=IS_NOT_IN_DB(db(expression),

[web2py:37994] auth.settings.controller

2009-12-28 Thread Thadeus Burgess
When I set auth.settings.controller = 'admin' Shouldn't it then default to that? When I request an action that requries login, it takes me to http://127/init/default/user/login which is... well wrong. Looking at the code, the login_url, etc... uses self.url() however the

[web2py:37995] how to safely process a big queue?

2009-12-28 Thread toomim
What's the best way to use web2py to process a queue of data in a cron job without race conditions? My code basically does this: for task in db(status != 'done').select(): success = do_long_thing_with(task) # takes a long time, might fail if success: task.update_record(status =

Re: [web2py:37996] how to safely process a big queue?

2009-12-28 Thread Thadeus Burgess
for db(status == 'pending').select(): task.update_record(status == 'processing') success = do_long_thing_with(task) fail if success: task.update_record(status = 'done') This way, records that have a status of processing will not get pulled in by a concurrent thread. -Thadeus

[web2py:37997] Re: how to safely process a big queue?

2009-12-28 Thread toomim
This still has a big problem. It only checks status when starting the loop. If thread 2 starts, and then thread 1 does a row, thread 2 will do that row too. On Dec 28, 11:19 pm, Thadeus Burgess thade...@thadeusb.com wrote: for db(status == 'pending').select():    task.update_record(status ==