python - Run App Engine development server with modules in PyCharm -


since latest release of google app engine python sdk, it's possible use modules. have python application default module , module. start module in development server, development server has run this:

dev_appserver.py app.yaml othermodule.yaml 

when add app.yaml othermodule.yaml "additional options" in run/debug configuration of pycharm , run development server, following error message:

google.appengine.tools.devappserver2.errors.invalidappconfigerror: "." directory , yaml configuration file required

this because pycharm adds dot @ end of command run development server, this:

dev_appserver.py app.yaml othermodule.yaml . 

is possible remove dot, or have wait until fixed in pycharm? before there modules, there no need this.

you can go around time being creating new run configuration. chose python configuration, fill this:

  • script: /path/to/your/dev_appserver.py
  • script parameters: dispatch.yaml module1.yaml module2.yaml
  • working directory: /path/to/your/appengine/project

it works fine me. dispatcher launching , i've got logs before in pycharm.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -