Does that resolve some reliability issues?
> Enabled the Run log and it revealed a status of (ExitErr) at the time of task failure... What does that mean :( ?
The run log has its own section in the user guide.
Tasks
RejBad
task was rejected because it was malformed task e.g. had no actions
RejCopy
task was rejected because it's a second copy of a task which has Abort New Task set for Collision Handling in its preferences
RejMaxQ
the maximum number of queued tasks (determined in Action preferences) has been reached
RejOff
Tasker was disabled at the time the task was submitted
Running
the task has been entered in the run queue. Other tasks may still have their actions executed before this one (see Task Scheduling)
ExitErr
the task has stopped after an error
ExitOK
the task has finished all its actions and stopped
ExitRep
the task has stopped because a second copy of it has arrived and Abort Existing Task s specified for its Collision Handling preferences
ExitKill
the task has been stopped because the execution service is stopping
Try enabling 'pop up errors' in the tasker preferences. These will only show when entering or re-entering the Tasker UI.
Which action failed?
Matt
>
> I've enabled the option (continue after error) for all runshell actions of the task . If that worked ,it would nearly solve my problem , as i can accept a failure in 1 or 2 of the runshell actions But i can't accept stoppage of all the task on top of a runshell failure .
>
>
Did you try enabling the pop up errors?
What is the error shown in the run log? ExitErr?
Could you post the task description along with a which action is failing
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export description to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
Sharp AC (59)
A1: Variable Set [ Name:%count To:0 Do Maths:Off Append:Off ]
A2: Secure Settings [ Configuration:Screen & Keyboard Lights On
5 Seconds Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A3: Launch App [ App:Power IR - Universal Remote Pro Data: Exclude From Recent Apps:Off ]
A4: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A5: Run Shell [ Command:input tap 570 120 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: Continue Task After Error:On ]
A6: Beep [ Frequency:10055 Duration:318 Amplitude:10 Stream:3 ]
A7: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A8: Run Shell [ Command:input tap 1220 220 Timeout (Seconds):1 Use Root:On Store Output In: Store Errors In: Store Result In: Continue Task After Error:On ]
A9: Beep [ Frequency:10055 Duration:318 Amplitude:10 Stream:3 ]
A10: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A11: Button [ Button:Back Continue Task After Error:On ]
A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A13: Button [ Button:Back Continue Task After Error:On ]
A14: Wait [ MS:0 Seconds:0 Minutes:15 Hours:0 Days:0 ]
A15: Secure Settings [ Configuration:Screen & Keyboard Lights On
5 Seconds Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A16: Launch App [ App:Power IR - Universal Remote Pro Data: Exclude From Recent Apps:Off ]
A17: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A18: Run Shell [ Command:input tap 700 120 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: Continue Task After Error:On ]
A19: Beep [ Frequency:10055 Duration:318 Amplitude:10 Stream:3 ]
A20: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A21: Button [ Button:Back Continue Task After Error:On ]
A22: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A23: Button [ Button:Back Continue Task After Error:On ]
A24: Wait [ MS:0 Seconds:0 Minutes:15 Hours:0 Days:0 ]
A25: Variable Add [ Name:%count Value:1 Wrap Around:0 ]
A26: Goto [ Type:Action Number Number:2 Label: ] If [ %count < 32 ]
> haven't enabled popup errors yet ... how could it help
The error description could give you a hint of how to fix the issue.
You could also use the 'store errors in' option in the run shell command. Just store them to a global variable then check the variables list after a failure .
>> > I've enabled the option (continue after error) for all runshell actions of the task .
Has that worked so far?
Does it always fail on the first run shell command ? Or exactly which action number does it always fail on?
> There is No failure till now since "Continue after error" option is enabled .
> But i still can't judge except after answering this question " How is the status of this option interpreted in the Run log ?"
> In other words , to get sure of the effectiveness of this option... I need the RunLog to reveal a runshell error after which the task continued ...
The run log will not show this. However the error is easily obtained by my previously mention approach of storing the error in a global variable form the 'store errors in' option in the run shell action.
> Otherwise it may be running fine Not due to the option but - as i mentioned before - the 50 % incidence of success.
> Still observing ... Hope that the problem is in its way to be solved .
>
>
> On Saturday, 28 June 2014 23:18:21 UTC+2, Rich D wrote:
>>
>>
>> > haven't enabled popup errors yet ... how could it help
>>
>> The error description could give you a hint of how to fix the issue.
>>
>> You could also use the 'store errors in' option in the run shell command. Just store them to a global variable then check the variables list after a failure .
>>
>> >> > I've enabled the option (continue after error) for all runshell actions of the task .
>>
>> Has that worked so far?
>>
>> Does it always fail on the first run shell command ? Or exactly which action number does it always fail on?
>
> --
> You received this message because you are subscribed to the Google Groups "Tasker" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tasker.
> For more options, visit https://groups.google.com/d/optout.
> Hope I could know the cause of unexplained Runshell failure.
I have explained how to get the error 2 different ways 3 separate times and so far you have not posted any results. That would be a good place to start if you are looking for the cause of the error.
I've done what you said 2 days ago.... But as I said... Now there are No failures in runlog and no errors in the defined global value... I may try later to redisable "continue after error" to get the previous errors. Thank you for your great help.
> Hope I could know the cause of unexplained Runshell failure.I have explained how to get the error 2 different ways 3 separate times and so far you have not posted any results. That would be a good place to start if you are looking for the cause of the error.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/SqZrUrtqhFY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.