kirypto / TimelineTracker

GNU General Public License v3.0
2 stars 1 forks source link

Support converting non-world json repositories from older versions #108

Closed kirypto closed 2 years ago

kirypto commented 2 years ago
kirypto commented 2 years ago

One known problem: the _ensure_data_migrated_to_current_version function does not take in correct parameters since the config file changes:

    ==================== Updating persisted data ====================
2022-05-18 19:47:41,664 [ERROR] [data_migration.py:32]: Failure occurred during data migration: _ensure_data_migrated_to_current_version() got an unexpected keyword argument 'world_repo_class_path'
Traceback (most recent call last):
  File "C:\Users\garre\Documents\TimelineTrackerDev\TTAPIServer\Script\data_migration.py", line 30, in _main
    _ensure_data_migrated_to_current_version(app_version, **repository_config)
TypeError: _ensure_data_migrated_to_current_version() got an unexpected keyword argument 'world_repo_class_path'
Failed to update persisted data (exit code -1). Aborting application launch.