在Google App Engine中使用django-nonrel时manage.py出现AttributeError异常消息

7 投票
2 回答
673 浏览
提问于 2025-04-17 06:13

我正在使用Python 2.7和django-nonrel来在Google应用引擎上运行Django项目。我使用的是Google应用引擎SDK的1.6版本。我运行了python manage.py syncdb或者python manage.py deploy。当命令执行完毕后,我收到了以下信息:

Exception AttributeError: "'NoneType' object has no attribute 'mkstemp'" in <bound method DatastoreFileStub.__del__ of <google.appengine.api.datastore_file_stub.DatastoreFileStub object at 0x8a2422c>> ignored

我为什么会收到这个信息,有没有办法解决这个问题呢?

2 个回答

2

这个问题已经被报告过了。

可以看看这个链接

显然,这个问题并不会导致什么严重的后果。

正如你所看到的,答案是:

“别担心,忽略它就好了。”

1

GAE 1.6.0对我也不管用,1.5.2可以。

撰写回答