Traceback (most recent call last):


 "/Users/User/.virtualenvs/my-project/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute

return self.cursor.execute(sql, params)
psycopg2.IntegrityError: duplicate key value violates unique constraint "djstripe_charge_stripe_id_key"

Traceback (most recent call last):


 "/home/basit/anaconda3/envs/flow/lib/python3.5/site-packages/ray/tune/trial_runner.py", line 261, in _process_events

result = self.trial_executor.fetch_result(trial)


 "/home/basit/anaconda3/envs/flow/lib/python3.5/site-packages/ray/tune/ray_trial_executor.py", line 211, in fetch_result

result = ray.get(trial_future[0])


 "/home/basit/anaconda3/envs/flow/lib/python3.5/site-packages/ray/worker.py", line 2386, in get

raise value
ray.worker.RayTaskError: ray_PPOAgent:train() (pid=29958, host=basit)
