Fetching by file path fails for symbolic links
synapse show /path/to/file
The test for isFile fails if /path/to/file is a symbolic link. Specifically:
isFile = os.path.isfile(entity) if isinstance(entity, basestring) else False
And hence we get an ugly 500 error from Synapse when we try to get the synId "path/to/file"
Could you try to reproduce this again? I haven't been able to reproduce on Windows or a Mac. This issue may be referring to older code since I cant find a "isFile" variable inside of the get() method anymore.
Was not able to reproduce on Windows. symlinks probably work differently on Windows (not a windows shortcut). I will need to install a linux distro to reproduce.