Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-521

Reindexing fails after schema change in MB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2018-06-22 First Solr
    • None
    • None
    • None

      When I run python -m sir reindex command I get a bunch of these exceptions:

      Traceback (most recent call last):
       File "sir/indexing.py", line 120, in _index_entity_process_wrapper
       return index_entity(*args)
       File "sir/indexing.py", line 154, in index_entity
       [data_queue.put(row_converter(row)) for row in query]
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2515, in __iter__
       return self._execute_and_instances(context)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2530, in _execute_and_instances
       result = conn.execute(querycontext.statement, self._params)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
       return meth(self, multiparams, params)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
       return connection._execute_clauseelement(self, multiparams, params)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
       compiled_sql, distilled_params
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
       context)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1332, in _handle_dbapi_exception
       exc_info
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
       reraise(type(exception), exception, tb=exc_tb)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
       context)
       File "/Users/roman/workspace/pyenv2/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 442, in do_execute
       cursor.execute(statement, parameters)
      ProgrammingError: (psycopg2.ProgrammingError) column editor.edits_accepted does not exist
      

            roman Roman
            roman Roman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2018-06-22 First Solr