Traceback (most recent call last):

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/plugin/modules/migrations/account.py", line 146, in create_trakt_basic_credential
token=Environment.dict['trakt.token']

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/peewee.py", line 4001, in create
inst.save(force_insert=True)

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/peewee.py", line 4148, in save
pk_from_cursor = self.insert(**field_dict).execute()

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/peewee.py", line 2858, in execute
cursor = self._execute()

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/peewee.py", line 2371, in _execute
return self.database.execute_sql(sql, params, self.require_commit)

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/playhouse/apsw_ext.py", line 106, in execute_sql
raise

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/peewee.py", line 2922, in __exit__
reraise(new_type, new_type(*exc_value.args), traceback)

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/playhouse/apsw_ext.py", line 103, in execute_sql
self._execute_sql(cursor, sql, params)

 "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Trakttv.bundle/Contents/Libraries/Shared/playhouse/apsw_ext.py", line 95, in _execute_sql
cursor.execute(sql, params or ())

 "src/cursor.c", line 236, in resetcursorIntegrityError: ConstraintError: UNIQUE constraint failed: trakt.credential.basic.account_id
Traceback (most recent call last):


 "/mnt/bcbio/tools/bin/bcbio_nextgen.py", line 238, in <module>

main(**kwargs)


 "/mnt/bcbio/tools/bin/bcbio_nextgen.py", line 46, in main

run_main(**kwargs)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 45, in run_main

fc_dir, run_info_yaml)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 89, in _run_toplevel

for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 190, in variant2pipeline

samples = peddy.run_peddy_parallel(samples, run_parallel)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/variation/peddy.py", line 32, in run_peddy_parallel

samples = parallel_fn("run_peddy", [[x] for x in to_run])


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel

return run_multicore(fn, items, config, parallel=parallel)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore

for data in joblib.Parallel(parallel["num_jobs"], batch_size=1, backend="multiprocessing")(joblib.delayed(fn)(x) for x in items):


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 983, in __call__

if self.dispatch_one_batch(iterator):


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 825, in dispatch_one_batch

self._dispatch(tasks)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 782, in _dispatch

job = self._backend.apply_async(batch, callback=cb)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 182, in apply_async

result = ImmediateResult(func)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 545, in __init__

self.results = batch()


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 261, in __call__

for func, args, kwargs in self.items]


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 52, in wrapper

return apply(f, *args, **kwargs)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 23, in run_peddy

return peddy.run_peddy(*args)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/variation/peddy.py", line 99, in run_peddy

do.run(cmd.format(**locals()), message.format(**locals()))


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 23, in run

_do_run(cmd, checks, log_stdout, env=env)


 "/mnt/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 103, in _do_run

raise subprocess.CalledProcessError(exitcode, error_msg)
subprocess.CalledProcessError: Command 'set -o pipefail; /mnt/bcbio/anaconda/bin/peddy -p 16
--plot --prefix /mnt/bcbiotx/tmpE7qxEY/batch1 /mnt/qc/batch1/peddy/batch1-effects-annotated-filter-germline.vcf.gz /mnt/qc/batch1/peddy/batch1-effects-annotated-filter-germline.ped 2> /mnt/bcbiotx/tmpE7qxEY/run-stderr.log
