[web2py] Re: Scheduler misleading DEBUG logging when task reaches timeout

2014-11-24 Thread Niphlod
there's a difference between "it's not documented" and "I expect it to do that" . In python standard lib, multiprocessing.Process join() method accepts a timeout, and that timeout argument can - theoretically - be 0. If you try that "outside" the scheduler, the same thing happens ... 100% cpu

Re: [web2py] Re: Scheduler misleading DEBUG logging when task reaches timeout

2014-11-24 Thread Francisco Ribeiro
Niphlod, i have no expectations whatsoever and specially when it comes to undocumented features but merely reasonable hopes. Now, let me be clear here, I also don't expect software to be always properly documented and specially Open-Source where talented and busy people like yourself generously

Re: [web2py] Re: Scheduler misleading DEBUG logging when task reaches timeout

2014-11-24 Thread Francisco Ribeiro
Niphlod, i have no expectations whatsoever and specially when it comes to undocumented features but merely reasonable hopes. Now, let me be clear here, I also don't expect software to be always properly documented and specially Open-Source where talented and busy people like yourself generously

Re: [web2py] after_update

2014-11-24 Thread Roberto Perdomo
I dont ser the displayName field in you SuperObject table. Try change this: ThisSuperObject.update_record(displayName=displayName) For this: ThisSuperObject.update_record(ObjectDisplayName=displayName) El nov. 24, 2014 3:17 AM, "Alex Glaros" escribió: > anyone see what the error is with this a

[web2py] Re: Support for MS Access?

2014-11-24 Thread ksotiris
Dear Leonel yes of course. I have already write down in my previous post changes/additions that have made in my "dal.py" for the new adapter. I am new in web2py and do not know very well the framework and i would like to check the code someone more experienced user. I have checked it and is w

[web2py] Re: SQLite query with random not working anymore

2014-11-24 Thread Dominique
Hi Anthony, Thanks a lot for your help. Le vendredi 21 novembre 2014 17:15:44 UTC+1, Anthony a écrit : > > > Can you show more of your code? In particular, how are you displaying the > results to determine the order? Are you sure there is not some subsequent > step that is re-ordering the recor

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Tom Øyvind Hogstad
No particular problem. More of a wondering what happened to this "project". Since this is my first web2py project, never used Bootstrap, I also had almost zero knowledge of Python, never really used PostgreSQL and my VPSes have always been Centos, but I felt for Debian on my latest VPS. 200+ hou

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Anthony
I think the relevant BS3 functionality is there. The only thing we don't have is a BS3 based scaffolding app, but if you're using a custom theme, the scaffolding app probably wouldn't help much anyway. Anthony On Monday, November 24, 2014 2:39:58 AM UTC-5, Tom Øyvind Hogstad wrote: > > No parti

Re: [web2py] Re: Published my collection of plugins

2014-11-24 Thread Richard Vézina
Hello Jacobs, db.table.field.default = default Don't work? Richard On Thu, Nov 20, 2014 at 9:11 AM, Dennis Jacobs wrote: > Hi Kenji, > > First of all I wanted to thank you for submitting and maintaining your > web2py plugins. > However I do have one small issue with the “multiselect_widget”,

[web2py] Re: SQLite query with random not working anymore

2014-11-24 Thread Derek
How do you know it's not random? If it's truely random, you will get repeats. I think you want something other than random. In any case, if you use pagination, your results will be sorted. Check db._lastsql On Friday, November 21, 2014 7:32:00 AM UTC-7, Dominique wrote: > > Hello, > > I have a

[web2py] Re: web2py RESTful timeout

2014-11-24 Thread Derek
If you don't need sessions for those requests, you should disable sessions first and see if that works better. Sessions kills concurrency. On Friday, November 21, 2014 8:36:36 AM UTC-7, Bart wrote: > > I have a python script that posts data to my web2py/application/projects > database using REST

Re: [web2py] after_update

2014-11-24 Thread Alex Glaros
improved but now get this error: Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File "gluon/restricted.py", line 224, in restricted File "C:/alex/web2py/web2py/web2py/applications/ES1/controllers/default.py"

Re: [web2py] Re: SQLite query with random not working anymore

2014-11-24 Thread Dom Dom
Hi Derek, It's not random because out of several hundrefs of records, it's always the first ones (first ids) that are proposed (knowing that I limit the number of results). I think I should have made a mistake somewhere in the code that puts the mess. Forget it! Anyway Thanks for helping Dominiq

[web2py] Re: Can I use TACACS+ for authentication?

2014-11-24 Thread Derek
Look for radius authentication. TACACS+ is aka advanced radius. On Thursday, November 20, 2014 7:59:44 PM UTC-7, Luis Ramos wrote: > > Can I use TACACS+ for authentication? > > I can't find any documentation nor questions on this. > Thanks! > -- Resources: - http://web2py.com - http://web2py.com

Re: [web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Jim Steil
For what it's worth, I have these modifications in my app to make Bootstrap 3 work with SQLFORM.grid: In db.py: def my_formstyle(form, fields): col_sm_label_size = 4 col_md_label_size = 3 form.add_class('form-horizontal col-sm-9 col-md-7 col-lg-5') label_col_class = "col-sm-%d col

[web2py] Re: web2py RESTful timeout

2014-11-24 Thread Leonel Câmara
Are you sure it's the POSTs to web2py that are timing out and not the fetching of the stock quotes? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You r

Re: [web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Anthony
Also, I don't know what version of web2py you are running, but the current version now includes Bootstrap 3 classes in the default "ui" dict for the grid, and there are now "bootstrap3_stacked" and "bootstrap3_inline" formstyles. Of course, you may still need to customize if these defaults aren

[web2py] web2py and post data

2014-11-24 Thread محمد رشاد
Hi all Thank you for this helpful group I'm new in web2py and python, I have an application that has a function called "ws" That function has an page called "check" which accepts user inputs by this "token = request.vars.token", it works and accept the inputs that come using POST and GET http me

[web2py] Re: multiple select plugin and list reference

2014-11-24 Thread Dennis Jacobs
Hi TSmith, I'm experiencing the exact same issue! Were you able to resolve this issue? And if so, how exactly did you do so? Regards, Dennis. On Wednesday, November 27, 2013 5:14:25 PM UTC+1, BlueShadow wrote: > I found this wonderfull plugin: > http://dev.s-cubism.com/plugin_multiselect_widge

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Tom Øyvind Hogstad
I think the standard bootstrap theme is perfect for business apps :-) But I do use various components: navs, buttongroups, pills and so on. And the App/Site is very mobile friendly. Not many files to modify anyway. Tom Ø. kl. 15:33:20 UTC+1 mandag 24. november 2014 skrev Anthony følgende:

[web2py] Extra fields in auth using CAS

2014-11-24 Thread Rodrigo
Hi All! Is it possible to include extra fields in auth when i'm using CAS? I divided my app in some , so i'll use CAS to authenticate, but the user must have a field called "group" , because itens added for a user in one group must not been seen by users from other groups, i intend to add this

[web2py] Re: Java Client for web2py SOAP web service

2014-11-24 Thread Pengfei Yu
Hi Dave, Thanks very much for your reply! Could you give a more detailed example for an implementation for Java client? A block of java codes from your Java client talking to web2py service will be perfect. Even with the most simple example from the web2py's SOAP service document is good enoug

Re: [web2py] Re: Published my collection of plugins

2014-11-24 Thread Dennis Jacobs
Hi Richard, First of all, thanks for your fast reply. And I was able to implement this plugin by changing the line below. form2 = SQLFORM.factory(Field("Members", type= 'list:reference(db.auth_group.role)', requires=IS_IN_SET(members1,multiple= True), widget=rhmultiselect_widget)) With db.auth_g

[web2py] Re: web2py and post data

2014-11-24 Thread dlypka
I believe you can use the restful decorator to accept only a POST In the following example, 'mymethod' is not a real python method - it is just a logical concept for convenience. Use this URL: /myapp/mycontroller/api/mymethod "fields" will be a convenient dict of data converted from urle

Re: [web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Gael Princivalle
Great job and thanks for sharing Jim. I'll use it for my current project. Il giorno lunedì 24 novembre 2014 18:58:05 UTC+1, Jim S ha scritto: > > For what it's worth, I have these modifications in my app to make > Bootstrap 3 work with SQLFORM.grid: > > In db.py: > > def my_formstyle(form, fields