Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequel::UniqueConstraintViolation: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "pages_shorthand_titl... #65

Open
dentarg opened this issue May 14, 2017 · 0 comments
Labels

Comments

@dentarg
Copy link
Member

dentarg commented May 14, 2017

https://sentry.io/starkast/wiki/issues/273106302/

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "pages_shorthand_title_key"
DETAIL:  Key (slug)=(star_wars:_rogue_one_-_2017-12-28) already exists.

  sequel/adapters/postgres.rb:180:in `async_exec'
    @db.log_yield(sql, args){args ? async_exec(sql, args) : async_exec(sql)}
  sequel/adapters/postgres.rb:180:in `block in execute_query'
    @db.log_yield(sql, args){args ? async_exec(sql, args) : async_exec(sql)}
  sequel/database/logging.rb:33:in `log_yield'
    return yield if @loggers.empty?
  sequel/extensions/newrelic_instrumentation.rb:45:in `block in log_yield'
    rval = super
  new_relic/agent/method_tracer.rb:73:in `block in trace_execution_scoped'
    yield
...
(120 additional frame(s) were not displayed)

Sequel::UniqueConstraintViolation: PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "pages_shorthand_title_key"
DETAIL:  Key (slug)=(star_wars:_rogue_one_-_2017-12-28) already exists.

Sequel::UniqueConstraintViolation: PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "pages_shorthand_title_key"
DETAIL:  Key (slug)=(star_wars:_rogue_one_-_2017-12-28) already exists.

@dentarg dentarg added the bug label May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant