I've tried rebuilding the entire source directory from scratch and there is 
still no difference. What I do notice is that the App Engine Versions list 
claims my source changed from 9.8 MB to 5.3 MB which clearly is wrong when 
all that changed was a few lines of code. I'm starting to suspect this is a 
problem with the Google Cloud Storage staging area again (it's destroyed 
deploys in the past).

On Tuesday, January 12, 2016 at 5:52:04 PM UTC-5, Andreas Blixt wrote:
>
> Today I was deploying a new version with minimal code changes and 
> everything stopped working (starting with appengine_config.py) with the 
> reason "ImportError: No module named roger" where "roger" is the package 
> (directory) containing all the application files. I tried redeploying (with 
> gcloud 
> preview app deploy --no-promote) and the error persists.
>
> Like I said there's been very few changes and none of them should cause 
> this. We have over 100 unit tests with large code coverage that run fine 
> locally, and the dev server also runs everything correctly.
>
> Did something change on Google Cloud recently that could explain this?
>
> Here's the traceback:
>
> Traceback (most recent call last):
>   File 
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py",
>  
> line 240, in Handle
>     handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>   File 
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/lib_config.py",
>  
> line 354, in __getattr__
>     self._update_configs()
>   File 
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/lib_config.py",
>  
> line 290, in _update_configs
>     self._registry.initialize()
>   File 
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/lib_config.py",
>  
> line 165, in initialize
>     import_func(self._modname)
>   File 
> "/base/data/home/apps/s~roger-api/20160112t173640.389939601188018605/appengine_config.py",
>  
> line 21, in <module>
>     from roger import config, report
> ImportError: No module named roger
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bae0b524-c1d8-49b4-aafd-44973a9f5b00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to