just one worker...
>
> On Monday, May 7, 2018 at 8:13:02 PM UTC+2, Francisco Ribeiro wrote:
>>
>> I have been testing my own hypothesis, it didn't work. I was unable to
>> assign a task to a specific worker, I can only assign tasks to groups.
>> Please correct me if I
I have been testing my own hypothesis, it didn't work. I was unable to
assign a task to a specific worker, I can only assign tasks to groups.
Please correct me if I am wrong...
On Sunday, 6 May 2018 16:16:08 UTC+1, Francisco Ribeiro wrote:
>
> Thank you for confirming.
>
> I pr
see any problem
doing that?
On Sunday, 6 May 2018 04:16:53 UTC+1, Massimo Di Pierro wrote:
>
> No. I do not believe there is any way to guarantee that every work will
> execute the same task.
>
>
> On Friday, 4 May 2018 17:36:30 UTC-5, Francisco Ribeiro wrote:
>>
The question refers to submitting a task simultaneously to all workers
within a group.
Thank you
--
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
That is useful but is it really equivalent to error ticket issuance i.e. do
all tickets we see as error tickets hit the routes_onerror? What if the
error is triggered by a scheduled task running in the background?
Thanks
On Thursday, 15 February 2018 17:43:58 UTC, Leonel Câmara wrote:
>
> I'd
Hi all,
I have created an event viewer web console that uses websockets to keep
itself up to date.
I wanted error tickets to show up in here as well, so once a ticket is
issued it would execute my custom code that keeps my event viewer up to
date with a link to the ticket itself.
Ideally, the
se the parameter-based rewrite system and specify args_match to
>suit your needs (the default args_match regex is '([\w@ =-]|(?<=[\w@
>-])[.])*$'.
>
> Anthony
>
> On Thursday, October 19, 2017 at 1:30:09 PM UTC-4, Francisco Ribeiro wrote:
>>
>> Hi,
&g
something? shouldn't request.args() take care of URL encoding
/ decoding for me?
Thank you
Kind regards,
Francisco Ribeiro
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Well, actually I was able to hide it as well with CSS:
table th:nth-child(7) {display: none;}
table td:nth-child(7) {display: none;}
Not ideal since all this content is there twice but it works :)
On Monday, 9 October 2017 11:28:52 UTC+1, Francisco Ribeiro wrote:
>
> That works, (
That works, (thanks for the idea btw) but leaves me with a different
problem which is that 'myfield' becomes visible and it happens to hold a
long string (reason why I came up with the idea to turn it into
copy-to-clipboard button).
On Monday, 9 October 2017 03:22:11 UTC+1, 黄祥 wrote:
>
> had
hi,
I have customized one of the fields of my SQLForm whereby instead of
displaying its long content, it shows a small button that copies its
content into the clipboard, as follows:
db.mytable.myfield.represent = lambda value, row: TAG.button(SPAN(DIV(
row.myfield,
This use case keeps on haunting me... :)
Sometimes i want to hide columns from a smartgrid but I still want to be
able to search for them AND use it within the SQLFORM links parameter, like
the 'fingerprint' parameter in the following example:
in model:
db.define_table('mytable',
the last iteration of the loop.
Francisco
On Friday, 15 September 2017 03:35:06 UTC+1, Francisco Ribeiro wrote:
>
> Hi all,
>
> I have a monitoring component in which my app continuously grabs data from
> the database through a controller which is triggered by a javascript cal
Hi all,
I have a monitoring component in which my app continuously grabs data from
the database through a controller which is triggered by a javascript call
as follows:
$.web2py.component("{{=URL('controller', 'my_function.load')}}", "my_target"
, timeout=2000, times='Infinity');
As you can
interest in here is far
greater than the number of people who messaged their email addresses. I
will need your email address to send you the license so if you haven't done
so please do it.
Kind regards,
Francisco
On Sunday, 11 October 2015 20:21:16 UTC+1, Francisco Ribeiro wrote:
>
> Hel
licenses for the pro version?
> Is the pro version supporting web2py?
> If yes i'm iterested.
>
> Il giorno domenica 11 ottobre 2015 21:29:54 UTC+2, Encompass solutions ha
> scritto:
>>
>> I can try it if you want. +1
>>
>> On Sun, Oct 11, 2015, 22:21 F
Hello all,
for those who know PyCharm is a great IDE from JetBrains that provides free
licenses for Open Source projects like web2py (
https://www.jetbrains.com/buy/opensource/?product=pycharm ). To request
such a license, I need to know how many of you would want one of these as
well so I
There is another way of looking at this which I think it's really
effective. Don't guide your approach by user requirements because customers
don't know what are their own requirements. Even we, think we do but many
times, we don't. Guide your approach by something concrete based on rapid
there is not with the validator but with the value that is
passed to the validator when the box is not checked. It's not clear how a
new validator would help here, as such a validator would be completely
superfluous.
Anthony
On Thursday, December 4, 2014 8:12:17 AM UTC-5, Francisco Ribeiro
hi there,
I noticed that when I use the IS_NOT_EMPTY() validator on a boolean field
(i.e. a form checkbox) that it will not allow me to submit the form with
this field as not checked / unticked. In my opinion, this is a wrong
interpretation of what is an empty value, since a checkbox can only
Kiran,
I did not assign the default value of False explicitly but implicitly since
it's already the default.
Anthony,
I understand the interpretation currently in place but if you think about
this, validators are supposed to accept allowed values *first* and reject
all others. True and False
UTC-5, Francisco Ribeiro wrote:
Kiran,
I did not assign the default value of False explicitly but implicitly
since it's already the default.
Anthony,
I understand the interpretation currently in place but if you think about
this, validators are supposed to accept allowed values *first
with no timeout, but the
scheduler doesn't allow a timeout=None for the reasons explained before.
summary: I'll send a patch to restrict the timeout value to be = 1 instead
of = 0.
On Sunday, November 23, 2014 10:29:19 PM UTC+1, Francisco Ribeiro wrote:
Niphlod,
let me tell you that the 0
with no timeout, but the
scheduler doesn't allow a timeout=None for the reasons explained before.
summary: I'll send a patch to restrict the timeout value to be = 1 instead
of = 0.
On Sunday, November 23, 2014 10:29:19 PM UTC+1, Francisco Ribeiro wrote:
Niphlod,
let me tell you that the 0
Niphlod,
let me tell you that the 0 is very often interpreted as disabled in
computing. For example in select() the famous UNIX system call, uses
that convention for the timeout argument and the same happens when you
use the snapshop length = 0 argument in tcpdump -s 0 which is allowed but
.
On Thursday, November 20, 2014 12:07:50 PM UTC+1, Francisco Ribeiro wrote:
thank you,
a different and yet related problem that I found when I was testing the
timeout behaviour using a simple task that just does a time.sleep(3000) is
that this keeps the CPU load of its process close to 100% during
into the
scheduler.
Kind regards,
Francisco
On Friday, 21 November 2014 13:13:04 UTC, Niphlod wrote:
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
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 rather than being released on its own
through a term
exceptions.
The finer grained statuses are computed back in the worker process
(the report_task() routine, to be exact), that knows, e.g., if a task needs
to be queued again, etc etc etc
On Thursday, November 20, 2014 4:30:36 AM UTC+1, Francisco Ribeiro wrote:
hi,
After some debugging, I
hi,
After some debugging, I noticed that when tasks timeout while using the
scheduler, I get an output as follows:
DEBUG:web2py.app.myapp:new task report: FAILED
DEBUG:web2py.app.myapp: traceback: Traceback (most recent call last):
File /../web2py/gluon/scheduler.py, line 303, in
.
- it would be nice to have an API for grids. I think there is this big
jump for database records to generated HTML code ready to be rendered,
not so much control over the Application logic on it.
Kind regards,
Francisco
On Saturday, 18 October 2014 15:00:33 UTC+1, Francisco Ribeiro wrote
hello everyone,
I believe I have ran into a dead end but maybe one of you may find a way
for what I'm trying to do. So, please consider this model:
db.define_table('house',
Field('location_type', requires=IS_IN_SET(['city', 'country', 'sea'])),
Field('location_type_msg'),
hi
Nice! Thank you for the attention. There is a good reason that I'm sure you
deeply understand for me to be less connected... I've been finishing my mst.
thesis. Work done, presentation finished more time free.
Meanwhile, I've been working on some interesting projects including web2py
33 matches
Mail list logo