SAE Local Environment error [python][dictionary Update sequence element #0 have length 1; 2 is required]

Source: Internet
Author: User

When building the SAE Python environment locally, the following error is always reported:

1F:\workspace\dev\python\frikyskice\1>dev_server.py2 Traceback (most recent):3File"C:\Python27\Scripts\dev_server.py", line 205,inch<module>4 Main (options)5File"C:\Python27\Scripts\dev_server.py", line 165,inchMain6Options.__dict__. Update (CONF)7Valueerror:dictionary Update Sequence Element#0 have length 1; 2 is required

Looking for a long time did not find out exactly where the wrong side, accidentally found to be Config.yaml file problems

Name:frikyskiceversion:1

The key is to need a space after the colon, increase the sky after the problem solved.

An error that can be easily encountered when initial contact

1 f:\workspace\dev\python\frikyskice\1>dev_server.py

2 error:not An Apps directory (or any of the parent directories)

The cause of the error is that there is no Config.yaml under the folder

Write a file yourself in Notepad

SAE Local Environment error [python][dictionary Update sequence element #0 have length 1; 2 is required]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.