我有一个 ec2 实例,我在其中部署了 django 1.5 和 solr 项目。当我运行以下命令:python manage.py rebuild_index
最初构建索引时,我不断收到以下信息:
WARNING: This will irreparably remove EVERYTHING from your search index.
Your choices after this are to restore from backups or rebuild via the `rebuild_index` command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
All documents removed.
Indexing 561 <django.utils.functional.__proxy__ object at 0x2777550>.
TypeError: Element() keywords must be strings
我每次都收到上述错误。我能够毫无问题地在我的 Mac 上本地部署它。我还需要为 Ubuntu EC2 做些什么吗?