just create and trigger the following task:
def schedule_call():
import time
time.sleep(3600)
return 'completed'
and queue it like:
myscheduler.queue_task(schedule_call, timeout=0)
once it's triggered check the CPU load of your python scheduler node and
should be 100%.
If this is n
will do. in the meantime with timeout=0 what are you trying to achieve ?
On Friday, November 21, 2014 12:42:54 PM UTC+1, Francisco Ribeiro wrote:
>
> just create and trigger the following task:
> def schedule_call():
> import time
> time.sleep(3600)
> return 'completed'
>
>
> and q
Meteor probably got funding because (a) they have an impressive team with
an established track record, (b) they are building the next generation web
framework, and (c) they have a business plan for making money (i.e.,
enterprise add-on products and support).
Interestingly, in the Node.js world,
Hello,
I have a small personal website published on PythonAnywhere.
PythonAnywhere upgraded SQLITE some time ago.
Since then, one query doesn't work anymore.
It is a query with a many to many relationship and the select should give
results at random.
rows = db(...).select(..., orderby='')
It do
I think web2py need a push funded or not funded.
For my experience where i deal daily with web2py, i see the admin app web
interface kind of lost in time. It did not change much in the last years.
Why ?
I have for example a table with 50 rows, when i browse it with admin ,
every columns is prefixe
On Friday, November 21, 2014 10:19:37 AM UTC-5, Ramos wrote:
>
> I think web2py need a push funded or not funded.
>
> For my experience where i deal daily with web2py, i see the admin app web
> interface kind of lost in time. It did not change much in the last years.
> Why ?
>
You might also try
So, by disabling the timeout, I'm making sure that the scheduler will be
taken by that process for 3600s rather than being released on its own
through a term signal triggered by a timeout. This way, you should be able
to easily verify the high CPU load caused by any task loaded into the
schedul
The .sort() method is done in Python and has nothing to do with SQLite.
That makes me think something else is going on, such as something being
cached and therefore not updating with your code changes.
Anthony
On Friday, November 21, 2014 9:32:00 AM UTC-5, Dominique wrote:
>
> Hello,
>
> I have
Hi Anthony,
Thanks for replying.
I already withdrew all references to cache to make sure it is not the cause
of the problem. But... it's the same.
Dominique
Le vendredi 21 novembre 2014 16:50:04 UTC+1, Anthony a écrit :
>
> The .sort() method is done in Python and has nothing to do with SQLite.
Can you show more of your code? In particular, how are you displaying the
results to determine the order? Or you sure there is not some subsequent
step that is re-ordering the records?
Are you absolutely sure that:
rows=db(...).select().sort(lambda row: random.random())
produces the same Rows
Has anyone notified the BayPiggies list of our event? Should we?
-- Joe
On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote:
>
> Hi Bay Area web2py'ers. Get excited!
>
> *Massimo will attend our very own Bay Area* *web2py meetup* to meet,
> greet and present. Additional talks are pla
0 doesn't disable the timeout. it sets it to 0. which is kinda the nonsense
I was trying to figure it out ;-P
On Friday, November 21, 2014 4:47:53 PM UTC+1, Francisco Ribeiro wrote:
>
> So, by disabling the timeout, I'm making sure that the scheduler will be
> taken by that process for 3600s rat
Hi,
I am using the SOAP service provided by web2py to create a simple web
service for my web application. The document provide a example of using
"pysimplesoap" to consume the created SOAP web service. The code is like
below:
>>> from gluon.contrib.pysimplesoap.client import SoapClient
>>> cli
I am in the process of creation of synthesis site looking at other sites,
do any of you can aide true value of some books for aggregate roads,
aggregate sites, and thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sourc
Debugged the issue and got the solution. The root problem is with the
'pagespeed' module that I had installed for apache and when I disabled
'pagespeed' module the CAS consumer worked fine without going into infinite
redirection loop.
Thanks,
Srini
On Thursday, November 6, 2014 5:36:43 PM UTC-8
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”, which
could be due to the fact that I don’t know how to implement the plugin
properly.
The problem I’m currently facing is the fa
Can I use TACACS+ for authentication?
I can't find any documentation nor questions on this.
Thanks!
--
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
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”, which
could be due to the fact that I don’t know how to implement the plugin
properly.
The problem I’m currently facing is the f
Is there a way to run multiple DAL transactions in one go? Maybe even use
semaphores?
I want to query a database, get all the jobs in queue, select one, update
it's running status from queued to running, and then let go of the lock.
Anyone have any ideas on how this can be done?
--
Resources:
Are there any good resources on how to boost the security of web2py.
Regards,
James
--
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 received this me
Hi: I have deployed web2py on Ngnix+uWSGI setup using the script that comes
with web2py and it works fine. But the problem I'm facing is in trying to
set a breakpoint and debug using the web2py debugger. I have tried tweaking
options in uWSGI and Nginx conf files to make it single process and
m
@Massimo, Thanks very much Massimo. I am trying to find a way to redirect
the user to the page where the user clicks on the select button to select
an item. The user might be on page 2 or page 3 page 4 or any other page
when he selects the item. How can I redirect the user to the same page he
i
I have a python script that posts data to my web2py/application/projects
database using RESTful services. Everything works fine for an hour or two,
but then all future posts will timeout. If, using a web browser, I reload
the web2py application's main page then the RESTful services start worki
I am novice in web2py. I am developing an angularjs+web2py web application.
In addition to using web2py to write the APIs, at least at the first stage,
I would like to use the web2py authentication class (i.e., no API approach
for authentication)
and to have it working even when calling the APIs
You should be able to do
if not auth.user: do_whatever_you_like()
instead of using the decorator.
On Thursday, 20 November 2014 07:40:29 UTC-6, Francesco S wrote:
>
> I am novice in web2py. I am developing an angularjs+web2py web
> application.
> In addition to using web2py to write the APIs,
you can db.commit() your partial work.
On Thursday, 20 November 2014 12:09:37 UTC-6, Bilal Hasan wrote:
>
> Is there a way to run multiple DAL transactions in one go? Maybe even use
> semaphores?
>
> I want to query a database, get all the jobs in queue, select one, update
> it's running status
We need more details. How often do you post? How long does it take to get a
response?
On Friday, 21 November 2014 09:36:36 UTC-6, Bart wrote:
>
> I have a python script that posts data to my web2py/application/projects
> database using RESTful services. Everything works fine for an hour or two,
Thanks for letting us know!
On Friday, 21 November 2014 14:54:19 UTC-6, Srini K wrote:
>
> Debugged the issue and got the solution. The root problem is with the
> 'pagespeed' module that I had installed for apache and when I disabled
> 'pagespeed' module the CAS consumer worked fine without goin
On Thursday, November 20, 2014 6:49:18 AM UTC-8, Pengfei Yu wrote:
>
> Hi,
>
> I am using the SOAP service provided by web2py to create a simple web
> service for my web application. The document provide a example of using
> "pysimplesoap" to consume the created SOAP web service. The code is li
On Friday, November 21, 2014 3:16:45 PM UTC-8, Dave S wrote:
>
> [...]
>
My imports include "javax.xml.soap.xml", and i instantiate using
> SOAPConnectionFactory.
>
>
Boy, I bungled that line, even when proof-reading.
"import javax.xml.soap.*;"
(which might also need
"import javax.xml.transfo
Now, that is amusing :)
that timeout = 0 is triggering an endless loop which actually works as a
way to prevent the app from timing out! It also explains the problem at
hands, i.e. the intense CPU load so there is some progress here. Out of
curiosity, the same behaviour (both disabling timeout a
Hello,
I'm trying to use Web2py's CAS feature and database cooperation. I tried to
follow this
article:
http://www.web2pyslices.com/slice/show/1877/single-login-by-two-different-ways
And it looks good, but what if I'm using custom authentication? The
appliance found
here: https://github.com/
32 matches
Mail list logo