If you search for the “Class FIFinderSyncExtensionHost is implemented in both” issue on the net you'll find a bunch of references to it - basically this is an Apple issue, and the result is that when running an AppleScript, the system is pointlessly complaining about this issue, and that complaint is being returned from this action:
The solution here is to turn off the option to include errors in the gear menu for that action. Well, the solution is for Apple not to pollute the world with their errors, and to fix the errors like this when they happen, but that is somewhat beyond out control.
2018-04-02 20:31:09 Read File action failed because source is not a full path objc[15833]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffad677b68) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x10e4f5cd8). One of the two will be used. Which one is undefined.
/Users/as/Downloads/111 copy 2.txt In macro “[FILE] Process Lines in Text File” (while executing Read File to Variable “myLines”).
I think that is the same error, and has the same fix as above.
Please make sure the "Include Errors" option in the Gear menu is UNCHECKED in the "SCRIPT: Get Last Error Made to KM Log [JXA]" Action:
Sorry to bump this old conversation, but I am utilizing the 'Process Lines in Text File' macro from @JMichaelTX and I have a question about it. Is there a way to have a text file live on the desktop and execute the macro without being asked every time which text file to use. For example, In the third action 'Read File to Variable 'myLines' I clicked the folder icon and navigated to the text file on the desktop. I was hoping I could then run the macro without being asked where that file is again.