Hi,
I'm a recent web faction refugee and trying to get up to speed on Opalstack. I have a single page web app that calls a python script via javascript and returns values via json. On web faction, I ran this on the static php/cgi app config and could debug in the browser. Now on Opalstack I set things up as similarly as possible but can't get python scripts to execute. My frontend works fine; reverse geocoding addresses from google maps but no execution of python scripts when passing variables vis ajax. python 2.7.5 is installed in a virtual envelope. I created a test file sys.stdout and the browser just prints the file, it does not execute it:
#!/usr/bin/env python
import sys
import commands
import os
sys.stderr = sys.stdout
print "Content-Type: text/plain\r\n\r\n"
print "hello"
Any ideas on what's going wrong? This is such a simple design, I don't want to introduce complexities with Django flask wsgi, etc. Am longing for old days at web faction when this worked. Thx in advance, James