Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Please explain: Return Error when priority is not 10
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
spiral  
View profile  
 More options Nov 10 2012, 8:46 am
From: spiral <marko.pah...@googlemail.com>
Date: Sat, 10 Nov 2012 05:46:20 -0800 (PST)
Local: Sat, Nov 10 2012 8:46 am
Subject: Please explain: Return Error when priority is not 10

took me a while to find whats wrong here.
Every time I do [perform task] without giving priority to 10 the child task
works as expected but throws an error at [return] action (as seen in
runlog) and doesn't return the value. If priority is 10 though everything
works.
Hope it is clear, tell me if you need the export description.

Could someone please explain whats going on here? Or if this is a bug?

Thank you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 10 2012, 9:21 am
From: Richard Davis <ricpd...@gmail.com>
Date: Sat, 10 Nov 2012 09:21:31 -0500
Local: Sat, Nov 10 2012 9:21 am
Subject: Re: Please explain: Return Error when priority is not 10

> took me a while to find whats wrong here.
> Every time I do [perform task] without giving priority to 10 the child

task works as expected but throws an error at [return] action (as seen in
runlog) and doesn't return the value. If priority is 10 though everything
works.

I can confirm  this. Just changed one of my perform tasks with a return to
priority 10 and got a error....

Rich...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spiral  
View profile  
 More options Nov 10 2012, 9:26 am
From: spiral <marko.pah...@googlemail.com>
Date: Sat, 10 Nov 2012 06:26:28 -0800 (PST)
Local: Sat, Nov 10 2012 9:26 am
Subject: Re: Please explain: Return Error when priority is not 10

thanks for confirming Rich :)
(I think you meaned you changed it from 10 to something else)

Always using priority 10 as workaround is not the best option as it is
blocking until it is ready even if it is not that important in the workflow.

Am Samstag, 10. November 2012 15:21:39 UTC+1 schrieb Rich:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 10 2012, 9:45 am
From: Richard Davis <ricpd...@gmail.com>
Date: Sat, 10 Nov 2012 09:45:26 -0500
Local: Sat, Nov 10 2012 9:45 am
Subject: Re: Please explain: Return Error when priority is not 10

> thanks for confirming Rich :)
> (I think you meaned you changed it from 10 to something else)

> Always using priority 10 as workaround is not the best option as it is

blocking until it is ready even if it is not that important in the workflow.

Hmmm, don't think we are on the same page..

I have several perform tasks with several different priorities and with
return values none of them currently have a priority 10.

I changed one of then to a priority 10 and then I got the error..

Is that your findings??

Rich....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spiral  
View profile  
 More options Nov 10 2012, 9:58 am
From: spiral <marko.pah...@googlemail.com>
Date: Sat, 10 Nov 2012 06:58:19 -0800 (PST)
Local: Sat, Nov 10 2012 9:58 am
Subject: Re: Please explain: Return Error when priority is not 10

oh thats weird I have the opposite.

*Testreturn* (190)
A1: Perform Task [ Name:*Returner* Stop:Off Priority:*10* Parameter 1
(%par1):return this Parameter 2 (%par2): Return Value
Variable:%returnvalue1 ]
A2: Perform Task [ Name:*Returner* Stop:Off Priority:*7* Parameter 1
(%par1):return this too Parameter 2 (%par2): Return Value
Variable:%returnvalue2 ]
A3: Flash [ Text:%returnvalue1
%returnvalue2 Long:Off ]

*Returner* (193)
A1: Return [ Value:%par1 Stop:On ]

the flash ouput is :
*return this
%returnvalue2*

If I change priority of second perform task to 10
output is as expected:
*return this*
*return this too*

Am Samstag, 10. November 2012 15:45:30 UTC+1 schrieb Rich:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 10 2012, 10:20 am
From: Richard Davis <ricpd...@gmail.com>
Date: Sat, 10 Nov 2012 10:20:00 -0500
Subject: Re: Please explain: Return Error when priority is not 10

On Nov 10, 2012 9:58 AM, "spiral" <marko.pah...@googlemail.com> wrote:

> oh thats weird I have the opposite.

> Testreturn (190)
> A1: Perform Task [ Name:Returner Stop:Off Priority:10 Parameter 1

(%par1):return this Parameter 2 (%par2): Return Value
Variable:%returnvalue1 ]
> A2: Perform Task [ Name:Returner Stop:Off Priority:7 Parameter 1

(%par1):return this too Parameter 2 (%par2): Return Value
Variable:%returnvalue2 ]

> A3: Flash [ Text:%returnvalue1
> %returnvalue2 Long:Off ]

> Returner (193)
> A1: Return [ Value:%par1 Stop:On ]

> the flash ouput is :
> return this
> %returnvalue2

OK.. very strange, I just did a similar test as you listed above and got
the SAME results...  this will take a little time to figure out the
differences in the tasks and I can not do it right now (family time is
calling (speaking loudly(yelling)))  but will definitely look into later.

Rich....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 10 2012, 2:52 pm
From: Richard Davis <ricpd...@gmail.com>
Date: Sat, 10 Nov 2012 14:52:33 -0500
Local: Sat, Nov 10 2012 2:52 pm
Subject: Re: Please explain: Return Error when priority is not 10

OK... took some looking but here is what I found ..

The reason the lower priorities were working in my other tasks is because
it was in a chain of 'perform tasks' so in other words if you take your
above test and call it from another task you will still see the error in
the run log but you will get the return value..

Hope that makes sense .....

Let me know if it works on your end...    Rich..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 11 2012, 9:37 am
From: Richard Davis <ricpd...@gmail.com>
Date: Sun, 11 Nov 2012 09:36:59 -0500
Local: Sun, Nov 11 2012 9:36 am
Subject: Re: Please explain: Return Error when priority is not 10

I just found this in the user guide and assume this new change might be the
culprit but I am a little confused on how it SHOULD be working

If I am reading it correctly it would seem that if I want to call a task t2
from task t1 that has been started from a profile and would like t2 to
finish before t1 continues then 1 would have to  deselecting Enforce Task
Order for that profile.  Correct?

 Same-Profile Tasks

Tasks from the same profile (including any sub-tasks started via Perform
Task) by default always execute in the order in which they are launched.
Other tasks from the same profile remain completely inactive until any
previous profile is complete. The main purpose of this rule is to correctly
handle rapid changes in a profile's activation state.

This behaviour can be disabled by deselecting Enforce Task Order in the
Profile Properties dialog.

Rich.....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spiral  
View profile  
 More options Nov 11 2012, 10:35 am
From: spiral <marko.pah...@googlemail.com>
Date: Sun, 11 Nov 2012 07:35:01 -0800 (PST)
Local: Sun, Nov 11 2012 10:35 am
Subject: Re: Please explain: Return Error when priority is not 10

Hey Rich thanks for trying to debug this further.

"in other words if you take your above test and call it from another task
you will still see the error in the run log but you will get the return
value.."
that is something that I observed too, but couldn't nail down. I sometimes
got the value anyway even when the error occurred in the runlog but I did
something else I can't remember now :/ but I can confirm that calling from
another task works.

and regarding "Same-Profile Tasks" you quoted I don't understand it too but
what I think is that we haven't profiles involved at all, in our test case.
And that "other tasks from the same profile remain completely inactive"
doesn't quite fit in with the error we get AND that the task executes fine
until it should return a value.

I guess we are stuck now and maybe only pent could tell whats really going
on here or rather what should be going on.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 11 2012, 11:47 am
From: Richard Davis <ricpd...@gmail.com>
Date: Sun, 11 Nov 2012 11:47:23 -0500
Local: Sun, Nov 11 2012 11:47 am
Subject: Re: Please explain: Return Error when priority is not 10

> and regarding "Same-Profile Tasks" you quoted I don't understand it too

but what I think is that we haven't profiles involved at all, in our test
case. And that "other tasks from the same profile remain completely
inactive" doesn't quite fit in with the error we get AND that the task
executes fine until it should return a value.

Ah, yes.. definitely strayed off topic... I believe we are definitely
discussing a bug here  that pent will be able to confirm and hopefully it
will be a simple fix..

I will start another thread with the above question to try to fully
understand how the priorities should be working with the perform task. It
will make the info easier to find for others in a search as well..

Rich..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 13 2012, 4:09 am
From: Richard Davis <ricpd...@gmail.com>
Date: Tue, 13 Nov 2012 04:09:25 -0500
Local: Tues, Nov 13 2012 4:09 am
Subject: Re: Please explain: Return Error when priority is not 10

Pent, I just wanted to bump this up as I believe spiral has definitely come
across a bug as discussed above...

Thanks,    Rich..
On Nov 11, 2012 11:47 AM, "Richard Davis" <ricpd...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spiral  
View profile  
 More options Nov 13 2012, 4:42 pm
From: spiral <marko.pah...@googlemail.com>
Date: Tue, 13 Nov 2012 13:42:45 -0800 (PST)
Local: Tues, Nov 13 2012 4:42 pm
Subject: Re: Please explain: Return Error when priority is not 10

 I am sorry to bump this up again, but this error is really a big one for
me as it makes using perform task almost unusable.
Just a short message from you pent that you noticed this issue would be
appreciated. Thanks.

Am Dienstag, 13. November 2012 10:09:32 UTC+1 schrieb Rich:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 14 2012, 9:34 am
From: Richard Davis <ricpd...@gmail.com>
Date: Wed, 14 Nov 2012 09:34:09 -0500
Local: Wed, Nov 14 2012 9:34 am
Subject: Re: Please explain: Return Error when priority is not 10

Maybe 3rd time will be the charm......   :)

Bum,bum,bum,bumbum---- bump /bump


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rich  
View profile  
 More options Nov 14 2012, 12:14 pm
From: Rich <ricpd...@gmail.com>
Date: Wed, 14 Nov 2012 09:14:07 -0800 (PST)
Local: Wed, Nov 14 2012 12:14 pm
Subject: Re: Please explain: Return Error when priority is not 10
Hmmm, this was not bumping up with regular email. Trying from the
forum on this one..

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pent  
View profile  
 More options Nov 15 2012, 7:24 am
From: Pent <supp...@apps.dinglisch.net>
Date: Thu, 15 Nov 2012 04:24:29 -0800 (PST)
Local: Thurs, Nov 15 2012 7:24 am
Subject: Re: Please explain: Return Error when priority is not 10

You're running the task with the test button, right ? Then the parent
task has a priority of 10 and and so the task launched with A2 doesn't
run until the parent has finished. If A2 uses priority 10, then it
finishes before the parent task because Tasker gives preference to sub-
tasks if two tasks have the same priority.

Pent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pent  
View profile  
 More options Nov 15 2012, 7:25 am
From: Pent <supp...@apps.dinglisch.net>
Date: Thu, 15 Nov 2012 04:25:03 -0800 (PST)
Local: Thurs, Nov 15 2012 7:25 am
Subject: Re: Please explain: Return Error when priority is not 10
p.s. thanks for the external bump Richard :-)

Pent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 15 2012, 5:26 pm
From: Richard Davis <ricpd...@gmail.com>
Date: Thu, 15 Nov 2012 17:25:56 -0500
Local: Thurs, Nov 15 2012 5:25 pm
Subject: Re: Please explain: Return Error when priority is not 10

> You're running the task with the test button, right ?

Ummm,  yup...   :)

Then the parent

> task has a priority of 10

Damm, I actually knew that..

and so the task launched with A2 doesn't

> run until the parent has finished. If A2 uses priority 10, then it
> finishes before the parent task because Tasker gives preference to sub-
> tasks if two tasks have the same priority.

As usual Pent quite correct.....    :)

OK...  re-tested and everything works as it should however it does show the
errors in the run log as spiral reported ( it will be interesting to see if
he was using the same faulty  test procedure). I have posted the run log of
my test below.

I'm assuming that since  everything is working correctly these errors can
be ignored?

Thanks for the reply Pent, Sorry about the false bug report.   :(

Rich....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 15 2012, 8:24 pm
From: Richard Davis <ricpd...@gmail.com>
Date: Thu, 15 Nov 2012 20:23:56 -0500
Local: Thurs, Nov 15 2012 8:23 pm
Subject: Re: Please explain: Return Error when priority is not 10

Oops forgot the log....

20121115 16.53.01 P Inactive ID337    Return Test
20121115 16.53.12 P Active   ID337    Return Test
20121115 16.53.12 T Running  ID338    Task Send
20121115 16.53.13 A OK       ID338.1  Task Send.Perform Task
20121115 16.53.13 T Running  ID339:2  Returner
20121115 16.53.13 A OK       ID339:2.1 Returner.Variable Set
20121115 16.53.13 A Err      ID339:2.2 Returner.Return
20121115 16.53.13 T ExitErr  ID339:2  Returner
20121115 16.53.13 A OK       ID338.2  Task Send.Flash
20121115 16.53.13 T ExitOK   ID338    Task Send


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pent  
View profile  
 More options Nov 16 2012, 2:38 am
From: Pent <supp...@apps.dinglisch.net>
Date: Thu, 15 Nov 2012 23:38:38 -0800 (PST)
Local: Fri, Nov 16 2012 2:38 am
Subject: Re: Please explain: Return Error when priority is not 10

> I'm assuming that since  everything is working correctly these errors can
> be ignored?

Actually, the Run Log doesn't seem to fit with my nice story since the
Send task is still running when the Return action takes place so I
don't see why it should error.

Will have to test it myself I think.

Pent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marko Pahlke  
View profile  
 More options Nov 16 2012, 3:56 am
From: Marko Pahlke <marko.pah...@googlemail.com>
Date: Fri, 16 Nov 2012 09:50:55 +0100
Local: Fri, Nov 16 2012 3:50 am
Subject: Re: Please explain: Return Error when priority is not 10

Thanks for testing and bumping Rich. And thanks Pent for responding. I just
didn't reply yet because I have no time logging into groups from my pc to
respond as spiral.

But back to topic, your explanation seemed logical but even with this in
mind I couldn't, other than Richard, understand why it acts the way it
does. Take for example the conclusion from before that if you put another
parent before the task that calls the responding task it works. According
to your explanation it shouldn't work neither, because as you said child
tasks have higher priority if called with the same priority as the
executing task. So it does essentially not matter if you put an extra task
before or not. But it acts clearly differentially.
And another thing according to your explanation the calling task should
exit before the child can respond and hence the error but it does not if
you look into run log. Everything works as expected until return action.
But I was still not able to nail the issue down to something concrete. For
me it seems as if priorities aren't respected everytime the run log always
seems a little different than what I would expect even after very carefully
tuning priorities.

Thanks for testing pent.
Spiral
Am 16.11.2012 08:38 schrieb "Pent" <supp...@apps.dinglisch.net>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Davis  
View profile  
 More options Nov 16 2012, 6:49 am
From: Richard Davis <ricpd...@gmail.com>
Date: Fri, 16 Nov 2012 06:49:08 -0500
Local: Fri, Nov 16 2012 6:49 am
Subject: Re: Please explain: Return Error when priority is not 10

> But back to topic, your explanation seemed logical but even with this in

mind I couldn't, other than Richard, understand why it acts the way it
does. Take for example the conclusion from before that if you put another
parent before the task that calls the responding task it works. According
to your explanation it shouldn't work neither, because as you said child
tasks have higher priority if called with the same priority as the
executing task. So it does essentially not matter if you put an extra task
before or not.

'I think' pents logic does work here (assuming we are still using the test
button), because now the original task (the test button) has priority 10 so
that will finish first but now you have made the first called task a lower
priority by defining it in the perform task action. So now things work as
they should with respect priorities.  In my test I took the test button out
of the equation and fired the tasks with a profile and i believe everything
worked as it should with exception of the errors which did not seem to
affect the expected behavior.

Does that sound correct??

Rich..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pent  
View profile  
 More options Nov 16 2012, 7:08 am
From: Pent <supp...@apps.dinglisch.net>
Date: Fri, 16 Nov 2012 04:08:55 -0800 (PST)
Local: Fri, Nov 16 2012 7:08 am
Subject: Re: Please explain: Return Error when priority is not 10
There's a bug with the Return action, if you have Stop checked, it
stops with an error instead of with an OK. Have fixed for next update,
sorry for all the problems caused.

Pent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marko Pahlke  
View profile  
 More options Nov 16 2012, 7:33 am
From: Marko Pahlke <marko.pah...@googlemail.com>
Date: Fri, 16 Nov 2012 13:33:49 +0100
Local: Fri, Nov 16 2012 7:33 am
Subject: Re: Please explain: Return Error when priority is not 10

Thanks Pent. Does this error affect the resuming of the parent? Or is it
just a cosmetic change.

Rich you are right I think.

Waiting for the next version (or beta first?)

Thanks again.
Am 16.11.2012 13:09 schrieb "Pent" <supp...@apps.dinglisch.net>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pent  
View profile  
 More options Nov 16 2012, 7:36 am
From: Pent <supp...@apps.dinglisch.net>
Date: Fri, 16 Nov 2012 04:36:31 -0800 (PST)
Local: Fri, Nov 16 2012 7:36 am
Subject: Re: Please explain: Return Error when priority is not 10

> Thanks Pent. Does this error affect the resuming of the parent? Or is it
> just a cosmetic change.

It's just cosmetic.

Pent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »