GeezerVison is showing github.com — Multiple services example for flexible environment · Issue #499 · GoogleCloudPlatform/python-docs-samples
Multiple services example for flexible environment #499Labels 🚨This issue needs some love.triage meI really want to be triaged. DescriptionYou should have one. It would have made my deployment a lot easier. I will be happy to make a PR if it is something that you want to add. Activitytheacodes commented on Sep 6, 2016 Sounds like a great idea. It seems like I'd like to schedule this as something to do before App Engine flex goes GA. 👍 travisoneill commented on Sep 8, 2016 ContributorAuthor More actions Opened up a PR. I included Express servers in the architecture as well so it could be useful as an example of how to deploy multiple runtimes in one repo as well too. Would you like me to keep that structure or use Python only since this is the Python docs repo? theacodes commented on Sep 8, 2016 I think it would be best to stick to Python as we're not setup to appropriately test node.js in this repo. travisoneill commented on Sep 8, 2016 ContributorAuthor More actions travisoneill commented on Sep 8, 2016 ContributorAuthor More actions Also, is there a repo for the code that handles python in the Google Cloud Shell? You guys have some missing parens on print calls that throw syntax errors (but no lost functionality) on almost every line when running in a python 3 virtual environment. theacodes commented on Sep 8, 2016 Do you have a stacktrace? I can hand it off to the appropriate team. travisoneill commented on Sep 8, 2016 ContributorAuthor More actions Coming from stdin. not sure how to trace deeper but clear what the error is:
Welcome to Cloud Shell! Type "help" to get started.
travis_h_oneill@algorithm-arena:~$ cd ~/src/algorithm-arena/default
travis_h_oneill@algorithm-arena:~/src/algorithm-arena/default$ cd flask
travis_h_oneill@algorithm-arena:~/src/algorithm-arena/default/flask$ source evv/bin/activate
-bash: evv/bin/activate: No such file or directory
travis_h_oneill@algorithm-arena:~/src/algorithm-arena/default/flask$ source env/bin/activate
File "<stdin>", line 7
print config.get('core', 'project')
^
SyntaxError: invalid syntax
(env) travis_h_oneill@cloudshell:~/src/algorithm-arena/default/flask$ echo 'hi'
hi
File "<stdin>", line 7
print config.get('core', 'project')
^
SyntaxError: invalid syntax
(env) travis_h_oneill@cloudshell:~/src/algorithm-arena/default/flask$ echo 'python'
python
File "<stdin>", line 7
print config.get('core', 'project')
^
SyntaxError: invalid syntax
(env) travis_h_oneill@cloudshell:~/src/algorithm-arena/default/flask$theacodes commented on Sep 9, 2016 that is really strange. Happens with any Python 3 virtualenv? jerjou commented on Sep 9, 2016 theacodes commented on Sep 9, 2016 @jerjou nice! I didn't even know that repo existed. Seems weird that it's on Google and not GoogleCloudPlatform. travisoneill commented on Sep 12, 2016 ContributorAuthor More actions Thats great! I was stumped after searching the entire GCP repo for that one line of code and never getting a hit. travisoneill commented on Sep 14, 2016 ContributorAuthor More actions @jonparrott Switched over to all Python (w/ a few lines of JS on the front) and pushed. Please let me know if you would like me to make any changes.
MetadataMetadata🚨This issue needs some love.triage meI really want to be triaged. DevelopmentNo branches or pull requestsIssue actions
|