python - CentOS 为什么 Google Apps Engine 不工作?即使应用了修复中提到的最后一个补丁

标签 python google-app-engine centos rhel centos6

Google Apps Engine 在我的 CentOS 中运行,没有进行任何更改,但从昨天开始突然停止工作。然后我跟着谷歌应用引擎的补丁,但它仍然没有启动。如何解决?

[root@ip-10-59-143-73 tmp]# uname -a
Linux ip-10-59-143-73 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

根据补丁:

http://code.google.com/p/nose-gae/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Stars%20Milestone%20Owner%20Summary&groupby=&sort=&id=61

http://code.google.com/p/googleappengine/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log&groupby=&sort=&id=8459

第 56/57 行已更改,与补丁一样,但仍然存在问题:
 55   py_file = __file__.replace('.pyc', '.py')
 56   #dir_paths = [os.path.abspath(os.path.dirname(os.path.realpath(py_file))),
 57   #             os.path.abspath(os.path.dirname(py_file))]
 58   uncompiled_file = __file__.rstrip("c") if __file__.endswith("pyc") else __file__
 59   dir_paths = [os.path.abspath(os.path.dirname(os.path.realpath(uncompiled_file))),
 60                os.path.abspath(os.path.dirname(uncompiled_file))]
 61   for dir_path in dir_paths:
 62     sibling_path = os.path.join(dir_path, sibling)
 63     if os.path.exists(sibling_path):

补丁没有帮助:
[root@ip-10-59-143-73 tmp]# Traceback (most recent call last):
  File "/var/tmp/google_appengine/dev_appserver.py", line 76, in <module>
    _DIR_PATH = _get_dir_path(os.path.join('lib', 'ipaddr'))
  File "/var/tmp/google_appengine/dev_appserver.py", line 66, in _get_dir_path
    'file and %s.' % sibling)
ValueError: Could not determine directory that contains both, this file and lib/ipaddr.

编辑:问题

https://code.google.com/p/googleappengine/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log&groupby=&sort=&id=9176

最佳答案

关于python - CentOS 为什么 Google Apps Engine 不工作?即使应用了修复中提到的最后一个补丁,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17396171/

相关文章:

python - 如何用python循环一个范围

python - Pandas DataFrame 转置索引和列

java - Oauth : Where to get userId for AuthorizationCodeFlow . createAndStoreCredential?

linux - centos 7 发行版的理想 puppet 存储库

Cassandra 在 Centos 上的表现不佳

python - 在不知道键/值的情况下对字典列表进行排序

python - 如何用 Python 2.6 和 minidom 添加 xml-stylesheet 处理指令节点?

java - GAE : Slow Load Time 上的 Spring MVC

java - 应用程序引擎电子邮件。它说已发送但我没有收到

apache - 更改 httpd 位置文件