91
SlickEdit® / Python error with network drive.
« Last post by link on July 20, 2022, 02:42:27 am »I have an odd error when I open a Python file that starts with a '#!/usr/bin/python3' on a network mapped drive using sshfs-win:
The output window spams the same line every few seconds (during which time SE is unresponsive):
I'm using SlickEdit v26.0.3.1 64-bit for Windows. It stops spamming the error and freezing once I close the file. If I open the same file copied to the local C: drive, there's no problem. There's also no problem if the file starts with: '#!/usr/bin/python', but if I change it to e.g. '#!/usr/bin/env python', it starts trying to run /usr/bin/env --version instead. Very strange. Any idea what is causing this and how to stop it?
Code: [Select]
Bad return code from /usr/bin/python3: -2024 See Output window for details.
The output window spams the same line every few seconds (during which time SE is unresponsive):
Code: [Select]
EXEC /usr/bin/python3 --version
I'm using SlickEdit v26.0.3.1 64-bit for Windows. It stops spamming the error and freezing once I close the file. If I open the same file copied to the local C: drive, there's no problem. There's also no problem if the file starts with: '#!/usr/bin/python', but if I change it to e.g. '#!/usr/bin/env python', it starts trying to run /usr/bin/env --version instead. Very strange. Any idea what is causing this and how to stop it?