Unable to import profiles in version 4.4u3m

682 views
Skip to first unread message

Anupe Vincent

unread,
Sep 21, 2014, 2:34:14 AM9/21/14
to tas...@googlegroups.com
I have been trying to get a working GPS toggle enable profile imported to Tasker version 4.4.u3  running on my rooted GT-I9500 having OS vers 4.4.2. The xml files are visible in the profiles folder of Tasker when I view them through a file manger but the Tasker app itself doesnt see them in the import window.


Pent

unread,
Sep 21, 2014, 2:44:50 AM9/21/14
to tas...@googlegroups.com
>4.4.2. The xml files are visible in the profiles folder of Tasker when I view them through a file manger but the Tasker app itself doesnt see them in the >import window.

Perhaps the file manager is looking at a different place.

Try the back button on the profile import window, go back to the root of the filesystem and see what options you have.

Pent

Anupe Vincent

unread,
Oct 22, 2014, 2:58:41 PM10/22/14
to tas...@googlegroups.com
Went right till root but no luck. I had in fact placed copies of the xml files in two locations, but Tasker isn't detecting them through the in- built file browser in the app. All other 3rd party file mangers show the files in those locations, though :(
Could it be that the xml version  is a few months old ( its something written in May 2014) and hence not being detected? Any work around to get Tasker to pick it up?
Thanks!

Pent

unread,
Oct 22, 2014, 3:07:01 PM10/22/14
to tas...@googlegroups.com


Went right till root but no luck. I had in fact placed copies of the xml files in two locations, but Tasker isn't detecting them

Checked the file permissions on the directory ?
 
through the in- built file browser in the app. All other 3rd party file mangers show the files in those locations, though :(
Could it be that the xml version  is a few months old ( its something written in May 2014) and hence not being detected?

No, the file would still show up.

This only seems to happen on Samsung phones, I havn't been able to get to the bottom of it in many cases.

So if you export a profile (XML to SD) and then try to import it again, it's not visible ?

Pent

Jeremy Harris

unread,
Oct 22, 2014, 4:25:39 PM10/22/14
to tas...@googlegroups.com
What is the exact filename as it appears in your phone? I've had to rename files occasionally to get them to appear...usually involves deleting a "-1" suffix or something. Make sure the file ends in ***.prf.xml

SDA2007

unread,
Oct 22, 2014, 9:32:30 PM10/22/14
to tas...@googlegroups.com
Hi,
I just paid and installed version 4.5ulm on Samsung Note2.  I was able to import one profile from Wiki.  However, tasker's IMPORT does not see all the other *.prf.xml files that I downloaded and placed there.  I even exported a file, which it placed in /storage/emulated/o/Tasker/profiles - but when I tried to IMPORT it, there were no files visible in TASKER's IMPORT.

I even tried to place these files elsewhere.  I created a folder called CanYouSeeThis using Windows 7 connecting via USB to my Samsung Note 2 - TASKER's IMPORT was able to see that new folder CanYouSeeThis.  I put files into that folder - it could not find them. 
I tried all different ways to open URL on your wiki and downloading them.  Those did not work.
Maybe it is a permissioning issue.  How do I set permission on those files?
Why was Tasker able to import the first downloaded profile?
Thanks.
David

Scott Miller

unread,
Oct 22, 2014, 9:50:27 PM10/22/14
to tas...@googlegroups.com

@David and anyone else interested:

For starters, make sure you are long pressing on the profile tab at the top to import a profile, and not the project tab at the bottom, which is to import a project. Each view is filtered so that only the correct file type for that import will be visible. If you are doing that correctly, the file also needs to be in the correct folder. Projects go in the projects folder, profiles go in the profile folder, etc. This seems obvious, but the folders don't exist by default. The get created when you export, otherwise they must be created manually. The best way to correctly create the folders is to export one each of project, profile, task and scene. Beginner mode must be off to see the project tabs.

If you are doing that correctly, it's possible the file you are trying import is just too old. Then your only recourse is to manually enter the information directly.

Also, you want to be sure you are using the very latest version of Tasker, as there was a bug fixed recently that prevented some imports from succeeding, but I think you have that covered.

Scott

SDA2007

unread,
Oct 23, 2014, 1:18:13 AM10/23/14
to tas...@googlegroups.com
Wow, that worked.  Thanks a million!

I did not LONG PRESS the Profile tab.  This is VERY UN-intuitive.  What I did was press PROFILES tab, then press the home button at the bottom of the screen to select IMPORT. Can the developers please rename the word "IMPORT" to "IMPORT PROJECTS".  Give another option for "IMPORT PROFILES". 
I am able to see the xml file.  I LONG press on that xml file.  It brings me back to home screen with this warning:
Error: The import contains more than one profile.

I am not sure what to do now. 
I downloaded this:

http://tasker.wikidot.com/alwaysringonimportantcontact

I'll try to import other profiles to see if I have better luck.

Thanks a million!

SDA2007

unread,
Oct 23, 2014, 1:50:58 AM10/23/14
to tas...@googlegroups.com
Hmm, what is weird is that some xml files are still not displaying, just like before.
However, the xml file that I exported can be imported with no problems.
I'll try to download more profiles files now.
Thanks.
David

Scott Miller

unread,
Oct 23, 2014, 5:32:02 AM10/23/14
to tas...@googlegroups.com

If it contains more than one profile, it's likely to be a project file, and has the wrong file extension. Make sure it is prj.xml and not prf.xml and place it in the projects folder. Then long press the home project tab and select import. I'm not sure if you need to create a new project first or if the import will create it for you.

Scott

Scott Miller

unread,
Oct 23, 2014, 5:39:54 AM10/23/14
to tas...@googlegroups.com

Projects must end in .prj.xml
Profiles must end in .prf.xml
Tasks must end in .tsk.xml
Scenes must end in .scn.xml

They must be in the correct folder to import successfully. If they don't end as above, but simply as .xml, they are from an older Tasker version and need to be renamed before they can be imported.

Scott

SDA2007

unread,
Oct 24, 2014, 1:51:43 AM10/24/14
to tas...@googlegroups.com
Thanks for such prompt reply.  Is this all documented somewhere?  I wish someone who change the file names so that they are end with the suffix you listed.
I am still having problem.  I get an error message.

Here are my steps:
1) I download AlwaysRingForFriend.xml from:
http://tasker.wikidot.com/alwaysringonimportantcontact
2) I rename it as AlwaysRingForFriend.prf.xml
3) I tried to import it as a profile.  Tasker complains that it has too many profiles
4) I rename it as AlwaysRingForFriend.prj.xml
5) When I try to import it as a project I get this error:
Error: import of AlwaysRingForFriend.prj.xml failed.  No %1$s found
What should I do now?
Thanks.

Scott Miller

unread,
Oct 24, 2014, 9:01:21 AM10/24/14
to tas...@googlegroups.com

As I said earlier, some projects on the wiki are from a version of Tasker that's too old, and won't import.You will need to enter it manually. You get a bonus this way, though. You learn more about Tasker.

As for the documentation, it is in there, but it has also been discussed extensively here in the forum. Searching for it should turn up a lot of information.

Good luck.

Scott

SDA2007

unread,
Oct 24, 2014, 12:37:18 PM10/24/14
to tas...@googlegroups.com
Thanks!! I'm a financial software/ unix/ windows programmer, so I can handle some programming <grin>
Here's the script I found at
http://tasker.wikidot.com/alwaysringonimportantcontact

It looks like a script.  Where can I find documentation that teaches me how to import it into Tasker?
I don't even know what this script is called - Tasker script?

Profile "Ring when XX calls"
Context
State: Incoming Call
Caller = XX (push the magnifying glass icon to search for a contact to insert)
First task "Play Ringtone"
1. If %VOLR < 5
2. Media Volume = 14
3. Music Play, File = media/audio/ringtones/myringtone.mp3
4. End If
Second task "Music Stop" as Exit Task
1. Music Stop

Profile "Turn Off Music On Offhook"
Context
Event: Phone Offhook
First task "Music Stop"

Marta Hintz

unread,
Oct 25, 2014, 12:53:50 PM10/25/14
to tas...@googlegroups.com
If you can't figure out how to enter a basic description team, them suggest you stay with some basic tutorials on line. They explain the layout of tasker and basic info to get you started. With your programming experience you should be good. The online help or the d/login help info helps with the individual actions. Google for Ryoen or Hollywood Frodo, as they both have good tutorials.
Reply all
Reply to author
Forward
0 new messages