Something went wrong with the attachment in the original post, and I didn't find a way to edit it, so once more the attachment.
Incompatibility import.sty and standalone.sty
Version information: standalone.cls 2015/07/15 v1.2 Class to compile TeX sub-files...
problem with path name when decorating with text along path