Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save HostOnNet/ebe960684db486cf5c186c71ea574cbd to your computer and use it in GitHub Desktop.

Select an option

Save HostOnNet/ebe960684db486cf5c186c71ea574cbd to your computer and use it in GitHub Desktop.
Task indico_livesync.task.scheduled_update with id 6ed0738a-6a68-45f6-afe6-e492e18a7556 raised exception:
'ProgrammingError(\'(psycopg2.ProgrammingError) relation "plugin_livesync.agents" does not exist\\nLINE 2: FROM plugin_livesync.agents\\n ^\\n\',)'
Task was called with args: () kwargs: {}.
The contents of the full traceback was:
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/core/celery/core.py", line 145, in __call__
return super(IndicoTask, s).__call__(*args, **kwargs)
File "/opt/indico/.venv/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/core/celery/util.py", line 38, in wrapper
return f(*args, **kwargs)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_livesync/task.py", line 32, in scheduled_update
for agent in LiveSyncAgent.find_all():
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/core/db/sqlalchemy/util/models.py", line 102, in find_all
return cls.find(*args, **kwargs).all()
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2703, in all
return list(self)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2855, in __iter__
return self._execute_and_instances(context)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2878, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 945, in execute
return meth(self, multiparams, params)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement
compiled_sql, distilled_params
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
context)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception
exc_info
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
context)
File "/opt/indico/.venv/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
cursor.execute(statement, parameters)
ProgrammingError: (psycopg2.ProgrammingError) relation "plugin_livesync.agents" does not exist
LINE 2: FROM plugin_livesync.agents
^
[SQL: 'SELECT plugin_livesync.agents.id AS plugin_livesync_agents_id, plugin_livesync.agents.backend_name AS plugin_livesync_agents_backend_name, plugin_livesync.agents.name AS plugin_livesync_agents_name, plugin_livesync.agents.initial_data_exported AS plugin_livesync_agents_initial_data_exported, plugin_livesync.agents.last_run AS plugin_livesync_agents_last_run, plugin_livesync.agents.settings AS plugin_livesync_agents_settings \nFROM plugin_livesync.agents']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment