Failed to execute broadcast task

1,219 views
Skip to first unread message

Niki

unread,
Mar 2, 2014, 8:03:54 PM3/2/14
to tas...@googlegroups.com
Hi,

I am playing around with "Tasker URL Launcher" to execute tasks via "tasker://TaskName".
This worked yesterday.

Today (I de/re-installed the app in the meantime) it doesn't work any more and I get the following error:

Broadcast error
Failed to execute broadcast task

There is no entry in the run log.

Any ideas what could be the problem?

Pent

unread,
Mar 3, 2014, 2:43:20 AM3/3/14
to tas...@googlegroups.com
Allow External Apps must be enabled. Also Android has a permissions bug, the other app
has to be installed after Tasker. The named task also has to exist.

The precise error will be logged and should give some idea what the problem is.

Pent

Niki

unread,
Mar 3, 2014, 5:42:58 PM3/3/14
to tas...@googlegroups.com
Thanks!

"Allow External Apps" is of course anabled. Also the other app (Tasker URL Launcher) was installed after Tasker.
Also, there exists a task called "@NfcTest".
And on the tag, there is the URL tasker://@NfcTest

This is the logcat from the point where I place the NFC tag on the phone and tap on the URL:

D/ALSADevice( 1132): route: devices 0x2 in mode 0
D/ALSADevice( 1132): No valid input device: 0
D/alsa_ucm( 1132): snd_use_case_set(): uc_mgr 0xb8a389b8 identifier _enadev value Speaker
D/ALSADevice( 1132): switchDevice: mCurTxUCMDevivce DMIC Endfire mCurRxDevDevice Speaker
I/ALSADevice( 1132): a2220: txDevice=(null) rxDevice=Speaker
D/alsa_ucm( 1132): snd_use_case_set(): uc_mgr 0xb8a389b8 identifier _verb value HiFi
D/alsa_ucm( 1132): Set mixer controls for Speaker enable 1
D/alsa_ucm( 1132): acdb_id 15 cap 1 enable 1
D/ACDB-LOADER( 1132): ACDB -> send_audio_cal, acdb_id = 15, path =  0
D/ACDB-LOADER( 1132): ACDB -> send_adm_topology
D/ACDB-LOADER( 1132): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 1132): ACDB -> send_audtable
D/ACDB-LOADER( 1132): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 1132): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 1132): ACDB -> send_audvoltable
D/ACDB-LOADER( 1132): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
D/ACDB-LOADER( 1132): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 1132): ACDB -> send_afe_cal
D/ACDB-LOADER( 1132): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
E/ACDB-LOADER( 1132): Error: ACDB AFE returned = -8
D/ACDB-LOADER( 1132): ACDB -> AUDIO_SET_AFE_CAL
D/alsa_ucm( 1132): Setting mixer control: PRI_RX Channels, value: Two
D/alsa_ucm( 1132): Setting mixer control: RX5 MIX1 INP1, value: RX1
D/alsa_ucm( 1132): Setting mixer control: RX5 MIX1 INP2, value: RX2
D/alsa_ucm( 1132): Setting mixer control: RX6 DSM MUX, value: DSM_INV
D/alsa_ucm( 1132): Setting mixer control: LINEOUT2 Volume, value: 100
D/alsa_ucm( 1132): Setting mixer control: LINEOUT4 Volume, value: 100
D/alsa_ucm( 1132): Setting mixer control: RX5 Digital Volume, value: 65
D/alsa_ucm( 1132): Set mixer controls for HiFi enable 1
D/alsa_ucm( 1132): Setting mixer control: PRI_RX Audio Mixer MultiMedia1, value: 1
D/ALSADevice( 1132): close: handle 0xb8a8b2a8 h 0x0
D/ALSADevice( 1132): open: handle 0xb8a8b2a8, format 0x2
D/ALSADevice( 1132): Device value returned is hw:0,0
D/ALSADevice( 1132): handle->format: 0x2
D/ALSADevice( 1132): setHardwareParams: reqBuffSize 2048 channels 2 sampleRate 48000
D/ALSADevice( 1132): setHardwareParams: buffer_size 16384, period_size 2048, period_cnt 8
D/NfcDispatcher(16986): dispatch tag: TAG: Tech [android.nfc.tech.IsoDep, android.nfc.tech.NfcA, android.nfc.tech.Ndef] message: NdefMessage [NdefRecord tnf=1 type=55 payload=007461736B65723A2F2F404E666354657374]
D/NfcHandover(16986): tryHandover(): NdefMessage [NdefRecord tnf=1 type=55 payload=007461736B65723A2F2F404E666354657374]
I/ActivityManager(16694): START u0 {flg=0x10008000 cmp=com.android.nfc/.NfcRootActivity (has extras)} from pid 16986
I/NfcDispatcher(16986): matched multiple TECH
I/ActivityManager(16694): START u0 {cmp=com.android.nfc/.TechListChooserActivity (has extras)} from pid 16986
I/ActivityManager(16694): Displayed com.android.nfc/.TechListChooserActivity: +216ms (total +239ms)
E/MP-Decision( 1042): UP Ld:82 Nw:1.990000 Tw:140 rq:2.900000 seq:147.000000
E/MP-Decision( 1042): DOWN Ld:42 Ns:1.100000 Ts:190 rq:0.000000 seq:206.000000
D/NativeNfcTag(16986): Tag lost, restarting polling loop
E/Sensors (16694): accelHandler 0.467029 4.615202 8.216114
I/ActivityManager(16694): START u0 {act=android.nfc.action.TECH_DISCOVERED flg=0x3000000 cmp=com.android.apps.tag/.TagViewer (has extras)} from pid 16986
E/MP-Decision( 1042): UP Ld:65 Nw:1.990000 Tw:140 rq:4.500000 seq:147.000000
I/ActivityManager(16694): Displayed com.android.apps.tag/.TagViewer: +125ms
E/MP-Decision( 1042): DOWN Ld:31 Ns:1.100000 Ts:190 rq:0.000000 seq:256.000000
I/ActivityManager(16694): START u0 {act=android.intent.action.VIEW dat=tasker://@NfcTest cmp=com.aledthomas.taskerurllauncher/.main} from pid 22319
E/MP-Decision( 1042): UP Ld:62 Nw:1.990000 Tw:140 rq:4.400000 seq:146.000000
E/Tasker  (17576): 14.37.12#BroadcastDecode: error: no valid actions found
E/Sensors (16694): accelHandler -0.825084 4.476292 8.068821
D/dalvikvm(22319): JIT code cache reset in 0 ms (4096 bytes 2/0)
E/MP-Decision( 1042): DOWN Ld:3 Ns:1.100000 Ts:190 rq:0.000000 seq:208.000000
D/ALSADevice( 1132): standby: handle 0xb8a8b2a8 h 0x0
D/alsa_ucm( 1132): snd_use_case_set(): uc_mgr 0xb8a389b8 identifier _verb value Inactive
D/alsa_ucm( 1132): Set mixer controls for HiFi enable 0
D/alsa_ucm( 1132): Setting mixer control: PRI_RX Audio Mixer MultiMedia1, value: 0
D/alsa_ucm( 1132): snd_use_case_set(): uc_mgr 0xb8a389b8 identifier _disdev value DMIC Endfire
D/alsa_ucm( 1132): disdev: device DMIC Endfire not enabled, no need to disable
D/alsa_ucm( 1132): snd_use_case_set(): uc_mgr 0xb8a389b8 identifier _disdev value Speaker
D/alsa_ucm( 1132): Set mixer controls for Speaker enable 0
D/alsa_ucm( 1132): Setting mixer control: RX5 MIX1 INP1, value: ZERO
D/alsa_ucm( 1132): Setting mixer control: RX5 MIX1 INP2, value: ZERO
D/alsa_ucm( 1132): Setting mixer control: LINEOUT2 Volume, value: 0
D/alsa_ucm( 1132): Setting mixer control: LINEOUT4 Volume, value: 0
D/alsa_ucm( 1132): Setting mixer control: RX5 Digital Volume, value: 0
D/AudioUsbALSA( 1132): exitPlaybackThread, mproxypfdPlayback: -1
D/AudioUsbALSA( 1132): closeDevice handle 0x0
D/AudioUsbALSA( 1132): closeDevice handle 0x0
E/Sensors (16694): accelHandler -0.482596 4.097878 8.212522
E/Sensors (16694): accelHandler -0.391586 4.093088 8.319100


This suggests that there is no task @NfcTest? But, as I said, there definitely is ...

Thanks
Niki

Matt R

unread,
Mar 3, 2014, 6:42:42 PM3/3/14
to tas...@googlegroups.com
Try removing the "@".

Matt

Niki

unread,
Mar 3, 2014, 8:03:09 PM3/3/14
to tas...@googlegroups.com
Bingo!
Indeed. That's weird.
I am also pretty sure it worked already with the '@' sign ...

Thanks!
Reply all
Reply to author
Forward
0 new messages