Skip to content Skip to sidebar Skip to footer

Error Running Google App Engine: Unrecognized Arguments: Admin_console_server

I'm following the 'Getting Started with Python App Engine' tutorial and I can't seem to connect to the development server. I keep getting the following error from the log console w

Solution 1:

The option --admin_console_server= was removed but the launcher has not been updated to remove this option.

You can remove it yourself. From launcher/runtime.py remove the line '--admin_console_server=', (line 125 as of revision 9).


Solution 2:

unrecognized arguments: --admin_console_server=

there is no option --admin_console_server=.
you might want to change your dev_appserver.py flags to the ones listed in the error message


Solution 3:

This was solved for my by following the advice by Michael above, only to cause another error outlined here: 27463779: Unexpected keyword argument “context” when using appcfy.py

For that, the solution by dick_claus is the one I would recommend, this points to the following link: Google Engine Issue 11536: SDK is incompatible with python 2.7.9

Finally, it is possible to run the GoogleAppEngineLaunch.py script on a machine with python3 as default, by installing python2, and running with:

python2 GoogleAppEngineLaunch.py

For archlinux the package is python2 (for all subsidiary packages use python2-[name-of-subsidiary-package]).

However, you may have a conflict with wxpython, and for this I would try deleting/commenting out the lines that check for the version of wxpython. For me it was lines 28-33 that read.

REQUIRED_WX_VERSION = (2,8)
CURRENT_WX_VERSION = wx.VERSION[:2]
if CURRENT_WX_VERSION != REQUIRED_WX_VERSION:
    print >>sys.stderr, ('wxPython version incorrect; is %d.%d, must be %d.%d' % \
        (CURRENT_WX_VERSION + REQUIRED_WX_VERSION))
sys.exit(2)

If this helps, then please upvote dick_claus through the linked solution and Michael above as they gave the original solutions. However, I need Karma too, so...


Post a Comment for "Error Running Google App Engine: Unrecognized Arguments: Admin_console_server"