Created
November 12, 2014 20:57
Revisions
-
oxbits created this gist
Nov 12, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ heroku run python manage.py buildwatson Running `python manage.py buildwatson` attached to terminal... up, run.3260 ** [Bugsnag] No API key configured, couldn't notify Traceback (most recent call last): File "manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute output = self.handle(*args, **options) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/transaction.py", line 454, in inner return func(*args, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 117, in handle refreshed_model_count += rebuild_index_for_model(model, engine_slug, verbosity) File "/app/.heroku/python/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 50, in rebuild_index_for_model _bulk_save_search_entries(iter_search_entries()) File "/app/.heroku/python/lib/python2.7/site-packages/watson/registration.py", line 172, in _bulk_save_search_entries search_entry_batch = list(islice(search_entries, 0, batch_size)) File "/app/.heroku/python/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 35, in iter_search_entries for search_entry in search_engine_._update_obj_index_iter(obj): File "/app/.heroku/python/lib/python2.7/site-packages/watson/registration.py", line 448, in _update_obj_index_iter update_count = search_entries.update(**search_entry_data) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py", line 583, in update rows = query.get_compiler(self.db).execute_sql(CURSOR) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1004, in execute_sql cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql cursor.execute(sql, params) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/utils.py", line 81, in execute return super(CursorDebugWrapper, self).execute(sql, params) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute return self.cursor.execute(sql, params) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: relation "watson_searchentry" does not exist LINE 1: UPDATE "watson_searchentry" SET "url" = '', "meta_encoded" =... ^