Re: Troubleshooting wsgi file
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 11, 2022 at 04:59:40PM +0000, Tom Ekberg wrote: > ----- attachment ----- > import sys On what kind of system is this? If Linux you should put a bang-path into the first line, e.g., #!/usr/bin/python3 or whatever the path to your python executable is. It's interesting that you can run the wsgi script by hand, do you call it explicitly with a python interpreter, e.g. python3 /path/to/cgiscript otherwise I would be surprised if it can figure out with which interpreter to run the script? Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected]