GreenplumPython icon indicating copy to clipboard operation
GreenplumPython copied to clipboard

Fix error when `/tmp` is a symlink

Open xuebinsu opened this issue 2 years ago • 2 comments

On macOS, /tmp is a symlink to /private/tmp. When creating the tarball, the symlink will be resolved, making the file paths on server are different from those on client. This results in a FileNotFoundError.

This patch fixes the issue by resolving the local path to the real one if it is a symlink.

xuebinsu avatar Oct 19 '23 01:10 xuebinsu

Is this ready for the next round of review? I saw CI failed.

beeender avatar Oct 23 '23 07:10 beeender

Quote from https://github.com/greenplum-db/GreenplumPython/pull/221#issuecomment-1774611860

Is this ready for the next round of review? I saw CI failed.

Not yet, still fixing. The switch on server is not easy.

xuebinsu avatar Oct 23 '23 07:10 xuebinsu