This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
This is probably happening because you are trying to install it to a folder that is within a folder already on the Macro 'watch list' you configured in user settings. Try pointing to a folder not within one already on that list
I have a folder for macros my team creates. I wanted to use the user settings option so they appear in their own category on the interface. I followed the instructions and got the same error. You suggest it is because the folder is already in the "watch list" configured in user settings but that is the very thing I am trying to do....So I think you misspoke or I am blind to see any other place to define a watch list in user settings.
I got some help from Jeff Franklin at Alteryx Support. We could not sort it out at first but I asked for the location of the config files where Alteryx looks to store/verify the path. Alter he provided the location I inspected the files and saw how they were being used.
The basics are that the path you provide in the "Add Search Path for Macros" cannot be an upper level qualification of a path already stored in the reference directory. I had installed the CREW macros previously and had stored them in a subfolder of the path I was trying to add. When adding a new macro library in that folder structure the new location must be at the same or lower level as the paths already referred to.
So if you have already defined a path like this
Then you can't define a subsequent macro path like this
And these config files with these paths are created through installing macro packages like CREW macros and through entries through the User Settings feature per this discussion and the ones created by installing macro packages won't show up in User Settings list. So this is a big reason people get stuck on this error, you can't see all path definitions from User Settings.
I'm having this issue as well, but haven't been able to figure out the workaround. I don't have any other macro locations specified in this environment and I have the locations I am trying to map successfully done in another environment. Any clarity around the root cause and resolution of this error would be helpful.
Go inspect the *.ini files in the ProgramData path in my prior post, in the pics. If the path you want to add is above or below a path in an ini file that is the problem. It can be a different folder on a shared parent folder level but not a parent...maybe you can do a child to an existing one but I don’t recall experimenting for that when my issue was going up a level as I recall
@fharper Thank you for posting the solution. I am experiencing the same error, but I cannot figure out why I am getting it. I am understanding from your post that the new path cannot be a parent or child of an existing path reference (like CREW macros that have already been installed). Did I misunderstand? Mine are at the same level:
C:\Users\zazil-toma\AppData\Roaming\Alteryx\Tools\Alteryx Server Usage