Migrating tracker store

I’ve followed the steps here to migrate the tracker store for Rasa X

https://rasa.com/docs/rasa-x/import-conversations/

my endpoints file looks like this:

tracker_store:
    type: redis
    url: <my_redis_url>
    port: 6379
    db: 0

I tried running the migration tool found here:

Migrates a Rasa tracker store (Redis, Mongo, SQL) to Rasa X. · GitHub

When I run the script, I get the following error:

Start migrating 50 trackers.
  0%|                                                                                                            | 0/50 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "migrate_tracker_store_to_rasa_x.py", line 172, in <module>
    _migrate_tracker_store_to_rasa_x(path_to_endpoints_file, args.max_trackers)
  File "migrate_tracker_store_to_rasa_x.py", line 85, in _migrate_tracker_store_to_rasa_x
    tracker = old_tracker_store.retrieve(sender_id)
  File "/Users/tilneys/anaconda3/envs/rasa/lib/python3.7/site-packages/rasa/core/tracker_store.py", line 179, in retrieve
    return self.deserialise_tracker(sender_id, stored)
  File "/Users/tilneys/anaconda3/envs/rasa/lib/python3.7/site-packages/rasa/core/tracker_store.py", line 114, in deserialise_tracker
    dialogue = pickle.loads(_json)
_pickle.UnpicklingError: invalid load key, '{'.

Any idea what’s causing this?

Continuing the discussion from Migrating tracker store:

I am getting similar kind of issue as well while migrating redis.

Start migrating 1 trackers. 0%| | 0/1 [00:00<?, ?it/s]C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core_init_.py:12: UserWarning: The ‘rasa_core’ package has been renamed. You should change your imports to use ‘rasa.core’ instead. UserWarning, Traceback (most recent call last): File “migrate_tracker_store_to_rasa_x.py”, line 173, in _migrate_tracker_store_to_rasa_x(path_to_endpoints_file, args.max_trackers) File “migrate_tracker_store_to_rasa_x.py”, line 85, in _migrate_tracker_store_to_rasa_x tracker = old_tracker_store.retrieve(sender_id) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\tracker_store.py”, line 179, in retrieve return self.deserialise_tracker(sender_id, stored) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\tracker_store.py”, line 116, in deserialise_tracker tracker.recreate_from_dialogue(dialogue) File “C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa\core\trackers.py”, line 367, in recreate_from_dialogue “Have you deserialized it?”.format(dialogue) ValueError: story Dialogue with name

It doesn’t look like the migration tool, or Rasa X support Redis Tracker Stores. I changed my endpoints.yml to point to a mongo instance, and everything works perfectly.