KomodoEdit icon indicating copy to clipboard operation
KomodoEdit copied to clipboard

Wrong interpreter in py3_dbgp

Open networks1 opened this issue 4 years ago • 3 comments

Short Summary

In Komodo-PythonRemoteDebugging-12.0.1-91869-linux-x86/py3_dbgp the interpreter is declared as #!/usr/bin/env python whereas it should be #!/usr/bin/env python3

Steps to Reproduce

Open the file

Expected results

py3_dbgp runs

Actual results

/usr/bin/env: ‘python’: No such file or directory

Platform Information

Komodo Edit or IDE? Komodo Version? Operating System (and version)?

Additional Information

networks1 avatar Feb 03 '21 15:02 networks1

@networks1 thanks for reporting. You're not stuck I assume?

th3coop avatar Feb 03 '21 22:02 th3coop

No I fixed, but I discovered all the other py3_* scripts in that package have the same error. Also in the docs, item 2 of the installation section is not python3 syntax. It should be python3 -c "import dbgp.client; print('OK')"

networks1 avatar Feb 04 '21 00:02 networks1

It should be python3 -c "import dbgp.client; print('OK')"

Only if you're on Linux. Windows doesn't suffix the binary with a version number. I don't think the docs need to be updated. People should be able to figure out what Python they have installed, yeah?

The script shebangs are the only bug then I think and shouldn't be an issue any way as those are always called with a binary.

th3coop avatar Feb 04 '21 18:02 th3coop