2013-02-28 6 views
0

나는 ec2 인스턴스에서 django 1.5 및 solr 프로젝트를 배포했습니다. 나는 다음과 같은 명령을 실행하면 : 처음에 인덱스를 작성하는 python manage.py rebuild_index을, 나는 다음과 점점 계속 :solr 색인 문제가 EC2

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에 로컬로 배포 할 수있었습니다. 우분투 EC2에서해야 할 일이 있습니까? 당신은 우분투를 제거하려고한다

답변

1

은 당신이 설치되어 대신 주사위를 사용하여 설치하는 경우 파이썬 LXML을 제공 :

sudo dpkg --purge python-lxml 
sudo pip install lxml 

그런 다음 다시 실행 rebuild_index 내가 한 사실은 무엇

+0

. 문제를 해결 한 후 질문을 업데이트하지 않았습니다. – KVISH