Created
November 15, 2012 21:03
-
-
Save sethwoodworth/4081245 to your computer and use it in GitHub Desktop.
haystack error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www.finalsclub.org:/var/www/beta [master*] $ ./manage.py update_index | |
Indexing 12 schools. | |
ERROR:pysolr:[Reason: None] | |
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /><title>Error 400 ERROR: [doc=notes.school.1] unknown field 'name'</title></head><body><h2>HTTP ERROR 400</h2><p>Problem accessing /solr/update/. Reason:<pre> ERROR: [doc=notes.school.1] unknown field 'name'</pre></p><hr /><i><small>Powered by Jetty://</small></i> </body></html> | |
Failed to add documents to Solr: [Reason: None] | |
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /><title>Error 400 ERROR: [doc=notes.school.1] unknown field 'name'</title></head><body><h2>HTTP ERROR 400</h2><p>Problem accessing /solr/update/. Reason:<pre> ERROR: [doc=notes.school.1] unknown field 'name'</pre></p><hr /><i><small>Powered by Jetty://</small></i> </body></html> | |
ERROR:haystack:Failed to add documents to Solr: [Reason: None] | |
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /><title>Error 400 ERROR: [doc=notes.school.1] unknown field 'name'</title></head><body><h2>HTTP ERROR 400</h2><p>Problem accessing /solr/update/. Reason:<pre> ERROR: [doc=notes.school.1] unknown field 'name'</pre></p><hr /><i><small>Powered by Jetty://</small></i> </body></html> | |
Indexing 60 courses. | |
Traceback (most recent call last): | |
File "./manage.py", line 24, in <module> | |
execute_from_command_line(sys.argv) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/management/commands/update_index.py", line 193, in handle | |
return super(Command, self).handle(*apps, **options) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 304, in handle | |
app_output = self.handle_app(app, **options) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/management/commands/update_index.py", line 229, in handle_app | |
do_update(index, qs, start, end, total, self.verbosity) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/management/commands/update_index.py", line 109, in do_update | |
index.backend.update(index, current_qs) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/backends/solr_backend.py", line 56, in update | |
docs.append(index.full_prepare(obj)) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/indexes.py", line 156, in full_prepare | |
self.prepared_data = self.prepare(obj) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/indexes.py", line 146, in prepare | |
self.prepared_data[field.index_fieldname] = field.prepare(obj) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/fields.py", line 186, in prepare | |
return self.convert(super(IntegerField, self).prepare(obj)) | |
File "/usr/local/lib/python2.7/dist-packages/haystack/fields.py", line 192, in convert | |
return int(value) | |
ValueError: invalid literal for int() with base 10: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment