Google App Engine 1.9.17 - removed old dev_appserver

January 13, 2015 - IT

If someone hasn’t switched yet to a new dev_appserver then since App Engine version 1.9.17 he can see errors like:

ImportError: No module named dev_appserver


ImportError: No module named old_dev_appserver

It happened because Google removed old dev_appserver and we should switch to a new one. In my case I've changed:

import os

  from import ReadAppConfig
except ImportError:
  from import ReadAppConfig

config = ReadAppConfig(os.path.join(APP_PATH, 'app.yaml'))
os.environ['APPLICATION_ID'] = config.application


import os

from import application_configuration

config = application_configuration.ApplicationConfiguration(
    [os.path.join(APP_PATH, 'app.yaml')]
os.environ['APPLICATION_ID'] = config.app_id