# django_session

session_key: 5c255qjvwifrxchtf3s696kror27jghg
expire_date: 2019-02-25 12:29:48.092246
session_data:
  MzU2ZTk3ZjVhODJjYzIzZDQ0M2RiYmVmNTAyNGE3NjllYmYxZGUyZDp7Il9hdXRoX3VzZXJfaWQiOiIxIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI2M2VmNTJmNGE3NTBhY2IzMjdiMmNiNWZhMWQ4OWIzNmZmYzE4ZDczIn0=


session_key: m6hte1f5jcnj7dnuzn74szr07ucsnq3l
expire_date: 2019-06-06 08:47:53.793950
session_data:
  MzVkODQxMjljNmZlOWQzNzMxNjExMzBkNjkzNGYxZmYzZDA1ZmU2Yzp7Il9hdXRoX3VzZXJfaWQiOiIyIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI3MjE1YmNjZDUwMjAzZjVhMjVjNGNhZWQ4ZjY2Yzk5ZWJkNjk0NWIxIn0=


session_key: ydcf4oibm8nzx0qooomdegw82vrm68gd
expire_date: 2019-10-21 11:20:41.444910
session_data:
  ZWMwZDBlODY2NGVhNGQ4NmZiZTFiMTY5ZWI4MTM4ODM3OTg4ZmFhZjp7Il9hdXRoX3VzZXJfaWQiOiI0IiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiJkNGQwNjllMTM4OTIwNzliNjE2YTdkNjZiMjZiZDc4MGI2YWU2ODg1In0=


session_key: 0v7lneh0jouzqdv39laxobx92n3syejr
expire_date: 2019-10-22 08:25:24.641709
session_data:
  OGVmYWVkYjUxOTU1NzIzMzU2MTFmYmI2Njk1OGQ2NDdmZmFlNzkzNjp7Il9hdXRoX3VzZXJfaWQiOiI1IiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiJiNmE0MWIzZjQxYWM0ZWJkZTdiZmM3ZTExNTA0Y2U5YmY2ZDk1NTlhIn0=


session_key: zgzt6q83bmq9k4jcr8g611yy52002oim
expire_date: 2019-10-22 14:54:25.646310
session_data:
  YTVjMzczZGEyNGM3NTQ5ZjVhNDRmYzQwMjg3YjUzMjZlZThhYWI1Yjp7Il9hdXRoX3VzZXJfaWQiOiIxMSIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiMGYzNGU4YzU2ZDU3MzhmZTdkMTFkZjQ3OGJiYTI2NzA4MDA3ZmFjYSJ9


session_key: 5kav8el0oumour9yar237egu5msl9ie9
expire_date: 2019-10-22 15:09:03.431300
session_data:
  ZWVhY2JjZTI5Y2RiZDcwZWZmMDU0ZDEwYTYzNGMyNjA2ODA5MmVkODp7Il9hdXRoX3VzZXJfaWQiOiI2IiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiJiMjY5ODhmNzY3NzYyZDY1ODFhZWJmY2JkZTc5ODVlYjhmZTgyMDJlIn0=


session_key: lso95c8on1csy7huy3bj2ymsk723p8lq
expire_date: 2019-10-22 16:01:55.282191
session_data:
  M2M0ZmFjOWE3NTVmYWZjOWVhMTIwMmNmM2Y1NjFkZDFlMmRlNjYyYzp7Il9hdXRoX3VzZXJfaWQiOiI3IiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiIxMGM1Njk4NDFhNmJkOWNjNGIzOTYzZWNjMTg2ZGIyNDYxMWU1MzlkIn0=


session_key: 9koj32ioa2klnjvu2d64bmffalvuamhe
expire_date: 2019-10-22 17:25:28.057669
session_data:
  YjNjYTA4YWNiMDk3ZWY0ZTNkZDMzYjcxMWRjNzU3ODQ5MWJlMTExZDp7Il9hdXRoX3VzZXJfaWQiOiIxMiIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiMDA0NWU5NmQ0ZDk2YWE4MmMwYTVhNTIwYWQ3ZGNkNWYwODM4NGRiMSJ9


session_key: y3fvfs9vabgmp9b6fnaxwt921zl9x8ih
expire_date: 2020-02-20 13:04:16.723776
session_data:
  NDZkMjc5YzE5NDE5NmNiZjMyZDJhZTc5MmU2YjViMTdhZTc4YTY4Nzp7Il9hdXRoX3VzZXJfaWQiOiI4IiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI2MWU5YWQzNTQ5YTEwNGM4YWU5YzUxNmU2Zjk2YzFlN2M5ODZiMDVkIn0=


session_key: mfktkx5yi74o50ax3e0023b1jv5pbm1m
expire_date: 2020-06-09 13:01:56.194110
session_data:
  ZGZlNDEwNDgzNmI2ZDhhN2E4NjFmZWZjMzNhNTdmZTFmZDk5MGI5NDp7Il9hdXRoX3VzZXJfaWQiOiIxNCIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiNDkwOTljZDlkMmQ5NTYxM2Q0ZDk0ODQ0NGY1YmFkNTdjOWI1MDk4YyJ9


session_key: 01ks48w7vc15gtvc8h5shu6mzvh8habe
expire_date: 2020-06-09 13:08:52.144833
session_data:
  YTZkZGM2NmVkZmFkZjQ4OGE0ZTYxYTU0YzI5ODRhYmM5MDc2NGJhODp7Il9hdXRoX3VzZXJfaWQiOiIxMyIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiMzU4MGMwY2I0YWNkMzNmZDQxZTkwM2VkODk1Y2JlMzc1NzFlMjQ4OCJ9


session_key: i2uanaxo3jm5hgfofq8tgny81ztmfsqj
expire_date: 2024-04-03 08:43:11.347325
session_data:
  ODNmYzFlNjdjYzJkNmNiMGNkZmEzZGE3ZjE5MGE0ODhmMzEwZTY2Yjp7Il9hdXRoX3VzZXJfaWQiOiIxOSIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiYzM1OWQyMzA0NTQzYTNlNWU4ZGFkOGZjM2U2MGM1ZmU5OTA4NjBlYSJ9


session_key: 9ccscqutzvz39ybfzoy9gdv1dj06xhgk
expire_date: 2024-04-04 12:55:54.281327
session_data:
  ODBlZjc3NWQ3ODc2Y2M3ZjlmZWU4ODFiMzUzMTM4MzExY2M1YzljZjp7Il9hdXRoX3VzZXJfaWQiOiIxNiIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiNzNkODljZGVmYWMxNDI4NDg5YWIwNmI4NDgwM2M1ZWQ2YTY5YzViYSJ9


session_key: piyqi9jzt792262is6tjpz0c4k0zwiws
expire_date: 2024-05-10 13:27:43.091048
session_data:
  ZDY2MDFiZjdjYzFlNzM0NjExMmRmMjQyYTgyMzE1ZTRmM2JjODcxNjp7Il9hdXRoX3VzZXJfaWQiOiIxNyIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIiwiX2F1dGhfdXNlcl9oYXNoIjoiNTI3YmU2MDUwZjUxNWViY2I3NjRkOTNiMDZjMmU4MDY4ZjhkNTJjZiJ9


# background_task_completedtask

task_params: [[1395], {}]
task_hash: 36583d40cbc5e6494935885b467fbdbd14e56199
run_at: 2019-05-10 07:49:43.127546
failed_at: 2019-05-10 07:49:43.127388
locked_by: 5407
locked_at: 2019-05-10 07:49:43.110070
task_name: website.taskhandler.my_task
last_error:
  Traceback (most recent call last):
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/background_task/tasks.py", line 43, in bg_runner
      func(*args, **kwargs)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 23, in my_task
      upload = Upload.objects.get(id=upload_id)
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
      return getattr(self.get_queryset(), name)(*args, **kwargs)
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/django/db/models/query.py", line 399, in get
      self.model._meta.object_name
  website.models.Upload.DoesNotExist: Upload matching query does not exist.


task_params: [[1396], {}]
task_hash: c13a42d81253967ac777dbd794c2d3f9990868e3
run_at: 2019-05-10 07:49:43.218483
failed_at: 2019-05-10 07:49:43.218362
locked_by: 5407
locked_at: 2019-05-10 07:49:43.155510
task_name: website.taskhandler.my_task
last_error:
  Traceback (most recent call last):
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/background_task/tasks.py", line 43, in bg_runner
      func(*args, **kwargs)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 28, in my_task
      compute_exchanges(sector)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 15, in compute_exchanges
      segment_path = import_one_sector(database, np.array(bus_capacities))
    File "/home/nicolas/Documents/facteur_c_website/website/import_one_sector.py", line 53, in import_one_sector
      distances_csv_file = compute_distances(sector_database)
    File "/home/nicolas/Documents/facteur_c_website/website/import_one_sector.py", line 29, in compute_distances
      box = distances.get_extended_bounding_box()
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/distances.py", line 63, in get_extended_bounding_box
      return Distances.extend_bounding_box(self.db.get_bounding_box())
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/distances.py", line 81, in extend_bounding_box
      extension = (ratio - 1.) * (box - np.mean(box, axis=0))
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 2920, in mean
      out=out, **kwargs)
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/numpy/core/_methods.py", line 75, in _mean
      ret = umr_sum(arr, axis, dtype, out, keepdims)
  TypeError: cannot perform reduce with flexible type


task_params: [[1401], {}]
task_hash: f45f98484cf7788ecd955d384022534acdd26715
run_at: 2019-05-10 08:05:48.210610
failed_at: 2019-05-10 08:05:48.210375
locked_by: 7038
locked_at: 2019-05-10 08:05:36.972650
task_name: website.taskhandler.my_task
last_error:
  Traceback (most recent call last):
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/background_task/tasks.py", line 43, in bg_runner
      func(*args, **kwargs)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 28, in my_task
      compute_exchanges(sector)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 15, in compute_exchanges
      segment_path = import_one_sector(database, np.array(bus_capacities))
    File "/home/nicolas/Documents/facteur_c_website/website/import_one_sector.py", line 53, in import_one_sector
      distances_csv_file = compute_distances(sector_database)
    File "/home/nicolas/Documents/facteur_c_website/website/import_one_sector.py", line 29, in compute_distances
      box = distances.get_extended_bounding_box()
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/distances.py", line 63, in get_extended_bounding_box
      return Distances.extend_bounding_box(self.db.get_bounding_box())
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/database.py", line 222, in get_bounding_box
      self.service_df['DEPOT_LON'].min())
  TypeError: '>' not supported between instances of 'numpy.ndarray' and 'str'


task_params: [[1416], {}]
task_hash: 809241dfb2ac20454850295a99fea0a0824d8a42
run_at: 2019-05-10 09:55:22.766757
failed_at: 2019-05-10 09:55:22.765992
locked_by: 5359
locked_at: 2019-05-10 09:55:14.637944
task_name: website.taskhandler.my_task
last_error:
  Traceback (most recent call last):
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/background_task/tasks.py", line 43, in bg_runner
      func(*args, **kwargs)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 28, in my_task
      compute_exchanges(sector)
    File "/home/nicolas/Documents/facteur_c_website/website/taskhandler.py", line 12, in compute_exchanges
      database = sector.get_inner_db()
    File "/home/nicolas/Documents/facteur_c_website/website/models.py", line 135, in get_inner_db
      return self.upload.get_inner_db(self.name, self.slug)
    File "/home/nicolas/Documents/facteur_c_website/website/models.py", line 92, in get_inner_db
      return Database(self.segment_file.file, self.service_file.file, sector_name=sector, sluged_name=slug)
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/database.py", line 89, in __init__
      self.load_from_csvs(segments_csv, services_csv)
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/database.py", line 110, in load_from_csvs
      self.fix_passenger_number()
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/database.py", line 114, in fix_passenger_number
      df = self.compute_passenger_errors(day)
    File "/home/nicolas/Documents/facteur_c_website/remplissage_car/remplissage/database.py", line 121, in compute_passenger_errors
      m = pd.merge(self.segment_df, self.service_df, left_on=day, right_on='SERVICE')
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 47, in merge
      validate=validate)
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 529, in __init__
      self.join_names) = self._get_merge_keys()
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 833, in _get_merge_keys
      right._get_label_or_level_values(rk))
    File "/home/nicolas/anaconda3/envs/facteurC/lib/python3.6/site-packages/pandas/core/generic.py", line 1697, in _get_label_or_level_values
      raise KeyError(key)
  KeyError: 'SER_NOM'


task_params: [[3], {}]
task_hash: 8f5f92b5142edf3fcd95e8154de4178beab5161c
run_at: 2019-06-12 15:24:33.887161
failed_at: 2019-06-12 15:24:33.887057
locked_by: 22808
locked_at: 2019-06-12 15:23:32.071065
task_name: website.tasks.my_task
last_error:
  Traceback (most recent call last):
    File "/opt/miniconda3/lib/python3.6/site-packages/background_task/tasks.py", line 43, in bg_runner
      func(*args, **kwargs)
    File "/var/www/html/facteur_c_website/website/tasks.py", line 63, in my_task
      Upload.delete_older_version(upload_id)
    File "/var/www/html/facteur_c_website/website/models.py", line 97, in delete_older_version
      Upload.objects.filter(task_finished=True).exclude(id=upload_id).delete()
    File "/opt/miniconda3/lib/python3.6/site-packages/django/db/models/query.py", line 663, in delete
      deleted, _rows_count = collector.delete()
    File "/opt/miniconda3/lib/python3.6/site-packages/django/db/models/deletion.py", line 277, in delete
      sender=model, instance=obj, using=self.using
    File "/opt/miniconda3/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 175, in send
      for receiver in self._live_receivers(sender)
    File "/opt/miniconda3/lib/python3.6/site-packages/django/dispatch/dispatcher.py", line 175, in <listcomp>
      for receiver in self._live_receivers(sender)
    File "/var/www/html/facteur_c_website/website/models.py", line 212, in delete_dir
      dir_name = generate_dir_name(sender.id, sender.slug)
    File "/var/www/html/facteur_c_website/website/models.py", line 62, in generate_dir_name
      return sector_slug + '_' + str(sector_id)
  TypeError: unsupported operand type(s) for +: 'DeferredAttribute' and 'str'


task_hash: 1ae5e75070cec2bcd30ffb0d17ca71937cd0f6fe
run_at: 2019-06-25 13:07:02.316481
locked_by: 28941
locked_at: 2019-06-25 13:07:02.253546
task_name: website.tasks.launch_task_from_files
task_params:
  [["/var/www/html/facteur_c_website/upload/segments.csv", "/var/www/html/facteur_c_website/upload/services.csv"], {}]


# website_propositionrepresentation

specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_0_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_1_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_2_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_3_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_4_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_5_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_6_MERCREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_0_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_1_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_2_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_3_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_4_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_5_VENDREDI.json


specification_json_path:
  /var/www/html/facteur_c_website/media/ev87_dordogne_correze_332/graphicage/exchanges_6_VENDREDI.json


