Comments (1)
As far as I can tell, to fix this, you have to call testbed.activate before wrap_wsgi_app.
wrap_wsgi_app creates a copy of the os.envrion that will not (and, as is, can not) be patched by the testbed, so the testbed has to be activated first, so that environment is set up before wrap_wsgi_app copies it.
I wrote an analysis of this issue I encountered here.
#54 (comment)
from appengine-python-standard.
Related Issues (20)
- NDB_PY2_UNPICKLE_COMPAT?
- `StringProperty` value of `StructuredProperty` is coerced to `bytes` during `choices` validation → BadValueError
- Elevated latency, instance count and new errors/warnings compared to Python 2 runtime HOT 12
- ndb.PickleProperty UnicodeDecodeError: 'ascii' codec can't decode byte with NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL HOT 5
- NDB transaction() read_only property does not work HOT 1
- Is this project actively maintained? Also officially/community? HOT 3
- `cgi` module is deprecated
- AttributeError: 'DefaultApiStub' object has no attribute 'CancelApiCalls'
- Allow using urllib3 v2+
- ecotrix.inc
- Django: Attempted RPC call without active security ticket HOT 1
- Plans for future remote_api support? HOT 5
- NDB projection queries broken when using the datastore v3 stub HOT 5
- [email protected] HOT 1
- UnicodeDecodeError when reading Python 2 objects from memcache HOT 5
- ndb.key.urlsafe() should return a string not bytes HOT 4
- BlobstoreUploadHandler doesn't handle empty form fields correctly HOT 2
- Polymodel instances' `class_` attribute should contain a list of `str` objects on creation HOT 3
- GenericProperty (and therefore Expando) changes str values to bytes (sometimes) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appengine-python-standard.