Solution to Archlinuxgoagent wall-over Problem

Source: Internet
Author: User

Solution to Archlinuxgoagent wall-over Problem

Sudo python2/usr/share/go Argentina/server/uploader. py
Problem 1:
Traceback (most recent call last): File "/usr/share/go Argentina/server/uploader. py", line 28, in <module> import fancy_urllibImportError: No module named fancy_urllib

Follow the steps below in Go Argentina 3.2.0 upload server errors:

Install the google-appengine-python package in the python2-webob and archlinuxcn (or AUR) # cd/usr/share/goagent/server # sudo env PYTHONPATH = "$ PYTHONPATH: /opt/google-appengine-python/lib/fancy_urllib:/opt/google-appengine-python/lib/antl3:/opt/google-appengine-python "python2 uploader. py problem 2:
Traceback (most recent call last):  File "uploader.py", line 56, in <module>    from google.appengine.tools import appengine_rpc, appcfg  File "/opt/google-appengine-python/google/appengine/tools/appcfg.py", line 57, in <module>    import yamlImportError: No module named yaml

Solution:

sudo pacman -S python2-yaml
Problem 3
Traceback (most recent call last):  File "uploader.py", line 56, in <module>    from google.appengine.tools import appengine_rpc, appcfg  File "/opt/google-appengine-python/google/appengine/tools/appcfg.py", line 66, in <module>    from google.appengine.api import dosinfo  File "/opt/google-appengine-python/google/appengine/api/dosinfo.py", line 35, in <module>    import ipaddrImportError: No module named ipaddr

Solution:

sudo pacman -S python2-ipaddr
Reflection

Finally, the problem I, II, III, IV can all be seen from the error. Every time python finds a package in the lib of google_appengine, it cannot be found, so you need to add it in python or google_appengine of the system, so follow this idea and find the URL:
Http://mjoko1985.sakura.ne.jp/python/module/google_appengine/lib/
Comparing the source code directories on the website, you will find that the four packages ipaddr, webob, fancy_urllib, and yaml In the lib directory of google_appengine you downloaded are missing, this corresponds to the first four problems, so you don't need to install easy_install. You just need to download the four packages (including internal ones) and put them into the local google_appengine/lib according to the same directory. Then, execute the final python upload statement to complete the process.

Question 4

Uploading

Error: Machine system clock is incorrect. error401: begin server output Must authenticate first end server output "Prompt!

Solution: After logging on to https://www.google.com/settings/account, set insecure access permissions to allow in the page configuration.

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.