【问题标题】:Django : GAE : non rel : maximum recursion depth exceeded in cmpDjango:GAE:non rel:在 cmp 中超出最大递归深度
【发布时间】:2012-11-07 07:51:02
【问题描述】:

我正在使用 GAE 学习 django。教程链接:http://f.souza.cc/2010/08/flying-with-django-on-google-app-engine.html

谁能告诉我原因?为什么会出现此错误?

File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassi
  return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassi
  return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.
  return connection.creation.db_type(self)
RuntimeError: maximum recursion depth exceeded in cmp

如何解决?

【问题讨论】:

  • 如果您从回溯中发布完整的行(不截断为 80 个字符),并且可能再发布几行,诊断问题会更容易。

标签: django google-app-engine django-nonrel


【解决方案1】:

不确定您在哪里下载了源代码,但它们可能已过期。 django-nonrel 现在托管在 github 上。

我没有尝试按照这些说明进行操作,但它们较新:

http://seperohacker.blogspot.ca/2012/04/installing-django-nonrel-easily.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-01
    • 2017-03-24
    • 2011-12-31
    • 2017-08-09
    相关资源
    最近更新 更多