python - Error running google app engine: unrecognized arguments: admin_console_server -
i'm following 'getting started python app engine' tutorial , can't seem connect development server. keep getting following error log console when try running it.
2013-08-23 09:46:43 pm running command: "[u'/usr/bin/python', '/home/mathee/google_appengine/dev_appserver.py', '--admin_console_server=', '--port=8080', '/home/mathee/app']" usage: dev_appserver.py [-h] [--host host] [--port port] [--admin_host admin_host] [--admin_port admin_port] [--auth_domain auth_domain] [--storage_path path] [--log_level {debug,info,warning,critical,error}] [--max_module_instances max_module_instances] [--use_mtime_file_watcher [use_mtime_file_watcher]] [--php_executable_path path] [--php_remote_debugging [php_remote_debugging]] [--python_startup_script python_startup_script] [--python_startup_args python_startup_args] [--blobstore_path blobstore_path] [--mysql_host mysql_host] [--mysql_port mysql_port] [--mysql_user mysql_user] [--mysql_password mysql_password] [--mysql_socket mysql_socket] [--datastore_path datastore_path] [--clear_datastore [clear_datastore]] [--datastore_consistency_policy {consistent,random,time}] [--require_indexes [require_indexes]] [--auto_id_policy {sequential,scattered}] [--logs_path logs_path] [--show_mail_body [show_mail_body]] [--enable_sendmail [enable_sendmail]] [--smtp_host smtp_host] [--smtp_port smtp_port] [--smtp_user smtp_user] [--smtp_password smtp_password] [--prospective_search_path prospective_search_path] [--clear_prospective_search [clear_prospective_search]] [--search_indexes_path search_indexes_path] [--clear_search_indexes [clear_search_indexes]] [--enable_task_running [enable_task_running]] [--allow_skipped_files [allow_skipped_files]] [--api_port api_port] [--automatic_restart [automatic_restart]] [--dev_appserver_log_level {debug,info,warning,critical,error}] [--skip_sdk_update_check [skip_sdk_update_check]] [--default_gcs_bucket_name default_gcs_bucket_name] yaml_files [yaml_files ...] dev_appserver.py: error: unrecognized arguments: --admin_console_server= 2013-08-23 09:46:44 pm (process exited code 2)
i on ubuntu 12.04 running python 2.7.3. have tried downloading , running python 2.7.5 kept getting similar error 1 above, except importerror saying there no module named zlib.
with issue, ran python 2.7.3 terminal , tried importing zlib worked, when tried same python 2.7.5 failed being unable find zlib module.
i've been stuck on issue hours , not find me out.
any appreciated, thanks!
edit: okay, ran development web server through terminal instead of google app engine launcher , worked perfectly.
i guess it's bug in launcher.
the option --admin_console_server=
removed launcher has not been updated remove option.
you can remove yourself. launcher/runtime.py
remove line '--admin_console_server=',
(line 125 of revision 9).
Comments
Post a Comment